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
_______________________________________________
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information

Reply via email to