[syslog-ng] [Bug 189] New: Syslog-ng 3.3.5. 90 segfaults with cmd line options --version and --debug
bugzilla at bugzilla.balabit.com
bugzilla at bugzilla.balabit.com
Mon Aug 20 16:39:05 CEST 2012
https://bugzilla.balabit.com/show_bug.cgi?id=189
Summary: Syslog-ng 3.3.5.90 segfaults with cmd line options --
version and --debug
Product: syslog-ng
Version: 3.3.x
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: unspecified
Component: syslog-ng
AssignedTo: bazsi at balabit.hu
ReportedBy: jpo at di.uminho.pt
Type of the Report: ---
Estimated Hours: 0.0
Linux distro:
Fedora 17 x86_64
Syslog-ng source tarball:
syslog-ng-3.3.5.90-20120810-v3.3.5-43-g19f6c.tar.gz
Summary:
Using the command line options --version and --debug simultaneously causes a segmentation fault.
----------
# /usr/sbin/syslog-ng --version --debug
syslog-ng 3.3.5.90
Installer-Version: 3.3.5.90
Revision:
Compile-Date: Aug 20 2012 05:49:44
Default-Modules: affile,afprog,afsocket,afuser,basicfuncs,csvparser,dbparser,syslogformat,afsql
Segmentation fault (core dumped)
----------
# gdb /usr/sbin/syslog-ng core.1065
GNU gdb (GDB) Fedora (7.4.50.20120120-49.fc17)
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/sbin/syslog-ng...Reading symbols from /usr/lib/debug/usr/sbin/syslog-ng.debug...done.
done.
[New LWP 1065]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `/usr/sbin/syslog-ng --version --debug'.
Program terminated with signal 11, Segmentation fault.
#0 nv_registry_get_handle_name (length=0x7ffff9f5a1c8, handle=4, self=<optimized out>) at nvtable.h:86
86 stored = &g_array_index(self->names, NVHandleDesc, handle - 1);
(gdb) backtrace
#0 nv_registry_get_handle_name (length=0x7ffff9f5a1c8, handle=4, self=<optimized out>) at nvtable.h:86
#1 log_msg_get_value_name (handle=handle at entry=4, name_len=name_len at entry=0x7ffff9f5a1c8) at logmsg.c:305
#2 0x00007f52258d8bea in log_msg_set_value (self=self at entry=0xe7da00, handle=handle at entry=4,
value=value at entry=0x7f522590069b "syslog-ng", value_len=value_len at entry=9) at logmsg.c:458
#3 0x00007f52258da937 in log_msg_new_internal (prio=47,
msg=0xe7cfa0 "Trying to open module; module='dummy', filename='//usr/lib64/syslog-ng/libdummy.so'")
at logmsg.c:1128
#4 0x00007f52258e7703 in msg_send_internal_message (prio=<optimized out>, msg=<optimized out>) at messages.c:141
#5 0x00007f52258e78d0 in msg_event_send (e=0xe7cf30) at messages.c:179
#6 0x00007f52258eb825 in plugin_dlopen_module (module_name=module_name at entry=0xe72560 "dummy",
module_path=0x7f522590068f "//usr/lib64/syslog-ng") at plugin.c:188
#7 0x00007f52258ebf73 in plugin_list_modules (out=0x7f52240d3260, verbose=verbose at entry=0) at plugin.c:293
#8 0x00000000004018a4 in version () at main.c:134
#9 0x000000000040163c in main (argc=1, argv=0x7ffff9f5a488) at main.c:217
(gdb)
----------
--
Configure bugmail: https://bugzilla.balabit.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the syslog-ng
mailing list