Hi Vincent With the -DDEBUG and 08 and 09 patch sesman crashes. So I tried once without any extra patches. Just the -DDEBUG added.
First on startup. [20080322-13:06:36] [CORE ] starting sesman with pid 23288 [20080322-13:06:36] [INFO ] listening... [20080322-13:06:36] [DEBUG] calling sigwait() Then a connection is done: [20080322-13:07:02] [DEBUG] new connection [20080322-13:07:02] [DEBUG] lock_socket_acquire() [20080322-13:07:02] [INFO ] scp thread on sck 5 started successfully [20080322-13:07:02] [DEBUG] started scp thread on socket 5 [20080322-13:07:02] [DEBUG] lock_socket_release() [20080322-13:07:02] [DEBUG] accept ok, go on with scp v0 [20080322-13:07:02] [DEBUG] lock_chain_acquire() [20080322-13:07:02] [DEBUG] lock_chain_release() [20080322-13:07:02] [DEBUG] Terminal Server Users group is disabled, allowing authentication [20080322-13:07:02] [INFO ] granted TS access to user test [20080322-13:07:02] [INFO ] starting Xvnc session... [20080322-13:07:02] [DEBUG] lock_chain_acquire() [20080322-13:07:02] [DEBUG] lock_chain_release() [20080322-13:07:02] [INFO ] starting sessvc - xpid=23298 - wmpid=23297 [20080322-13:07:02] [DEBUG] lock_chain_acquire() [20080322-13:07:02] [DEBUG] lock_chain_release() [20080322-13:07:02] [DEBUG] pass file: /home/test/.vnc/sesman_passwd [20080322-13:07:02] [CORE ] error starting sessvc - pid 23296 - xpid=23298 - wmpid=23297 [20080322-13:07:02] [DEBUG] errno: 2, description: No such file or directory [20080322-13:07:02] [DEBUG] execve parameter list: [20080322-13:07:02] [DEBUG] argv[0] = //sessvc [20080322-13:07:02] [DEBUG] argv[1] = 23298 [20080322-13:07:02] [DEBUG] argv[2] = 23297 [20080322-13:07:02] [DEBUG] argv[3] = (null) Now logging out: ... Nothing. And then trying to login again: [20080322-13:09:34] [DEBUG] new connection [20080322-13:09:34] [DEBUG] lock_socket_acquire() [20080322-13:09:34] [INFO ] scp thread on sck 5 started successfully [20080322-13:09:34] [DEBUG] started scp thread on socket 5 [20080322-13:09:34] [DEBUG] lock_socket_release() [20080322-13:09:34] [DEBUG] accept ok, go on with scp v0 [20080322-13:09:34] [DEBUG] lock_chain_acquire() [20080322-13:09:34] [DEBUG] lock_chain_release() >From the above it looks like the sessvc binary seems to be misplaced... Actually it turned out to be so that the sessvc was not part of the Debian binary at all. However when I installed that one it did not really help... [20080322-13:12:09] [DEBUG] new connection [20080322-13:12:09] [DEBUG] lock_socket_acquire() [20080322-13:12:09] [INFO ] scp thread on sck 5 started successfully [20080322-13:12:09] [DEBUG] started scp thread on socket 5 [20080322-13:12:09] [DEBUG] lock_socket_release() [20080322-13:12:09] [DEBUG] accept ok, go on with scp v0 [20080322-13:12:09] [DEBUG] lock_chain_acquire() [20080322-13:12:09] [DEBUG] lock_chain_release() [20080322-13:12:09] [DEBUG] Terminal Server Users group is disabled, allowing authentication [20080322-13:12:09] [INFO ] granted TS access to user test [20080322-13:12:09] [INFO ] starting Xvnc session... [20080322-13:12:09] [DEBUG] lock_chain_acquire() [20080322-13:12:09] [DEBUG] lock_chain_release() [20080322-13:12:09] [INFO ] starting sessvc - xpid=23461 - wmpid=23460 [20080322-13:12:09] [DEBUG] lock_chain_acquire() [20080322-13:12:09] [DEBUG] pass file: /home/test/.vnc/sesman_passwd [20080322-13:12:09] [DEBUG] lock_chain_release() [20080322-13:12:30] [DEBUG] new connection [20080322-13:12:30] [DEBUG] lock_socket_acquire() [20080322-13:12:30] [INFO ] scp thread on sck 5 started successfully [20080322-13:12:30] [DEBUG] started scp thread on socket 5 [20080322-13:12:30] [DEBUG] lock_socket_release() [20080322-13:12:31] [DEBUG] accept ok, go on with scp v0 [20080322-13:12:31] [DEBUG] lock_chain_acquire() [20080322-13:12:31] [DEBUG] lock_chain_release() Now with the 08 patch applied: lapilli:~# tail -f /var/log/sesman.log [20080322-16:26:14] [INFO ] shutting down sesman 1 [20080322-16:26:14] [DEBUG] - getting signal 15 pid 3446 [20080322-16:26:14] [DEBUG] lock_chain_acquire() [20080322-16:26:15] [DEBUG] lock_chain_release() [20080322-16:26:15] [DEBUG] calling sigwait() [20080322-16:26:19] [INFO ] starting signal handling thread... [20080322-16:26:19] [INFO ] signal handler thread started successfully [20080322-16:26:19] [CORE ] starting sesman with pid 3566 [20080322-16:26:19] [INFO ] listening... [20080322-16:26:19] [DEBUG] calling sigwait() And then connect. [20080322-16:26:33] [DEBUG] new connection [20080322-16:26:33] [DEBUG] lock_socket_acquire() [20080322-16:26:33] [INFO ] scp thread on sck 5 started successfully [20080322-16:26:33] [DEBUG] started scp thread on socket 5 [20080322-16:26:33] [DEBUG] lock_socket_release() [20080322-16:26:33] [DEBUG] accept ok, go on with scp v0 [20080322-16:26:33] [DEBUG] lock_chain_acquire() [20080322-16:26:33] [DEBUG] lock_chain_release() [20080322-16:26:33] [DEBUG] Terminal Server Users group is disabled, allowing authentication [20080322-16:26:33] [INFO ] granted TS access to user test [20080322-16:26:33] [INFO ] starting Xvnc session... [20080322-16:26:33] [DEBUG] lock_chain_acquire() [20080322-16:26:33] [DEBUG] lock_chain_release() [20080322-16:26:33] [INFO ] starting sessvc - xpid=3573 - wmpid=3572 [20080322-16:26:33] [DEBUG] lock_chain_acquire() [20080322-16:26:33] [DEBUG] pass file: /home/test/.vnc/sesman_passwd [20080322-16:26:33] [DEBUG] lock_chain_release() And disconnect: ... Nothing. And with the 09 patch I get the following (with -DDEBUG): lapilli:~# tail -f /var/log/sesman.log [20080322-16:29:27] [DEBUG] sesman received SIGTERM [20080322-16:29:27] [INFO ] shutting down sesman 1 [20080322-16:29:27] [DEBUG] - getting signal 15 pid 3566 [20080322-16:29:27] [DEBUG] lock_chain_acquire() [20080322-16:29:27] [DEBUG] lock_chain_release() [20080322-16:29:27] [DEBUG] calling sigwait() [20080322-16:29:43] [INFO ] starting signal handling thread... [20080322-16:29:43] [INFO ] signal handler thread started successfully [20080322-16:29:43] [ERROR] error opening pid file: No such file or directory [20080322-16:29:43] [CORE ] shutting down log subsystem... Best regards, // Ola On Sun, Mar 16, 2008 at 11:19:06AM +0100, Vincent Bernat wrote: > OoO En cette nuit nuageuse du vendredi 07 mars 2008, vers 00:57, je > disais: > > > Could you change > > CFLAGS = -Wall -O2 -I../common -I/usr/include/nptl -I./libscp $(DEFINES) > > to > > CFLAGS = -DDEBUG -Wall -O2 -I../common -I/usr/include/nptl -I./libscp > > $(DEFINES) > > in sesman/Makefile and dpkg-buildpackage again? > > > I get this when the session ends: > > [20080307-00:53:02] [DEBUG] lock_chain_release() > > [20080307-00:53:14] [DEBUG] sesman received SIGCHLD > > [20080307-00:53:14] [DEBUG] lock_chain_acquire() > > [20080307-00:53:14] [INFO ] session 13388 - user bernat - terminated > > [20080307-00:53:14] [DEBUG] lock_chain_release() > > [20080307-00:53:14] [DEBUG] calling sigwait() > > > The important information is if you get the "sesman received SIGCHLD" > > too. > > Did you manage to get a trace with DEBUG? > > Thanks. > -- > A FIRE DRILL DOES NOT DEMAND A FIRE > A FIRE DRILL DOES NOT DEMAND A FIRE > A FIRE DRILL DOES NOT DEMAND A FIRE > -+- Bart Simpson on chalkboard in episode 4F16 > -- --- Ola Lundqvist systemkonsult --- M Sc in IT Engineering ---- / [EMAIL PROTECTED] Annebergsslingan 37 \ | [EMAIL PROTECTED] 654 65 KARLSTAD | | http://opalsys.net/ Mobile: +46 (0)70-332 1551 | \ gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9 / --------------------------------------------------------------- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

