Discussion:
crash on ssh disconnect
Dan Nicolaescu
2006-05-29 03:18:41 UTC
Permalink
I had an emacsclient X11 frame running over ssh. For some reason the
ssh session got disconnected, but emacs also crashed when this
happened. I had it running in gdb, so I could look at the backtrace.

Hope this helps...


Program received signal SIGABRT, Aborted.
0x00157402 in __kernel_vsyscall ()
(gdb) bt
#0 0x00157402 in __kernel_vsyscall ()
#1 0x0019d456 in ?? ()
#2 0x080edcab in abort () at /home/dann/build/MTTY-emacs/emacs/src/emacs.c:465
#3 0x08152ccd in internal_condition_case_2 (bfun=Could not find the frame base for "internal_condition_case_2".
)
at /home/dann/build/MTTY-emacs/emacs/src/eval.c:1548
#4 0x080600bd in Fdelete_frame (frame=172503524, force=137599225)
at /home/dann/build/MTTY-emacs/emacs/src/frame.c:1423
#5 0x080caa61 in x_connection_closed (dpy=0x9dd2648, error_message=Variable "error_message" is not available.
)
at /home/dann/build/MTTY-emacs/emacs/src/xterm.c:7721
#6 0x080cabeb in x_io_error_quitter (display=0x9dd2648)
at /home/dann/build/MTTY-emacs/emacs/src/xterm.c:7859
#7 0x0032aa4d in ?? ()
#8 0x09dd2648 in ?? ()
#9 0x003e5b24 in ?? ()
#10 0xbfac2f48 in ?? ()
#11 0x0032c347 in ?? ()
#12 0x09dd2648 in ?? ()
#13 0x0a2e64a0 in ?? ()
#14 0x00000004 in ?? ()
#15 0x0032676f in ?? ()
#16 0x00000003 in ?? ()
#17 0x0000541b in ?? ()
#18 0xbfac2f84 in ?? ()
#19 0x00000000 in ?? ()
(gdb) up 6
#6 0x080cabeb in x_io_error_quitter (display=0x9dd2648)
at /home/dann/build/MTTY-emacs/emacs/src/xterm.c:7859
7859 x_connection_closed (display, buf);
(gdb) p display
$1 = (Display *) 0x9dd2648
(gdb) p buf
$2 = "Connection lost to X server `localhost:12.0'\000?\033\b?.??\220\a??xd/\000\177?\023\bQ?Y\b`?\023\b\000\000\000\000\000hR\b\000\000\000\000??<\016h.????\033\bphR\b\000\000\000\000\210.??\177?\023\bq?8\b\000\000\000\000\230.??\000hR\b\000\000\000\000\001\000\000\000?.????\033\b\210?\226\t\000\000\000\000?.??\177?\023\b??8\b\000\000\000\000?.??\000?\226\t\000\000\000\000d\t/\000\220\a???\037\027\000\220\a??d\t/\000"...
(gdb) p *display
$3 = {ext_data = 0x99adcb8, private1 = 0x9ddb228, fd = 7, private2 = 119,
proto_major_version = 11, proto_minor_version = 0,
vendor = 0x9dc5ca0 "The X.Org Foundation", private3 = 37748736,
private4 = 2097151, private5 = 49128, private6 = 0,
resource_alloc = 0x329eb0, byte_order = 0, bitmap_unit = 32,
bitmap_pad = 32, bitmap_bit_order = 0, nformats = 7,
pixmap_format = 0xa28a118, private8 = 11, release = 70000000,
private9 = 0x0, private10 = 0x0, qlen = 0, last_request_read = 1771213,
request = 1786395, private11 = 0xa2e64a0 "+", private12 = 0xa2e64a0 "+",
private13 = 0xa2e64a4 "?", private14 = 0xa2ea4a0 "\b@",
max_request_size = 65535, db = 0x9b90c58, private15 = 0,
display_name = 0xa0536d8 "localhost:12.0", default_screen = 0, nscreens = 1,
screens = 0x9e521b8, motion_buffer = 256, private16 = 65, min_keycode = 8,
max_keycode = 255, private17 = 0x0, private18 = 0x0, private19 = 0,
xdefaults = 0x0}
Károly Lőrentey
2006-07-29 18:43:46 UTC
Permalink
?m?I?r?^??V?)^????-i?+????????????????azk??+m?????H???z????????(!?z-{bn+l?g??)??)??????,j\??zg?i??~V????z??{^r??]?'??-??????zkjsbr?Zz?.u????.r'??
?????Z???r?%???_]_???????x(????h??&z???????,????*'??]??(?w???[???i?????!y?!z{a??Z???y?!i??????x"?[????]??$j?ay?????q?4?M5??4?)?z????2????]1?M}w?z?}??O4y?n)?n??j???g?u????????M6??,???r???????,s???Lt?^vq?b?)?z????'v+b?w???~?
Continue reading on narkive:
Loading...