root@5dd6e940b764:/share/imx-vpuwrap-debug# gdb --args gst-launch-1.0 rtspsrc location="rtsp://admin:1234@192.168.0.100/Ch1" latency=200 name=src \ splitmuxsink name=recordsink location="/tmp/rec_%02d.mp4" max-size-time=$((1 * 1000000000)) muxer=mp4mux \ \ src. ! application/x-rtp,media=video,encoding-name=H265 ! rtph265depay ! h265parse ! vpudec ! tee name=vrawtee \ \ vrawtee. ! queue name=thumb_q max-size-buffers=1 leaky=2 ! valve name=thumb_v drop=false ! videorate ! 'video/x-raw,framerate=1/5' ! jpegenc ! multifilesink name=thumb_sink location="/tmp/thumb.png" max-files=1 next-file=0 async=false \ \ vrawtee. ! queue name=enc_q ! videoconvert ! videoscale ! 'video/x-raw,format=NV12,width=1280,height=720,framerate=15/1' ! vpuenc_h264 bitrate=2000 gop-size=30 ! tee name=enctee \ enctee. ! queue name=wrtc_vid_q max-size-buffers=1 leaky=2 ! h264parse config-interval=-1 ! appsink name=wrtc_vid_sink emit-signals=true sync=false \ enctee. ! queue name=rec_vid_q ! h264parse config-interval=-1 ! recordsink.video \ \ src. ! application/x-rtp,media=audio ! rtppcmudepay ! tee name=arawtee \ arawtee. ! queue name=wrtc_aud_q max-size-buffers=1 leaky=2 ! appsink name=wrtc_aud_sink emit-signals=true sync=false \ arawtee. ! queue name=rec_aud_q ! mulawdec ! audioconvert ! audioresample ! avenc_aac ! aacparse ! recordsink.audio_0 GNU gdb (Debian 10.1-1.7) 10.1.90.20210103-git Copyright (C) 2021 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "aarch64-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from gst-launch-1.0... (No debugging symbols found in gst-launch-1.0) (gdb) run Starting program: /usr/bin/gst-launch-1.0 rtspsrc location=rtsp://admin:1234@192.168.0.100/Ch1 latency=200 name=src splitmuxsink name=recordsink location=/tmp/rec_%02d.mp4 max-size-time=1000000000 muxer=mp4mux src. \! application/x-rtp,media=video,encoding-name=H265 \! rtph265depay \! h265parse \! vpudec \! tee name=vrawtee vrawtee. \! queue name=thumb_q max-size-buffers=1 leaky=2 \! valve name=thumb_v drop=false \! videorate \! video/x-raw,framerate=1/5 \! jpegenc \! multifilesink name=thumb_sink location=/tmp/thumb.png max-files=1 next-file=0 async=false vrawtee. \! queue name=enc_q \! videoconvert \! videoscale \! video/x-raw,format=NV12,width=1280,height=720,framerate=15/1 \! vpuenc_h264 bitrate=2000 gop-size=30 \! tee name=enctee enctee. \! queue name=wrtc_vid_q max-size-buffers=1 leaky=2 \! h264parse config-interval=-1 \! appsink name=wrtc_vid_sink emit-signals=true sync=false enctee. \! queue name=rec_vid_q \! h264parse config-interval=-1 \! recordsink.video src. \! application/x-rtp,media=audio \! rtppcmudepay \! tee name=arawtee arawtee. \! queue name=wrtc_aud_q max-size-buffers=1 leaky=2 \! appsink name=wrtc_aud_sink emit-signals=true sync=false arawtee. \! queue name=rec_aud_q \! mulawdec \! audioconvert \! audioresample \! avenc_aac \! aacparse \! recordsink.audio_0 warning: Error disabling address space randomization: Function not implemented warning: Unable to determine the number of hardware watchpoints available. warning: Unable to determine the number of hardware breakpoints available. [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/aarch64-linux-gnu/libthread_db.so.1". Setting pipeline to PAUSED ... [New Thread 0xffffad8121b0 (LWP 825)] [New Thread 0xffffad0111b0 (LWP 826)] [New Thread 0xffffac8101b0 (LWP 827)] [New Thread 0xffff9ffff1b0 (LWP 828)] [New Thread 0xffff9f7fe1b0 (LWP 829)] [New Thread 0xffff9effd1b0 (LWP 830)] ====== VPUENC: 4.6.1 build on Aug 18 2023 01:11:55. ====== wrapper: 3.0.0 (VPUWRAPPER_ARM64_LINUX Build on Jun 13 2025 08:07:36) vpulib: 1.1.1 firmware: 1.1.1.43690 [New Thread 0xffff9ddfb1b0 (LWP 831)] [New Thread 0xffff9d5fa1b0 (LWP 832)] [New Thread 0xffff9cdf91b0 (LWP 833)] ====== VPUDEC: 4.6.1 build on Aug 18 2023 01:11:55. ====== wrapper: 3.0.0 (VPUWRAPPER_ARM64_LINUX Build on Jun 13 2025 08:07:36) vpulib: 1.1.1 firmware: 1.1.1.43690 [New Thread 0xffff86ffe1b0 (LWP 834)] Pipeline is live and does not need PREROLL ... [New Thread 0xffff867fd1b0 (LWP 835)] Progress: (open) Opening Stream Pipeline is PREROLLED ... Prerolled, waiting for progress to finish... Progress: (connect) Connecting to rtsp://admin:1234@192.168.0.100/Ch1 [New Thread 0xffff85ffc1b0 (LWP 836)] [New Thread 0xffff857fb1b0 (LWP 837)] Progress: (open) Retrieving server options Progress: (open) Retrieving media info Progress: (request) SETUP stream 0 Progress: (request) SETUP stream 1 Progress: (request) SETUP stream 2 Progress: (open) Opened Stream Setting pipeline to PLAYING ... New clock: GstSystemClock Progress: (request) Sending PLAY request [New Thread 0xffff84ffa1b0 (LWP 838)] [New Thread 0xffff6bfff1b0 (LWP 839)] [New Thread 0xffff6b7fe1b0 (LWP 840)] Progress: (request) Sending PLAY request [New Thread 0xffff6affd1b0 (LWP 841)] [New Thread 0xffff6a7fc1b0 (LWP 842)] [New Thread 0xffff69ffb1b0 (LWP 843)] [New Thread 0xffff697fa1b0 (LWP 844)] [New Thread 0xffff68ff91b0 (LWP 845)] [New Thread 0xffff4bfff1b0 (LWP 846)] [New Thread 0xffff4b7fe1b0 (LWP 847)] [New Thread 0xffff4affd1b0 (LWP 848)] [New Thread 0xffff4a7fc1b0 (LWP 849)] Progress: (request) Sent PLAY request [New Thread 0xffff49ffb1b0 (LWP 850)] [New Thread 0xffff497fa1b0 (LWP 851)] [New Thread 0xffff48ff91b0 (LWP 852)] [New Thread 0xffff2bfff1b0 (LWP 853)] --Type for more, q to quit, c to continue without paging-- Thread 14 "rtpjitterbuffer" received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xffff857fb1b0 (LWP 837)] VPU_DecOutFrameDisplayed (InHandle=0xaaaaeef52000, pInFrameBuf=0x0) at vpu_wrapper_hantro.c:1608 1608 vpu_wrapper_hantro.c: No such file or directory. (gdb) bt full #0 VPU_DecOutFrameDisplayed (InHandle=0xaaaaeef52000, pInFrameBuf=0x0) at vpu_wrapper_hantro.c:1608 pVpuObj = 0xaaaaeef52000 pObj = 0xaaaaeef52000 buff = {header = 0xffffba6b5104 , headerdata = {nSize = 281473810194432, nVersion = {s = { nVersionMajor = 0 '\000', nVersionMinor = 0 '\000', nRevision = 0 '\000', nStep = 0 '\000'}, nVersion = 0}, pBuffer = 0xffff857f8b90 "\001", nAllocLen = 281473809194960, nFilledLen = 187651127378752, nOffset = 0, pAppPrivate = 0xffff4c02ec60, pPlatformPrivate = 0xffffb8b50000, pInputPortPrivate = 0x1, pOutputPortPrivate = 0xffffba8e8b40 <_gst_debug_min>, hMarkTargetComponent = 0xffff857f8bd0, pMarkData = 0xffffb8b31a24, nTickCount = 187651127378752, nTimeStamp = 281471957003360, nFlags = 281471957003360, nOutputPortIndex = 281473780613120, nInputPortIndex = 1}, flags = 281473811647296, allocsize = 281473784802528, bus_address = 187651127378752, bus_data = 0x0, ion_fd = 281471957003360} __FUNCTION__ = "VPU_DecOutFrameDisplayed" #1 0x0000ffffb8b31ae0 in ?? () from /usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstvpu.so No symbol table info available. #2 0x0000ffffb8b31c88 in ?? () from /usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstvpu.so No symbol table info available. #3 0x0000ffffb8b34154 in gst_vpu_dec_object_decode () from /usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstvpu.so No symbol table info available. #4 0x0000ffffb8b2fc94 in ?? () from /usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstvpu.so No symbol table info available. #5 0x0000ffffb8f48dc4 in ?? () from /usr/lib/aarch64-linux-gnu/libgstvideo-1.0.so.0 No symbol table info available. #6 0x0000ffffb8f4e954 in ?? () from /usr/lib/aarch64-linux-gnu/libgstvideo-1.0.so.0 No symbol table info available. #7 0x0000ffffb8f4f0d4 in ?? () from /usr/lib/aarch64-linux-gnu/libgstvideo-1.0.so.0 No symbol table info available. #8 0x0000ffffba813ce0 in ?? () from /usr/lib/aarch64-linux-gnu/libgstreamer-1.0.so.0 No symbol table info available. #9 0x0000ffffba815d28 in ?? () from /usr/lib/aarch64-linux-gnu/libgstreamer-1.0.so.0 No symbol table info available. #10 0x0000ffffba81d818 in gst_pad_push () from /usr/lib/aarch64-linux-gnu/libgstreamer-1.0.so.0 No symbol table info available. #11 0x0000ffffb9128014 in gst_base_parse_push_frame () from /usr/lib/aarch64-linux-gnu/libgstbase-1.0.so.0 No symbol table info available. #12 0x0000ffffb9128d04 in ?? () from /usr/lib/aarch64-linux-gnu/libgstbase-1.0.so.0 No symbol table info available. #13 0x0000ffffba813ce0 in ?? () from /usr/lib/aarch64-linux-gnu/libgstreamer-1.0.so.0 --Type for more, q to quit, c to continue without paging--