gstreamer started crashing on macos after upgrade to the recent 1.22.9

Tomasz Mikolajczyk tmmikolajczyk at gmail.com
Thu Feb 1 20:49:40 UTC 2024


Hi,

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:

* thread #30, name = 'audio_hls_branch_input_queue:src', stop reason =
EXC_BAD_ACCESS (code=2, address=0x100d00000)
    frame #0: 0x000000018bd6d6f8 libsystem_platform.dylib`_platform_memmove
+ 168
libsystem_platform.dylib`:
->  0x18bd6d6f8 <+168>: stp    q2, q3, [x0]
    0x18bd6d6fc <+172>: subs   x2, x2, #0x40
    0x18bd6d700 <+176>: b.ls   0x18bd6d71c               ; <+204>
    0x18bd6d704 <+180>: stp    q0, q1, [x3]
Target 0: (mmhmm-video-segmentor-tests) stopped.
(lldb) bt
* thread #30, name = 'audio_hls_branch_input_queue:src', stop reason =
EXC_BAD_ACCESS (code=2, address=0x100d00000)
  * frame #0: 0x000000018bd6d6f8 libsystem_platform.dylib`_platform_memmove
+ 168
    frame #1: 0x0000000101677f2c
liborc-0.4.0.dylib`orc_program_compile_full + 4192
    frame #2: 0x000000010115ffd0
libgstaudio-1.0.0.dylib`audio_orc_unpack_s16_trunc + 188
    frame #3: 0x0000000101168cd0 libgstaudio-1.0.0.dylib`do_unpack + 420
    frame #4: 0x0000000101168ea0 libgstaudio-1.0.0.dylib`do_convert_in + 56
    frame #5: 0x0000000101168314 libgstaudio-1.0.0.dylib`converter_generic
+ 80
    frame #6: 0x0000000100c82a40
libgstaudioconvert.dylib`gst_audio_convert_transform + 360
    frame #7: 0x0000000101207f10
libgstbase-1.0.0.dylib`default_generate_output + 568
    frame #8: 0x000000010120ca94
libgstbase-1.0.0.dylib`gst_base_transform_chain + 304
    frame #9: 0x00000001013ce2d4
libgstreamer-1.0.0.dylib`gst_pad_chain_data_unchecked + 500
    frame #10: 0x00000001013cee9c
libgstreamer-1.0.0.dylib`gst_pad_push_data + 212
    frame #11: 0x00000001013cecf0 libgstreamer-1.0.0.dylib`gst_pad_push +
288
    frame #12: 0x0000000100b6aca4
libgstaudiorate.dylib`gst_audio_rate_chain + 1460
    frame #13: 0x00000001013ce2d4
libgstreamer-1.0.0.dylib`gst_pad_chain_data_unchecked + 500
    frame #14: 0x00000001013cee9c
libgstreamer-1.0.0.dylib`gst_pad_push_data + 212
    frame #15: 0x00000001013cecf0 libgstreamer-1.0.0.dylib`gst_pad_push +
288
    frame #16: 0x000000010120cb5c
libgstbase-1.0.0.dylib`gst_base_transform_chain + 504
    frame #17: 0x00000001013ce2d4
libgstreamer-1.0.0.dylib`gst_pad_chain_data_unchecked + 500
    frame #18: 0x00000001013cee9c
libgstreamer-1.0.0.dylib`gst_pad_push_data + 212
    frame #19: 0x00000001013cecf0 libgstreamer-1.0.0.dylib`gst_pad_push +
288
    frame #20: 0x0000000100c45b10 libgstcoreelements.dylib`gst_queue_loop +
1292
    frame #21: 0x00000001013ff478 libgstreamer-1.0.0.dylib`gst_task_func +
284
    frame #22: 0x00000001014fce78
libglib-2.0.0.dylib`g_thread_pool_thread_proxy + 208
    frame #23: 0x00000001014fbdd4 libglib-2.0.0.dylib`g_thread_proxy + 68
    frame #24: 0x000000018bd3e034 libsystem_pthread.dylib`_pthread_start +
136
(lldb)

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?

brew info orc
==> orc: stable 0.4.36 (bottled)
Oil Runtime Compiler (ORC)
https://gstreamer.freedesktop.org/projects/orc.html
/opt/homebrew/Cellar/orc/0.4.36 (51 files, 1.1MB) *
  Poured from bottle using the formulae.brew.sh API on 2024-02-01 at
15:26:11
From: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/o/orc.rb


brew info gstreamer
==> gstreamer: stable 1.22.9 (bottled), HEAD
Development framework for multimedia applications
https://gstreamer.freedesktop.org/
/opt/homebrew/Cellar/gstreamer/1.22.9 (1,269 files, 122.1MB) *
  Poured from bottle using the formulae.brew.sh API on 2024-02-01 at
15:00:20
From:
https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/g/gstreamer.rb

Regards,
Tomek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20240201/cae66629/attachment.htm>


More information about the gstreamer-devel mailing list