[syslog-ng]killed by HUP signal on Mac OS X 10.3

Lester syslog-ng@lists.balabit.hu
Tue, 27 Apr 2004 13:17:12 -0400


--Apple-Mail-20--447666657
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=US-ASCII;
	format=flowed

Just to be sure I am understanding your message correctly you are 
running syslog-ng on OS X, I assumed you compiled from source ?

Thanks
On Apr 27, 2004, at 12:21 PM, Jeremy Mates wrote:

> 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
> _______________________________________________
> syslog-ng maillist  -  syslog-ng@lists.balabit.hu
> https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Frequently asked questions at http://www.campin.net/syslog-ng/faq.html
>
>
A. Lester Burke
Network Analyst
Arlington Public Schools, VA
V 703-228-6057
E leburke@mindspring.com

"They that can give up essential liberty to obtain a little temporary 
safety, deserve neither liberty nor safety."
Ben Franklin


--Apple-Mail-20--447666657
Content-Transfer-Encoding: 7bit
Content-Type: text/enriched;
	charset=US-ASCII

Just to be sure I am understanding your message correctly you are
running syslog-ng on OS X, I assumed you compiled from source ?


Thanks

On Apr 27, 2004, at 12:21 PM, Jeremy Mates wrote:


<excerpt>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

_______________________________________________

syslog-ng maillist  -  syslog-ng@lists.balabit.hu

https://lists.balabit.hu/mailman/listinfo/syslog-ng

Frequently asked questions at http://www.campin.net/syslog-ng/faq.html



</excerpt><fontfamily><param>Helvetica</param>A. Lester Burke

Network Analyst

Arlington Public Schools, VA

V 703-228-6057

E leburke@mindspring.com

</fontfamily><fontfamily><param>Century Gothic</param>

"They that can give up essential liberty to obtain a little temporary
safety, deserve neither liberty nor safety."

Ben Franklin

</fontfamily>


--Apple-Mail-20--447666657--