From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Jul 9 23:00:24 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C5C4C106564A for ; Mon, 9 Jul 2012 23:00:24 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 861508FC1A for ; Mon, 9 Jul 2012 23:00:24 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q69N0OaD072917 for ; Mon, 9 Jul 2012 23:00:24 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q69N0OQq072916; Mon, 9 Jul 2012 23:00:24 GMT (envelope-from gnats) Resent-Date: Mon, 9 Jul 2012 23:00:24 GMT Resent-Message-Id: <201207092300.q69N0OQq072916@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, Mario Lobo Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 539911065673 for ; Mon, 9 Jul 2012 22:52:14 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 381848FC0A for ; Mon, 9 Jul 2012 22:52:14 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q69MqDcf075414 for ; Mon, 9 Jul 2012 22:52:13 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id q69MqDlZ075413; Mon, 9 Jul 2012 22:52:13 GMT (envelope-from nobody) Message-Id: <201207092252.q69MqDlZ075413@red.freebsd.org> Date: Mon, 9 Jul 2012 22:52:13 GMT From: Mario Lobo To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/169755: devel/boost-libs producing ioctl sign-extension errors X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jul 2012 23:00:24 -0000 >Number: 169755 >Category: ports >Synopsis: devel/boost-libs producing ioctl sign-extension errors >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Mon Jul 09 23:00:24 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Mario Lobo >Release: 8.3-STABLE >Organization: >Environment: FreeBSD Papi 8.3-STABLE FreeBSD 8.3-STABLE #0: Thu Jun 28 11:56:14 BRT 2012 root@Papi:/usr/obj/usr/src/sys/LOBO amd64 >Description: Ports that rely on boost-libs-1.48.0, keep issuing the following warning and may freeze: WARNING pid 48978 (qbittorrent): ioctl sign-extension ioctl ffffffff8004667e In my case, net-p2p/libtorrent-rasterbar-16, net-p2p/libtorrent-rasterbar-16-python and net-p2p/qbittorrent29 qbittorrent always freezes and has to be kill -9. >How-To-Repeat: Everytime qbittorrent is ran. >Fix: The fix is to add the following changes to the port file patch-boost_asio-ioctl. *** 46,52 **** // Get the name of the IO control command. ioctl_cmd_type name() const { - return static_cast(FIONBIO); + return static_cast(FIONBIO); *** 96,102 **** // Get the name of the IO control command. ioctl_cmd_type name() const { - return static_cast(FIONREAD); + return static_cast(FIONREAD); } After that, -Rebuild/reinstall devel/boost-libs -Rebuild/reinstall net-p2p/libtorrent-rasterbar-16 -Rebuild/reinstall net-p2p/libtorrent-rasterbar-16-python -Rebuild/reinstall net-p2p/qbittorrent >Release-Note: >Audit-Trail: >Unformatted: