It happens 100% of the runs, but the time necessary to it happen I can’t precise, sometimes it takes 40 minutes, sometimes 3 hours.
I have never used gdb before, so I am quite blind on what I am doing. I waited for the freeze, did the Ctrl-C and did info threads, but I can1t read it.
This is what suddenly appear in terminal before Ctrl-C:
> Buffer Probe
> Buffer Probe
> Buffer Probe
> Buffer Probe
> Buffer Probe
> Buffer Probe
> Buffer Probe
> Buffer Probe
> Buffer Probe
> Buffer Probe
> Buffer Probe
> Buffer Probe
> Buffer Probe
> [Thread 0xfffe9a7fc0b0 (LWP 1214948) exited]
> nvstreammux: Successfully handled EOS for source_id=3
> Buffer Probe
> Buffer Probe
> Buffer Probe
> Buffer Probe
> Buffer Probe
> Buffer Probe
> Buffer Probe
> Buffer Probe
> [Thread 0xfffe51a040b0 (LWP 1214970) exited]
> **PERF : FPS_0 (8.09) FPS_1 (0.00) FPS_2 (9.60) FPS_3 (0.00)
> Warning: gst-resource-error-quark: Could not read from resource. (9): gstrtspsrc.c(5624): gst_rtspsrc_loop_udp (): /GstPipeline:pipeline0/GstBin:source-bin-01/GstURIDecodeBin:uri-decode-bin/GstRTSPSrc:source:
> The server closed the connection.
> Warning: gst-resource-error-quark: Could not read from resource. (9): gstrtspsrc.c(5624): gst_rtspsrc_loop_udp (): /GstPipeline:pipeline0/GstBin:source-bin-00/GstURIDecodeBin:uri-decode-bin/GstRTSPSrc:source:
> The server closed the connection.
> Warning: gst-resource-error-quark: Could not read from resource. (9): gstrtspsrc.c(5624): gst_rtspsrc_loop_udp (): /GstPipeline:pipeline0/GstBin:source-bin-03/GstURIDecodeBin:uri-decode-bin/GstRTSPSrc:source:
> The server closed the connection.
> Warning: gst-resource-error-quark: Could not read from resource. (9): gstrtspsrc.c(5624): gst_rtspsrc_loop_udp (): /GstPipeline:pipeline0/GstBin:source-bin-02/GstURIDecodeBin:uri-decode-bin/GstRTSPSrc:source:
> The server closed the connection.
> **PERF : FPS_0 (8.08) FPS_1 (0.00) FPS_2 (9.59) FPS_3 (0.00)
And this is what I get after Ctrl-C + info thread:
Id Target Id Frame
* 1 Thread 0xfffff61d3010 (LWP 1214865) "python3" 0x0000fffff7e95098 in __GI___poll (fds=0x117c4910, nfds=3, timeout=<optimized out>)
at ../sysdeps/unix/sysv/linux/poll.c:41
2 Thread 0xfffff34f70b0 (LWP 1214875) "python3" 0x0000fffff7e977b0 in __GI___select (nfds=<optimized out>, readfds=0xfffff34e95c0,
writefds=0xfffff34e9540, exceptfds=0xfffff34e94c0, timeout=0xfffff34e94b0) at ../sysdeps/unix/sysv/linux/select.c:53
3 Thread 0xffffe46220b0 (LWP 1214881) "python3" futex_abstimed_wait_cancelable (private=0, abstime=0xffffe46216c8,
clockid=<optimized out>, expected=0, futex_word=0xfffff2b36400) at ../sysdeps/nptl/futex-internal.h:320
4 Thread 0xffff9f02f0b0 (LWP 1214882) "python3" syscall () at ../sysdeps/unix/sysv/linux/aarch64/syscall.S:38
5 Thread 0xffff9e5f00b0 (LWP 1214883) "cuda-EvtHandlr" 0x0000fffff7e95098 in __GI___poll (fds=0xffff90000bc0, nfds=9,
timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:41
6 Thread 0xffff9ddef0b0 (LWP 1214884) "python3" futex_wait_cancelable (private=0, expected=0, futex_word=0xf51038)
at ../sysdeps/nptl/futex-internal.h:183
7 Thread 0xffff9cb640b0 (LWP 1214885) "python3" futex_wait_cancelable (private=0, expected=0, futex_word=0x1e3317c)
at ../sysdeps/nptl/futex-internal.h:183
8 Thread 0xffff7bc970b0 (LWP 1214886) "python3" futex_wait_cancelable (private=0, expected=0, futex_word=0x1e332d4)
at ../sysdeps/nptl/futex-internal.h:183
9 Thread 0xffff7979e0b0 (LWP 1214887) "python3" syscall () at ../sysdeps/unix/sysv/linux/aarch64/syscall.S:38
10 Thread 0xffff78f9d0b0 (LWP 1214888) "python3" syscall () at ../sysdeps/unix/sysv/linux/aarch64/syscall.S:38
11 Thread 0xffff728600b0 (LWP 1214889) "python3" futex_wait_cancelable (private=0, expected=0, futex_word=0xe8f5828)
at ../sysdeps/nptl/futex-internal.h:183
12 Thread 0xffff7205f0b0 (LWP 1214890) "task0" 0x0000fffff7e95098 in __GI___poll (fds=0xffff7205d2a8, nfds=2,
timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:41
13 Thread 0xffff7185e0b0 (LWP 1214891) "task1" 0x0000fffff7e95098 in __GI___poll (fds=0xffff7185c2a8, nfds=2,
timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:41
14 Thread 0xffff7105d0b0 (LWP 1214892) "task2" 0x0000fffff7e95098 in __GI___poll (fds=0xffff7105b2a8, nfds=2,
timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:41
15 Thread 0xffff7085c0b0 (LWP 1214893) "task3" 0x0000fffff7e95098 in __GI___poll (fds=0xffff7085a2a8, nfds=2,
timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:41
16 Thread 0xffff5bfff0b0 (LWP 1214894) "queue14:src" syscall () at ../sysdeps/unix/sysv/linux/aarch64/syscall.S:38
17 Thread 0xffff5b7fe0b0 (LWP 1214895) "queue13:src" syscall () at ../sysdeps/unix/sysv/linux/aarch64/syscall.S:38
18 Thread 0xffff5affd0b0 (LWP 1214896) "queue12:src" syscall () at ../sysdeps/unix/sysv/linux/aarch64/syscall.S:38
19 Thread 0xffff5a7fc0b0 (LWP 1214897) "queue2:src" syscall () at ../sysdeps/unix/sysv/linux/aarch64/syscall.S:38
20 Thread 0xffff59ffb0b0 (LWP 1214898) "queue11:src" syscall () at ../sysdeps/unix/sysv/linux/aarch64/syscall.S:38
21 Thread 0xffff597fa0b0 (LWP 1214899) "queue1:src" syscall () at ../sysdeps/unix/sysv/linux/aarch64/syscall.S:38
22 Thread 0xffff58ff90b0 (LWP 1214900) "queue10:src" syscall () at ../sysdeps/unix/sysv/linux/aarch64/syscall.S:38
23 Thread 0xffff37fff0b0 (LWP 1214901) "gmain" 0x0000fffff7e95098 in __GI___poll (fds=0xffff680131f0, nfds=1,
timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:41
24 Thread 0xffff377fe0b0 (LWP 1214902) "dconf worker" 0x0000fffff7e95098 in __GI___poll (fds=0xffff68016040, nfds=1,
timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:41
25 Thread 0xffff36ffd0b0 (LWP 1214903) "gdbus" 0x0000fffff7e95098 in __GI___poll (fds=0xffff28012500, nfds=2,
timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:41
26 Thread 0xffff367fc0b0 (LWP 1214904) "fakesrc0:src" syscall () at ../sysdeps/unix/sysv/linux/aarch64/syscall.S:38
27 Thread 0xffff35ffb0b0 (LWP 1214905) "fakesrc1:src" syscall () at ../sysdeps/unix/sysv/linux/aarch64/syscall.S:38
28 Thread 0xffff357fa0b0 (LWP 1214906) "fakesrc2:src" syscall () at ../sysdeps/unix/sysv/linux/aarch64/syscall.S:38
29 Thread 0xffff34ff90b0 (LWP 1214907) "rtpsession-rtcp" __lll_lock_wait (futex=futex@entry=0xffff68016000, private=0) at lowlevellock.c:52
30 Thread 0xffff17fff0b0 (LWP 1214908) "udpsrc0:src" syscall () at ../sysdeps/unix/sysv/linux/aarch64/syscall.S:38
31 Thread 0xffff177fe0b0 (LWP 1214909) "udpsrc1:src" 0x0000fffff7e95098 in __GI___poll (fds=0xffff177fd268, nfds=2,
timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:41
32 Thread 0xffff16ffd0b0 (LWP 1214910) "rtpsession-rtcp" 0x0000fffff7e951a4 in __ppoll (fds=0xffff540164a0, nfds=1, timeout=<optimized out>,
sigmask=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:44
33 Thread 0xffff167fc0b0 (LWP 1214911) "udpsrc2:src" syscall () at ../sysdeps/unix/sysv/linux/aarch64/syscall.S:38
34 Thread 0xffff15ffb0b0 (LWP 1214912) "udpsrc3:src" syscall () at ../sysdeps/unix/sysv/linux/aarch64/syscall.S:38
35 Thread 0xffff157fa0b0 (LWP 1214913) "rtpsession-rtcp" 0x0000fffff7e951a4 in __ppoll (fds=0xffff540164a0, nfds=1, timeout=<optimized out>,
sigmask=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:44
36 Thread 0xffff14ff90b0 (LWP 1214914) "udpsrc5:src" syscall () at ../sysdeps/unix/sysv/linux/aarch64/syscall.S:38
37 Thread 0xfffeff7fe0b0 (LWP 1214916) "timer" syscall () at ../sysdeps/unix/sysv/linux/aarch64/syscall.S:38
38 Thread 0xfffefffff0b0 (LWP 1214915) "timer" syscall () at ../sysdeps/unix/sysv/linux/aarch64/syscall.S:38
39 Thread 0xfffefeffd0b0 (LWP 1214917) "rtpjitterbuffer" syscall () at ../sysdeps/unix/sysv/linux/aarch64/syscall.S:38
40 Thread 0xfffefe7fc0b0 (LWP 1214918) "rtpjitterbuffer" syscall () at ../sysdeps/unix/sysv/linux/aarch64/syscall.S:38
41 Thread 0xfffefdffb0b0 (LWP 1214919) "udpsrc6:src" syscall () at ../sysdeps/unix/sysv/linux/aarch64/syscall.S:38
42 Thread 0xfffefd7fa0b0 (LWP 1214920) "timer" syscall () at ../sysdeps/unix/sysv/linux/aarch64/syscall.S:38
43 Thread 0xfffefcff90b0 (LWP 1214921) "fakesrc3:src" syscall () at ../sysdeps/unix/sysv/linux/aarch64/syscall.S:38
44 Thread 0xfffedbfff0b0 (LWP 1214922) "rtpjitterbuffer" syscall () at ../sysdeps/unix/sysv/linux/aarch64/syscall.S:38
45 Thread 0xfffedb7fe0b0 (LWP 1214923) "rtpsession-rtcp" __lll_lock_wait (futex=futex@entry=0xffff60009970, private=0) at lowlevellock.c:52
46 Thread 0xfffedaffd0b0 (LWP 1214924) "udpsrc8:src" syscall () at ../sysdeps/unix/sysv/linux/aarch64/syscall.S:38
47 Thread 0xfffeda7fc0b0 (LWP 1214925) "udpsrc9:src" 0x0000fffff7e95098 in __GI___poll (fds=0xfffeda7fb268, nfds=2,
timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:41
48 Thread 0xfffed9ffb0b0 (LWP 1214926) "timer" syscall () at ../sysdeps/unix/sysv/linux/aarch64/syscall.S:38
49 Thread 0xfffed97fa0b0 (LWP 1214927) "rtpjitterbuffer" syscall () at ../sysdeps/unix/sysv/linux/aarch64/syscall.S:38
50 Thread 0xfffed8ff90b0 (LWP 1214934) "rtpjitterbuffer" futex_wait_cancelable (private=0, expected=0, futex_word=0xfffeb80c99cc)
at ../sysdeps/nptl/futex-internal.h:183
51 Thread 0xfffebffff0b0 (LWP 1214935) "rtpjitterbuffer" futex_wait_cancelable (private=0, expected=0, futex_word=0xfffeb80c3c78)
at ../sysdeps/nptl/futex-internal.h:183
52 Thread 0xfffebf7fe0b0 (LWP 1214936) "rtpjitterbuffer" futex_wait_cancelable (private=0, expected=0, futex_word=0xfffeb80f37b8)
at ../sysdeps/nptl/futex-internal.h:183
53 Thread 0xfffebeffd0b0 (LWP 1214937) "V4L2_DecThread" futex_wait_cancelable (private=0, expected=0, futex_word=0xfffeb8941fc8)
at ../sysdeps/nptl/futex-internal.h:183
54 Thread 0xfffeb3fff0b0 (LWP 1214938) "stream-muxer:sr" syscall () at ../sysdeps/unix/sysv/linux/aarch64/syscall.S:38
55 Thread 0xfffeb37fe0b0 (LWP 1214939) "nvv4l2decoder0:" futex_wait_cancelable (private=0, expected=0, futex_word=0xfffeb8941f58)
at ../sysdeps/nptl/futex-internal.h:183
56 Thread 0xfffeb2ffd0b0 (LWP 1214940) "python3" futex_abstimed_wait_cancelable (private=0, abstime=0x0, clockid=0, expected=0,
futex_word=0x1b152b0) at ../sysdeps/nptl/futex-internal.h:320
57 Thread 0xfffeb27fc0b0 (LWP 1214941) "python3" futex_wait_cancelable (private=0, expected=0, futex_word=0x1e98f90)
at ../sysdeps/nptl/futex-internal.h:183
58 Thread 0xfffeb1ffb0b0 (LWP 1214942) "python3" futex_wait_cancelable (private=0, expected=0, futex_word=0x1e98f94)
at ../sysdeps/nptl/futex-internal.h:183
59 Thread 0xfffeb17fa0b0 (LWP 1214943) "python3" futex_wait_cancelable (private=0, expected=0, futex_word=0x1e98f90)
at ../sysdeps/nptl/futex-internal.h:183
60 Thread 0xfffeb0ff90b0 (LWP 1214944) "python3" futex_wait_cancelable (private=0, expected=0, futex_word=0x1e98f90)
at ../sysdeps/nptl/futex-internal.h:183
61 Thread 0xfffe9bfff0b0 (LWP 1214945) "rtpjitterbuffer" futex_wait_cancelable (private=0, expected=0, futex_word=0xfffee80951fc)
at ../sysdeps/nptl/futex-internal.h:183
62 Thread 0xfffe9b7fe0b0 (LWP 1214946) "rtpjitterbuffer" futex_wait_cancelable (private=0, expected=0, futex_word=0xfffee808f26c)
at ../sysdeps/nptl/futex-internal.h:183
63 Thread 0xfffe9affd0b0 (LWP 1214947) "rtpjitterbuffer" futex_wait_cancelable (private=0, expected=0, futex_word=0xfffee80a92e8)
at ../sysdeps/nptl/futex-internal.h:183
65 Thread 0xfffe99ffb0b0 (LWP 1214949) "ctx1080#0" futex_wait_cancelable (private=0, expected=0, futex_word=0xfffea19e0890)
at ../sysdeps/nptl/futex-internal.h:183
66 Thread 0xfffe997fa0b0 (LWP 1214950) "ctx1080#1" futex_wait_cancelable (private=0, expected=0, futex_word=0xfffea19e0890)
at ../sysdeps/nptl/futex-internal.h:183
67 Thread 0xfffe98ff90b0 (LWP 1214951) "ctx1080#2" futex_wait_cancelable (private=0, expected=0, futex_word=0xfffea19e0890)
at ../sysdeps/nptl/futex-internal.h:183
68 Thread 0xfffe91e2a0b0 (LWP 1214952) "ctx1080#3" futex_wait_cancelable (private=0, expected=0, futex_word=0xfffea19e0890)
at ../sysdeps/nptl/futex-internal.h:183
69 Thread 0xfffe916290b0 (LWP 1214953) "ctx1080#4" futex_wait_cancelable (private=0, expected=0, futex_word=0xfffea19e0890)
at ../sysdeps/nptl/futex-internal.h:183
70 Thread 0xfffe90e280b0 (LWP 1214954) "ctx1080#5" futex_wait_cancelable (private=0, expected=0, futex_word=0xfffea19e0890)
at ../sysdeps/nptl/futex-internal.h:183
71 Thread 0xfffe7bfff0b0 (LWP 1214955) "ctx1080#6" futex_wait_cancelable (private=0, expected=0, futex_word=0xfffea19e0890)
at ../sysdeps/nptl/futex-internal.h:183
72 Thread 0xfffe7b7fe0b0 (LWP 1214956) "ctx1080#7" futex_wait_cancelable (private=0, expected=0, futex_word=0xfffea19e0890)
at ../sysdeps/nptl/futex-internal.h:183
73 Thread 0xfffe7affd0b0 (LWP 1214957) "Work queue" futex_wait_cancelable (private=0, expected=0, futex_word=0xfffea20653f8)
at ../sysdeps/nptl/futex-internal.h:183
74 Thread 0xfffe7a7fc0b0 (LWP 1214958) "rtpjitterbuffer" futex_wait_cancelable (private=0, expected=0, futex_word=0xfffed00a9f98)
at ../sysdeps/nptl/futex-internal.h:183
75 Thread 0xfffe79ffb0b0 (LWP 1214959) "rtpjitterbuffer" futex_wait_cancelable (private=0, expected=0, futex_word=0xfffed0099adc)
at ../sysdeps/nptl/futex-internal.h:183
76 Thread 0xfffe797fa0b0 (LWP 1214960) "rtpjitterbuffer" futex_wait_cancelable (private=0, expected=0, futex_word=0xfffed008d0fc)
at ../sysdeps/nptl/futex-internal.h:183
78 Thread 0xfffe5ffff0b0 (LWP 1214962) "rtpjitterbuffer" futex_wait_cancelable (private=0, expected=0, futex_word=0xfffee4009f9c)
at ../sysdeps/nptl/futex-internal.h:183
79 Thread 0xfffe5f7fe0b0 (LWP 1214963) "rtpjitterbuffer" futex_wait_cancelable (private=0, expected=0, futex_word=0xfffee408d388)
at ../sysdeps/nptl/futex-internal.h:183
80 Thread 0xfffe5effd0b0 (LWP 1214964) "rtpjitterbuffer" futex_wait_cancelable (private=0, expected=0, futex_word=0xfffee40ce8b8)
at ../sysdeps/nptl/futex-internal.h:183
81 Thread 0xfffe5e7fc0b0 (LWP 1214965) "cuda-EvtHandlr" 0x0000fffff7e95098 in __GI___poll (fds=0xfffe58000b60, nfds=9,
timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:41
82 Thread 0xfffe5dffb0b0 (LWP 1214966) "V4L2_DecThread" futex_wait_cancelable (private=0, expected=0, futex_word=0xfffee48dd288)
at ../sysdeps/nptl/futex-internal.h:183
83 Thread 0xfffe5d7fa0b0 (LWP 1214967) "python3" futex_wait_cancelable (private=0, expected=0, futex_word=0xffff982ba538)
at ../sysdeps/nptl/futex-internal.h:183
85 Thread 0xfffe522050b0 (LWP 1214969) "CPMMListener" 0x0000fffff7e95098 in __GI___poll (fds=0xfffe52204868, nfds=1,
timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:41
88 Thread 0xfffe50a020b0 (LWP 1214972) "nvv4l2decoder3:" futex_wait_cancelable (private=0, expected=0, futex_word=0xfffee48dd21c)
at ../sysdeps/nptl/futex-internal.h:183
(gdb)