Package: gracie
Version: 0.2.10-3
Severity: grave
Justification: renders package unusable

Gracie does not work for me after upgrading (it doesn't open the
port). After investigating a while, it looks like the problem is it
daemonizes after having the port bound, and listened to, but the
daemonization process closes the socket:

socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 3
setsockopt(3, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
bind(3, {sa_family=AF_INET, sin_port=htons(8123), sin_addr=inet_addr("127.0.0.1"
)}, 16) = 0
getsockname(3, {sa_family=AF_INET, sin_port=htons(8123), sin_addr=inet_addr("127
.0.0.1")}, [16]) = 0
getsockname(3, {sa_family=AF_INET, sin_port=htons(8123), sin_addr=inet_addr("127
.0.0.1")}, [16]) = 0
[...]
umask(0)                                = 022
chdir("/")                              = 0
setgid32(0)                             = 0
setuid32(0)                             = 0
clone(Process 22607 attached (waiting for parent)
Process 22607 resumed (parent 22606 ready)
child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, 
child_tidptr=0xb7ed8728) = 22607
[pid 22607] setsid()                    = 22607
[...]
[pid 22608] close(9)                    = -1 EBADF (Bad file descriptor)
[pid 22608] close(8)                    = -1 EBADF (Bad file descriptor)
[pid 22608] close(7)                    = -1 EBADF (Bad file descriptor)
[pid 22608] close(6)                    = -1 EBADF (Bad file descriptor)
[pid 22608] close(5)                    = -1 EBADF (Bad file descriptor)
[pid 22608] close(4)                    = -1 EBADF (Bad file descriptor)
[pid 22608] close(3)                    = 0
[pid 22608] close(1)                    = 0
[pid 22608] close(0)                    = 0
[pid 22608] open("/dev/null", O_RDWR|O_LARGEFILE) = 0
[pid 22608] dup2(0, 0)                  = 0
[pid 22608] open("/dev/null", O_RDWR|O_LARGEFILE) = 1
[pid 22608] dup2(1, 1)                  = 1
[pid 22608] open("/dev/null", O_RDWR|O_LARGEFILE) = 3
[...]

[pid 22608] accept(3, 0xbfe92244, [16]) = -1 ENOTSOCK (Socket operation on 
non-socket)
[pid 22608] accept(3, 0xbfe92244, [16]) = -1 ENOTSOCK (Socket operation on 
non-socket)
...

And it stays there forever, eating CPU cycles, trying to accept on
/dev/null =D.

Thanks,

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to