Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Jun 2010 10:33:08 +0300
From:      Andriy Gapon <avg@icyb.net.ua>
To:        Doug Barton <dougb@FreeBSD.org>
Cc:        =?KOI8-R?Q?=F6=C9=CE=C4=C1=D2=C5=D7_=E1=CC=C5=CB=D3=C5=CA?= <poluleha@yandex.ru>, kde@FreeBSD.org, freebsd-stable@FreeBSD.org
Subject:   Re: qbittorrent 2.2.9 8.0-STABLE Amd64
Message-ID:  <4C1C72B4.1070501@icyb.net.ua>
In-Reply-To: <4C1C68AB.6030402@FreeBSD.org>
References:  <104581276876312@web50.yandex.ru> <4C1BAC3E.5060609@icyb.net.ua> <4C1C68AB.6030402@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C1C72B4.1070501>