Hi, Ga\"el found a bug: emacs crashes when started under X. With his help I was able to get a backtrace (don't have X installed yet myself), and here it is, but no debugging symbols in X, so it's pretty useless.
Anyway, if someone wants to have a go at this before I get a chance (which will not be within the next weeks), have fun! Thanks, Marcus Script started on Mon Apr 29 23:26:42 2002 ulysses:/mnt/emacs/emacs21-21.2/src# DISPLAY=drizzt.dyndns.org:0.0 LD_LIBRARY_PA TH=/lib/debug:/usr/X11R6/lib gdb ./emacs-21.2.1 GNU gdb 2002-04-01-cvs Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-gnu"... DISPLAY = drizzt.dyndns.org:0.0 TERM = screen Breakpoint 1 at 0x80d522a: file emacs.c, line 387. Breakpoint 2 at 0x80ba74c: file xterm.c, line 12018. (gdb) run Starting program: /mnt/emacs/emacs21-21.2/src/emacs-21.2.1 -geometry 80x40+0+0 emacs: Cannot connect to X server drizzt.dyndns.org:0.0. Check the DISPLAY environment variable or use `-d'. Also use the `xhost' program to verify that it is set to permit connections from your machine. Program exited with code 01. (gdb) run[Kulysses:/mnt/emacs/emacs21-21.2/src# DISPLAY=drizzt.dyndns.org:0.0 LD_LIBRARY_PAT TH=/lib/debug:/usr/X11R6/lib gdb ./emacs-21.2.1 GNU gdb 2002-04-01-cvs Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-gnu"... DISPLAY = drizzt.dyndns.org:0.0 TERM = screen Breakpoint 1 at 0x80d522a: file emacs.c, line 387. Breakpoint 2 at 0x80ba74c: file xterm.c, line 12018. (gdb) run Starting program: /mnt/emacs/emacs21-21.2/src/emacs-21.2.1 -geometry 80x40+0+0 Program received signal SIGSEGV, Segmentation fault. 0x010a23da in XtInitializeWidgetClass () from /usr/X11R6/lib/libXt.so.6 (gdb) bt full #0 0x010a23da in XtInitializeWidgetClass () from /usr/X11R6/lib/libXt.so.6 No symbol table info available. #1 0x010a2de1 in _XtCreateWidget () from /usr/X11R6/lib/libXt.so.6 No symbol table info available. #2 0x010a2e8a in XtCreateWidget () from /usr/X11R6/lib/libXt.so.6 No symbol table info available. #3 0x080c3bce in x_window (f=0x84000b8, window_prompting=3, minibuffer_only=0) at xfns.c:3648 tem = 0x82f61a0 "emacs-21_2_1" shell_position = "\246\214\027\b\314\221'\030(1\002\001>)\r\b\224\343A\b\270\0@\bH1\002\001\340\245\005\b" al = {{ name = 0x8440434 "\t", value = 9 }, { name = 0x9 <Address 0x9 out of bounds>, value = 16920896 }} ac = 138644408 menubar_size = 138413144 class_hints = { res_name = 0x1023108 "H1\002\001\340\245\005\b\215\017$\b", res_class = 0x811b209 "\201\303" } ---Type <return> to continue, or q <return> to quit--- attributes = { background_pixmap = 405246412, background_pixel = 405444372, border_pixmap = 16921128, border_pixel = 135014095, bit_gravity = 405444372, win_gravity = 405246412, backing_store = 16921144, backing_planes = 135015645, backing_pixel = 1480672132, save_under = 1480712964, event_mask = 405466060, do_not_propagate_mask = 0, override_redirect = 2, colormap = 0, cursor = 138567440 } shell_widget = 0x8440fe8 pane_widget = 0x8441678 frame_widget = 0x10 al = {{ name = 0x8240f8d "mappedWhenManaged", value = 0 }, { ---Type <return> to continue, or q <return> to quit--- name = 0x8178e26 "showGrip", value = 0 }, { name = 0x8178e2f "allowResize", value = 1 }, { name = 0x8178e3b "resizeToPreferred", value = 1 }, { name = 0x8178e4d "emacsFrame", value = 138412216 }, { name = 0x82408d8 "visual", value = 138551040 }, { name = 0x8240e6b "depth", value = 24 }, { name = 0x8240e62 "colormap", value = 32 }, { name = 0x84000b8 "@\004", value = 16921016 }, { ---Type <return> to continue, or q <return> to quit--- name = 0x10231bc "\272$\f\b\314\353*\030\004\343AX\001", value = 0 }, { name = 0x182791fc <Address 0x182791fc out of bounds>, value = 825372019 }, { name = 0x10231f8 "82\002\001\335,\f\b\204CAX\004\343AX\314\353*\030", value = 135001380 }, { name = 0x182aec8c <Address 0x182aec8c out of bounds>, value = 402672983 }, { name = 0x1023198 "\001", value = 135012767 }, { name = 0x182791cc <Address 0x182791cc out of bounds>, value = 405246460 }, { name = 0x1 <Address 0x1 out of bounds>, value = 1 }, { name = 0x1 <Address 0x1 out of bounds>, value = 1 }, { ---Type <return> to continue, or q <return> to quit--- name = 0x1 <Address 0x1 out of bounds>, value = -1 }, { name = 0x1023160 "\374\221'\030s-21\3701\002\001$\365\v\b\214\354*\030WM", value = 16920944 }, { name = 0x0, value = 0 }, { name = 0x0, value = 405466060 }, { name = 0x10231f8 "82\002\001\335,\f\b\204CAX\004\343AX\314\353*\030", value = 135013562 }, { name = 0x182aebcc <Address 0x182aebcc out of bounds>, value = 1480712964 }, { name = 0x1 <Address 0x1 out of bounds>, value = 135373451 }, { name = 0x1023290 "\2402\002\001t2\002\001\001", value = 16920944 }} ---Type <return> to continue, or q <return> to quit--- #4 0x080c4dab in Fx_create_frame (parms=1480712964) at xfns.c:4435 f = (struct frame *) 0x84000b8 frame = 1212154040 tem = 138413144 name = 405246436 minibuffer_only = 0 window_prompting = 3 width = 0 height = 0 gcpro1 = { next = 0x0, var = 0x10232f0, nvars = 1 } gcpro2 = { next = 0x10232c0, var = 0x102327c, nvars = 1 } gcpro3 = { next = 0x10232b0, var = 0x1023278, nvars = 1 } ---Type <return> to continue, or q <return> to quit--- gcpro4 = { next = 0x10232a0, var = 0x1023274, nvars = 1 } display = 3 dpyinfo = (struct x_display_info *) 0x8425f10 parent = 405246412 kb = (struct kboard *) 0x8425f10 #5 0x0812f25e in Ffuncall (nargs=2, args=0x1023368) at eval.c:2659 nargs = 16921452 fun = 135835968 funcar = 138413144 numargs = 1 val = 138413144 backtrace = { next = 0x1023430, function = 0x1023368, args = 0x102336c, nargs = 1, evalargs = 0 '\0', debug_on_exit = 0 '\0' } internal_args = (int *) 0x102336c ---Type <return> to continue, or q <return> to quit--- i = 138413144 numargs = 1 backtrace = { next = 0x1023430, function = 0x1023368, args = 0x102336c, nargs = 1, evalargs = 0 '\0', debug_on_exit = 0 '\0' } #6 0x08157f24 in Fbyte_code (bytestr=941660000, vector=1210095536, maxdepth=5) at bytecode.c:716 bytestr = 1480712948 vector = 1 maxdepth = 16921448 op = 1 vectorp = (int *) 0x82097b8 stack = { pc = 0x820977e "\311\031\032\e\034\312\216\313\n\b\"\210\314\n!\210\315\n!\210\v\203*", top = 0x102336c, bottom = 0x1023360, byte_string = 941660000, byte_string_start = 0x8209770 "\305\b!\020\306\b\236\303 \307\310\bB!\311\031\---Type <return> to continue, or q <return> to quit--- 032\e\034\312\216\313\n\b\"\210\314\n!\210\315\n!\210\v\203*", constants = 1210095536, next = 0x10234a0 } top = (int *) 0x1023368 result = 138413144 #7 0x0812f5cc in funcall_lambda (fun=1210095412, nargs=1, arg_vector=0x1023484) at eval.c:2851 fun = 1210095412 nargs = 1 arg_vector = (int *) 0x1023484 val = 17635352 syms_left = 405246412 next = 136353588 i = 1 optional = 1 rest = 0 #8 0x0812f152 in Ffuncall (nargs=2, args=0x1023480) at eval.c:2707 nargs = 2 fun = 1210095412 funcar = 138413144 numargs = 1 val = 138413144 backtrace = { ---Type <return> to continue, or q <return> to quit--- next = 0x1023540, function = 0x1023480, args = 0x1023484, nargs = 1, evalargs = 0 '\0', debug_on_exit = 0 '\0' } internal_args = (int *) 0x2 i = 138413144 numargs = 1 backtrace = { next = 0x1023540, function = 0x1023480, args = 0x1023484, nargs = 1, evalargs = 0 '\0', debug_on_exit = 0 '\0' } #9 0x08157f24 in Fbyte_code (bytestr=941614552, vector=1210050044, maxdepth=3) at bytecode.c:716 bytestr = 941614552 vector = 1 maxdepth = 16921728 op = 1 ---Type <return> to continue, or q <return> to quit--- vectorp = (int *) 0x81fe604 stack = { pc = 0x81fe5ef "\032\305\306\n\"\210\n)\207", top = 0x1023484, bottom = 0x1023480, byte_string = 941614552, byte_string_start = 0x81fe5e8 "\303\304!\210\b\t!\032\305\306\n\"\210\n)\207", constants = 1210050044, next = 0x10235b0 } top = (int *) 0x1023480 result = 138413144 #10 0x0812f5cc in funcall_lambda (fun=1210049960, nargs=1, arg_vector=0x1023594) at eval.c:2851 fun = 1210049960 nargs = 1 arg_vector = (int *) 0x1023594 val = 17635352 syms_left = 405246412 next = 136308136 i = 1 optional = 1 rest = 0 ---Type <return> to continue, or q <return> to quit--- #11 0x0812f152 in Ffuncall (nargs=2, args=0x1023590) at eval.c:2707 nargs = 2 fun = 1210049960 funcar = 138413144 numargs = 1 val = 138413144 backtrace = { next = 0x1023650, function = 0x1023590, args = 0x1023594, nargs = 1, evalargs = 0 '\0', debug_on_exit = 0 '\0' } internal_args = (int *) 0x2 i = 138413144 numargs = 1 backtrace = { next = 0x1023650, function = 0x1023590, args = 0x1023594, nargs = 1, evalargs = 0 '\0', debug_on_exit = 0 '\0' ---Type <return> to continue, or q <return> to quit--- } #12 0x08157f24 in Fbyte_code (bytestr=941610888, vector=1210046448, maxdepth=4) at bytecode.c:716 bytestr = 1480712948 vector = 1 maxdepth = 16922000 op = 1 vectorp = (int *) 0x81fd7f8 stack = { pc = 0x81fd7c8 "\211\026\025\026\026\317\f!\024\320\v!\210\313\211\023\207\b\306=\206U", top = 0x1023594, bottom = 0x1023590, byte_string = 941610888, byte_string_start = 0x81fd798 "\b\203A", constants = 1210046448, next = 0x10236d0 } top = (int *) 0x1023590 result = 138413144 #13 0x0812f5cc in funcall_lambda (fun=1210046316, nargs=0, arg_vector=0x10236a4) at eval.c:2851 fun = 1210046316 nargs = 0 ---Type <return> to continue, or q <return> to quit--- arg_vector = (int *) 0x10236a4 val = 17635352 syms_left = 405246412 next = 136304492 i = 0 optional = 0 rest = 0 #14 0x0812f152 in Ffuncall (nargs=1, args=0x10236a0) at eval.c:2707 nargs = 1 fun = 1210046316 funcar = 138413144 numargs = 0 val = 138413144 backtrace = { next = 0x1023770, function = 0x10236a0, args = 0x10236a4, nargs = 0, evalargs = 0 '\0', debug_on_exit = 0 '\0' } internal_args = (int *) 0x1 i = 138413144 numargs = 0 ---Type <return> to continue, or q <return> to quit--- backtrace = { next = 0x1023770, function = 0x10236a0, args = 0x10236a4, nargs = 0, evalargs = 0 '\0', debug_on_exit = 0 '\0' } #15 0x08157f24 in Fbyte_code (bytestr=941765112, vector=1210201824, maxdepth=5) at bytecode.c:716 bytestr = 941767872 vector = 0 maxdepth = 16922272 op = 0 vectorp = (int *) 0x82236e8 stack = { pc = 0x8223435 "\210\016D\204P\002\016R\201s", top = 0x10236a0, bottom = 0x10236a0, byte_string = 941765112, byte_string_start = 0x8223208 "\b\021\306\n\307>\203\037", constants = 1210201824, next = 0x10237f0 } ---Type <return> to continue, or q <return> to quit--- top = (int *) 0x10236a0 result = 138413144 #16 0x0812f5cc in funcall_lambda (fun=1210200544, nargs=0, arg_vector=0x10237c4) at eval.c:2851 fun = 1210200544 nargs = 0 arg_vector = (int *) 0x10237c4 val = 17635352 syms_left = 405246412 next = 136458720 i = 0 optional = 0 rest = 0 #17 0x0812f152 in Ffuncall (nargs=1, args=0x10237c0) at eval.c:2707 nargs = 1 fun = 1210200544 funcar = 138413144 numargs = 0 val = 138413144 backtrace = { next = 0x1023960, function = 0x10237c0, args = 0x10237c4, nargs = 0, ---Type <return> to continue, or q <return> to quit--- evalargs = 0 '\0', debug_on_exit = 0 '\0' } internal_args = (int *) 0x1 i = 138413144 numargs = 0 backtrace = { next = 0x1023960, function = 0x10237c0, args = 0x10237c4, nargs = 0, evalargs = 0 '\0', debug_on_exit = 0 '\0' } #18 0x08157f24 in Fbyte_code (bytestr=941761176, vector=1210196776, maxdepth=5) at bytecode.c:716 bytestr = 943569556 vector = 0 maxdepth = 16922560 op = 0 vectorp = (int *) 0x8222330 stack = { pc = 0x8222323 "*\207", top = 0x10237c0, ---Type <return> to continue, or q <return> to quit--- bottom = 0x10237c0, byte_string = 941761176, byte_string_start = 0x82222a8 "\b\203\b", constants = 1210196776, next = 0x0 } top = (int *) 0x10237c0 result = 138413144 #19 0x0812f5cc in funcall_lambda (fun=1210196608, nargs=0, arg_vector=0x1023880) at eval.c:2851 fun = 1210196608 nargs = 0 arg_vector = (int *) 0x1023880 val = 17635352 syms_left = 405246412 next = 136454784 i = 0 optional = 0 rest = 0 #20 0x0812f455 in apply_lambda (fun=1210196608, args=405246412, eval_flag=1) at eval.c:2770 args = 1 args_left = 405246412 numargs = 0 ---Type <return> to continue, or q <return> to quit--- arg_vector = (int *) 0x1023880 gcpro1 = { next = 0x0, var = 0x1023880, nvars = 0 } gcpro2 = { next = 0x10238b0, var = 0x102388c, nvars = 1 } gcpro3 = { next = 0x10238a0, var = 0x10238e0, nvars = 1 } i = 0 tem = 1 #21 0x0812e34c in Feval (form=1480007812) at eval.c:2055 fun = 1210196608 val = 138413144 original_fun = 406264124 original_args = 405246412 funcar = 138413144 ---Type <return> to continue, or q <return> to quit--- backtrace = { next = 0x0, function = 0x102390c, args = 0x1023880, nargs = 0, evalargs = 0 '\0', debug_on_exit = 0 '\0' } gcpro1 = { next = 0x12efbb6, var = 0x12e9e5c, nvars = 19796908 } gcpro2 = { next = 0x8363860, var = 0x1000000, nvars = 19828668 } gcpro3 = { next = 0x8363860, var = 0x136a023, nvars = 16922968 } fun = 1210196608 ---Type <return> to continue, or q <return> to quit--- original_fun = 406264124 original_args = 405246412 backtrace = { next = 0x0, function = 0x102390c, args = 0x1023880, nargs = 0, evalargs = 0 '\0', debug_on_exit = 0 '\0' } gcpro1 = { next = 0x12efbb6, var = 0x12e9e5c, nvars = 19796908 } gcpro2 = { next = 0x8363860, var = 0x1000000, nvars = 19828668 } gcpro3 = { next = 0x8363860, var = 0x136a023, nvars = 16922968 ---Type <return> to continue, or q <return> to quit--- } #22 0x080d7735 in top_level_2 () at keyboard.c:1254 No locals. #23 0x0812d29d in internal_condition_case (bfun=0x80d7724 <top_level_2>, handlers=405341580, hfun=0x80d7450 <cmd_error>) at eval.c:1267 val = 17635352 c = { tag = 405246412, val = 405246412, next = 0x1023a70, gcpro = 0x0, jmp = {{ __jmpbuf = {1, 1, 3, 16923192, 16923056, 135451222}, __mask_was_saved = 0, __saved_mask = 0 }}, backlist = 0x0, handlerlist = 0x0, lisp_eval_depth = 0, pdlcount = 2, poll_suppress_count = 1, byte_stack = 0x0 } h = { ---Type <return> to continue, or q <return> to quit--- handler = 405341580, var = 405246412, chosen_clause = 20994976, tag = 0x10239e0, next = 0x0 } #24 0x080d7761 in top_level_1 () at keyboard.c:1262 No locals. #25 0x0812cee5 in internal_catch (tag=405303476, func=0x80d7738 <top_level_1>, arg=405246412) at eval.c:1030 tag = 17635352 c = { tag = 405303476, val = 405246412, next = 0x0, gcpro = 0x0, jmp = {{ __jmpbuf = {1, 1, 3, 16923336, 16923232, 135450310}, __mask_was_saved = 0, __saved_mask = 137024048 }}, backlist = 0x0, handlerlist = 0x0, lisp_eval_depth = 0, ---Type <return> to continue, or q <return> to quit--- pdlcount = 2, poll_suppress_count = 1, byte_stack = 0x0 } #26 0x080d76b3 in command_loop () at keyboard.c:1223 No locals. #27 0x080d722e in recursive_edit_1 () at keyboard.c:950 val = 1 #28 0x080d733c in Frecursive_edit () at keyboard.c:1006 buffer = 17635352 #29 0x080d5e49 in main (argc=3, argv=0x1023bf0, envp=0x1023c00) at emacs.c:1547 argc = 3 stack_bottom_variable = 0 '\0' do_initial_setlocale = 1 skip_args = 0 rlim = { rlim_cur = 9223372036854775807, rlim_max = 9223372036854775807 } #30 0x0131ddb6 in __libc_start_main (main=0x80d5744 <main>, argc=3, ubp_av=0x1023bf0, init=0x804d6d0 <_init>, fini=0x81739e4 <_fini>, rtld_fini=0xb440 <_dl_fini>, stack_end=0x1023bec) at ../sysdeps/generic/libc-start.c:129 ubp_av = (char **) 0x1023bf0 ---Type <return> to continue, or q <return> to quit--- fini = (void (*)()) 0x227e8 <_dl_debug_mask> rtld_fini = (void (*)()) 0x10d0e80 <rectObjClassRec> stack_end = (void *) 0x8400458 ubp_ev = (char **) 0x1023c00 (gdb) x/20i $pc 0x10a23da <XtInitializeWidgetClass+150>: mov (%edx),%edx 0x10a23dc <XtInitializeWidgetClass+152>: test %edx,%edx 0x10a23de <XtInitializeWidgetClass+154>: jne 0x10a2384 <XtInitializeWidgetClass+64> 0x10a23e0 <XtInitializeWidgetClass+156>: mov 0x8(%ebp),%ecx 0x10a23e3 <XtInitializeWidgetClass+159>: mov 0x5c(%ecx),%edx 0x10a23e6 <XtInitializeWidgetClass+162>: cmp $0x2afe,%edx 0x10a23ec <XtInitializeWidgetClass+168>: je 0x10a2465 <XtInitializeWidgetClass+289> 0x10a23ee <XtInitializeWidgetClass+170>: test %edx,%edx 0x10a23f0 <XtInitializeWidgetClass+172>: je 0x10a2465 <XtInitializeWidgetClass+289> 0x10a23f2 <XtInitializeWidgetClass+174>: lea 0xffff7fa0(%ebx),%eax 0x10a23f8 <XtInitializeWidgetClass+180>: mov %eax,0xffffffb4(%ebp) 0x10a23fb <XtInitializeWidgetClass+183>: mov 0x4(%ecx),%eax 0x10a23fe <XtInitializeWidgetClass+186>: mov %eax,0xffffffd8(%ebp) 0x10a2401 <XtInitializeWidgetClass+189>: lea 0xffffd504(%edx),%eax 0x10a2407 <XtInitializeWidgetClass+195>: cmp $0x1,%eax 0x10a240a <XtInitializeWidgetClass+198>: mov %edx,0xffffffdc(%ebp) 0x10a240d <XtInitializeWidgetClass+201>: movl $0x2afe,0xffffffe0(%ebp) 0x10a2414 <XtInitializeWidgetClass+208>: jbe 0x10a2465 <XtInitializeWidgetClass+289> 0x10a2416 <XtInitializeWidgetClass+210>: cmp $0x2afb,%edx 0x10a241c <XtInitializeWidgetClass+216>: ---Type <return> to continue, or q <return> to quit--- je 0x10a24d0 <XtInitializeWidgetClass+396> (gdb) info reg eax 0x10d1818 17635352 ecx 0x10d0e80 17632896 edx 0x21a1040 35262528 ebx 0x10d28e0 17639648 esp 0x1022fc0 0x1022fc0 ebp 0x1023018 0x1023018 esi 0x10d0898 17631384 edi 0x8441678 138679928 eip 0x10a23da 0x10a23da eflags 0x10206 66054 cs 0x17 23 ss 0x1f 31 ds 0x1f 31 es 0x1f 31 fs 0x1f 31 gs 0x1f 31 fctrl 0x27f 639 fstat 0x4020 16416 ftag 0xffff 65535 fiseg 0x17 23 fioff 0x8050c0a 134548490 foseg 0x1f 31 fooff 0x1023098 16920728 fop 0x35d 861 (gdb) A debugging session is active. Do you still want to close the debugger?(y or n) y ulysses:/mnt/emacs/emacs21-21.2/src# exit Script done on Mon Apr 29 23:31:43 2002 _______________________________________________ Bug-hurd mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-hurd