[Bug 768518] New: crash in resampler_basic_direct_single

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Jul 7 13:08:09 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=768518

            Bug ID: 768518
           Summary: crash in resampler_basic_direct_single
    Classification: Platform
           Product: GStreamer
           Version: 1.8.2
                OS: Linux
            Status: NEW
          Severity: critical
          Priority: Normal
         Component: gstreamer (core)
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: marcin at saepia.net
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

My apps are crashing with the following stack trace.

My first guess is that started to happen after upgrading from 1.8.1 to 1.8.2.

More details soon.

(gdb) thr a a bt

Thread 7 (Thread 0x7fc43b7fe700 (LWP 21732)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007fc44efa98cf in g_cond_wait (cond=cond at entry=0x150a300,
mutex=mutex at entry=0x150a2f0) at gthread-posix.c:1397
#2  0x00007fc4490bc5ed in gst_queue_loop (pad=<optimized out>) at
gstqueue.c:1497
#3  0x00007fc44e6c07c1 in gst_task_func (task=0x13f8170) at gsttask.c:332
#4  0x00007fc44ef8c27e in g_thread_pool_thread_proxy (data=<optimized out>) at
gthreadpool.c:307
#5  0x00007fc44ef8b8e5 in g_thread_proxy (data=0x1648990) at gthread.c:778
#6  0x00007fc44ed056fa in start_thread (arg=0x7fc43b7fe700) at
pthread_create.c:333
#7  0x00007fc44ea3bb5d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7fc44fefe700 (LWP 21727)):
#0  0x00007fc44ea2fe8d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fc44ef651dc in g_main_context_poll (priority=2147483647, n_fds=2,
fds=0x11d1090, timeout=<optimized out>, context=0x11cb5c0) at gmain.c:4264
#2  g_main_context_iterate (context=0x11cb5c0, block=block at entry=1,
dispatch=dispatch at entry=1, self=<optimized out>) at gmain.c:3964
#3  0x00007fc44ef65562 in g_main_loop_run (loop=0x11cb680) at gmain.c:4163
#4  0x00007fc44f849969 in radio_kit_common_app_template_base_start_real
(self=self at entry=0x11cd0b0) at app/template/base.c:682
#5  0x00007fc44f849f79 in radio_kit_common_app_template_base_start
(self=self at entry=0x11cd0b0) at app/template/base.c:470
#6  0x0000000000403128 in radio_kit_plumber_media_input_file_rk_vault_main
(argv=0x7fffd9004338, argv_length1=1) at main.c:38
#7  0x00007fc44e955830 in __libc_start_main (main=0x402ff0 <main>, argc=1,
argv=0x7fffd9004338, init=<optimized out>, fini=<optimized out>,
rtld_fini=<optimized out>, stack_end=0x7fffd9004328) at ../csu/libc-start.c:291
#8  0x0000000000403029 in _start ()

