emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Trent W. Buck] Segfault: emacs -batch -Q -eval '(format-mode-line m


From: Richard Stallman
Subject: Re: [Trent W. Buck] Segfault: emacs -batch -Q -eval '(format-mode-line mode-line-format)'
Date: Mon, 29 Oct 2007 05:21:32 -0400

[I sent this message a few weeks ago but did not get a response.
Could we get the discussion moving again?]

Would someone please fix this then ack?

To: address@hidden
From: Sven Joachim <address@hidden>
Date: Fri, 19 Oct 2007 21:19:58 +0200
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
Cc: "Trent W. Buck" <address@hidden>, address@hidden
Subject: [Trent W. Buck] Segfault: emacs -batch -Q -eval '(format-mode-line
        mode-line-format)'

--=-=-=

I received the attached report via the Debian bug tracking system.
It is reproducible on the trunk as well as in EMACS_22_BASE, backtrace
in EMACS_22_BASE looking like this:

Program received signal SIGSEGV, Segmentation fault.
0x0806fb9b in decode_mode_spec_coding (coding_system=137604633, buf=0x0, 
eol_flag=0) at xdisp.c:17622
(gdb) backtrace
#0  0x0806fb9b in decode_mode_spec_coding (coding_system=137604633, buf=0x0, 
eol_flag=0) at xdisp.c:17622
#1  0x080772a3 in display_mode_element (it=0xbf86f554, depth=4, field_width=0, 
precision=-1, elt=137737323, props=137480393, risky=0) at xdisp.c:18043
#2  0x08077cde in display_mode_element (it=0xbf86f554, depth=3, field_width=0, 
precision=-1, elt=137925469, props=137480393, risky=0) at xdisp.c:17190
#3  0x08077cde in display_mode_element (it=0xbf86f554, depth=1, field_width=0, 
precision=0, elt=137923285, props=137480393, risky=0) at xdisp.c:17190
#4  0x0807b457 in Fformat_mode_line (format=137923269, face=137480393, 
window=137480393, buffer=137512260) at xdisp.c:17418
#5  0x08154fee in Feval (form=139449061) at eval.c:2326
#6  0x08155afc in Ffuncall (nargs=2, args=0xbf86f9d0) at eval.c:2985
#7  0x0817faac in Fbyte_code (bytestr=136611403, vector=136611420, 
maxdepth=<value optimized out>) at bytecode.c:679
#8  0x08155486 in funcall_lambda (fun=136611372, nargs=1, 
arg_vector=0xbf86fb24) at eval.c:3172
#9  0x08155890 in Ffuncall (nargs=2, args=0xbf86fb20) at eval.c:3042
#10 0x0817faac in Fbyte_code (bytestr=136602331, vector=136602348, 
maxdepth=<value optimized out>) at bytecode.c:679
#11 0x08155486 in funcall_lambda (fun=136602308, nargs=0, 
arg_vector=0xbf86fc64) at eval.c:3172
#12 0x08155890 in Ffuncall (nargs=1, args=0xbf86fc60) at eval.c:3042
#13 0x0817faac in Fbyte_code (bytestr=136599339, vector=136599356, 
maxdepth=<value optimized out>) at bytecode.c:679
#14 0x08155486 in funcall_lambda (fun=136599316, nargs=0, 
arg_vector=0xbf86fd30) at eval.c:3172
#15 0x08155680 in apply_lambda (fun=136599316, args=137480393, eval_flag=1) at 
eval.c:3096
#16 0x08154d44 in Feval (form=139177165) at eval.c:2376
#17 0x080f4e13 in top_level_2 () at keyboard.c:1339
#18 0x08154480 in internal_condition_case (bfun=0x80f4e00 <top_level_2>, 
handlers=137525897, hfun=0x80f8590 <cmd_error>) at eval.c:1483
#19 0x080f7980 in top_level_1 () at keyboard.c:1347
#20 0x0815455a in internal_catch (tag=137522081, func=0x80f7950 <top_level_1>, 
arg=137480393) at eval.c:1223
#21 0x080f83a9 in command_loop () at keyboard.c:1304
#22 0x080f876a in recursive_edit_1 () at keyboard.c:1007
#23 0x080f8856 in Frecursive_edit () at keyboard.c:1068
#24 0x080ee620 in main (argc=5, argv=0xbf8703e4) at emacs.c:1769

Lisp Backtrace:
"format-mode-line" (0x8388ac5)
"eval" (0x84fd2e5)
"command-line-1" (0x84b8375)
"command-line" (0x8572363)
"normal-top-level" (0x831c8c9)
(gdb) 



--=-=-=
Content-Type: message/rfc822
Content-Disposition: inline

X-From-Line: unknown Thu Oct 18 19:32:32 2007
Return-Path: <unknown>
Received: from [70.103.162.29] (helo=master.debian.org)
        by mx05.web.de with esmtp (WEB.DE 4.107 #114)
        id 1IiJt7-0007xs-00
        for address@hidden; Thu, 18 Oct 2007 03:09:26 +0200
Received: from qa by master.debian.org with local (Exim 4.50)
        id 1IiJt6-0002Dv-UL
        for address@hidden; Thu, 18 Oct 2007 01:09:25 +0000
Received: from rietz.debian.org ([140.211.166.43]) by master.debian.org
 with esmtp (Exim 4.50) id 1IiJlh-0007e8-MN for
 address@hidden; Thu, 18 Oct 2007 01:01:45 +0000
Received: from debbugs by rietz.debian.org with local (Exim 4.50) id
 1IiJk4-0001Oq-7j; Thu, 18 Oct 2007 01:00:04 +0000
X-Loop: address@hidden
Subject: Bug#447087: Segfault: emacs -batch -Q -eval '(format-mode-line
 mode-line-format)'
