Segfault of gst-discoverer-1.0 with Musepack file without duration info
I have some Musepack (
.mpc) encoded audio files that seem to lack duration/length information (at least Mopidy can't see any duration and it uses
gstreamer). When I call
gst-discoverer-1.0 on them, a segfault is the consequence. These are the top then calls in the call stack in the generated core dump:
#0 0x00007f25374e013d in gst_caps_get_structure () at /usr/lib/libgstreamer-1.0.so.0 #1 0x00007f253775cd52 in () at /usr/lib/libgstpbutils-1.0.so.0 #2 0x00007f253775d077 in () at /usr/lib/libgstpbutils-1.0.so.0 #3 0x00007f253709b69a in ffi_call_unix64 () at /usr/lib/libffi.so.6 #4 0x00007f253709afb6 in ffi_call () at /usr/lib/libffi.so.6 #5 0x00007f25375955ae in g_cclosure_marshal_generic () at /usr/lib/libgobject-2.0.so.0 #6 0x00007f253758bd5a in g_closure_invoke () at /usr/lib/libgobject-2.0.so.0 #7 0x00007f253757988e in () at /usr/lib/libgobject-2.0.so.0 #8 0x00007f253757d98a in g_signal_emit_valist () at /usr/lib/libgobject-2.0.so.0 #9 0x00007f253757e7f0 in g_signal_emit () at /usr/lib/libgobject-2.0.so.0 #10 0x00007f25374dad56 in gst_element_add_pad () at /usr/lib/libgstreamer-1.0.so.0
If of interst I can send an example file privately or upload the complete 20MB coredump.
Interestingly, I can still play such a file with
gst-play-1.0 and it also shows a song duration. My OS is Arch Linux and I installed the latest official package through pacman.