H.264 decoder (nvdec) is crashing


I have created an Azure virtual machine Nc6s_v3 which provide Nvidia V100 GPU card. I have set up the drivers following the instructions here https://docs.microsoft.com/en-us/azure/virtual-machines/linux/n-series-driver-setup.

The driver is set up successfully and I am able to see proper output for ‘nvidia-smi’ tool.

I have successfully compiled Video_Codec_SDK_9.0.20 and able to run the sample applications.

I compiled the Gstreamer codebase by enabling Nvidia hw encoder/decode support. The encoder plugin nvh264enc is working fine. But I am seeing a crash with the decoder plugin (nvdec) with the following stack trace.

nvdec error:
#0 0x00007fa33d47720d in poll () from /lib64/libc.so.6
#1 0x00007fa33ddc5414 in g_main_context_poll (priority=2147483647, n_fds=2,
#2 g_main_context_iterate (context=0x7fa32c001660, block=block@entry=1,
#3 0x00007fa33ddc574a in g_main_loop_run (loop=0x12ef7d0) at gmain.c:4116
#4 0x00007fa33ea65387 in gst_bus_poll (bus=bus@entry=0xb76160,
#5 0x0000000000404918 in event_loop (pipeline=0xb741d0,
#6 0x000000000040388e in main (argc=15, argv=0x7ffc11cfee18)

Any help here will be greatly appreciated