Bug#847309: libthrust-dev: cub::DeviceReduce::Min causes segmentation fault

Alois Schloegl alois.schloegl at ist.ac.at
Wed Dec 7 08:11:32 UTC 2016


Package: libthrust-dev
Version: 1.7.0
Severity: normal

Dear Maintainer,


I tried to compile and run relion 2 beta with cuda enable.
nvidia-cuda-toolkit
7.5 from debian8/backports is installed on that machine.

When testing the application, it crashed with a segmentation fault.
The issue is also filed here,

https://bitbucket.org/tcblab/relion2-beta/issues/164/seg-fault-on-relion2-with-cuda
which includes also the data we used for testing, and long investigation
of the issue.


The problem went away when the output argument was initialized with
+Infinity, and after upgrading to libthrust-dev 1.8.1.

This indicates:
1) cub::DeviceReduce::Min from libthrust-dev 1.7.0 does not user a
proper initialization, and depends  on uninitialized data.
2) the problem seems to be solved in upstream in more recent version.

w.r.t to debian, I'd like suggesting that nvidia-cuda-toolkit from
backports should require libthrust-dev from backports. That could avoid
similar problems for others.


Best regards,
   Alois



-- System Information:
Debian Release: 8.6
  APT prefers stable
  APT policy: (990, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/12 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

libthrust-dev depends on no packages.

libthrust-dev recommends no packages.

Versions of packages libthrust-dev suggests:
ii  nvidia-cuda-toolkit  7.5.18-4~bpo8+1

-- no debconf information





-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-nvidia-devel/attachments/20161207/753afaef/attachment.sig>


More information about the pkg-nvidia-devel mailing list