GPUDirect for Video SIGSEGV with Ubuntu 16.04 LTS

Hi,

I’m getting a SIGSEGV trying to run the fifoCUDA example coming with the GPUDirect SDK. It happens when the example terminates and cleans-up, calling dvpFreeSyncObject().

0x0000000000000000 in ?? ()
(gdb) bt full
#0  0x0000000000000000 in ?? ()
No symbol table info available.
#1  0x00007ffff637ef93 in ?? () from /usr/lib/x86_64-linux-gnu/libcuda.so.1
No symbol table info available.
#2  0x00007ffff629c10a in ?? () from /usr/lib/x86_64-linux-gnu/libcuda.so.1
No symbol table info available.
#3  0x00007ffff63fcf6e in cuGLGetDevices ()
   from /usr/lib/x86_64-linux-gnu/libcuda.so.1
No symbol table info available.
#4  0x0000000000412ac6 in dvpFreeSyncObject(unsigned long) ()
No symbol table info available.
#5  0x000000000040381f in Fifo::cleanupFifo (this=0x9bca30)
    at ../../common/extsdk.cpp:1109
        hr = DVP_STATUS_OK
        i = 0
#6  0x0000000000404370 in extCloseFifo (hFifo=0x9bca30)
    at ../../common/extsdk.cpp:1685
        fifo = 0x9bca30
#7  0x000000000040827e in main (argc=1, argv=0x7fffffffe618)
    at fifoCUDA.cpp:285
        i = 0
        stream = 0
        numFrames = 1000
---Type <return> to continue, or q <return> to quit---Quit

I have reproduced the problem with a minimal example. https://we.tl/71bJPGAuva

Looks like it’s in the callstack for cuGLGetDevices (). I’m not using OpenGL…

Configuration:
DVP 1.70
CUDA 9.2
Ubuntu 16.04 LTS 4.13.0-45 generic
Quadro K4200, driver version 3.96.26