Emacs crashes at startup (Seg Fault) on Cobalt Cube 2
Hi!
I'm experiencing a bug using emacs (both 20, 21) under X11 (emacs -nw is
working).
The system is a Cobalt Cube 2 running SID (synced with the mirrors)
Here are the results when starting emacs :
# emacs
Fatal error (11).Segmentation fault
with gdb (more information below) i got :
(gdb) r
Program received signal SIGSEGV, Segmentation fault.
0x2ac2f9ec in XtInitializeWidgetClass (wc=0x10082a9c) at Create.c:824
I'm not sure which of emacs or Xt behaves unlikely. It may be close to
an already known bug (closed) related to the binutils release :
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=126918
Any thoughts ?
Stephane
PS: the X11 display is remote (either Xfree(i386-linux) or X-win32
(i386-win2000))
-- more info gathered from gdb
#gdb emacs
(gdb) r
Program received signal SIGSEGV, Segmentation fault.
0x2ac2f9ec in XtInitializeWidgetClass (wc=0x10082a9c) at Create.c:824
824 Create.c: No such file or directory.
in Create.c
(gdb) where
#0 0x2ac2f9ec in XtInitializeWidgetClass (wc=0x10082a9c) at Create.c:824
#1 0x2ac30e04 in _XtCreateWidget (name=0x1011bfd0 "emacs",
widget_class=0x10082a9c, parent=0x101a74c8, args=0x7fff6d48,
num_args=5,
typed_args=0x0, num_typed_args=0) at Create.c:824
#2 0x2ac311fc in XtCreateWidget (name=0x1011bfd0 "emacs",
widget_class=0x10082a9c, parent=0x101a74c8, args=0x7fff6d48,
num_args=5)
at Create.c:824
#3 0x004a0b88 in Fx_parse_geometry ()
warning: Warning: GDB can't find the start of the function at 0x75422e73.
(gdb) frame 0
#0 0x2ac2f9ec in XtInitializeWidgetClass (wc=0x10082a9c) at Create.c:824
824 in Create.c
(gdb) p *wc
$3 = {core_class = {superclass = 0x5598e5e0,
class_name = 0x5e34d0 "EmacsFrame", widget_size = 164,
class_initialize = 0, class_part_initialize = 0, class_inited = 0
'\000',
initialize = 0x5c8d20 <memory_warnings+2792>, initialize_hook = 0,
realize = 0x5c8df0 <memory_warnings+3000>, actions = 0x0,
num_actions = 0,
resources = 0x10082930, num_resources = 13, xrm_class = 0,
compress_motion = 1 '\001', compress_exposure = 1 '\001',
compress_enterleave = 1 '\001', visible_interest = 0 '\000',
destroy = 0x5c8e84 <memory_warnings+3148>,
resize = 0x5c9060 <EmacsFrameResize>, expose = 0x55882880,
set_values = 0x5c916c <EmacsFrameResize+268>, set_values_hook = 0,
set_values_almost = 0x55882880, get_values_hook = 0,
accept_focus = 0x55882880, version = 11006, callback_private = 0x0,
tm_table = 0x0, query_geometry = 0x5c93f4 <EmacsFrameResize+916>,
display_accelerator = 0x55882880, extension = 0x0}}
(gdb)
(gdb) frame 2
#2 0x2ac311fc in XtCreateWidget (name=0x1011bfd0 "emacs",
widget_class=0x10082a9c, parent=0x101a74c8, args=0x7fff6d38,
num_args=5)
at Create.c:824
824 in Create.c
(gdb) p *args
$4 = {name = 0x2ac84625 "mappedWhenManaged", value = 0}
(gdb)
(gdb) p *parent
$5 = {core = {self = 0x101a74c8, widget_class = 0x2abb80c0,
parent = 0x100c9c90, xrm_name = 519, being_destroyed = 0 '\000',
destroy_callbacks = 0x101a75e8, 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 = 0x101e1438 "pane", screen = 0x101ae690, colormap = 34,
window = 0,
depth = 24, background_pixel = 16777215, background_pixmap = 2,
visible = 1 '\001', mapped_when_managed = 1 '\001'}}
(gdb) p parent->core->widget_class
$6 = 0x2abb80c0
(gdb) p *(parent->core->widget_class)
$7 = {core_class = {superclass = 0x2acc6c90, class_name = 0x2ab73954
"Paned",
widget_size = 252, class_initialize = 0x2ab32ff8
<_XawGetPageSize+9528>,
class_part_initialize = 0, class_inited = 31 '\037',
initialize = 0x2ab334e4 <_XawGetPageSize+10788>, initialize_hook = 0,
realize = 0x2ab33554 <_XawGetPageSize+10900>, actions = 0x0,
num_actions = 0, resources = 0x101bd1f0, num_resources = 38,
xrm_class = 489, compress_motion = 1 '\001', compress_exposure = 1
'\001',
compress_enterleave = 1 '\001', visible_interest = 0 '\000',
destroy = 0x2ab33688 <_XawGetPageSize+11208>,
resize = 0x2ab33c60 <_XawGetPageSize+12704>,
expose = 0x2ab33cf4 <_XawGetPageSize+12852>,
set_values = 0x2ab33d40 <_XawGetPageSize+12928>, set_values_hook = 0,
set_values_almost = 0x2ac2f82c <CoreSetValuesAlmost>,
get_values_hook = 0,
accept_focus = 0, version = 11006, callback_private = 0x101c1ca0,
tm_table = 0x0, query_geometry = 0, display_accelerator = 0,
extension = 0x0}}
Reply to: