Bug 331586

Summary: Unable to play mp3 files
Product: [Unmaintained] phonon-backend-gstreamer Reporter: Mark Anderson <ourmark>
Component: generalAssignee: Daniel Vrátil <dvratil>
Status: RESOLVED UPSTREAM    
Severity: crash CC: frank78ac, myriam, romain.perier, sitter, tdfischer
Priority: NOR Keywords: drkonqi
Version: 4.7.1   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Mark Anderson 2014-02-27 21:31:18 UTC
Application: dolphin (4.12.2)
KDE Platform Version: 4.12.2
Qt Version: 4.8.6
Operating System: Linux 3.13.0-12-generic x86_64
Distribution: Ubuntu Trusty Tahr (development branch)

-- Information about the crash:
- What I was doing when the application crashed:

Previewing mp3 file in dolphin

clementine and amarok also crash - phonon related?

The crash can be reproduced every time.

-- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fa7641167c0 (LWP 4586))]

Thread 4 (Thread 0x7fa7465c4700 (LWP 4590)):
#0  0x00007fa7639c6ddd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fa75b3ea004 in g_main_context_poll (priority=2147483647, n_fds=1, fds=0x7fa7380029b0, timeout=-1, context=0x7fa7380009a0) at /build/buildd/glib2.0-2.39.90/./glib/gmain.c:4006
#2  g_main_context_iterate (context=context@entry=0x7fa7380009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.39.90/./glib/gmain.c:3707
#3  0x00007fa75b3ea10c in g_main_context_iteration (context=0x7fa7380009a0, may_block=1) at /build/buildd/glib2.0-2.39.90/./glib/gmain.c:3773
#4  0x00007fa75f872836 in QEventDispatcherGlib::processEvents (this=0x7fa7380008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#5  0x00007fa75f84409f in QEventLoop::processEvents (this=this@entry=0x7fa7465c3de0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fa75f844395 in QEventLoop::exec (this=this@entry=0x7fa7465c3de0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007fa75f740c4f in QThread::exec (this=this@entry=0x1632a40) at thread/qthread.cpp:537
#8  0x00007fa75f825813 in QInotifyFileSystemWatcherEngine::run (this=0x1632a40) at io/qfilesystemwatcher_inotify.cpp:265
#9  0x00007fa75f74331f in QThreadPrivate::start (arg=0x1632a40) at thread/qthread_unix.cpp:349
#10 0x00007fa75b8c4182 in start_thread (arg=0x7fa7465c4700) at pthread_create.c:312
#11 0x00007fa7639d412d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7fa745d0d700 (LWP 4591)):
#0  0x00007fa7639c6ddd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fa75b3ea004 in g_main_context_poll (priority=2147483647, n_fds=1, fds=0x7fa73c0029c0, timeout=-1, context=0x7fa73c0009a0) at /build/buildd/glib2.0-2.39.90/./glib/gmain.c:4006
#2  g_main_context_iterate (context=context@entry=0x7fa73c0009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.39.90/./glib/gmain.c:3707
#3  0x00007fa75b3ea10c in g_main_context_iteration (context=0x7fa73c0009a0, may_block=1) at /build/buildd/glib2.0-2.39.90/./glib/gmain.c:3773
#4  0x00007fa75f872836 in QEventDispatcherGlib::processEvents (this=0x7fa73c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#5  0x00007fa75f84409f in QEventLoop::processEvents (this=this@entry=0x7fa745d0ce20, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fa75f844395 in QEventLoop::exec (this=this@entry=0x7fa745d0ce20, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007fa75f740c4f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:537
#8  0x00007fa75f74331f in QThreadPrivate::start (arg=0x1924110) at thread/qthread_unix.cpp:349
#9  0x00007fa75b8c4182 in start_thread (arg=0x7fa745d0d700) at pthread_create.c:312
#10 0x00007fa7639d412d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7fa744e7a700 (LWP 4592)):
#0  __GI___pthread_mutex_unlock (mutex=0x7fa730000a60) at pthread_mutex_unlock.c:309
#1  0x00007fa75b42b121 in g_mutex_unlock (mutex=mutex@entry=0x7fa7300009a0) at /build/buildd/glib2.0-2.39.90/./glib/gthread-posix.c:227
#2  0x00007fa75b3e9ff9 in g_main_context_poll (priority=2147483647, n_fds=1, fds=0x7fa7300029b0, timeout=-1, context=0x7fa7300009a0) at /build/buildd/glib2.0-2.39.90/./glib/gmain.c:4005
#3  g_main_context_iterate (context=context@entry=0x7fa7300009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.39.90/./glib/gmain.c:3707
#4  0x00007fa75b3ea10c in g_main_context_iteration (context=0x7fa7300009a0, may_block=1) at /build/buildd/glib2.0-2.39.90/./glib/gmain.c:3773
#5  0x00007fa75f872836 in QEventDispatcherGlib::processEvents (this=0x7fa7300008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#6  0x00007fa75f84409f in QEventLoop::processEvents (this=this@entry=0x7fa744e79de0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fa75f844395 in QEventLoop::exec (this=this@entry=0x7fa744e79de0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007fa75f740c4f in QThread::exec (this=this@entry=0x194cea0) at thread/qthread.cpp:537
#9  0x00007fa75f825813 in QInotifyFileSystemWatcherEngine::run (this=0x194cea0) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007fa75f74331f in QThreadPrivate::start (arg=0x194cea0) at thread/qthread_unix.cpp:349
#11 0x00007fa75b8c4182 in start_thread (arg=0x7fa744e7a700) at pthread_create.c:312
#12 0x00007fa7639d412d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7fa7641167c0 (LWP 4586)):
[KCrash Handler]
#6  _dl_map_object_deps (map=map@entry=0x1e70110, preloads=preloads@entry=0x0, npreloads=npreloads@entry=0, trace_mode=trace_mode@entry=0, open_mode=open_mode@entry=-2147483648) at dl-deps.c:231
#7  0x00007fa763f57aab in dl_open_worker (a=a@entry=0x7ffffd320328) at dl-open.c:272
#8  0x00007fa763f52ff4 in _dl_catch_error (objname=objname@entry=0x7ffffd320318, errstring=errstring@entry=0x7ffffd320320, mallocedp=mallocedp@entry=0x7ffffd320310, operate=operate@entry=0x7fa763f579a0 <dl_open_worker>, args=args@entry=0x7ffffd320328) at dl-error.c:187
#9  0x00007fa763f573bb in _dl_open (file=0x2396230 "/usr/lib/x86_64-linux-gnu/gstreamer-0.10/libgstaudioconvert.so", mode=-2147483646, caller_dlopen=<optimized out>, nsid=-2, argc=5, argv=0x7ffffd321ac8, env=0x7ffffd321af8) at dl-open.c:661
#10 0x00007fa75a02b02b in dlopen_doit (a=a@entry=0x7ffffd320540) at dlopen.c:66
#11 0x00007fa763f52ff4 in _dl_catch_error (objname=0x13c4630, errstring=0x13c4638, mallocedp=0x13c4628, operate=0x7fa75a02afd0 <dlopen_doit>, args=0x7ffffd320540) at dl-error.c:187
#12 0x00007fa75a02b62d in _dlerror_run (operate=operate@entry=0x7fa75a02afd0 <dlopen_doit>, args=args@entry=0x7ffffd320540) at dlerror.c:163
#13 0x00007fa75a02b0c1 in __dlopen (file=file@entry=0x2396230 "/usr/lib/x86_64-linux-gnu/gstreamer-0.10/libgstaudioconvert.so", mode=mode@entry=2) at dlopen.c:87
#14 0x00007fa751978861 in _g_module_open (bind_local=1, bind_lazy=0, file_name=<optimized out>) at /build/buildd/glib2.0-2.39.90/./gmodule/gmodule-dl.c:97
#15 g_module_open (file_name=file_name@entry=0x2305ff0 "/usr/lib/x86_64-linux-gnu/gstreamer-0.10/libgstaudioconvert.so", flags=G_MODULE_BIND_LOCAL) at /build/buildd/glib2.0-2.39.90/./gmodule/gmodule.c:573
#16 0x00007fa753235df5 in gst_plugin_load_file (filename=0x2305ff0 "/usr/lib/x86_64-linux-gnu/gstreamer-0.10/libgstaudioconvert.so", error=error@entry=0x7ffffd3207c8) at gstplugin.c:766
#17 0x00007fa753236ce1 in gst_plugin_load_by_name (name=0x230520f "audioconvert") at gstplugin.c:1297
#18 0x00007fa75323769e in gst_plugin_feature_load (feature=feature@entry=0x2302360) at gstpluginfeature.c:111
#19 0x00007fa753215c4c in gst_element_factory_create (factory=factory@entry=0x2302360, name=name@entry=0x0) at gstelementfactory.c:363
#20 0x00007fa753215fa1 in gst_element_factory_make (factoryname=0x7fa736c4247a "audioconvert", name=0x0) at gstelementfactory.c:457
#21 0x00007fa736c16e00 in Phonon::Gstreamer::AudioOutput::AudioOutput (this=0x20b5400, backend=<optimized out>, parent=0x20b7000) at ../../gstreamer/audiooutput.cpp:55
#22 0x00007fa736c1a943 in Phonon::Gstreamer::Backend::createObject (this=0x1d7f8f0, c=<optimized out>, parent=0x20b7000, args=...) at ../../gstreamer/backend.cpp:149
#23 0x00007fa7624bf3c7 in Phonon::Factory::createAudioOutput (parent=0x20b7000) at ../../phonon/factory.cpp:466
#24 0x00007fa7624b3419 in Phonon::AudioOutputPrivate::createBackendObject (this=0x218e9b0) at ../../phonon/audiooutput.cpp:130
#25 0x00007fa7624b0e56 in Phonon::AudioOutputPrivate::init (this=0x218e9b0, c=Phonon::MusicCategory) at ../../phonon/audiooutput.cpp:97
#26 0x00007fa763cf44a5 in PhononWidget::play (this=0x1a79b60) at ../../../dolphin/src/panels/information/phononwidget.cpp:188
#27 0x00007fa763cd97bd in PhononWidget::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at moc_phononwidget.cpp:58
#28 0x00007fa75f859868 in QMetaObject::activate (sender=sender@entry=0x215c770, m=m@entry=0x7fa760d0d290 <QAbstractButton::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7ffffd320c10) at kernel/qobject.cpp:3539
#29 0x00007fa7608860f2 in QAbstractButton::clicked (this=this@entry=0x215c770, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:219
#30 0x00007fa7605e99f3 in QAbstractButtonPrivate::emitClicked (this=this@entry=0x2189300) at widgets/qabstractbutton.cpp:548
#31 0x00007fa7605eab63 in QAbstractButtonPrivate::click (this=this@entry=0x2189300) at widgets/qabstractbutton.cpp:541
#32 0x00007fa7605eac4c in QAbstractButton::mouseReleaseEvent (this=0x215c770, e=0x7ffffd321110) at widgets/qabstractbutton.cpp:1123
#33 0x00007fa7606a1a6a in QToolButton::mouseReleaseEvent (this=<optimized out>, e=<optimized out>) at widgets/qtoolbutton.cpp:723
#34 0x00007fa76028750a in QWidget::event (this=0x215c770, event=0x7ffffd321110) at kernel/qwidget.cpp:8376
#35 0x00007fa760237e2c in QApplicationPrivate::notify_helper (this=this@entry=0x13d1920, receiver=receiver@entry=0x215c770, e=e@entry=0x7ffffd321110) at kernel/qapplication.cpp:4567
#36 0x00007fa76023e5dd in QApplication::notify (this=this@entry=0x7ffffd321990, receiver=receiver@entry=0x215c770, e=e@entry=0x7ffffd321110) at kernel/qapplication.cpp:4110
#37 0x00007fa760f44aaa in KApplication::notify (this=0x7ffffd321990, receiver=0x215c770, event=0x7ffffd321110) at ../../kdeui/kernel/kapplication.cpp:311
#38 0x00007fa75f8454cd in QCoreApplication::notifyInternal (this=0x7ffffd321990, receiver=receiver@entry=0x215c770, event=event@entry=0x7ffffd321110) at kernel/qcoreapplication.cpp:953
#39 0x00007fa76023dd93 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#40 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x215c770, event=event@entry=0x7ffffd321110, alienWidget=alienWidget@entry=0x215c770, nativeWidget=nativeWidget@entry=0x19e0950, buttonDown=buttonDown@entry=0x7fa760d1f578 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3178
#41 0x00007fa7602b29cb in QETWidget::translateMouseEvent (this=this@entry=0x19e0950, event=event@entry=0x7ffffd321490) at kernel/qapplication_x11.cpp:4634
#42 0x00007fa7602b2269 in QApplication::x11ProcessEvent (this=0x7ffffd321990, event=event@entry=0x7ffffd321490) at kernel/qapplication_x11.cpp:3627
#43 0x00007fa7602d9b02 in x11EventSourceDispatch (s=0x13cf9b0, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#44 0x00007fa75b3e9e24 in g_main_dispatch (context=0x13d1270) at /build/buildd/glib2.0-2.39.90/./glib/gmain.c:3066
#45 g_main_context_dispatch (context=context@entry=0x13d1270) at /build/buildd/glib2.0-2.39.90/./glib/gmain.c:3641
#46 0x00007fa75b3ea068 in g_main_context_iterate (context=context@entry=0x13d1270, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.39.90/./glib/gmain.c:3712
#47 0x00007fa75b3ea10c in g_main_context_iteration (context=0x13d1270, may_block=1) at /build/buildd/glib2.0-2.39.90/./glib/gmain.c:3773
#48 0x00007fa75f872815 in QEventDispatcherGlib::processEvents (this=0x139ea60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#49 0x00007fa7602d9bb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#50 0x00007fa75f84409f in QEventLoop::processEvents (this=this@entry=0x7ffffd321860, flags=...) at kernel/qeventloop.cpp:149
#51 0x00007fa75f844395 in QEventLoop::exec (this=this@entry=0x7ffffd321860, flags=...) at kernel/qeventloop.cpp:204
#52 0x00007fa75f849b69 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#53 0x00007fa76023637c in QApplication::exec () at kernel/qapplication.cpp:3828
#54 0x00007fa763cefee7 in kdemain (argc=5, argv=0x7ffffd321ac8) at ../../../dolphin/src/main.cpp:93
#55 0x00007fa7638faec5 in __libc_start_main (main=0x4006d0 <main(int, char**)>, argc=5, argv=0x7ffffd321ac8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffffd321ab8) at libc-start.c:285
#56 0x00000000004006fe in _start ()

Reported using DrKonqi
Comment 1 Frank Reininghaus 2014-02-28 07:30:11 UTC
Thanks for the bug report. Yes, this looks Phonon-related. Actually, gstreamer-related, so I'm not sure if the Phonon guys can do anything about it.
Comment 2 Myriam Schweingruber 2014-02-28 09:42:36 UTC
As a workaround, please use the phonon-backend-vlc instead. The current gstreamer backend still uses the old gstreamer 0.10.x libraries, implementation with the new gstreamer 1.x libraries is work in progress.
And as Frank said: nothing we can do about, the recommendation from the Phonon developers is not to use the current gstreamer backend anymore.
Comment 3 Mark Anderson 2014-03-01 06:04:11 UTC
Thanks, Frank and Myriam

phonon-backend-vlc works

Mark