Please provide complete information as applicable to your setup.
**• Hardware Platform -------------> GPU
• DeepStream Version -----------> 7.0
• TensorRT Version --------------> 8.5
**• NVIDIA GPU Driver Version ----> 535.230.12
We are running 80 cams (4 processes 20 cameras) with L4 machine.After run for certain time the process got killed. Segmentation fault
Each camera we are getting 25 fps and and taking out data using pyds.
The moment we set the
uri_decode_bin = Gst.ElementFactory.make("nvurisrcbin", "nvurisrcbin")
base_path = f"/opt/nvidia/deepstream/deepstream-7.0/nvodin24/video/{index}_{uuid.uuid4().hex[:8]}"
uri_decode_bin.set_property("smart-record", 2)
os.makedirs(base_path, exist_ok=True)
uri_decode_bin.set_property("smart-rec-dir-path", base_path)
uri_decode_bin.set_property("smart-rec-cache", 20)
we start getting the critical error
(python3:35201): GStreamer-CRITICAL **: 07:41:30.684: gst_buffer_get_size: assertion ‘GST_IS_BUFFER (buffer)’ failed
after some time the process starting with coredump
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
--Type <RET> for more, q to quit, c to continue without paging--c
Core was generated by `python3 test_process.py'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 __pthread_kill_implementation (no_tid=0, signo=11, threadid=127620748412480) at ./nptl/pthread_kill.c:44
44 ./nptl/pthread_kill.c: No such file or directory.
[Current thread is 1 (Thread 0x741205600640 (LWP 1426874))]
(gdb) bt full
#0 __pthread_kill_implementation (no_tid=0, signo=11, threadid=127620748412480) at ./nptl/pthread_kill.c:44
tid = <optimized out>
ret = 0
pd = 0x741205600640
old_mask = {__val = {243, 1613130407189148448, 127637175821872, 289, 98534734174688, 127620748412352, 2, 11, 98534734174688, 98534731873558, 98534731752894, 98534729810424, 0, 47244640256, 123, 0}}
ret = <optimized out>
pd = <optimized out>
old_mask = <optimized out>
ret = <optimized out>
tid = <optimized out>
ret = <optimized out>
resultvar = <optimized out>
resultvar = <optimized out>
__arg3 = <optimized out>
__arg2 = <optimized out>
__arg1 = <optimized out>
_a3 = <optimized out>
_a2 = <optimized out>
_a1 = <optimized out>
__futex = <optimized out>
resultvar = <optimized out>
__arg3 = <optimized out>
__arg2 = <optimized out>
__arg1 = <optimized out>
_a3 = <optimized out>
_a2 = <optimized out>
_a1 = <optimized out>
__futex = <optimized out>
__private = <optimized out>
__oldval = <optimized out>
result = <optimized out>
#1 __pthread_kill_internal (signo=11, threadid=127620748412480) at ./nptl/pthread_kill.c:78
No locals.
#2 __GI___pthread_kill (threadid=127620748412480, signo=signo@entry=11) at ./nptl/pthread_kill.c:89
No locals.
#3 0x00007415d896f476 in __GI_raise (sig=11) at ../sysdeps/posix/raise.c:26
ret = <optimized out>
#4 <signal handler called>
No locals.
#5 0x00007415d7cc7f17 in gst_buffer_get_size () from /lib/x86_64-linux-gnu/libgstreamer-1.0.so.0
No symbol table info available.
#6 0x00007415d7ccda68 in gst_buffer_copy_into () from /lib/x86_64-linux-gnu/libgstreamer-1.0.so.0
No symbol table info available.
#7 0x0000741557a651d6 in ?? () from /usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libgstnvvideo4linux2.so
No symbol table info available.
#8 0x00007415d7d371d7 in ?? () from /lib/x86_64-linux-gnu/libgstreamer-1.0.so.0
No symbol table info available.
#9 0x00007415d7bbf384 in g_thread_pool_thread_proxy (data=<optimized out>) at ../glib/gthreadpool.c:350
task = 0x7410dc00b620
pool = <optimized out>
#10 0x00007415d7bbeac1 in g_thread_proxy (data=0x7414e80291a0) at ../glib/gthread.c:831
thread = 0x7414e80291a0
__func__ = "g_thread_proxy"
#11 0x00007415d89c1ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
ret = <optimized out>
pd = <optimized out>
out = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {127634990168848, -1021380715546781404, 127620748412480, 0, 127637177243600, 127634990169200, 1871062135877294372, 1871494816171579684},
mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = <optimized out>
#12 0x00007415d8a53850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
No locals.
please help us out fix the issue.
@Fiona.Chen @fanzh @junshengy