[syslog-ng] Segmantation fault

Alexander Clouter ac56 at soas.ac.uk
Sun Oct 22 13:09:51 CEST 2006


Hi,

Sergey N. Romanov <sr at innter.net> [20061022 15:29:49 +0600]:
>
> Balazs Scheidler wrote:
> 
> > I have now committed the patch below which should fix the problem (and another 
> 
I noticed syslog-ng was tripping over too in rc3 with a broken pipe also.  
Applied your patch and now the daemon has been up for 12 hours rather than 
the usual 30 mins...

Cheers

Alex

=========
alex at syslog0:~$ tail syslog-ng.debug  -n 20
gettimeofday({1161428393, 62130}, NULL) = 0
recvfrom(3, "<30>femon-recv[2540]: timestamp:"..., 8192, 0, {sa_family=AF_INET, sin_port=htons(1030), sin_addr=inet_addr("212.219.138.124")}, [16]) = 119
gettimeofday({1161428393, 62280}, NULL) = 0
time(NULL)                              = 1161428393
getsockname(3, {sa_family=AF_INET, sin_port=htons(514), sin_addr=inet_addr("239.194.253.0")}, [16]) = 0
gettimeofday({1161428393, 62455}, NULL) = 0
gettimeofday({1161428393, 62506}, NULL) = 0
poll([{fd=10, events=POLLOUT, revents=POLLOUT|POLLERR}, {fd=6, events=POLLIN}, {fd=7, events=POLLIN}, {fd=8, events=POLLIN}, {fd=4, events=POLLIN}, {fd=3, events=POLLIN, revents=POLLIN}, {fd=5, events=POLLIN}], 7, 139921) = 2
write(10, "Oct 21 11:59:53 212.219.138.124 "..., 148) = -1 EPIPE (Broken pipe)
--- SIGPIPE (Broken pipe) @ 0 (0) ---
time([1161428393])                      = 1161428393
getpid()                                = 31067
gettimeofday({1161428393, 62901}, NULL) = 0
time(NULL)                              = 1161428393
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
getpid()                                = 31067
kill(31067, SIGSEGV)                    = 0
sigreturn()                             = ? (mask now [])
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
Process 31067 detached
===================

> Thanks for so fast fix!
> I will inform if I will have problems :-)
> 
> 
> -- 
> 
> Best regards,
> Sergey N. Romanov
> _______________________________________________
> syslog-ng maillist  -  syslog-ng at lists.balabit.hu
> https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Frequently asked questions at http://www.campin.net/syslog-ng/faq.html
> 
> 


More information about the syslog-ng mailing list