On Jul 05, 06 12:47:23 +0900, Stephane Glondu wrote:
> When screen is initializing, several child processes are created with
> clone. With a normal user, one of them segfaults and becomes a zombie.
> The parent process then keeps doing pause() - receive SIGALARM - pause()
> indefinitely, but apparently doesn't acknowledge the death of the child.
> From the user's point of view, the terminal is frozen.
> 
> When lanched as an administrator, again, there is no problem.
> 
> The matching part of the output of strace seems to be:
> 
> - with a normal user:
> 12673 munmap(0x2a9709e000, 38450)       = 0
> 12673 open("/usr/lib/sasl2/libsasldb.la", O_RDONLY) = 4
> 12673 close(4)                          = 0
> 12673 getdents64(3, /* 0 entries */, 4096) = 0
> 12673 close(3)                          = 0
> 12673 --- SIGSEGV (Segmentation fault) @ 0 (0) ---

Please post the full strace from clone() to SEGV.
Is a coredump written?

$ ulimit -c unlimited
$ screen 
...
$ gdb /usr/bin/screen core
(gdb) where
...
(list)
...


-- 
 o \  Juergen Weigert      unix-software __/ _=======.=======_     
<V> | [EMAIL PROTECTED]         creator    __/        _---|____________\/    
 \  |            0179/2069677      __/          (____/            /\
(/) | ____________________________/              _/ \_ vim:set sw=2 wm=8


_______________________________________________
screen-users mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/screen-users

Reply via email to