Bug 20889

Summary: Sound-juicer crashes when trying to rip when FLAC format output is selected
Product: Mageia Reporter: Luis Menina <liberforce>
Component: RPM PackagesAssignee: GNOME maintainers <gnome>
Status: NEW --- QA Contact:
Severity: critical    
Priority: Normal    
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: sound-juicer-3.24.0-1.mga6.src.rpm CVE:
Status comment:
Attachments: traces of 'sound-juicer --gst-debug-level=5'

Description Luis Menina 2017-05-18 23:40:40 CEST
Description of problem:
When FLAC format is selected, sound-juicer crashes just after starting the ripping process.

Version-Release number of selected component (if applicable):
sound-juicer-3.24.0-1.mga6.src.rpm

How reproducible:
Always. I also had the same problem on mageia 5.
These are the flac libraries that are installed on my system:
libflac++6-1.3.2-1.mga6
gstreamer1.0-flac-1.10.4-2.mga6
libflac8-1.3.2-1.mga6

Steps to Reproduce:
1. Go to preferences dialog
2. Select FLAC as output format
3. Rip a CD

sound-juicer the crashes.

I saw no related message in the journald log.
Comment 1 Luis Menina 2017-05-18 23:44:36 CEST
Created attachment 9322 [details]
traces of 'sound-juicer --gst-debug-level=5'

gstreamer traces (level 5).
Comment 2 Luis Menina 2017-05-18 23:46:14 CEST
Comment on attachment 9322 [details]
traces of 'sound-juicer --gst-debug-level=5'

Fix mime type

Attachment 9322 mime type: text/plain => application/zip

Comment 3 Luis Menina 2017-05-18 23:55:23 CEST
Stack trace:
#33 0xb70a24a5 in start_thread (arg=0xb37deb40) at pthread_create.c:334
334	      THREAD_SETMEM (pd, result, CALL_THREAD_FCT (pd));
(gdb) 
#32 0xb7d1d3ca in g_thread_proxy (data=0xb410ce30) at gthread.c:784
784	  thread->retval = thread->thread.func (thread->thread.data);
(gdb) 
#31 0xb7d1dde4 in g_thread_pool_thread_proxy (data=0x80a2360) at gthreadpool.c:307
307	              pool->pool.func (task, pool->pool.user_data);
(gdb) 
#30 0xb7ed2b77 in default_func () from /lib/libgstreamer-1.0.so.0
(gdb) 
#29 0xb7ed1bfa in gst_task_func () from /lib/libgstreamer-1.0.so.0
(gdb) 
#28 0xb271bf85 in gst_queue_loop () from /usr/lib/gstreamer-1.0/libgstcoreelements.so
(gdb) 
#27 0xb7ea626c in gst_pad_push () from /lib/libgstreamer-1.0.so.0
(gdb) 
#26 0xb7e9e055 in gst_pad_push_data () from /lib/libgstreamer-1.0.so.0
(gdb) 
#25 0xb2766ca9 in gst_stream_splitter_chain () from /usr/lib/gstreamer-1.0/libgstencodebin.so
(gdb) 
#24 0xb7ea626c in gst_pad_push () from /lib/libgstreamer-1.0.so.0
(gdb) 
#23 0xb7e9e055 in gst_pad_push_data () from /lib/libgstreamer-1.0.so.0
(gdb) 
#22 0xb26d2f0c in gst_audio_rate_chain () from /usr/lib/gstreamer-1.0/libgstaudiorate.so
(gdb) 
#21 0xb7ea626c in gst_pad_push () from /lib/libgstreamer-1.0.so.0
(gdb) 
#20 0xb7e9e055 in gst_pad_push_data () from /lib/libgstreamer-1.0.so.0
(gdb) 
#19 0xb6d48f59 in gst_base_transform_chain () from /lib/libgstbase-1.0.so.0
(gdb) 
#18 0xb7ea626c in gst_pad_push () from /lib/libgstreamer-1.0.so.0
(gdb) 
#17 0xb7e9e055 in gst_pad_push_data () from /lib/libgstreamer-1.0.so.0
(gdb) 
#16 0xb6d48f59 in gst_base_transform_chain () from /lib/libgstbase-1.0.so.0
(gdb) 
#15 0xb7ea626c in gst_pad_push () from /lib/libgstreamer-1.0.so.0
(gdb) 
#14 0xb7e9e055 in gst_pad_push_data () from /lib/libgstreamer-1.0.so.0
(gdb) 
#13 0xb6d48f59 in gst_base_transform_chain () from /lib/libgstbase-1.0.so.0
(gdb) 
#12 0xb7ea626c in gst_pad_push () from /lib/libgstreamer-1.0.so.0
(gdb) 
#11 0xb7e9e055 in gst_pad_push_data () from /lib/libgstreamer-1.0.so.0
(gdb) 
#10 0xb6d48f59 in gst_base_transform_chain () from /lib/libgstbase-1.0.so.0
(gdb) 
#9  0xb7ea626c in gst_pad_push () from /lib/libgstreamer-1.0.so.0
(gdb) 
#8  0xb7e9e055 in gst_pad_push_data () from /lib/libgstreamer-1.0.so.0
(gdb) 
#7  0xb6dfa635 in gst_audio_encoder_chain () from /lib/libgstaudio-1.0.so.0
(gdb) 
#6  0xb6df941a in gst_audio_encoder_push_buffers () from /lib/libgstaudio-1.0.so.0
(gdb) 
#5  0xb26e3e1e in gst_flac_enc_handle_frame () from /usr/lib/gstreamer-1.0/libgstflac.so
(gdb) 
#4  0xb26a6eb0 in FLAC__stream_encoder_process_interleaved () from /lib/libFLAC.so.8
(gdb) 
#3  0xb269f6c9 in process_frame_ () from /lib/libFLAC.so.8
(gdb) 
#2  0xb269bbea in process_subframe_.isra () from /lib/libFLAC.so.8
(gdb) 
#1  0xb269906a in find_best_partition_order_.isra () from /lib/libFLAC.so.8
(gdb) 
#0  0xb2698c30 in precompute_partition_info_sums_ () from /lib/libFLAC.so.8
(gdb) 
Bottom (innermost) frame selected; you cannot go down.
Comment 4 Luis Menina 2017-05-18 23:56:59 CEST
Should I open a bug against libflac8-1.3.2-1.mga6?
Rémi Verschelde 2017-05-19 07:11:27 CEST

Assignee: bugsquad => gnome

Comment 5 Luis Menina 2018-10-31 11:05:56 CET
Running this from the command line showed me an "illegal instruction" error. In the end, this is because libflac is compiled with SSE2 support and I'm running an AMD Athlon XP 3000+ which doesn't support the SSE2 instruction.

Where can one find the architecture compilation options used to build the whole distro?