From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Nov 1 19:00:02 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 68F27C8E for ; Fri, 1 Nov 2013 19:00:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 469722141 for ; Fri, 1 Nov 2013 19:00:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id rA1J02cj031477 for ; Fri, 1 Nov 2013 19:00:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id rA1J02I0031476; Fri, 1 Nov 2013 19:00:02 GMT (envelope-from gnats) Resent-Date: Fri, 1 Nov 2013 19:00:02 GMT Resent-Message-Id: <201311011900.rA1J02I0031476@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Nicolas Raspail Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 72310BF6 for ; Fri, 1 Nov 2013 18:56:24 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5F0AA2112 for ; Fri, 1 Nov 2013 18:56:24 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id rA1IuNF8019179 for ; Fri, 1 Nov 2013 18:56:23 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id rA1IuNKK019176; Fri, 1 Nov 2013 18:56:23 GMT (envelope-from nobody) Message-Id: <201311011856.rA1IuNKK019176@oldred.freebsd.org> Date: Fri, 1 Nov 2013 18:56:23 GMT From: Nicolas Raspail To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/183569: libpar2 0.3 cause nzbget to segfault X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Nov 2013 19:00:02 -0000 >Number: 183569 >Category: ports >Synopsis: libpar2 0.3 cause nzbget to segfault >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Nov 01 19:00:01 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Nicolas Raspail >Release: 9.1 amd64 >Organization: >Environment: FreeBSD shadowland.whisperingvault.net 9.1-RELEASE-p4 FreeBSD 9.1-RELEASE-p4 #0: Mon Jun 17 11:42:37 UTC 2013 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 >Description: Hi I have seen several times nzbget segfaulting because of libpar2 (0.3). Here is the backtrace fro gdb [root@shadowland /usr/home/sabnzbd]# gdb nzbget nzbget.core GNU gdb 6.1.1 [FreeBSD] Copyright 2004 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 "amd64-marcel-freebsd"...(no debugging symbols found)... Core was generated by `nzbget'. Program terminated with signal 11, Segmentation fault. Reading symbols from /usr/lib/libssl.so.6...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libssl.so.6 Reading symbols from /lib/libcrypto.so.6...(no debugging symbols found)...done. Loaded symbols for /lib/libcrypto.so.6 Reading symbols from /usr/local/lib/libpar2.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libpar2.so.0 Reading symbols from /lib/libncurses.so.8...(no debugging symbols found)...done. Loaded symbols for /lib/libncurses.so.8 Reading symbols from /usr/local/lib/libxml2.so.5...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libxml2.so.5 Reading symbols from /usr/local/lib/libsigc-2.0.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libsigc-2.0.so.0 Reading symbols from /usr/lib/libstdc++.so.6...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libstdc++.so.6 Reading symbols from /lib/libm.so.5...(no debugging symbols found)...done. Loaded symbols for /lib/libm.so.5 Reading symbols from /lib/libgcc_s.so.1...(no debugging symbols found)...done. Loaded symbols for /lib/libgcc_s.so.1 Reading symbols from /lib/libthr.so.3...(no debugging symbols found)...done. Loaded symbols for /lib/libthr.so.3 Reading symbols from /lib/libc.so.7...(no debugging symbols found)...done. Loaded symbols for /lib/libc.so.7 Reading symbols from /lib/libz.so.6...(no debugging symbols found)...done. Loaded symbols for /lib/libz.so.6 Reading symbols from /usr/lib/liblzma.so.5...(no debugging symbols found)...done. Loaded symbols for /usr/lib/liblzma.so.5 Reading symbols from /usr/local/lib/libiconv.so.3...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libiconv.so.3 Reading symbols from /usr/lib/libsupc++.so.1...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libsupc++.so.1 Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols found)...done. Loaded symbols for /libexec/ld-elf.so.1 #0 0x0000000800eb3c35 in Par2Repairer::ScanDataFile () from /usr/local/lib/libpar2.so.0 [New Thread 803073c00 (LWP 385167/nzbget)] [New Thread 803009800 (LWP 384651/nzbget)] [New Thread 803073800 (LWP 385166/nzbget)] [New Thread 804ddd000 (LWP 383615/nzbget)] [New Thread 803074400 (LWP 385165/nzbget)] [New Thread 804ddc800 (LWP 385164/nzbget)] [New Thread 803008400 (LWP 384649/nzbget)] [New Thread 8048bcc00 (LWP 384134/nzbget)] [New Thread 803009000 (LWP 383813/nzbget)] [New Thread 803075400 (LWP 340982/nzbget)] [New Thread 803074800 (LWP 340981/nzbget)] [New Thread 803074c00 (LWP 340473/nzbget)] [New Thread 803075000 (LWP 340471/nzbget)] [New Thread 803007400 (LWP 100850/nzbget)] (gdb) bt #0 0x0000000800eb3c35 in Par2Repairer::ScanDataFile () from /usr/local/lib/libpar2.so.0 #1 0x0000000800eb5b4e in Par2Repairer::VerifyDataFile () from /usr/local/lib/libpar2.so.0 #2 0x0000000800eb63c6 in Par2Repairer::VerifyExtraFiles () from /usr/local/lib/libpar2.so.0 #3 0x0000000800ebc591 in Par2Repairer::Process () from /usr/local/lib/libpar2.so.0 #4 0x00000000004277bd in ?? () #5 0x00000000004272c3 in ?? () #6 0x0000000000443386 in ?? () #7 0x00000008020110a4 in pthread_getprio () from /lib/libthr.so.3 #8 0x00007ffffedf8000 in ?? () Cannot access memory at address 0x7ffffeff8000 I see that two version of libpar2 have been release 0.3.1 and 0.4.0. The 0.3.1 version correct a bugs (https://bugs.launchpad.net/libpar2/+bug/1186307) that cause nzbget to segfault. Maybe libpar2 needs to be upgraded >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: