Your message dated Mon, 27 May 2013 13:14:01 +0200
with message-id <[email protected]>
and subject line Fixed in 3.3.9-1
has caused the Debian Bug report #702131,
regarding syslog-ng childs segfault, eventfd2: Invalid argument
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
702131: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=702131
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: syslog-ng
Version: 3.3.5-2
Severity: serious
User: [email protected]
Usertags: forwheezy
Hi,
when trying to start syslog-ng on gabrielli.debian.org I see the following
error:
root@gabrielli:/var/lib/syslog-ng# /etc/init.d/syslog-ng start
[....] Starting system logging: syslog-ngeventfd2: Invalid argument
failed!
root@gabrielli:/var/lib/syslog-ng#
I then can see syslog-ng master-process spawining childs, which segfault
immidiatly:
http://paste.debian.net/239439/
If I run with ulimit -c unlimited i get a core file with the following
backtrace:
root@gabrielli:/var/lib/syslog-ng# gdb syslog-ng core
GNU gdb (GDB) 7.4.1-debian
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 "mips-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/.build-id/ff/eb5d75453b176f3d95bf48c855e6ae394bc28c.debug...done.
done.
[New LWP 28269]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/mips-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/sbin/syslog-ng -p /var/run/syslog-ng.pid'.
Program terminated with signal 11, Segmentation fault.
#0 list_add_tail (head=0x77827ec8, lh=0x5dee28) at
../../../../../lib/ivykis/lib/include/iv_list.h:57
57 ../../../../../lib/ivykis/lib/include/iv_list.h: No such file or
directory.
(gdb) backtrace
#0 list_add_tail (head=0x77827ec8, lh=0x5dee28) at
../../../../../lib/ivykis/lib/include/iv_list.h:57
#1 iv_event_post (this=0x5dee1c) at
../../../../../lib/ivykis/modules/iv_event.c:120
#2 0x77787e34 in afinter_message_posted (msg=<optimized out>) at
../../../lib/afinter.c:411
#3 0x777abd30 in msg_event_send (e=0x5e2068) at ../../../lib/messages.c:179
#4 0x777ab67c in main_loop_run () at ../../../lib/mainloop.c:697
#5 0x00401408 in main (argc=1, argv=0x7fd82e84) at
../../../syslog-ng/main.c:260
(gdb) frame 0
#0 list_add_tail (head=0x77827ec8, lh=0x5dee28) at
../../../../../lib/ivykis/lib/include/iv_list.h:57
57 in ../../../../../lib/ivykis/lib/include/iv_list.h
With a bit of help from #-devel:
03/03/13 [01:11:27] < algernon> if the eventfd2 is the real problem, there's a
patch for that, and is fixed in unstable already. the patch should apply fine
to wheezy too, though.
03/03/13 [01:12:58] < algernon> it is pretty esoteric. I've only ever seen it
before on a weird, half-rhel/half-ubuntu system
03/03/13 [01:21:14] < algernon> oh boy, this may be a combination of two bugs.
lovely.
03/03/13 [01:21:34] * algernon mumbles something about stupid bundled
libraries.
Build-depends for syslog-ng for wheezy are installed on host
gabrielli.debian.org in the wheezy chroot.
Cheers,
Martin
-- System Information:
Debian Release: 7.0
APT prefers testing
APT policy: (500, 'testing')
Architecture: mips (mips64)
Kernel: Linux 3.2.0-4-octeon (SMP w/16 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages syslog-ng depends on:
ii syslog-ng-core 3.3.5-2
ii syslog-ng-mod-json 3.3.5-2
ii syslog-ng-mod-mongodb 3.3.5-2
ii syslog-ng-mod-sql 3.3.5-2
syslog-ng recommends no packages.
syslog-ng suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Version: 3.3.9-1
3.3.9-1 was compiled against the stock ivykis library, instead of the
embedded copy 3.3.5 carried. The problem has been fixed in ivykis, thus
3.3.9-1 does not have this problem anymore. (Neither should 3.3.6-*, but
still).
--
|8]
--- End Message ---