Sat 06 Dec 2014 12:24:26 AM UTC, comment #4:
A debug session gives:
$ gdb screen
(gdb) run
[screen caught signal 11. (core dumped)]
Program received signal SIGHUP, Hangup.
0x00007f82a2efb4c0 in __pause_nocancel () at ../sysdeps/unix/syscall-template.S:81
81 ../sysdeps/unix/syscall-template.S: Filen eller katalogen finns inte.
(gdb) thread apply all bt
Thread 1 (process 18549):
#0 0x00007f82a2efb4c0 in __pause_nocancel () at ../sysdeps/unix/syscall-template.S:81
#1 0x0000000000429ac2 in Attacher () at attacher.c:621
#2 0x0000000000405151 in main (ac=6751552, av=0x7fff6a789c80) at screen.c:1270
(gdb) thread apply all bt full
Thread 1 (process 18549):
#0 0x00007f82a2efb4c0 in __pause_nocancel () at ../sysdeps/unix/syscall-template.S:81
No locals.
#1 0x0000000000429ac2 in Attacher () at attacher.c:621
No locals.
#2 0x0000000000405151 in main (ac=6751552, av=0x7fff6a789c80) at screen.c:1270
socknamebuf = "18553.pts-0.debian-systemd", '\000' <repeats 574 times>...
SockDir = 0x670540 <SockPath> "/var/run/screen/S-tomfa/18553.pts-0.debian-systemd"
st = {st_dev = 15, st_ino = 99278, st_nlink = 2, st_mode = 16832, st_uid = 1000, st_gid = 1000, __pad0 = 0, st_rdev = 0,
st_size = 80, st_blksize = 4096, st_blocks = 0, st_atim = {tv_sec = 1417824389, tv_nsec = 64058703}, st_mtim = {
tv_sec = 1417824440, tv_nsec = 512058920}, st_ctim = {tv_sec = 1417824440, tv_nsec = 512058920}, __glibc_reserved = {0, 0,
0}}
nwin = {StartAt = -1, aka = 0x0, args = 0x0, dir = 0x0, term = 0x0, aflag = -1, flowflag = -1, lflag = -1, histheight = -1,
monitor = -1, wlock = -1, silence = -1, wrap = -1, Lflag = -1, slow = -1, gr = -1, c1 = -1, bce = -1, encoding = -1,
hstatus = 0x0, charset = 0x0}
sockp = 0xfffffffffffffdfe <error: Cannot access memory at address 0xfffffffffffffdfe>
(gdb)
|