ports/169755: devel/boost-libs producing ioctl sign-extension errors
Mario Lobo
lobo at bsd.com.br
Mon Jul 9 23:00:24 UTC 2012
>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 at 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<int>(FIONBIO);
+ return static_cast<ioctl_cmd_type>(FIONBIO);
*** 96,102 ****
// Get the name of the IO control command.
ioctl_cmd_type name() const
{
- return static_cast<int>(FIONREAD);
+ return static_cast<ioctl_cmd_type>(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:
More information about the freebsd-ports-bugs
mailing list