[prev in list] [next in list] [prev in thread] [next in thread]
List: proftpd-committers
Subject: [ProFTPD-committers] [Bug 1910] ProFTPD hangs on SIGHUP
From: bugzilla-daemon () horde ! net
Date: 2002-12-30 20:17:49
[Download RAW message or body]
http://bugs.proftpd.org/show_bug.cgi?id=1910
------- Additional Comments From Allanon@tiscali.it 2002-12-30 15:17 -------
This is the last part of the output from a "strace -f -p <pid>" on connect.
Before SIGHUP:
[pid 13019] write(1, "220 FTP Server ready.\r\n", 23) = 23
[pid 13019] setsockopt(0, SOL_SOCKET, SO_OOBINLINE, [1], 4) = 0
[pid 13019] setsockopt(1, SOL_SOCKET, SO_OOBINLINE, [1], 4) = 0
[pid 13019] getpid() = 13019
[pid 13019] fcntl(0, F_SETOWN, 13019) = 0
[pid 13019] getpid() = 13019
[pid 13019] fcntl(1, F_SETOWN, 13019) = 0
[pid 13019] select(1, [0], [], NULL, {60, 0}
After SIGHUP:
[pid 13090] write(1, "220 FTP Server ready.\r\n", 23) = -1 EBADF (Bad file
descriptor)
[pid 13090] setsockopt(0, SOL_SOCKET, SO_OOBINLINE, [1], 4) = 0
[pid 13090] setsockopt(1, SOL_SOCKET, SO_OOBINLINE, [1], 4) = -1 ENOTSOCK
(Socket operation on non-socket)
[pid 13090] getpid() = 13090
[pid 13090] fcntl(0, F_SETOWN, 13090) = 0
[pid 13090] getpid() = 13090
[pid 13090] fcntl(1, F_SETOWN, 13090) = 0
[pid 13090] select(1, [0], [], NULL, {60, 0}
If you want I can attach the whole output...
I can confirm this behaviour does exist on 1.2.8rc1 too: the only diff
is that I can digit the username, than the server hangs as on 1.2.7:
[root@zx ~]# ftp 0
Connected to 0.
220 FTP Server ready.
Name (0:allanon): test
.. and the server does not respond anymore ..
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
ProFTPD Committers Mailing List
proftpd-committers@proftpd.org
https://lists.sourceforge.net/lists/listinfo/proftp-committers
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic