I found out how to get a core cump here's the c-backtrace
(gdb) where
#0 0x404a9561 in kill () from /lib/libc.so.6
#1 0x080acae9 in fatal_error_signal (sig=11) at emacs.c:3424
#2 0x404a9498 in __libc_sigaction () from /lib/libc.so.6
#3 0x40236013 in gtk_signal_set_funcs () from /usr/lib/libgtk-1.2.so.0
#4 0x402340b3 in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
#5 0x4026ab0b in gtk_widget_event () from /usr/lib/libgtk-1.2.so.0
#6 0x40206d95 in gtk_propagate_event () from /usr/lib/libgtk-1.2.so.0
#7 0x40205efe in gtk_main_do_event () from /usr/lib/libgtk-1.2.so.0
#8 0x402b54d7 in gdk_wm_protocols_filter () from /usr/lib/libgdk-1.2.so.0
#9 0x402e44c8 in g_get_current_time () from /usr/lib/libglib-1.2.so.0
#10 0x402e4ad3 in g_get_current_time () from /usr/lib/libglib-1.2.so.0
#11 0x402e4b85 in g_main_iteration () from /usr/lib/libglib-1.2.so.0
#12 0x40205a5a in gtk_main_iteration () from /usr/lib/libgtk-1.2.so.0
#13 0x08108475 in emacs_gtk_next_event (emacs_event=0x402e539c)
at event-gtk.c:1173
#14 0x080bb196 in event_stream_next_event (event=0x848efc4)
at event-stream.c:586
#15 0x080bcdb0 in next_event_internal (target_event=138997700, allow_queued=1)
at event-stream.c:2193
#16 0x080bd497 in Fnext_event (event=138997700, prompt=1086108356)
at event-stream.c:2426
#17 0x08096c18 in Fcommand_loop_1 () at cmdloop.c:581
#18 0x080af35c in condition_case_1 (handlers=1086106220,
---Type <return> to continue, or q <return> to quit---
bfun=0x8096af0 <command_loop_1>, barg=1086108356,
hfun=0x80967a0 <cmd_error>, harg=1086108356) at eval.c:1865
#19 0x08096899 in command_loop_3 () at cmdloop.c:264
#20 0x080968ba in command_loop_2 (dummy=1086108356) at cmdloop.c:275
#21 0x080aef9e in internal_catch (tag=0, func=0x80968b0 <command_loop_2>,
arg=1086108356, threw=0x0, thrown_tag=0x0) at eval.c:1488
#22 0x08096983 in initial_command_loop (load_me=0) at cmdloop.c:313
#23 0x080ab3f1 in xemacs_21_5_b9_i386_debian_linux (argc=1, argv=0xbffff6e4,
envp=0xbffff6ec, restart=0) at emacs.c:2345
#24 0x080ac509 in main (argc=0, argv=0x0, envp=0x0) at emacs.c:2783
(gdb)
Regards
Friedrich