From unknown Sun Jun 22 00:31:20 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#2622: Segfault with org-mode Reply-To: , 2622@debbugs.gnu.org Resent-From: Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 10 Mar 2009 10:35:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: report 2622 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12366808256652 (code B ref -1); Tue, 10 Mar 2009 10:35:04 +0000 Received: (at submit) by emacsbugs.donarmstrong.com; 10 Mar 2009 10:27:05 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: * X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=1.1 required=4.0 tests=FOURLA,IMPRONONCABLE_2 autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n2AAR0JT006643 for ; Tue, 10 Mar 2009 03:27:02 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LgzAq-0000bG-0n for bug-gnu-emacs@gnu.org; Tue, 10 Mar 2009 06:27:00 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LgzAo-0000aW-T6 for bug-gnu-emacs@gnu.org; Tue, 10 Mar 2009 06:26:59 -0400 Received: from [199.232.76.173] (port=38275 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LgzAo-0000a1-96 for bug-gnu-emacs@gnu.org; Tue, 10 Mar 2009 06:26:58 -0400 Received: from mail.bn-software.de ([193.158.24.243]:37335) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LgzAn-00027E-KH for bug-gnu-emacs@gnu.org; Tue, 10 Mar 2009 06:26:58 -0400 Received: from zaphod.crossgate.com ([10.42.2.69]) by mail.bn-software.de with Microsoft SMTPSVC(6.0.3790.3959); Tue, 10 Mar 2009 11:04:39 +0100 Received: by zaphod.crossgate.com (Postfix, from userid 1000) id F257011AA8D6; Tue, 10 Mar 2009 11:03:33 +0100 (CET) From: To: bug-gnu-emacs@gnu.org Message-Id: <20090310100333.F257011AA8D6@zaphod.crossgate.com> Date: Tue, 10 Mar 2009 11:03:33 +0100 (CET) X-OriginalArrivalTime: 10 Mar 2009 10:04:39.0883 (UTC) FILETIME=[A03D11B0:01C9A167] X-TM-AS-Product-Ver: SMEX-7.5.0.1256-5.5.1027-16236.000 X-TM-AS-Result: No--9.291500-5.000000-31 X-TM-AS-User-Approved-Sender: No X-TM-AS-User-Blocked-Sender: No X-detected-operating-system: by monty-python.gnu.org: Windows 2000 SP4, XP SP1+ X-Greylist: delayed 1328 seconds by postgrey-1.27 at monty-python; Tue, 10 Mar 2009 06:26:57 EDT Using an org-file I can cause a segfault in Gnu Emacs performing the following steps: shell> emacs -q M-x load-file RET segfault_init.el RET - segfault_init.el --------------------------------------------------- (setq load-path (append (list "~/.emacs.d/lisp" ;; contains linum.el ) load-path)) (require 'org) ;; basic setup (add-to-list 'auto-mode-alist '("\\.org$" . org-mode)) (define-key global-map "\C-cl" 'org-store-link) (define-key global-map "\C-ca" 'org-agenda) (setq org-log-done t) (setq org-hide-leading-stars t) (setq org-startup-folded nil) (setq org-export-with-sub-superscripts (quote {})) (setq org-default-notes-file nil) (require 'linum) (global-linum-mode) ---------------------------------------------------------------------- M-x load-library RET org RET C-x C-f segfault.org RET - segfault.org ------------------------------------------------------- DEFAULT TODO FILE * Tasks #+CATEGORY: Tasks ** TODO Do something very important [2007-10-24 Wed] ** DONE This is really finished CLOSED: [2007-10-30 Tue 17:33] [2007-10-24 Wed] ---------------------------------------------------------------------- M-x goto-line RET 3 RET TAB TAB shell> Fatal error (11)Segmentation fault (core dumped) linnum.el is (defconst linum-version "0.9wza") by Markus Triska taken from http://stud4.tuwien.ac.at/~e0225855/linum/linum.html While I understand that libraries from the net might cause problems, a /segfault// should probably not be caused by elisp-code. Please note: I write this bug report from a fully loaded Emacs not from the minimal example provided above. So all those minor-modes and loaded libraries down there are not necessary. Cheers, Stefan Kamphausen (gdb) bt full #0 0xffffe424 in __kernel_vsyscall () No symbol table info available. #1 0xb74df406 in kill () from /lib/libc.so.6 No symbol table info available. #2 0x080f7cec in fatal_error_signal () No symbol table info available. #3 No symbol table info available. #4 0x0807b277 in next_element_from_display_vector () No symbol table info available. #5 0x08077ddf in get_next_display_element () No symbol table info available. #6 0x08078c38 in move_it_in_display_line_to () No symbol table info available. #7 0x0807b227 in move_it_to () No symbol table info available. #8 0x0808ba60 in pos_visible_p () No symbol table info available. #9 0x08099deb in Fpos_visible_in_window_p () No symbol table info available. #10 0x0815f010 in Ffuncall () No symbol table info available. #11 0x08189a46 in Fbyte_code () No symbol table info available. #12 0x0815ea74 in funcall_lambda () No symbol table info available. #13 0x0815ee8b in Ffuncall () No symbol table info available. #14 0x08189a46 in Fbyte_code () No symbol table info available. #15 0x0815ea74 in funcall_lambda () No symbol table info available. #16 0x0815ee8b in Ffuncall () No symbol table info available. #17 0x08160421 in run_hook_with_args () No symbol table info available. #18 0x0815f1a3 in Ffuncall () No symbol table info available. #19 0x08189a46 in Fbyte_code () No symbol table info available. #20 0x0815ea74 in funcall_lambda () No symbol table info available. #21 0x0815ee8b in Ffuncall () No symbol table info available. #22 0x0815c250 in Fcall_interactively () No symbol table info available. #23 0x080fae53 in Fcommand_execute () No symbol table info available. #24 0x0810694a in command_loop_1 () No symbol table info available. #25 0x0815daab in internal_condition_case () No symbol table info available. #26 0x081003ae in command_loop_2 () No symbol table info available. #27 0x0815db6c in internal_catch () No symbol table info available. #28 0x08100d5e in command_loop () No symbol table info available. #29 0x081010e7 in recursive_edit_1 () No symbol table info available. #30 0x081011da in Frecursive_edit () No symbol table info available. #31 0x080f7082 in main () No symbol table info available. (gdb) xbacktrace Undefined command: "xbacktrace". Try "help". In GNU Emacs 22.3.1 (i686-pc-linux-gnu, GTK+ Version 2.12.11) of 2009-02-24 on localhost Windowing system distributor `The X.Org Foundation', version 11.0.10300000 configured using `configure '--prefix=/usr' '--host=i686-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--program-suffix=-emacs-22' '--infodir=/usr/share/info/emacs-22' '--without-carbon' '--with-sound' '--with-x' '--with-toolkit-scroll-bars' '--with-jpeg' '--with-tiff' '--with-gif' '--with-png' '--with-xpm' '--with-x-toolkit=gtk' '--without-hesiod' '--with-kerberos' '--with-kerberos5' '--build=i686-pc-linux-gnu' 'build_alias=i686-pc-linux-gnu' 'host_alias=i686-pc-linux-gnu' 'CFLAGS=-O2 -march=i686 -pipe' 'LDFLAGS=-Wl,-O1'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: nil locale-coding-system: nil default-enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: shell-dirtrack-mode: t global-linum-mode: t linum-mode: t iswitchb-mode: t global-highline-mode: t recentf-mode: t eldoc-mode: t show-paren-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t unify-8859-on-encoding-mode: t utf-translate-cjk-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: M-x b u g r e p o r Recent messages: Loading cl-seq...done Loading cl-extra...done !! File slime-package-fu uses old-style backquotes !! Loading cl-indent...done Loading /home/ska/.emacs.d/init.el (source)...done Loading semantic-el...done For information about GNU Emacs and the GNU system, type C-h C-a. Making completion list... Loading eieio-opt...done Loading emacsbug...done From unknown Sun Jun 22 00:31:20 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#2622: Segfault with org-mode Reply-To: Glenn Morris , 2622@debbugs.gnu.org Resent-From: Glenn Morris Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 10 Mar 2009 19:15:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 2622 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 2622-submit@emacsbugs.donarmstrong.com id=B2622.123671219911282 (code B ref 2622); Tue, 10 Mar 2009 19:15:04 +0000 Received: (at 2622) by emacsbugs.donarmstrong.com; 10 Mar 2009 19:09:59 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-6.0 required=4.0 tests=HAS_BUG_NUMBER, X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n2AJ9nWw011271; Tue, 10 Mar 2009 12:09:51 -0700 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1Lh7Kn-0006aG-7t; Tue, 10 Mar 2009 15:09:49 -0400 From: Glenn Morris To: skampi@gmx.net Cc: 2622@debbugs.gnu.org References: <20090310100333.F257011AA8D6@zaphod.crossgate.com> X-Spook: Leitrim sniper interception BLU-114/B mindwar Kosovo John X-Ran: $P5{I_8I@E~yjCJDd{a1Dl_`GU!Qci|\$\Qo^Ss>:bC%*6|iLd4t30\C@1:j%Ks#Z?=`[V X-Hue: magenta X-Attribution: GM Date: Tue, 10 Mar 2009 15:09:49 -0400 In-Reply-To: <20090310100333.F257011AA8D6@zaphod.crossgate.com> (skampi@gmx.net's message of "Tue, 10 Mar 2009 11:03:33 +0100 (CET)") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii ressign 2622 emacs22 stop > Using an org-file I can cause a segfault in Gnu Emacs performing the > following steps: I can reproduce this with Emacs 22.3, but not with the latest CVS or the 23.0.91 pretest, so it seems this has been fixed. From rgm@gnu.org Tue Mar 10 12:25:49 2009 Received: (at control) by emacsbugs.donarmstrong.com; 10 Mar 2009 19:25:49 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-2.0 required=4.0 tests=VALID_BTS_CONTROL autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n2AJPikN016203 for ; Tue, 10 Mar 2009 12:25:45 -0700 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1Lh7aB-0007C1-DB; Tue, 10 Mar 2009 15:25:43 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18870.48823.344550.432652@fencepost.gnu.org> Date: Tue, 10 Mar 2009 15:25:43 -0400 From: Glenn Morris To: control Subject: control message reassign 2611 spam reassign 2620 spam reassign 2621 spam reassign 2622 emacs22 reassign 2626 emacs,ns reassign 2627 emacs,ns reassign 2628 spam From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 01 02:52:03 2011 Received: (at control) by debbugs.gnu.org; 1 Mar 2011 07:52:03 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PuKNH-0007P3-I4 for submit@debbugs.gnu.org; Tue, 01 Mar 2011 02:52:03 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PuKNF-0007OT-Rv for control@debbugs.gnu.org; Tue, 01 Mar 2011 02:52:02 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1PuKNA-0003PE-Rb for control@debbugs.gnu.org; Tue, 01 Mar 2011 02:51:56 -0500 Date: Tue, 01 Mar 2011 02:51:56 -0500 Message-Id: Subject: control message for bug 2622 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.3 (------) close 2622