[Bug 759846] audio-converter rework causing segfault

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Dec 24 03:37:05 PST 2015


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

--- Comment #1 from Chris Bass <floobleflam at gmail.com> ---
Output from gdb for the gst-launch command above:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb5fe2b40 (LWP 18146)]
0xb57d21f7 in ?? ()
(gdb) bt
#0  0xb57d21f7 in ?? ()
#1  0x00000480 in ?? ()
(gdb) info threads
  Id   Target Id         Frame 
  5    Thread 0xb55ffb40 (LWP 18147) "audiotestsrc0:s" 0xb7fdab60 in
__kernel_vsyscall ()
  4    Thread 0xb4bffb40 (LWP 18148) "gmain" 0xb7fdab60 in __kernel_vsyscall ()
  3    Thread 0xb41ffb40 (LWP 18149) "audiosink-ringb" 0xb7fdab60 in
__kernel_vsyscall ()
* 2    Thread 0xb5fe2b40 (LWP 18146) "queue0:src" 0xb57d21f7 in ?? ()
  1    Thread 0xb7aaa940 (LWP 18142) "gst-launch-1.0" 0xb7fdab60 in
__kernel_vsyscall ()
(gdb) thread apply all bt

Thread 5 (Thread 0xb55ffb40 (LWP 18147)):
#0  0xb7fdab60 in __kernel_vsyscall ()
#1  0xb7ba47d7 in syscall () from /lib/libc.so.6
#2  0xb7d1f627 in g_cond_wait (cond=0x81b626c, mutex=0x81b6250) at
/var/tmp/portage/dev-libs/glib-2.44.1-r1/work/glib-2.44.1/glib/gthread-posix.c:1395
#3  0xb616fd7a in gst_queue_chain_buffer_or_list (pad=pad at entry=0x809f400,
parent=parent at entry=0x81b6070, obj=0xb4c1a8e0, is_list=0) at gstqueue.c:1203
#4  0xb61706d1 in gst_queue_chain (pad=0x809f400, parent=0x81b6070,
buffer=0xb4c1a8e0) at gstqueue.c:1301
#5  0xb7eed66c in gst_pad_chain_data_unchecked (pad=0x809f400, type=4112,
data=0xb4c1a8e0) at gstpad.c:4153
#6  0xb7eef3a8 in gst_pad_push_data (pad=pad at entry=0x809f2c0,
type=type at entry=4112, data=0xb4c1a8e0) at gstpad.c:4405
#7  0xb7ef6ec1 in gst_pad_push (pad=0x809f2c0, buffer=0xb4c1a8e0) at
gstpad.c:4524
#8  0xb787df30 in gst_audio_encoder_finish_frame (enc=0x81a9e00,
buf=0xb4c1a8e0, samples=<optimized out>) at gstaudioencoder.c:1001
#9  0xb63609d9 in gst_ffmpegaudenc_encode_audio
(ffmpegaudenc=ffmpegaudenc at entry=0x81a9e00, buffer=buffer at entry=0xb4c0d800,
have_data=0xb55fef88) at gstavaudenc.c:602
#10 0xb6360d67 in gst_ffmpegaudenc_handle_frame (encoder=0x81a9e00,
inbuf=0xb4c0d800) at gstavaudenc.c:669
#11 0xb787e68a in gst_audio_encoder_push_buffers (enc=enc at entry=0x81a9e00,
force=force at entry=0) at gstaudioencoder.c:1127
#12 0xb7880046 in gst_audio_encoder_chain (pad=0x809f180, parent=0x81a9e00,
buffer=<optimized out>) at gstaudioencoder.c:1346
#13 0xb7eed66c in gst_pad_chain_data_unchecked (pad=0x809f180, type=4112,
data=0xb4c14540) at gstpad.c:4153
#14 0xb7eef3a8 in gst_pad_push_data (pad=pad at entry=0x809f040,
type=type at entry=4112, data=0xb4c14540) at gstpad.c:4405
#15 0xb7ef6ec1 in gst_pad_push (pad=0x809f040, buffer=0xb4c14540) at
gstpad.c:4524
#16 0xb770531d in gst_base_src_loop (pad=0x809f040) at gstbasesrc.c:2845
#17 0xb7f24fb3 in gst_task_func (task=0x81be8d8) at gsttask.c:331
#18 0xb7f26041 in default_func (tdata=0x8061a18, pool=0x805b470) at
gsttaskpool.c:68
#19 0xb7cfddbb in g_thread_pool_thread_proxy (data=0x80638f0) at
/var/tmp/portage/dev-libs/glib-2.44.1-r1/work/glib-2.44.1/glib/gthreadpool.c:307
#20 0xb7cfd243 in g_thread_proxy (data=0x81d0a60) at
/var/tmp/portage/dev-libs/glib-2.44.1-r1/work/glib-2.44.1/glib/gthread.c:764
#21 0xb7c6240b in start_thread () from /lib/libpthread.so.0
#22 0xb7ba94ae in clone () from /lib/libc.so.6

