<div dir="ltr">It looks like the <a href="https://github.com/GStreamer/gst-docs/blob/master/examples/tutorials/basic-tutorial-2.c">https://github.com/GStreamer/gst-docs/blob/master/examples/tutorials/basic-tutorial-2.c</a> example code crashes as well:<br><br>clang basic-tutorial-2.c $(pkg-config --libs --cflags gstreamer-1.0) --debug -g0 -glldb<br>lldb ./a.out<br>(lldb) target create "./a.out"<br>Current executable set to './a.out' (arm64).<br>(lldb) r<br>Process 21815 launched: './a.out' (arm64)<br>Process 21815 stopped<br>* thread #8, name = 'source:src', stop reason = EXC_BAD_ACCESS (code=2, address=0x103d9c000)<br> frame #0: 0x000000018bd6d6f8 libsystem_platform.dylib`_platform_memmove + 168<br>libsystem_platform.dylib`:<br>-> 0x18bd6d6f8 <+168>: stp q2, q3, [x0]<br> 0x18bd6d6fc <+172>: subs x2, x2, #0x40<br> 0x18bd6d700 <+176>: <a href="http://b.ls">b.ls</a> 0x18bd6d71c ; <+204><br> 0x18bd6d704 <+180>: stp q0, q1, [x3]<br>Target 0: (a.out) stopped.<br>(lldb) bt<br>* thread #8, name = 'source:src', stop reason = EXC_BAD_ACCESS (code=2, address=0x103d9c000)<br> * frame #0: 0x000000018bd6d6f8 libsystem_platform.dylib`_platform_memmove + 168<br> frame #1: 0x0000000100253f2c liborc-0.4.0.dylib`orc_program_compile_full + 4192<br> frame #2: 0x00000001000385e4 libgstvideotestsrc.dylib`video_test_src_orc_splat_u32 + 188<br> frame #3: 0x000000010003ab08 libgstvideotestsrc.dylib`gst_video_test_src_smpte + 240<br> frame #4: 0x000000010003a920 libgstvideotestsrc.dylib`fill_image + 112<br> frame #5: 0x000000010003a400 libgstvideotestsrc.dylib`gst_video_test_src_fill + 160<br> frame #6: 0x0000000100207c00 libgstbase-1.0.0.dylib`gst_base_src_default_create + 128<br> frame #7: 0x00000001002093ec libgstbase-1.0.0.dylib`gst_base_src_get_range + 264<br> frame #8: 0x0000000100208cbc libgstbase-1.0.0.dylib`gst_base_src_loop + 1068<br> frame #9: 0x0000000100607478 libgstreamer-1.0.0.dylib`gst_task_func + 284<br> frame #10: 0x000000010082ce78 libglib-2.0.0.dylib`g_thread_pool_thread_proxy + 208<br> frame #11: 0x000000010082bdd4 libglib-2.0.0.dylib`g_thread_proxy + 68<br> frame #12: 0x000000018bd3e034 libsystem_pthread.dylib`_pthread_start + 136<br>(lldb)<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Feb 1, 2024 at 3:49 PM Tomasz Mikolajczyk <<a href="mailto:tmmikolajczyk@gmail.com">tmmikolajczyk@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>Unfortunately discourse seems to be down so I'm writing it here. The simple pipeline I was using successfully before started to crash after the gstreamer upgrade on MacOS to the 1.22.9 version (I was using 1.22.8 before). The 1.22.9 is very new (according to brew, it has been generated today). The stack trace I get is:<br><br>* thread #30, name = 'audio_hls_branch_input_queue:src', stop reason = EXC_BAD_ACCESS (code=2, address=0x100d00000)<br> frame #0: 0x000000018bd6d6f8 libsystem_platform.dylib`_platform_memmove + 168<br>libsystem_platform.dylib`:<br>-> 0x18bd6d6f8 <+168>: stp q2, q3, [x0]<br> 0x18bd6d6fc <+172>: subs x2, x2, #0x40<br> 0x18bd6d700 <+176>: <a href="http://b.ls" target="_blank">b.ls</a> 0x18bd6d71c ; <+204><br> 0x18bd6d704 <+180>: stp q0, q1, [x3]<br>Target 0: (mmhmm-video-segmentor-tests) stopped.<br>(lldb) bt<br>* thread #30, name = 'audio_hls_branch_input_queue:src', stop reason = EXC_BAD_ACCESS (code=2, address=0x100d00000)<br> * frame #0: 0x000000018bd6d6f8 libsystem_platform.dylib`_platform_memmove + 168<br> frame #1: 0x0000000101677f2c liborc-0.4.0.dylib`orc_program_compile_full + 4192<br> frame #2: 0x000000010115ffd0 libgstaudio-1.0.0.dylib`audio_orc_unpack_s16_trunc + 188<br> frame #3: 0x0000000101168cd0 libgstaudio-1.0.0.dylib`do_unpack + 420<br> frame #4: 0x0000000101168ea0 libgstaudio-1.0.0.dylib`do_convert_in + 56<br> frame #5: 0x0000000101168314 libgstaudio-1.0.0.dylib`converter_generic + 80<br> frame #6: 0x0000000100c82a40 libgstaudioconvert.dylib`gst_audio_convert_transform + 360<br> frame #7: 0x0000000101207f10 libgstbase-1.0.0.dylib`default_generate_output + 568<br> frame #8: 0x000000010120ca94 libgstbase-1.0.0.dylib`gst_base_transform_chain + 304<br> frame #9: 0x00000001013ce2d4 libgstreamer-1.0.0.dylib`gst_pad_chain_data_unchecked + 500<br> frame #10: 0x00000001013cee9c libgstreamer-1.0.0.dylib`gst_pad_push_data + 212<br> frame #11: 0x00000001013cecf0 libgstreamer-1.0.0.dylib`gst_pad_push + 288<br> frame #12: 0x0000000100b6aca4 libgstaudiorate.dylib`gst_audio_rate_chain + 1460<br> frame #13: 0x00000001013ce2d4 libgstreamer-1.0.0.dylib`gst_pad_chain_data_unchecked + 500<br> frame #14: 0x00000001013cee9c libgstreamer-1.0.0.dylib`gst_pad_push_data + 212<br> frame #15: 0x00000001013cecf0 libgstreamer-1.0.0.dylib`gst_pad_push + 288<br> frame #16: 0x000000010120cb5c libgstbase-1.0.0.dylib`gst_base_transform_chain + 504<br> frame #17: 0x00000001013ce2d4 libgstreamer-1.0.0.dylib`gst_pad_chain_data_unchecked + 500<br> frame #18: 0x00000001013cee9c libgstreamer-1.0.0.dylib`gst_pad_push_data + 212<br> frame #19: 0x00000001013cecf0 libgstreamer-1.0.0.dylib`gst_pad_push + 288<br> frame #20: 0x0000000100c45b10 libgstcoreelements.dylib`gst_queue_loop + 1292<br> frame #21: 0x00000001013ff478 libgstreamer-1.0.0.dylib`gst_task_func + 284<br> frame #22: 0x00000001014fce78 libglib-2.0.0.dylib`g_thread_pool_thread_proxy + 208<br> frame #23: 0x00000001014fbdd4 libglib-2.0.0.dylib`g_thread_proxy + 68<br> frame #24: 0x000000018bd3e034 libsystem_pthread.dylib`_pthread_start + 136<br>(lldb)<br><br>I can produce MRE if needed. I'm not saying that the problem is not inside my code but it is generally suspicious. Is someone aware of that problem already?<br><br>brew info orc<br>==> orc: stable 0.4.36 (bottled)<br>Oil Runtime Compiler (ORC)<br><a href="https://gstreamer.freedesktop.org/projects/orc.html" target="_blank">https://gstreamer.freedesktop.org/projects/orc.html</a><br>/opt/homebrew/Cellar/orc/0.4.36 (51 files, 1.1MB) *<br> Poured from bottle using the <a href="http://formulae.brew.sh" target="_blank">formulae.brew.sh</a> API on 2024-02-01 at 15:26:11<br>From: <a href="https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/o/orc.rb" target="_blank">https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/o/orc.rb</a><br><br><br>brew info gstreamer<br>==> gstreamer: stable 1.22.9 (bottled), HEAD<br>Development framework for multimedia applications<br><a href="https://gstreamer.freedesktop.org/" target="_blank">https://gstreamer.freedesktop.org/</a><br>/opt/homebrew/Cellar/gstreamer/1.22.9 (1,269 files, 122.1MB) *<br> Poured from bottle using the <a href="http://formulae.brew.sh" target="_blank">formulae.brew.sh</a> API on 2024-02-01 at 15:00:20<br>From: <a href="https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/g/gstreamer.rb" target="_blank">https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/g/gstreamer.rb</a><br><br>Regards,</div><div>Tomek</div></div>
</blockquote></div>