Date: Sun, 20 Mar 2016 21:48:21 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 208164] sysutils/syslog-ng: SEGFAULT when reloading config that contains the SMTP driver Message-ID: <bug-208164-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D208164 Bug ID: 208164 Summary: sysutils/syslog-ng: SEGFAULT when reloading config that contains the SMTP driver Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: cy@FreeBSD.org Reporter: raziel@mihaelart.ro Assignee: cy@FreeBSD.org Flags: maintainer-feedback?(cy@FreeBSD.org) Hi ! As the title says, I'm experimenting SEGFAULT *only* when using the SMTP dr= iver anywhere in the config file and *only* on "service syslog-ng reload". I discovered this by accident when I was browsing the system logs; I saw the SEGFAULT when newsyslog sent the reload command after log rotation. I've tested this on multiple hardware configurations, even in VM environmen= ts. As long as I don't comment out the SMTP-related feature, syslog-ng continues SEGFAULTing with core-dump, everytime I try to reload the service. So, here is the backtrace from GDB: (gdb) bt #0 0x0000000000000000 in ?? () #1 0x0000000800a73d2e in log_threaded_dest_driver_deinit_method () from /usr/local/lib/libsyslog-ng-3.6.so.0 #2 0x0000000800a6737d in cfg_tree_stop () from /usr/local/lib/libsyslog-ng-3.6.so.0 #3 0x0000000800a77f61 in main_loop_reload_config_initiate () from /usr/local/lib/libsyslog-ng-3.6.so.0 #4 0x0000000800a78953 in main_loop_call_init () from /usr/local/lib/libsyslog-ng-3.6.so.0 #5 0x0000000800aa0e4b in iv_event_run_pending_events () from /usr/local/lib/libsyslog-ng-3.6.so.0 #6 0x0000000800aa46f5 in iv_time_get () from /usr/local/lib/libsyslog-ng-3.6.so.0 #7 0x0000000800aa2d6c in iv_fd_poll_and_run () from /usr/local/lib/libsyslog-ng-3.6.so.0 #8 0x0000000800aa3b33 in iv_main () from /usr/local/lib/libsyslog-ng-3.6.s= o.0 #9 0x0000000800a78456 in main_loop_run () from /usr/local/lib/libsyslog-ng-3.6.so.0 #10 0x0000000000401c53 in main () This is the 3.6.4 version from the sysutils/syslog-ng port. With the 3.7.2 version from the sysutils/syslog-ng-devel port, WORKS perfec= tly. I'm using the GENERIC kernel: FreeBSD 10.2-RELEASE-p14 FreeBSD 10.2-RELEASE-p14 #0 Please advise me for further action. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-208164-13>