From owner-freebsd-ports-bugs@freebsd.org Sun Mar 20 21:48:22 2016 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2BE04ACE1C3 for ; Sun, 20 Mar 2016 21:48:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 126F465A for ; Sun, 20 Mar 2016 21:48:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u2KLmLs5015335 for ; Sun, 20 Mar 2016 21:48:21 GMT (envelope-from bugzilla-noreply@freebsd.org) 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 Date: Sun, 20 Mar 2016 21:48:21 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: raziel@mihaelart.ro X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: cy@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Mar 2016 21:48:22 -0000 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.=