I was hitting this issue on mips64 (had reported it on this list). Debugging the issue the culprit seemed to be the call g_free(self->re_matches) in function log_msg_clear_matches (logmsg.c). The values of the self->re_matches was zero when it was getting segfault but the pointer self->re_matches had a non-null value. Making the g_free conditional seemed to work for me. I was able to get past this issue but was seeing some other strange behavior and could not get the syslog-ng to work on mips64. I was not able to get the messages to log to the log file /var/log/messages (reported it on this list). Debugging the issue it seemed the g_string_printf in log_write_format_log function was not working properly on 64bit mips and thus the log was never written to the file or any other output device. -----Original Message----- From: syslog-ng-bounces@lists.balabit.hu [mailto:syslog-ng-bounces@lists.balabit.hu] On Behalf Of Balazs Scheidler Sent: Thursday, November 08, 2007 7:21 AM To: Syslog-ng users' and developers' mailing list Subject: Re: [syslog-ng] Syslog-ng-2.05 Segmentation Fault Hm.. the same has been reported on a mips64 system. This must be a 64 bit related issue, then. I'll try to get a 64 compile environment. Anyone else who uses syslog-ng 2.0.x on 64 bit systems? On Thu, 2007-11-08 at 23:34 +1100, Daniel Szmandiuk wrote:
Here's the backtrace: GNU gdb Red Hat Linux (6.5-16.el5rh) Copyright (C) 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "x86_64-redhat-linux-gnu"...Using host libthread_db library "/lib64/libthread_db.so.1".
-- Bazsi _______________________________________________ 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