bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#28430: 26.0.50; Segfault on unexpected connection loss


From: Eli Zaretskii
Subject: bug#28430: 26.0.50; Segfault on unexpected connection loss
Date: Fri, 15 Sep 2017 16:20:11 +0300

> From: Daniel Kraus <daniel@kraus.my>
> Cc: 28430@debbugs.gnu.org
> Date: Thu, 14 Sep 2017 12:56:46 +0800
> 
> >> >  (gdb) frame 4
> >> >  (gdb) pp error_val
> >> >
> >> > After "frame 4", you should be in this function:
> >> >
> >> >    #4  0x00000000006c5edd in exec_sentinel_error_handler (error_val=...) 
> >> > at process.c:7105
> >> >
> >> > If not, adjust the argument 4 as needed.
> >
> > Sorry, you need to source .gdbinit file for "pp" to work.
> 
> Ups, sorry. Thought emacs would do that for me.
> 
> Here (with backtrace again just to be sure since error_val seems empty):
> 
> --cut--
> 
> (gdb) r
> Starting program: 
> /home/daniel/repos/emacs-git/src/emacs-git/src/bootstrap-emacs -Q
> [Thread debugging using libthread_db enabled]
> Using host libthread_db library "/usr/lib/libthread_db.so.1".
> [New Thread 0x7fffe5693700 (LWP 13037)]
> [New Thread 0x7fffdffff700 (LWP 13038)]
> [New Thread 0x7fffdf670700 (LWP 13039)]
> [New Thread 0x7fffdea4ca40 (LWP 13395)]
> [Thread 0x7fffdea4ca40 (LWP 13395) exited]
> 
> Thread 1 "bootstrap-emacs" received signal SIGABRT, Aborted.
> 0x00007ffff017ac40 in raise () from /usr/lib/libpthread.so.0
> (gdb) source .gdbinit
> SIGINT is used by the debugger.
> Are you sure you want to change it? (y or n) [answered Y; input not from 
> terminal]
> DISPLAY = :0
> TERM = dumb
> Breakpoint 1 at 0x5979ca: file emacs.c, line 363.
> Temporary breakpoint 2 at 0x5c3fe7: file sysdep.c, line 1025.
> (gdb) frame 4
> #4  0x00000000006c5edd in exec_sentinel_error_handler (error_val=XIL(0)) at 
> process.c:7105
> 7105    cmd_error_internal (error_val, "error in process sentinel: ");
> (gdb) pp error_val
> (gdb) bt
> #0  0x00007ffff017ac40 in raise () at /usr/lib/libpthread.so.0
> #1  0x0000000000597ab9 in terminate_due_to_signal (sig=6, 
> backtrace_limit=2147483647) at emacs.c:394
> #2  0x0000000000632a74 in die (msg=0x778761 "CONSP (data)", file=0x7786d1 
> "keyboard.c", line=999) at alloc.c:7419
> #3  0x000000000059c3e1 in cmd_error_internal (data=XIL(0), context=0x798c6c 
> "error in process sentinel: ") at keyboard.c:999
> #4  0x00000000006c5edd in exec_sentinel_error_handler (error_val=XIL(0)) at 
> process.c:7105

Thanks.  I think I fixed this, please try the current master.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]