Thread 5 (Thread 0x7fc44c051700 (LWP 21728)):
#0  0x00007fc44ea2fe8d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fc44ef651dc in g_main_context_poll (priority=2147483647, n_fds=1,
fds=0x7fc4440008c0, timeout=<optimized out>, context=0x143bfd0) at gmain.c:4264
#2  g_main_context_iterate (context=context at entry=0x143bfd0,
block=block at entry=1, dispatch=dispatch at entry=1, self=<optimized out>) at
gmain.c:3964
#3  0x00007fc44ef652ec in g_main_context_iteration (context=0x143bfd0,
may_block=may_block at entry=1) at gmain.c:4030
#4  0x00007fc44ef65329 in glib_worker_main (data=<optimized out>) at
gmain.c:5801
#5  0x00007fc44ef8b8e5 in g_thread_proxy (data=0x128f590) at gthread.c:778
#6  0x00007fc44ed056fa in start_thread (arg=0x7fc44c051700) at
pthread_create.c:333
#7  0x00007fc44ea3bb5d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7fc43bfff700 (LWP 21731)):
#0  0x00007fc44ea2ff51 in __GI_ppoll (fds=0x7fc4340008c0, nfds=2,
timeout=<optimized out>, timeout at entry=0x0, sigmask=sigmask at entry=0x0) at
../sysdeps/unix/sysv/linux/ppoll.c:50
#1  0x00007fc44e6a6b58 in ppoll (__ss=0x0, __timeout=0x0, __nfds=<optimized
out>, __fds=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/poll2.h:77
#2  gst_poll_wait (set=0x1522190, timeout=18446744073709551615) at
gstpoll.c:1248
#3  0x00007fc448c8f698 in pollthread_func (data=0x16481f0) at gstshmsink.c:784
#4  0x00007fc44ef8b8e5 in g_thread_proxy (data=0x16489e0) at gthread.c:778
#5  0x00007fc44ed056fa in start_thread (arg=0x7fc43bfff700) at
pthread_create.c:333
#6  0x00007fc44ea3bb5d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7fc44b04f700 (LWP 21730)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007fc44efa99ea in g_cond_wait_until (cond=cond at entry=0x143bee8,
mutex=mutex at entry=0x143bee0, end_time=end_time at entry=64458956269) at
gthread-posix.c:1444
#2  0x00007fc44ef39aa9 in g_async_queue_pop_intern_unlocked (queue=0x143bee0,
wait=wait at entry=1, end_time=64458956269) at gasyncqueue.c:422
#3  0x00007fc44ef3a108 in g_async_queue_timeout_pop_unlocked (queue=<optimized
out>, timeout=timeout at entry=500000) at gasyncqueue.c:570
#4  0x00007fc44ef8c256 in g_thread_pool_wait_for_new_task (pool=0x143be80) at
gthreadpool.c:262
#5  g_thread_pool_thread_proxy (data=<optimized out>) at gthreadpool.c:296
#6  0x00007fc44ef8b8e5 in g_thread_proxy (data=0x128f540) at gthread.c:778
#7  0x00007fc44ed056fa in start_thread (arg=0x7fc44b04f700) at
pthread_create.c:333
#8  0x00007fc44ea3bb5d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7fc44b850700 (LWP 21729)):
#0  0x00007fc44ea2fe8d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fc44ef651dc in g_main_context_poll (priority=2147483647, n_fds=2,
fds=0x7fc43c0010c0, timeout=<optimized out>, context=0x12fa9d0) at gmain.c:4264
#2  g_main_context_iterate (context=0x12fa9d0, block=block at entry=1,
dispatch=dispatch at entry=1, self=<optimized out>) at gmain.c:3964
#3  0x00007fc44ef65562 in g_main_loop_run (loop=0x11e0880) at gmain.c:4163
#4  0x00007fc44f586276 in gdbus_shared_thread_func (user_data=0x12fa9a0) at
gdbusprivate.c:246
#5  0x00007fc44ef8b8e5 in g_thread_proxy (data=0x128f5e0) at gthread.c:778
#6  0x00007fc44ed056fa in start_thread (arg=0x7fc44b850700) at
pthread_create.c:333
#7  0x00007fc44ea3bb5d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fc43affd700 (LWP 21733)):
#0  resampler_basic_direct_single (st=0x7fc430050c00, channel_index=0,
in=0x7fc43004f820, in_len=<optimized out>, out=<optimized out>,
out_len=0x7fc43affbb24) at resample.c:507
#1  0x00007fc4496ed8b6 in speex_resampler_process_native
(st=st at entry=0x7fc430050c00, channel_index=channel_index at entry=0,
in_len=in_len at entry=0x7fc43affbb20, out=<optimized out>,
out_len=out_len at entry=0x7fc43affbb24) at resample.c:1118
#2  0x00007fc4496ef0ef in resample_float_resampler_process_float
(st=st at entry=0x7fc430050c00, channel_index=channel_index at entry=0,
in=in at entry=0x7fc430054090, in_len=in_len at entry=0x7fc43affbbe0,
out=out at entry=0x7fc44fdfd000, out_len=out_len at entry=0x7fc43affbbe4) at
resample.c:1197
#3  0x00007fc4496ef61c in resample_float_resampler_process_interleaved_float
(st=0x7fc430050c00, in=0x7fc430054090, in_len=0x7fc43affbbe0,
out=0x7fc44fdfd000, out_len=0x7fc43affbbe4) at resample.c:1315
#4  0x00007fc4496eb8da in gst_audio_resample_process (outbuf=0x7fc430014120,
inbuf=0x7fc430014340, resample=0x137e2c0) at gstaudioresample.c:1110
#5  gst_audio_resample_transform (base=0x137e2c0, inbuf=0x7fc430014340,
outbuf=0x7fc430014120) at gstaudioresample.c:1240
#6  0x00007fc449dcce71 in default_generate_output (trans=0x137e2c0,
outbuf=0x7fc43affbd70) at gstbasetransform.c:2180
#7  0x00007fc449dcca64 in gst_base_transform_chain (pad=<optimized out>,
parent=0x137e2c0, buffer=<optimized out>) at gstbasetransform.c:2333
#8  0x00007fc44e6982be in gst_pad_chain_data_unchecked (data=0x7fc430014340,
type=4112, pad=0x149c4b0) at gstpad.c:4192
#9  gst_pad_push_data (pad=pad at entry=0x149c270, type=type at entry=4112,
data=<optimized out>, data at entry=0x7fc430014340) at gstpad.c:4429
#10 0x00007fc44e69d2d3 in gst_pad_push (pad=0x149c270, buffer=0x7fc430014340)
at gstpad.c:4548
#11 0x00007fc449dcca41 in gst_base_transform_chain (pad=<optimized out>,
parent=0x1668300, buffer=<optimized out>) at gstbasetransform.c:2369
#12 0x00007fc44e6982be in gst_pad_chain_data_unchecked (data=0x7fc430014560,
type=4112, pad=0x149c030) at gstpad.c:4192
#13 gst_pad_push_data (pad=pad at entry=0x15aa180, type=type at entry=4112,
data=<optimized out>, data at entry=0x7fc430014560) at gstpad.c:4429
#14 0x00007fc44e69d2d3 in gst_pad_push (pad=pad at entry=0x15aa180,
buffer=buffer at entry=0x7fc430014560) at gstpad.c:4548
#15 0x00007fc44e68bf43 in gst_proxy_pad_chain_default (pad=0x16a8060,
parent=<optimized out>, buffer=0x7fc430014560) at gstghostpad.c:126
#16 0x00007fc44e6982be in gst_pad_chain_data_unchecked (data=0x7fc430014560,
type=4112, pad=0x16a8060) at gstpad.c:4192
#17 gst_pad_push_data (pad=pad at entry=0x7fc43002e0c0, type=type at entry=4112,
data=<optimized out>, data at entry=0x7fc430014560) at gstpad.c:4429
#18 0x00007fc44e69d2d3 in gst_pad_push (pad=pad at entry=0x7fc43002e0c0,
buffer=buffer at entry=0x7fc430014560) at gstpad.c:4548
#19 0x00007fc44e68bf43 in gst_proxy_pad_chain_default (pad=0x15aaac0,
parent=<optimized out>, buffer=0x7fc430014560) at gstghostpad.c:126
#20 0x00007fc44e6982be in gst_pad_chain_data_unchecked (data=0x7fc430014560,
type=4112, pad=0x15aaac0) at gstpad.c:4192
#21 gst_pad_push_data (pad=pad at entry=0x1520b90, type=type at entry=4112,
data=<optimized out>, data at entry=0x7fc430014560) at gstpad.c:4429
#22 0x00007fc44e69d2d3 in gst_pad_push (pad=0x1520b90, buffer=0x7fc430014560)
at gstpad.c:4548
#23 0x00007fc44a0049ad in gst_audio_decoder_push_forward
(dec=dec at entry=0x7fc430045180, buf=0x7fc430014560) at gstaudiodecoder.c:974
#24 0x00007fc44a004b56 in gst_audio_decoder_output
(dec=dec at entry=0x7fc430045180, buf=<optimized out>, buf at entry=0x7fc430014560)
at gstaudiodecoder.c:1050
#25 0x00007fc44a008c94 in gst_audio_decoder_finish_frame
(dec=dec at entry=0x7fc430045180, buf=buf at entry=0x7fc430014560, frames=<optimized
out>, frames at entry=1) at gstaudiodecoder.c:1392
#26 0x00007fc43a3e0ea2 in gst_mad_handle_frame (dec=0x7fc430045180,
buffer=<optimized out>) at gstmad.c:489
#27 0x00007fc44a006763 in gst_audio_decoder_push_buffers
(dec=dec at entry=0x7fc430045180, force=force at entry=0) at gstaudiodecoder.c:1550
#28 0x00007fc44a0069a1 in gst_audio_decoder_chain_forward
(dec=dec at entry=0x7fc430045180, buffer=0x0, buffer at entry=0x7fc430014450) at
gstaudiodecoder.c:1664
#29 0x00007fc44a007013 in gst_audio_decoder_chain (pad=<optimized out>,
parent=0x7fc430045180, buffer=0x7fc430014450) at gstaudiodecoder.c:1922
#30 0x00007fc44e6982be in gst_pad_chain_data_unchecked (data=0x7fc430014450,
type=4112, pad=0x1520950) at gstpad.c:4192
#31 gst_pad_push_data (pad=pad at entry=0x1520710, type=type at entry=4112,
data=<optimized out>, data at entry=0x7fc430014450) at gstpad.c:4429
#32 0x00007fc44e69d2d3 in gst_pad_push (pad=0x1520710,
buffer=buffer at entry=0x7fc430014450) at gstpad.c:4548
#33 0x00007fc449dbd857 in gst_base_parse_push_frame
(parse=parse at entry=0x7fc43003f960, frame=frame at entry=0x7fc430041450) at
gstbaseparse.c:2532
#34 0x00007fc449dbfb77 in gst_base_parse_handle_and_push_frame
(frame=0x7fc430041450, parse=0x7fc43003f960) at gstbaseparse.c:2331
#35 gst_base_parse_finish_frame (parse=parse at entry=0x7fc43003f960,
frame=frame at entry=0x7fc430041450, size=size at entry=209) at gstbaseparse.c:2670
#36 0x00007fc43a5f36ae in gst_mpeg_audio_parse_handle_frame
(parse=0x7fc43003f960, frame=0x7fc430041450, skipsize=<optimized out>) at
gstmpegaudioparse.c:771
#37 0x00007fc449dbbd47 in gst_base_parse_handle_buffer
(parse=parse at entry=0x7fc43003f960, buffer=<optimized out>,
skip=skip at entry=0x7fc43affc978, flushed=flushed at entry=0x7fc43affc97c) at
gstbaseparse.c:2145
#38 0x00007fc449dbdeb0 in gst_base_parse_chain (pad=<optimized out>,
parent=0x7fc43003f960, buffer=<optimized out>) at gstbaseparse.c:3209
#39 0x00007fc44e6982be in gst_pad_chain_data_unchecked (data=0x7fc430014010,
type=4112, pad=0x15204d0) at gstpad.c:4192
#40 gst_pad_push_data (pad=pad at entry=0x1520290, type=type at entry=4112,
data=<optimized out>, data at entry=0x7fc430014010) at gstpad.c:4429
#41 0x00007fc44e69d2d3 in gst_pad_push (pad=0x1520290,
buffer=buffer at entry=0x7fc430014010) at gstpad.c:4548
#42 0x00007fc4490c5ee2 in stop_typefinding (typefind=typefind at entry=0x156c060)
at gsttypefindelement.c:641
#43 0x00007fc4490c6101 in gst_type_find_element_chain_do_typefinding
(typefind=typefind at entry=0x156c060, check_avail=check_avail at entry=1,
at_eos=at_eos at entry=0) at gsttypefindelement.c:971
#44 0x00007fc4490c709e in gst_type_find_element_chain (pad=<optimized out>,
parent=0x156c060, buffer=0x7fc430014010) at gsttypefindelement.c:903
#45 0x00007fc44e6982be in gst_pad_chain_data_unchecked (data=0x7fc430014010,
type=4112, pad=0x1520050) at gstpad.c:4192
#46 gst_pad_push_data (pad=pad at entry=0x15aa3d0, type=type at entry=4112,
data=<optimized out>, data at entry=0x7fc430014010) at gstpad.c:4429
#47 0x00007fc44e69d2d3 in gst_pad_push (pad=pad at entry=0x15aa3d0,
buffer=buffer at entry=0x7fc430014010) at gstpad.c:4548
#48 0x00007fc44e68bf43 in gst_proxy_pad_chain_default (pad=0x16a82d0,
parent=<optimized out>, buffer=0x7fc430014010) at gstghostpad.c:126
#49 0x00007fc44e6982be in gst_pad_chain_data_unchecked (data=0x7fc430014010,
type=4112, pad=0x16a82d0) at gstpad.c:4192
#50 gst_pad_push_data (pad=pad at entry=0x149dd70, type=type at entry=4112,
data=<optimized out>, data at entry=0x7fc430014010) at gstpad.c:4429
#51 0x00007fc44e69d2d3 in gst_pad_push (pad=pad at entry=0x149dd70,
buffer=0x7fc430014010) at gstpad.c:4548
#52 0x00007fc449dc9e1f in gst_base_src_loop (pad=0x149dd70) at
gstbasesrc.c:2850
#53 0x00007fc44e6c07c1 in gst_task_func (task=0x13f8290) at gsttask.c:332
#54 0x00007fc44ef8c27e in g_thread_pool_thread_proxy (data=<optimized out>) at
gthreadpool.c:307
#55 0x00007fc44ef8b8e5 in g_thread_proxy (data=0x1648850) at gthread.c:778
#56 0x00007fc44ed056fa in start_thread (arg=0x7fc43affd700) at
pthread_create.c:333
#57 0x00007fc44ea3bb5d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list