Reply-To: "Trent W\\. Buck" <address@hidden>, address@hidden
Resent-From: "Trent W\\. Buck" <address@hidden>
Resent-To: address@hidden
Resent-CC: Rob Browning <address@hidden>
Resent-Date: Thu, 18 Oct 2007 01:00:01 +0000
Resent-Message-Id: <address@hidden>
X-Debian-PR-Message: report 447087
X-Debian-PR-Package: emacs22
X-Debian-PR-Keywords: 
X-Debian-PR-Source: emacs22
Received: via spool by address@hidden id=B.11926690723545 (code B
 ref -1); Thu, 18 Oct 2007 01:00:01 +0000
Received: (at submit) by bugs.debian.org; 18 Oct 2007 00:57:52 +0000
X-Spam-Checker-Version: SpamAssassin 3.1.4-bugs.debian.org_2005_01_02
 (2006-07-26) on rietz.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-8.8 required=4.0 tests=BAYES_00,FORGED_RCVD_HELO,
 FOURLA,HAS_PACKAGE autolearn=no version=3.1.4-bugs.debian.org_2005_01_02
Received: from ipmail03.adl2.internode.on.net ([203.16.214.135]) by
 rietz.debian.org with esmtp (Exim 4.50) id 1IiJhw-0000ue-7E for
 address@hidden; Thu, 18 Oct 2007 00:57:52 +0000
X-Ironport-Anti-Spam-Filtered: true
X-Ironport-Anti-Spam-Result: AlwPAFpKFkc7p4VCWmdsb2JhbACBWoskgUUBIA
X-Ironport-Av: E=Sophos;i="4.21,291,1188743400"; d="scan'208";a="169363623"
Received: from ppp59-167-133-66.lns3.mel6.internode.on.net (HELO
 ares.twb.ath.cx) ([59.167.133.66]) by ipmail03.adl2.internode.on.net with
 ESMTP; 18 Oct 2007 10:27:40 +0930
Received: from baal.twb.ath.cx (Baal.twb.ath.cx [192.168.23.193]) by
 ares.twb.ath.cx (Postfix) with SMTP id 982323421D; Thu, 18 Oct 2007
 10:57:38 +1000 (EST)
Received: (nullmailer pid 391 invoked by uid 1000); Thu, 18 Oct 2007
 00:57:36 -0000
From: "Trent W\\. Buck" <address@hidden>
To: Debian Bug Tracking System <address@hidden>
Message-Id: <address@hidden>
X-Mailer: reportbug 3.39
Date: Thu, 18 Oct 2007 10:57:36 +1000
Delivered-To: address@hidden
Resent-Sender: Debian BTS <address@hidden>
Resent-Date: Thu, 18 Oct 2007 01:00:04 +0000
Delivered-To: address@hidden
Precedence: list
X-Loop: address@hidden
X-PTS-Package: emacs22
X-PTS-Keyword: bts
List-Unsubscribe: <mailto:address@hidden>
Sender: address@hidden
Lines: 46
Xref: debian mail.debian.bugs-dist:102 mail.debian.bts:575
MIME-Version: 1.0

Package: emacs22
Version: 22.1+1-2
Severity: normal
File: /usr/bin/emacs22

I don't think this is supposed to happen:

$ emacs -Q -eval '(format-mode-line mode-line-format)' -f kill-emacs
$ emacs -batch -Q -eval '(format-mode-line mode-line-format)'
Fatal error (11)Segmentation fault
$

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.22-2-amd64 (SMP w/1 CPU core)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages emacs22 depends on:
ii  emacs22-bin-common      22.1+1-2         The GNU Emacs editor's shared, arc
ii  libc6                   2.6.1-5          GNU C Library: Shared libraries
ii  libice6                 2:1.0.4-1        X11 Inter-Client Exchange library
ii  libjpeg62               6b-14            The Independent JPEG Group's JPEG 
ii  libncurses5             5.6+20071006-3   Shared libraries for terminal hand
ii  libpng12-0              1.2.15~beta5-3   PNG library - runtime
ii  libsm6                  2:1.0.3-1+b1     X11 Session Management library
ii  libtiff4                3.8.2-7          Tag Image File Format (TIFF) libra
ii  libungif4g              4.1.4-5+b1       shared library for GIF images
ii  libx11-6                2:1.0.3-7        X11 client-side library
ii  libxext6                1:1.0.3-2        X11 miscellaneous extension librar
ii  libxmu6                 1:1.0.3-1        X11 miscellaneous utility library
ii  libxpm4                 1:3.5.7-1        X11 pixmap library
ii  libxt6                  1:1.0.5-3        X11 toolkit intrinsics library
ii  xaw3dg                  1.5+E-15         Xaw3d widget set
ii  zlib1g                  1:1.2.3.3.dfsg-6 compression library - runtime

emacs22 recommends no packages.

-- no debconf information




--=-=-=
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Emacs-devel mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-devel
--=-=-=--





reply via email to

[Prev in Thread] Current Thread [Next in Thread]