Gentoo Archives: gentoo-user

From: Alexey Mishustin <shumkar@×××××××.ru>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] syslog-ng segfaults
Date: Fri, 19 Jul 2013 09:06:33
Message-Id: CAGWFrgtKnNa1R7bjL1FnkOsAm19LiAZUt6AE2bcTfDUFwSFhcQ@mail.gmail.com
In Reply to: Re: [gentoo-user] syslog-ng segfaults by Adam Carter
1 2013/7/19 Adam Carter <adamcarter3@×××××.com>:
2 >> > syslog-ng[32015]: segfault at 44d8 ip 00007f4f3fa23c83 sp
3 >> > 00007fffb233b940 error 4 in libsyslog-ng.so.0.0.0 (deleted)[7f4f3f9eb000
4 >> > +67000]
5 >> >
6 >> > Has anybody else seen anything like that?
7 >
8 >
9 > Perhaps you forgot to restart syslog-ng after the update?
10 >
11 > # ldd /usr/sbin/syslog-ng | grep libsyslog-ng
12 > libsyslog-ng-3.4.2.so => /usr/lib64/libsyslog-ng-3.4.2.so
13 > (0x00007fe7dfe5b000)
14 >
15 > If the library was called libsyslog-ng.so.0.0.0 in the previous version, and
16 > if syslog-ng tried to reload it, it would fail after the update which could
17 > cause the segfault.
18 >
19 > So, restarting syslog-ng should be all that's required to fix it - reboot is
20 > overkill.
21
22 As for me, first I updated syslog-ng, then I issued
23 '/etc/init.d/syslog-ng reload' (by mistake, instead of 'restart'), and
24 then 'restart' as I should. Then, just when syslog-ng was restarting,
25 the segfault happened.
26
27 > Also, any errors in the config file should not cause segfault. If it does,
28 > that indicates a bug in the input validation/config parsing code. Errors in
29 > the config should result in a graceful termination.
30
31 --
32 Regards,
33 Alex

Replies

Subject Author
Re: [gentoo-user] syslog-ng segfaults Randy Barlow <randy@×××××××××××××××××.com>