From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Newsgroups: gmane.emacs.bugs Subject: bug#2622: Segfault with org-mode Date: Tue, 10 Mar 2009 11:03:33 +0100 (CET) Message-ID: <20090310100333.F257011AA8D6@zaphod.crossgate.com> Reply-To: skampi@gmx.net, 2622@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1236695854 5858 80.91.229.12 (10 Mar 2009 14:37:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 10 Mar 2009 14:37:34 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Mar 10 15:38:50 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Lh36L-0007Q6-3H for geb-bug-gnu-emacs@m.gmane.org; Tue, 10 Mar 2009 15:38:38 +0100 Original-Received: from localhost ([127.0.0.1]:38899 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lh34z-0004YU-4U for geb-bug-gnu-emacs@m.gmane.org; Tue, 10 Mar 2009 10:37:13 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LgzR4-0007ec-6O for bug-gnu-emacs@gnu.org; Tue, 10 Mar 2009 06:43:46 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LgzR1-0007dW-WA for bug-gnu-emacs@gnu.org; Tue, 10 Mar 2009 06:43:45 -0400 Original-Received: from [199.232.76.173] (port=46139 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LgzR1-0007dO-Su for bug-gnu-emacs@gnu.org; Tue, 10 Mar 2009 06:43:43 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:56634) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LgzR1-0004BY-7n for bug-gnu-emacs@gnu.org; Tue, 10 Mar 2009 06:43:43 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n2AAheus010300; Tue, 10 Mar 2009 03:43:41 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n2AAZ4AJ008156; Tue, 10 Mar 2009 03:35:04 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 10 Mar 2009 10:35:04 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 2622 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12366808256652 (code B ref -1); Tue, 10 Mar 2009 10:35:04 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 10 Mar 2009 10:27:05 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-Received: by zaphod.crossgate.com (Postfix, from userid 1000) id F257011AA8D6; 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 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Tue, 10 Mar 2009 06:43:45 -0400 X-Mailman-Approved-At: Tue, 10 Mar 2009 10:37:07 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:26205 Archived-At: 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