Summary: | phonon gstreamer crashes when I play a ogg audio file [@ Phonon::Gstreamer::AudioDataOutput::processBuffer] | ||
---|---|---|---|
Product: | [Unmaintained] phonon-backend-gstreamer | Reporter: | Bernd Buschinski <b.buschinski> |
Component: | general | Assignee: | Harald Sitter <sitter> |
Status: | RESOLVED UNMAINTAINED | ||
Severity: | crash | CC: | 4ernov, eternaleye, grosser.meister.morti, jjunk11, jonathanrobertwatts, kde.bugtracking, kde, myriam, romain.perier, sakisdesonic, tdfischer, walter.von.entferndt, wikispam, yuriy.doctor |
Priority: | NOR | ||
Version: | 4.6.2 | ||
Target Milestone: | 4.7 | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Bernd Buschinski
2011-08-10 08:39:46 UTC
Fixed in commit 1a62654cdeeecc092da97e4e831ee44124c6d665 Thanks for the report *** Bug 301144 has been marked as a duplicate of this bug. *** First of all, thanks Myriam for pointing this bug out - not sure why I hadn't found it; I searched a bit before using drkonqi to submit the other one. As far as my phonon-gstreamer version (as asked on the other bug), I'm on git HEAD c794f0ec3f8a6f18b878b1a0c59f54df9805f292, so definitely after the fix in comment #1, which 'git log' confirms. Reopening based on comment #3 Git commit d8590884e55f00cc7d5b80c1090749acc4b62ddc by Harald Sitter. Committed on 05/06/2012 at 20:42. Pushed by sitter into branch 'master'. fix crash due to wrong placed return always returned after fist append. this in turn caused the pending buffer to be no longer a multiple of the channel count ultimately leading to a mismatch between per-channel buffer sizes (as catched by the assert introduced 2 commits ago) M +3 -3 gstreamer/audiodataoutput.cpp http://commits.kde.org/phonon-gstreamer/d8590884e55f00cc7d5b80c1090749acc4b62ddc Git commit 1b4f661fe4e648e60b20bbf7796b833d77b1cc94 by Harald Sitter. Committed on 05/06/2012 at 20:42. Pushed by sitter into branch '4.6'. fix crash due to wrong placed return always returned after fist append. this in turn caused the pending buffer to be no longer a multiple of the channel count ultimately leading to a mismatch between per-channel buffer sizes (as catched by the assert introduced 2 commits ago) M +3 -3 gstreamer/audiodataoutput.cpp http://commits.kde.org/phonon-gstreamer/1b4f661fe4e648e60b20bbf7796b833d77b1cc94 *** Bug 298192 has been marked as a duplicate of this bug. *** *** Bug 306665 has been marked as a duplicate of this bug. *** *** Bug 308650 has been marked as a duplicate of this bug. *** (In reply to comment #9) > *** Bug 308650 has been marked as a duplicate of this bug. *** Backtrace from this report, using 4.6.2: Thread 9 (Thread 0x7f1201658700 (LWP 13537)): [KCrash Handler] #6 0x00007f1269db2445 in __GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 #7 0x00007f1269db5bab in __GI_abort () at abort.c:91 #8 0x00007f126a6c25bb in qt_message_output (msgType=<optimized out>, buf=0x7f11f800fe18 "ASSERT failure in QVector<T>::operator[]: \"index out of range\", file /usr/include/qt4/QtCore/qvector.h, line 359") at global/qglobal.cpp:2284 #9 0x00007f126a6c296f in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=QtFatalMsg, msg=0x7f126a82ff98 "ASSERT failure in %s: \"%s\", file %s, line %d", ap=0x7f1201656d08) at global/qglobal.cpp:2330 #10 0x00007f126a6c2b14 in qFatal (msg=<optimized out>) at global/qglobal.cpp:2513 #11 0x00007f1250deb5b4 in operator[] (i=243, this=0x224a0a8) at /usr/include/qt4/QtCore/qvector.h:359 #12 Phonon::Gstreamer::AudioDataOutput::processBuffer (buffer=<optimized out>, gThat=0x224a020) at ../../gstreamer/audiodataoutput.cpp:162 #13 0x00007f12640feca2 in g_closure_invoke (closure=0x224ac00, return_value=0x0, n_param_values=3, param_values=0x7f1201657110, invocation_hint=<optimized out>) at /build/buildd/glib2.0-2.32.3/./gobject/gclosure.c:777 #14 0x00007f126410fd71 in signal_emit_unlocked_R (node=<optimized out>, detail=0, instance=<optimized out>, emission_return=0x0, instance_and_params=0x7f1201657110) at /build/buildd/glib2.0-2.32.3/./gobject/gsignal.c:3547 #15 0x00007f1264118099 in g_signal_emit_valist (instance=0x224a350, signal_id=<optimized out>, detail=0, var_args=<optimized out>) at /build/buildd/glib2.0-2.32.3/./gobject/gsignal.c:3296 #16 0x00007f1264118242 in g_signal_emit (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>) at /build/buildd/glib2.0-2.32.3/./gobject/gsignal.c:3352 #17 0x00007f12467c49cc in gst_fake_sink_render (bsink=0x224a350, buf=0x7f11fc0fa0a0) at gstfakesink.c:538 #18 0x00007f125c98d0cb in gst_base_sink_render_object (basesink=0x224a350, obj_type=<optimized out>, obj=0x7f11fc0fa0a0, pad=<optimized out>) at gstbasesink.c:3014 #19 0x00007f125c98f7af in gst_base_sink_queue_object_unlocked (basesink=0x224a350, obj_type=2 '\002', obj=0x7f11fc0fa0a0, prerollable=<optimized out>, pad=<optimized out>) at gstbasesink.c:3295 #20 0x00007f125c98fb17 in gst_base_sink_chain_unlocked (basesink=0x224a350, obj_type=2 '\002', obj=0x7f11fc0fa0a0, pad=<optimized out>) at gstbasesink.c:3677 #21 0x00007f125c98fed8 in gst_base_sink_chain_main (basesink=0x224a350, pad=0x2232ab0, obj_type=2 '\002', obj=0x7f11fc0fa0a0) at gstbasesink.c:3715 #22 0x00007f125c6e022a in gst_pad_chain_data_unchecked (cache=0x7f1201657a20, data=0x7f11fc0fa0a0, is_buffer=1, pad=0x2232ab0) at gstpad.c:4271 #23 gst_pad_push_data (pad=<optimized out>, is_buffer=1, data=0x7f11fc0fa0a0, cache=<optimized out>) at gstpad.c:4506 #24 0x00007f125c6e3ae6 in gst_pad_push (pad=0x224c530, buffer=0x7f11fc0fa0a0) at gstpad.c:4730 #25 0x00007f125c99d8c8 in gst_base_transform_chain (pad=<optimized out>, buffer=<optimized out>) at gstbasetransform.c:2658 #26 0x00007f125c6e022a in gst_pad_chain_data_unchecked (cache=0x7f1201657b50, data=0x7f11fc0fa0a0, is_buffer=1, pad=0x224c3b0) at gstpad.c:4271 #27 gst_pad_push_data (pad=<optimized out>, is_buffer=1, data=0x7f11fc0fa0a0, cache=<optimized out>) at gstpad.c:4506 #28 0x00007f125c6e3ae6 in gst_pad_push (pad=0x224c230, buffer=0x7f11fc0fa0a0) at gstpad.c:4730 #29 0x00007f125c99d8c8 in gst_base_transform_chain (pad=<optimized out>, buffer=<optimized out>) at gstbasetransform.c:2658 #30 0x00007f125c6e022a in gst_pad_chain_data_unchecked (cache=0x7f1201657c80, data=0x364a8b0, is_buffer=1, pad=0x224c0b0) at gstpad.c:4271 #31 gst_pad_push_data (pad=<optimized out>, is_buffer=1, data=0x364a8b0, cache=<optimized out>) at gstpad.c:4506 #32 0x00007f125c6e3ae6 in gst_pad_push (pad=0x2232db0, buffer=0x364a8b0) at gstpad.c:4730 #33 0x00007f12467dbdeb in gst_queue_push_one (queue=0x222a830) at gstqueue.c:1156 #34 gst_queue_loop (pad=<optimized out>) at gstqueue.c:1264 #35 0x00007f125c709dcc in gst_task_func (task=0x7f11fc0a1cc0) at gsttask.c:327 #36 0x00007f1264a83248 in g_thread_pool_thread_proxy (data=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gthreadpool.c:309 #37 0x00007f1264a829e5 in g_thread_proxy (data=0x7f11fc005ad0) at /build/buildd/glib2.0-2.32.3/./glib/gthread.c:801 #38 0x00007f126657ce9a in start_thread (arg=0x7f1201658700) at pthread_create.c:308 #39 0x00007f1269e6fdbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #40 0x0000000000000000 in ?? () I could use a test file. Also a debug log http://techbase.kde.org/Development/Tutorials/Debugging/Phonon *** Bug 308044 has been marked as a duplicate of this bug. *** Git commit acba452b6fba8356ee780058fae21bd7eb7674b4 by Harald Sitter. Committed on 03/12/2012 at 14:50. Pushed by sitter into branch '4.6'. backport ADO asserts for 4.6.3 to help with debugging M +5 -0 gstreamer/audiodataoutput.cpp http://commits.kde.org/phonon-gstreamer/acba452b6fba8356ee780058fae21bd7eb7674b4 Dear all who can reproduce this bug with the current phonon-backend-gtreamer 4.6.2, please have a look at the comments #11 and #12. We really need a test file and a debug log with all debugging parameters enabled, as described in http://techbase.kde.org/Development/Tutorials/Debugging/Phonon. Without that it is almost impossible to fix this bug. *** Bug 312277 has been marked as a duplicate of this bug. *** *** Bug 316678 has been marked as a duplicate of this bug. *** *** Bug 309629 has been marked as a duplicate of this bug. *** *** Bug 329424 has been marked as a duplicate of this bug. *** Closing for lack of feedback. If anybody can reproduce this with current phonon-backend-gstreamer 4.7.2 and gstreamer 1.0 libraires and plugins please open a new report, providing all the feedback needed as described in Comment #15 (In reply to Myriam Schweingruber from comment #20) > Closing for lack of feedback. If anybody can reproduce this with current > phonon-backend-gstreamer 4.7.2 and gstreamer 1.0 libraires and plugins > please open a new report, providing all the feedback needed as described in > Comment #15 Pardon, but git seems to indicate that GStreamer-1.x support has not yet been merged to phonon-gstreamer master (HEAD = 9dabadf41565a9bf35e5a7328dab8ea08b953506), much less backported into the 4.7 series (4.7 HEAD = 610de0ec5d6cbbf2a6a3ec937ed013ccf31eee66). I don't dispute the closing, but if anyone _does_ still experience this then reproducing with 4.7.2 and GStreamer-1.x might prove somewhat difficult. *** Bug 342035 has been marked as a duplicate of this bug. *** *** Bug 353739 has been marked as a duplicate of this bug. *** |