From owner-freebsd-stable@FreeBSD.ORG Sat Jun 19 07:33:13 2010 Return-Path: Delivered-To: freebsd-stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A200B106564A; Sat, 19 Jun 2010 07:33:13 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 7680D8FC14; Sat, 19 Jun 2010 07:33:12 +0000 (UTC) Received: from porto.topspin.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id KAA04414; Sat, 19 Jun 2010 10:33:10 +0300 (EEST) (envelope-from avg@icyb.net.ua) Received: from localhost.topspin.kiev.ua ([127.0.0.1]) by porto.topspin.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1OPsYA-000ENX-6E; Sat, 19 Jun 2010 10:33:10 +0300 Message-ID: <4C1C72B4.1070501@icyb.net.ua> Date: Sat, 19 Jun 2010 10:33:08 +0300 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.24 (X11/20100603) MIME-Version: 1.0 To: Doug Barton References: <104581276876312@web50.yandex.ru> <4C1BAC3E.5060609@icyb.net.ua> <4C1C68AB.6030402@FreeBSD.org> In-Reply-To: <4C1C68AB.6030402@FreeBSD.org> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 8bit Cc: =?KOI8-R?Q?=F6=C9=CE=C4=C1=D2=C5=D7_=E1=CC=C5=CB=D3=C5=CA?= , kde@FreeBSD.org, freebsd-stable@FreeBSD.org Subject: Re: qbittorrent 2.2.9 8.0-STABLE Amd64 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Jun 2010 07:33:13 -0000 on 19/06/2010 09:50 Doug Barton said the following: > On 06/18/10 10:26, Andriy Gapon wrote: >> on 18/06/2010 18:51 Жиндарев Алексей said the following: >>> Jun 18 19:33:54 last message repeated 371 times >>> Jun 18 19:41:31 last message repeated 1359 times >>> Jun 18 19:43:29 kernel: WARNING pid 31369 (qbittorrent): ioctl >>> sign-extension ioctl ffffffff8004667e >>> Jun 18 19:44:00 last message repeated 545 times >>> Jun 18 19:45:45 last message repeated 1751 times >>> Jun 18 19:45:46 kernel: WARNING pid 31369 (qbittorrent): ioctl >>> sign-extension ioctl ffffffff8004667e >>> Jun 18 19:46:17 last message repeated 481 times >>> >>> Manifested after the new port, possibly after updating QT >> >> This is FIONBIO ioctl. Look through the code where this is passed via >> a variable >> of incorrect type. Correct type for ioctl request should be unsigned >> long. > > I can't find any references to FIONBIO at all, or even the word ioctl. > The software in question is a bittorrent client, I can't see any reason > it would even use ioctl's directly. I also checked the > libtorrent-rasterbar sources (which qbittorrent uses) and there is no > FIONBIO there either. You should have made one step further, to qt4-network :-) See: qt-everywhere-opensource-src-4.6.3/src/network/socket/qnet_unix_p.h static inline int qt_safe_ioctl(int sockfd, int request, T arg) "int request" should be "unsigned long request" on BSD. I think that this should be reported to Qt team, I am CC-ing our KDE team. -- Andriy Gapon