emacs24-lucid crashes on startup

Bug #1069303 reported by Urs Fleisch
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
emacs24 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Fresh install of Lubuntu 12.10, emacs24-lucid crashes when started.

$ emacs24-lucid
Fatal error (11)Segmentation fault (core dumped)

I have built the package myself with debugging information, here is output from gdb:

$ gdb /usr/bin/emacs24-lucid
GNU gdb (GDB) 7.5-ubuntu
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/emacs24-lucid...done.
(gdb) r
Starting program: /usr/bin/emacs24-lucid
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[New Thread 0xb6324b40 (LWP 13065)]
[New Thread 0xb59ffb40 (LWP 13066)]

Program received signal SIGSEGV, Segmentation fault.
0xb7f0c59c in XtInitializeWidgetClass ()
   from /usr/lib/i386-linux-gnu/libXt.so.6
(gdb) where
#0 0xb7f0c59c in XtInitializeWidgetClass ()
   from /usr/lib/i386-linux-gnu/libXt.so.6
#1 0xb7f0d078 in _XtCreateWidget () from /usr/lib/i386-linux-gnu/libXt.so.6
#2 0xb7f0d36c in XtCreateWidget () from /usr/lib/i386-linux-gnu/libXt.so.6
#3 0x0810b6a6 in x_window (f=f@entry=0x8653208,
    window_prompting=window_prompting@entry=0, minibuffer_only=<optimized out>)
    at xfns.c:2433
#4 0x0810c99d in Fx_create_frame (parms=138809726) at xfns.c:3377
#5 0x081a2868 in Ffuncall (nargs=nargs@entry=2, args=args@entry=0xbfffe550)
    at eval.c:3002
#6 0x081d8fec in exec_byte_code (bytestr=<optimized out>, vector=137051597,
    maxdepth=16, args_template=138831130, nargs=nargs@entry=0,
    args=<optimized out>, args@entry=0x0) at bytecode.c:785
#7 0x081a22a5 in funcall_lambda (fun=137051541, nargs=nargs@entry=1,
    arg_vector=arg_vector@entry=0xbfffe6c4) at eval.c:3233
#8 0x081a2673 in Ffuncall (nargs=nargs@entry=2, args=args@entry=0xbfffe6c0)
    at eval.c:3063
#9 0x081d8fec in exec_byte_code (bytestr=<optimized out>, vector=137381197,
    maxdepth=20, args_template=138831130, nargs=nargs@entry=0,
    args=<optimized out>, args@entry=0x0) at bytecode.c:785
#10 0x081a22a5 in funcall_lambda (fun=137381149, nargs=nargs@entry=1,
    arg_vector=arg_vector@entry=0xbfffe844) at eval.c:3233
#11 0x081a2673 in Ffuncall (nargs=nargs@entry=2, args=args@entry=0xbfffe840)
    at eval.c:3063
#12 0x081d8fec in exec_byte_code (bytestr=<optimized out>, vector=137378493,
    maxdepth=24, args_template=138831130, nargs=nargs@entry=0,
    args=<optimized out>, args@entry=0x0) at bytecode.c:785
#13 0x081a22a5 in funcall_lambda (fun=137378445, nargs=nargs@entry=0,
    arg_vector=arg_vector@entry=0xbfffe9c4) at eval.c:3233
#14 0x081a2673 in Ffuncall (nargs=nargs@entry=1, args=args@entry=0xbfffe9c0)
    at eval.c:3063
#15 0x081d8fec in exec_byte_code (bytestr=<optimized out>, vector=137071397,
    maxdepth=72, args_template=args_template@entry=0, nargs=nargs@entry=0,
    args=<optimized out>, args@entry=0xbfffeb78) at bytecode.c:785
#16 0x081a2304 in funcall_lambda (fun=137071349, nargs=nargs@entry=0,
    arg_vector=arg_vector@entry=0xbfffeb78) at eval.c:3167
#17 0x081a2673 in Ffuncall (nargs=nargs@entry=1, args=args@entry=0xbfffeb74)
    at eval.c:3063
#18 0x081d8fec in exec_byte_code (bytestr=<optimized out>, vector=137068589,
    maxdepth=32, args_template=args_template@entry=0, nargs=nargs@entry=0,
    args=<optimized out>, args@entry=0xbfffec80) at bytecode.c:785
#19 0x081a2304 in funcall_lambda (fun=fun@entry=137068541,
    nargs=nargs@entry=0, arg_vector=arg_vector@entry=0xbfffec80) at eval.c:3167
#20 0x081a1786 in apply_lambda (fun=137068541, args=<optimized out>)
    at eval.c:3110
#21 0x081a1aee in eval_sub (form=form@entry=139036550) at eval.c:2414
#22 0x081a46ed in Feval (form=139036550, lexical=138831130) at eval.c:2204
#23 0x081336d9 in top_level_2 () at keyboard.c:1169
#24 0x081a0c10 in internal_condition_case (
    bfun=bfun@entry=0x81336c0 <top_level_2>, handlers=138862210,
    hfun=hfun@entry=0x8134db0 <cmd_error>) at eval.c:1515
#25 0x08133f25 in top_level_1 (ignore=ignore@entry=138831130)
---Type <return> to continue, or q <return> to quit---
    at keyboard.c:1177
#26 0x081a0b3b in internal_catch (tag=138860162,
    func=func@entry=0x8133ec0 <top_level_1>, arg=138831130) at eval.c:1272
#27 0x081348cc in command_loop () at keyboard.c:1132
#28 recursive_edit_1 () at keyboard.c:759
#29 0x08134bdd in Frecursive_edit () at keyboard.c:823
#30 0x08055750 in main (argc=<optimized out>, argv=0xbffff3b4) at emacs.c:1715
(gdb)

2433 frame_widget = XtCreateWidget (f->namebuf, emacsFrameClass, pane_widget,
2434 al, ac);

(gdb) p f->namebuf
$1 = 0x85a13c0 "emacs24-lucid"
(gdb) p *emacsFrameClass
$6 = {core_class = {superclass = 0xf8057780,
    class_name = 0x823cdd0 "EmacsFrame", widget_size = 164,
    class_initialize = 0x0, class_part_initialize = 0x0,
    class_inited = 0 '\000', initialize = 0x8206430 <EmacsFrameInitialize>,
    initialize_hook = 0x0, realize = 0x8205f60 <EmacsFrameRealize>,
    actions = 0x0, num_actions = 0, resources = 0x8403e20 <resources>,
    num_resources = 13, xrm_class = 0, compress_motion = 1 '\001',
    compress_exposure = 1 '\001', compress_enterleave = 1 '\001',
    visible_interest = 0 '\000', destroy = 0x8205b80 <EmacsFrameDestroy>,
    resize = 0x8206390 <EmacsFrameResize>,
    expose = 0x80541d0 <_XtInherit@plt>,
    set_values = 0x8205fb0 <EmacsFrameSetValues>, set_values_hook = 0x0,
    set_values_almost = 0x80541d0 <_XtInherit@plt>, get_values_hook = 0x0,
    accept_focus = 0x80541d0 <_XtInherit@plt>, version = 11006,
    callback_private = 0x0, tm_table = 0x0,
    query_geometry = 0x8205cd0 <EmacsFrameQueryGeometry>,
    display_accelerator = 0x80541d0 <_XtInherit@plt>, extension = 0x0}}
(gdb) p *pane_widget
$7 = {core = {self = 0x8650b60, widget_class = 0xb7fbc380 <panedClassRec>,
    parent = 0x865fd30, xrm_name = 821, being_destroyed = 0 '\000',
    destroy_callbacks = 0x8650c70, constraints = 0x0, x = 0, y = 0, width = 0,
    height = 0, border_width = 0, managed = 0 '\000', sensitive = 1 '\001',
    ancestor_sensitive = 1 '\001', event_table = 0x0, tm = {
      translations = 0x0, proc_table = 0x0, current_state = 0x0,
      lastEventTime = 0}, accelerators = 0x0, border_pixel = 0,
    border_pixmap = 2, popup_list = 0x0, num_popups = 0,
    name = 0x8591ac3 "pane", screen = 0x85627a8, colormap = 32, window = 0,
    depth = 24, background_pixel = 16777215, background_pixmap = 2,
    visible = 1 '\001', mapped_when_managed = 1 '\001'}}
(gdb) p al
$4 = {{name = 0x8404ae5 <XtStrings+453> "mappedWhenManaged", value = 0}, {
    name = 0x822a40b "showGrip", value = 0}, {name = 0x822a414 "allowResize",
    value = 1}, {name = 0x822a420 "resizeToPreferred", value = 1}, {
    name = 0x822a432 "emacsFrame", value = 140849672}, {
    name = 0x8405448 <XtShellStrings+104> "visual", value = 140043504}, {
    name = 0x84049c3 <XtStrings+163> "depth", value = 24}, {
    name = 0x84049ba <XtStrings+154> "colormap", value = 32}, {
    name = 0x840499c <XtStrings+124> "borderWidth", value = 0}, {
    name = 0xbfffe388 "\200_L\bP\343\377\277r\354G\b\372\346G\b",
    value = -1073749108}, {name = 0x84c5f90 "\n", value = 139773696}, {
    name = 0x84c5f80 "\n", value = -1073749168}, {name = 0x847ec72 "",
    value = 138929914}, {name = 0x0, value = 134638369}, {name = 0x847e6fa "",
    value = 138831130}, {name = 0xbfffe360 "\303I@\b\030", value = 139222929},
  {name = 0x822f15c "fullscreen", value = 138929818}, {name = 0x0,
    value = 134638369}, {name = 0x847e69a "", value = 138831130}, {name = 0x0,
    value = 0}, {name = 0x1 <Address 0x1 out of bounds>, value = 140849672}, {
    name = 0x0, value = 140849672}, {name = 0x870eca0 "", value = 138809726}, {
    name = 0x0, value = 0}, {name = 0x870eca0 "", value = 138930938}}
(gdb) p ac
$5 = 9

Revision history for this message
Urs Fleisch (ufleisch) wrote :
Revision history for this message
Glenn Morris (rgm+lp) wrote :

This looks like

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=692081

which should be fixed in Debian's 24.3+1-2.

Revision history for this message
era (era) wrote :

As previous comments indicate that this should be fixed in 24.3, can we close this bug now?

Marking as Incomplete, which means the bug will expire in 60 days unless you follow up to indicate that you still have a problem (or, of course, feel free to mark as Fix Released if it's indeed fixed).

Changed in emacs24 (Ubuntu):
status: New → Incomplete
Revision history for this message
Urs Fleisch (ufleisch) wrote :

I have installed emacs24-lucid on Ubuntu 15.04, and it does not crash, so the bug can be closed now.

Revision history for this message
era (era) wrote :

Thanks for the quick reply! And sorry to see that this bug was left lingering for so long.

Changed in emacs24 (Ubuntu):
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.