GNOME Bugzilla – Bug 786292
audioresample: ARM NEON crashes resampling 192k/24 -> 44.1k/16 with resample-method=cubic and quality=0
Last modified: 2018-11-03 11:59:14 UTC
We're seeing a crash on ARM NEON platforms when resampling pcm audio from 192k/24 down to 44.1k/16 with resample-method=cubic and quality=0 Program received signal SIGSEGV, Segmentation fault. [Switching to LWP 13272] 0x40b83720 in inner_product_gint16_full_1_neon (o=0x2e6250, a=0x3450e0, b=0x354250, len=16, icoeff=0x44500a78, bstride=0) at audio-resampler-neon.h:27 27 audio-resampler-neon.h: No such file or directory. (gdb) bt
+ Trace 237800
(gdb) info registers r0 0x38ae90 3714704 r1 0x39a000 3776512 r2 0x0 0 r3 0xfffdd139 4294824249 r4 0x0 0 r5 0x0 0 r6 0x256498 2450584 r7 0x1b3498 1782936 r8 0x1aed88 1764744 r9 0x1b3408 1782792 r10 0x44500c6c 1146096748 r11 0x44500a5c 1146096220 r12 0x2e6250 3039824 sp 0x44500a40 0x44500a40 lr 0x40b84708 1085818632 pc 0x40b83720 0x40b83720 <inner_product_gint16_full_1_neon+152> cpsr 0xa0000010 -1610612720
Resampling from 96k/24 to 44.1k/16 works, though.
This reproduces the crash, using this .wav file: http://www.kozco.com/tech/piano2.wav gst-launch-1.0 -v filesrc location=/tmp/piano2.wav ! wavparse ! audioconvert ! audioresample quality=0 resample-method=cubic ! "audio/x-raw,format=S24LE,channels=2,layout=interleaved,rate=192000" ! audioco nvert ! audioresample quality=0 resample-method=cubic ! "audio/x-raw,format=S16LE,channels=2,layout=interleaved,rate=44100" ! fakesink
Downsampling from 48k/24 town to 44.1/16 with resample-method=linear also crashes: gst-launch-1.0 -v filesrc location=/tmp/piano2.wav ! wavparse ! audioconvert ! audioresample quality=0 resample-method=cubic ! "audio/x-raw,format=S24LE,channels=2,layout=interleaved,rate=48000" ! audiocon vert ! audioresample quality=0 resample-method=linear ! "audio/x-raw,format=S16LE,channels=2,layout=interleaved,rate=44100" ! fakesink
FYI, this was working fine in 1.6.3.
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/issues/377.