Thread 4 (Thread 0xb4bffb40 (LWP 18148)):
#0  0xb7fdab60 in __kernel_vsyscall ()
#1  0xb7b9e18b in poll () from /lib/libc.so.6
#2  0xb7ce23eb in poll (__timeout=__timeout at entry=-1, __nfds=__nfds at entry=1,
__fds=__fds at entry=0xb4200468) at /usr/include/bits/poll2.h:46
#3  g_poll (fds=fds at entry=0xb4200468, nfds=nfds at entry=1,
timeout=timeout at entry=-1) at
/var/tmp/portage/dev-libs/glib-2.44.1-r1/work/glib-2.44.1/glib/gpoll.c:124
#4  0xb7cd1e3e in g_main_context_poll (priority=2147483647, n_fds=1,
fds=0xb4200468, timeout=-1, context=0x81e8bd0) at
/var/tmp/portage/dev-libs/glib-2.44.1-r1/work/glib-2.44.1/glib/gmain.c:4103
#5  g_main_context_iterate (context=context at entry=0x81e8bd0,
block=block at entry=1, dispatch=dispatch at entry=1, self=<optimized out>) at
/var/tmp/portage/dev-libs/glib-2.44.1-r1/work/glib-2.44.1/glib/gmain.c:3803
#6  0xb7cd1f9d in g_main_context_iteration (context=0x81e8bd0,
may_block=may_block at entry=1) at
/var/tmp/portage/dev-libs/glib-2.44.1-r1/work/glib-2.44.1/glib/gmain.c:3869
#7  0xb7cd2007 in glib_worker_main (data=0x0) at
/var/tmp/portage/dev-libs/glib-2.44.1-r1/work/glib-2.44.1/glib/gmain.c:5618
#8  0xb7cfd243 in g_thread_proxy (data=0x81d0a00) at
/var/tmp/portage/dev-libs/glib-2.44.1-r1/work/glib-2.44.1/glib/gthread.c:764
#9  0xb7c6240b in start_thread () from /lib/libpthread.so.0
#10 0xb7ba94ae in clone () from /lib/libc.so.6

Thread 3 (Thread 0xb41ffb40 (LWP 18149)):
#0  0xb7fdab60 in __kernel_vsyscall ()
#1  0xb7ba47d7 in syscall () from /lib/libc.so.6
#2  0xb7d1f627 in g_cond_wait (cond=0x81d231c, mutex=0x81d202c) at
/var/tmp/portage/dev-libs/glib-2.44.1-r1/work/glib-2.44.1/glib/gthread-posix.c:1395
#3  0xb788fb7f in audioringbuffer_thread_func (buf=0x81d2020) at
gstaudiosink.c:284
#4  0xb7cfd243 in g_thread_proxy (data=0xb5602830) at
/var/tmp/portage/dev-libs/glib-2.44.1-r1/work/glib-2.44.1/glib/gthread.c:764
#5  0xb7c6240b in start_thread () from /lib/libpthread.so.0
#6  0xb7ba94ae in clone () from /lib/libc.so.6

Thread 2 (Thread 0xb5fe2b40 (LWP 18146)):
#0  0xb57d21f7 in ?? ()
#1  0x00000480 in ?? ()

Thread 1 (Thread 0xb7aaa940 (LWP 18142)):
#0  0xb7fdab60 in __kernel_vsyscall ()
#1  0xb7b9e18b in poll () from /lib/libc.so.6
#2  0xb7ce23eb in poll (__timeout=__timeout at entry=-1, __nfds=__nfds at entry=2,
__fds=__fds at entry=0x81df508) at /usr/include/bits/poll2.h:46
#3  g_poll (fds=fds at entry=0x81df508, nfds=nfds at entry=2,
timeout=timeout at entry=-1) at
/var/tmp/portage/dev-libs/glib-2.44.1-r1/work/glib-2.44.1/glib/gpoll.c:124
#4  0xb7cd1e3e in g_main_context_poll (priority=2147483647, n_fds=2,
fds=0x81df508, timeout=-1, context=0x81e8600) at
/var/tmp/portage/dev-libs/glib-2.44.1-r1/work/glib-2.44.1/glib/gmain.c:4103
#5  g_main_context_iterate (context=0x81e8600, block=block at entry=1,
dispatch=dispatch at entry=1, self=<optimized out>) at
/var/tmp/portage/dev-libs/glib-2.44.1-r1/work/glib-2.44.1/glib/gmain.c:3803
#6  0xb7cd2283 in g_main_loop_run (loop=0x806cff0) at
/var/tmp/portage/dev-libs/glib-2.44.1-r1/work/glib-2.44.1/glib/gmain.c:4002
#7  0xb7ebbd41 in gst_bus_poll (bus=0x81cf0c0, events=GST_MESSAGE_ANY,
timeout=18446744073709551615) at gstbus.c:1153
#8  0x0804af8f in event_loop (pipeline=0x81ca0e8, blocking=blocking at entry=1,
do_progress=do_progress at entry=1, target_state=GST_STATE_PAUSED) at
gst-launch.c:532
#9  0x0804c629 in main (argc=14, argv=0xbfffef54) at gst-launch.c:1074

-- 
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