[syslog-ng]killed by HUP signal on Mac OS X 10.3
Jeremy Mates
syslog-ng@lists.balabit.hu
Tue, 27 Apr 2004 09:21:23 -0700
The syslog-ng daemon dies on Mac OS X when a HUP signal is sent:
$ sudo /usr/local/sbin/syslog-ng -d
io.c: Preparing fd 4 for reading
io.c: Preparing fd 5 for reading
syslog-ng version 1.6.2 starting
io.c: Preparing fd 7 for writing
io.c: Preparing fd 8 for writing
SIGHUP received, restarting syslog-ng
poll.c:282: failed assertion `pArray != (struct pollfd *) NULL'
zsh: abort sudo /usr/local/sbin/syslog-ng -d
Software versions involved:
syslog-ng 1.6.2
libol 0.3.13
gcc 3.3 20030304 (Apple Computer, Inc. build 1495)
Mac OS X 10.3.3 (build 7F44)
Running ktrace shows the following:
12661 syslog-ng RET write 149/0x95
12661 syslog-ng CALL select(0x9,0xbffff3a0,0xbffff420,0xbffff4a0,0xbffff520)
12661 syslog-ng RET select -1 errno 4 Interrupted system call
12661 syslog-ng PSIG SIGHUP caught handler=0x2a94 mask=0x0 code=0x0
12661 syslog-ng CALL sigaction(0x1,0xbfffecb0,0xbfffed20)
12661 syslog-ng RET sigaction 0
12661 syslog-ng CALL #184(0xbfffee58,0x1)
12661 syslog-ng RET #184 JUSTRETURN
12661 syslog-ng CALL write(0x2,0xbffff540,0x26)
12661 syslog-ng GIO fd 2 wrote 38 bytes
"SIGHUP received, restarting syslog-ng
"
12661 syslog-ng RET write 38/0x26
12661 syslog-ng CALL write(0x2,0xbfffeb50,0x40)
12661 syslog-ng GIO fd 2 wrote 64 bytes
"poll.c:282: failed assertion `pArray != (struct pollfd *) NULL'
"
12661 syslog-ng RET write 64/0x40
12661 syslog-ng CALL sigprocmask(0x3,0xbffff324,0)
12661 syslog-ng RET sigprocmask 0
12661 syslog-ng CALL getpid
12661 syslog-ng RET getpid 12661/0x3175
12661 syslog-ng CALL kill(0x3175,0x6)
12661 syslog-ng RET kill 0
12661 syslog-ng PSIG SIGIOT SIG_DFL