UnrealIRCd 3.2.9 crashes when logging to syslog-ng

These are old archives. They are kept for historic purposes only.
Post Reply
Jimini
Posts: 3
Joined: Sun Jan 01, 2012 2:17 pm

UnrealIRCd 3.2.9 crashes when logging to syslog-ng

Post by Jimini »

Hey there,
I am currently trying to let UnrealIRCd log to syslog-ng. The daemon starts without any problems, but when an event on the server should be logged (for example a connecting client), the daemon crashes. Then, on of the following entries appears in my syslog:
N/A Atlas kern 11:43:21 kernel [4544266.476435] unrealircd[3425] general protection ip:7f8077bf26bf sp:7fff8889ffa0 error:0 in libc-2.13.so[7f8077bab000+182000]
or
N/A Atlas kern 11:04:37 kernel [4541942.936123] unrealircd[21796]: segfault at 7f0000000000 ip 00007f938931f6bf sp 00007fffa069e1a0 error 4 in libc-2.13.so[7f93892d8000+182000]
.
The log-block in unrealircd.conf looks as follows (as mentioned in http://forums.unrealircd.com/viewtopic.php?f=3&t=3349 ):

Code: Select all

log syslog {
        flags   {
                oper;
                kline;
                connects;
                server-connects;
                kills;
                errors;
                sadmin-commands;
                chg-commands;
                oper-override;
                spamfilter;
        };
};
If I replace "syslog" with "/var/log/unrealircd/ircd.log", everything works stable. Referring to the log entries I posted above, I re-installed glibc, but without effect.

I use the following software:
unrealircd-3.2.9
syslog-ng-3-2-5
mysql-5.1.56
Gentoo Hardened 3.0.4-r4

Any help would be really appreciated.

Best regards,
Jimini
katsklaw
Posts: 1124
Joined: Sun Apr 18, 2004 5:06 pm
Contact:

Re: UnrealIRCd 3.2.9 crashes when logging to syslog-ng

Post by katsklaw »

Please fill out a bug report at: http://bugs.unrealircd.org

It's easy for such things to get lost in a forum, a proper bug report will go a long way in getting it fixed. :)

thanks
Jimini
Posts: 3
Joined: Sun Jan 01, 2012 2:17 pm

Re: UnrealIRCd 3.2.9 crashes when logging to syslog-ng

Post by Jimini »

katsklaw,
thank you for your reply. I opened a bug report under http://bugs.unrealircd.org/view.php?id=4065

Best regards,
Jimini
Jimini
Posts: 3
Joined: Sun Jan 01, 2012 2:17 pm

Re: UnrealIRCd 3.2.9 crashes when logging to syslog-ng

Post by Jimini »

Fixed.
Thanks for the quick and helpful replies.

Best regards,
Jimini
Post Reply