unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Sven Joachim <svenjoac@gmx.de>
To: emacs-devel@gnu.org
Cc: "Trent W. Buck" <trentbuck@gmail.com>, 447087-forwarded@bugs.debian.org
Subject: [Trent W. Buck] Segfault: emacs -batch -Q -eval '(format-mode-line mode-line-format)'
Date: Fri, 19 Oct 2007 21:19:58 +0200	[thread overview]
Message-ID: <87myue9ajl.fsf@gmx.de> (raw)

[-- Attachment #1: Type: text/plain, Size: 2820 bytes --]

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) 



[-- Attachment #2: Type: message/rfc822, Size: 5113 bytes --]

From: "Trent W\\. Buck" <trentbuck@gmail.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: Bug#447087: Segfault: emacs -batch -Q -eval '(format-mode-line mode-line-format)'
Date: Thu, 18 Oct 2007 10:57:36 +1000
Message-ID: <20071018005736.320.9763.reportbug@baal.twb.ath.cx>

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




[-- Attachment #3: Type: text/plain, Size: 142 bytes --]

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

             reply	other threads:[~2007-10-19 19:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-19 19:19 Sven Joachim [this message]
2007-10-21  7:27 ` [Trent W. Buck] Segfault: emacs -batch -Q -eval '(format-mode-line mode-line-format)' Richard Stallman
2007-10-29  9:21 ` Richard Stallman
2007-10-30 22:55   ` Jason Rumney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87myue9ajl.fsf@gmx.de \
    --to=svenjoac@gmx.de \
    --cc=447087-forwarded@bugs.debian.org \
    --cc=emacs-devel@gnu.org \
    --cc=trentbuck@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).