Bug 293951 - Crash starting JuK the first time [@ Phonon::Gstreamer::Pipeline::setState]
Summary: Crash starting JuK the first time [@ Phonon::Gstreamer::Pipeline::setState]
Status: RESOLVED FIXED
Alias: None
Product: phonon-backend-gstreamer
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 4.6.3
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: 4.7
Assignee: Harald Sitter
URL:
Keywords:
: 293955 293956 300742 307073 308912 309900 314443 314991 326075 327042 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-02-13 00:50 UTC by Hayden
Modified: 2014-08-11 14:43 UTC (History)
19 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hayden 2012-02-13 00:50:35 UTC
Application: juk (3.7)
KDE Platform Version: 4.7.4 (4.7.4)
Qt Version: 4.8.0
Operating System: Linux 3.2.5-3.fc16.x86_64 x86_64
Distribution: "Fedora release 16 (Verne)"

-- Information about the crash:
- What I was doing when the application crashed:
Starting Juk for the first time.

My FC16 system was originally just configured with the GNOME 3 desktop and I recently installed and started using KDE.

The crash can be reproduced every time.

-- Backtrace:
Application: JuK (juk), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[KCrash Handler]
#6  Phonon::Gstreamer::Pipeline::setState (this=0x0, state=GST_STATE_NULL) at /usr/src/debug/phonon-backend-gstreamer-4.5.90/gstreamer/pipeline.cpp:220
#7  0x00007ffb6307132c in qt_static_metacall (_a=0x1d495a0, _id=20, _o=0x1b083b0, _c=<optimized out>) at /usr/src/debug/phonon-backend-gstreamer-4.5.90/x86_64-redhat-linux-gnu/gstreamer/moc_mediaobject.cpp:133
#8  Phonon::Gstreamer::MediaObject::qt_static_metacall (_o=0x1b083b0, _c=<optimized out>, _id=20, _a=0x1d495a0) at /usr/src/debug/phonon-backend-gstreamer-4.5.90/x86_64-redhat-linux-gnu/gstreamer/moc_mediaobject.cpp:107
#9  0x00007ffb80114f16 in QObject::event (this=0x1b083b0, e=<optimized out>) at kernel/qobject.cpp:1195
#10 0x00007ffb7f278994 in notify_helper (e=0x1d49600, receiver=0x1b083b0, this=0x17c4d50) at kernel/qapplication.cpp:4550
#11 QApplicationPrivate::notify_helper (this=0x17c4d50, receiver=0x1b083b0, e=0x1d49600) at kernel/qapplication.cpp:4522
#12 0x00007ffb7f27d813 in QApplication::notify (this=0x7fffe55387e0, receiver=0x1b083b0, e=0x1d49600) at kernel/qapplication.cpp:4411
#13 0x00007ffb81058766 in KApplication::notify (this=0x7fffe55387e0, receiver=0x1b083b0, event=0x1d49600) at /usr/src/debug/kdelibs-4.7.4/kdeui/kernel/kapplication.cpp:311
#14 0x00007ffb800fc04c in QCoreApplication::notifyInternal (this=0x7fffe55387e0, receiver=0x1b083b0, event=0x1d49600) at kernel/qcoreapplication.cpp:876
#15 0x00007ffb800ffada in sendEvent (event=0x1d49600, receiver=0x1b083b0) at kernel/qcoreapplication.h:231
#16 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x177b4d0) at kernel/qcoreapplication.cpp:1500
#17 0x00007ffb8012a933 in sendPostedEvents () at kernel/qcoreapplication.h:236
#18 postEventSourceDispatch (s=0x17b84f0) at kernel/qeventdispatcher_glib.cpp:279
#19 0x00007ffb77444acd in g_main_dispatch (context=0x17b8400) at gmain.c:2441
#20 g_main_context_dispatch (context=0x17b8400) at gmain.c:3011
#21 0x00007ffb774452c8 in g_main_context_iterate (context=0x17b8400, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3089
#22 0x00007ffb7744549c in g_main_context_iteration (context=0x17b8400, may_block=1) at gmain.c:3152
#23 0x00007ffb8012ad5f in QEventDispatcherGlib::processEvents (this=0x177c990, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#24 0x00007ffb7f31b66e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:207
#25 0x00007ffb800fb182 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#26 0x00007ffb800fb3d7 in QEventLoop::exec (this=0x7fffe5537c50, flags=...) at kernel/qeventloop.cpp:204
#27 0x00007ffb7f73e876 in QDialog::exec (this=0x7fffe5537ce0) at dialogs/qdialog.cpp:552
#28 0x000000000044ea64 in ?? ()
#29 0x000000000049b9a7 in ?? ()
#30 0x000000000049d84e in ?? ()
#31 0x00007ffb80114f16 in QObject::event (this=0x1a5fee0, e=<optimized out>) at kernel/qobject.cpp:1195
#32 0x00007ffb7f278994 in notify_helper (e=0x1a8d940, receiver=0x1a5fee0, this=0x17c4d50) at kernel/qapplication.cpp:4550
#33 QApplicationPrivate::notify_helper (this=0x17c4d50, receiver=0x1a5fee0, e=0x1a8d940) at kernel/qapplication.cpp:4522
#34 0x00007ffb7f27d813 in QApplication::notify (this=0x7fffe55387e0, receiver=0x1a5fee0, e=0x1a8d940) at kernel/qapplication.cpp:4411
#35 0x00007ffb81058766 in KApplication::notify (this=0x7fffe55387e0, receiver=0x1a5fee0, event=0x1a8d940) at /usr/src/debug/kdelibs-4.7.4/kdeui/kernel/kapplication.cpp:311
#36 0x00007ffb800fc04c in QCoreApplication::notifyInternal (this=0x7fffe55387e0, receiver=0x1a5fee0, event=0x1a8d940) at kernel/qcoreapplication.cpp:876
#37 0x00007ffb800ffada in sendEvent (event=0x1a8d940, receiver=0x1a5fee0) at kernel/qcoreapplication.h:231
#38 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x177b4d0) at kernel/qcoreapplication.cpp:1500
#39 0x00007ffb8012a933 in sendPostedEvents () at kernel/qcoreapplication.h:236
#40 postEventSourceDispatch (s=0x17b84f0) at kernel/qeventdispatcher_glib.cpp:279
#41 0x00007ffb77444acd in g_main_dispatch (context=0x17b8400) at gmain.c:2441
#42 g_main_context_dispatch (context=0x17b8400) at gmain.c:3011
#43 0x00007ffb774452c8 in g_main_context_iterate (context=0x17b8400, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3089
#44 0x00007ffb7744549c in g_main_context_iteration (context=0x17b8400, may_block=1) at gmain.c:3152
#45 0x00007ffb8012ad5f in QEventDispatcherGlib::processEvents (this=0x177c990, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#46 0x00007ffb7f31b66e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:207
#47 0x00007ffb800fb182 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#48 0x00007ffb800fb3d7 in QEventLoop::exec (this=0x7fffe5538770, flags=...) at kernel/qeventloop.cpp:204
#49 0x00007ffb800ffdd5 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#50 0x000000000042d734 in ?? ()
#51 0x00007ffb7e0a369d in __libc_start_main (main=0x42c650, argc=5, ubp_av=0x7fffe5538ed8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffe5538ec8) at libc-start.c:226
#52 0x000000000042dff5 in _start ()

Reported using DrKonqi
Comment 1 Jekyll Wu 2012-02-13 07:43:06 UTC
*** Bug 293955 has been marked as a duplicate of this bug. ***
Comment 2 Jekyll Wu 2012-02-13 07:44:53 UTC
*** Bug 293956 has been marked as a duplicate of this bug. ***
Comment 3 Myriam Schweingruber 2012-07-30 20:40:40 UTC
Is this still valid with version 4.6.1?
Comment 4 Myriam Schweingruber 2012-10-24 11:58:17 UTC
*** Bug 308912 has been marked as a duplicate of this bug. ***
Comment 5 Myriam Schweingruber 2012-10-24 11:59:31 UTC
See backtrace in bug 308912:

Thread 1 (Thread 0x7f9b053e6780 (LWP 32696)):
[KCrash Handler]
#6  Phonon::Gstreamer::Pipeline::setState (this=0x0, state=GST_STATE_NULL) at
../../gstreamer/pipeline.cpp:236
#7  0x00007f9adbaed4c4 in Phonon::Gstreamer::MediaObject::requestState
(this=this@entry=0xd18090, state=Phonon::ErrorState) at
../../gstreamer/mediaobject.cpp:849
#8  0x00007f9adbaf11bc in qt_static_metacall (_a=0xeaf970, _id=20,
_o=<optimized out>, _c=<optimized out>) at ./moc_mediaobject.cpp:133
#9  Phonon::Gstreamer::MediaObject::qt_static_metacall (_o=0xd18090,
_c=<optimized out>, _id=20, _a=0xeaf970) at ./moc_mediaobject.cpp:107
#10 0x00007f9b026b543e in QObject::event (this=0xd18090, e=<optimized out>) at
kernel/qobject.cpp:1195
#11 0x00007f9b03081e9c in QApplicationPrivate::notify_helper
(this=this@entry=0xa4bad0, receiver=receiver@entry=0xd18090,
e=e@entry=0xeb3db0) at kernel/qapplication.cpp:4562
#12 0x00007f9b0308630a in QApplication::notify (this=0x7fff115b43d0,
receiver=0xd18090, e=0xeb3db0) at kernel/qapplication.cpp:4423
#13 0x00007f9b04df01d6 in KApplication::notify (this=0x7fff115b43d0,
receiver=0xd18090, event=0xeb3db0) at ../../kdeui/kernel/kapplication.cpp:311
#14 0x00007f9b026a056e in QCoreApplication::notifyInternal
(this=0x7fff115b43d0, receiver=receiver@entry=0xd18090,
event=event@entry=0xeb3db0) at kernel/qcoreapplication.cpp:915
#15 0x00007f9b026a43f1 in sendEvent (event=0xeb3db0, receiver=0xd18090) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#16 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0,
data=0x8d71f0) at kernel/qcoreapplication.cpp:1539
#17 0x00007f9b026cea63 in sendPostedEvents () at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#18 postEventSourceDispatch (s=0xa4b500) at
kernel/qeventdispatcher_glib.cpp:279
#19 0x00007f9afc795ab5 in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007f9afc795de8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007f9afc795ea4 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007f9b026cebf6 in QEventDispatcherGlib::processEvents (this=0x8d8ad0,
flags=...) at kernel/qeventdispatcher_glib.cpp:424
#23 0x00007f9b03126c1e in QGuiEventDispatcherGlib::processEvents
(this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#24 0x00007f9b026a489f in QCoreApplication::processEvents (flags=...) at
kernel/qcoreapplication.cpp:1102
#25 0x00007f9b030d3d1f in QWidgetPrivate::show_helper
(this=this@entry=0xed1820) at kernel/qwidget.cpp:7580
#26 0x00007f9b030d3ec2 in QWidget::setVisible (this=0xed0e80,
visible=<optimized out>) at kernel/qwidget.cpp:7773
#27 0x00007f9b043e5de8 in show (this=0xed0e80) at
/usr/include/qt4/QtGui/qwidget.h:494
#28 App::continueInit (this=this@entry=0x7fff115b43d0) at ../../src/App.cpp:540
#29 0x00007f9b043e6957 in App::App (this=0x7fff115b43d0) at
../../src/App.cpp:184
#30 0x0000000000408dfd in main (argc=1, argv=0x7fff115b4538) at
../../src/main.cpp:304
Comment 6 Myriam Schweingruber 2012-11-10 16:32:35 UTC
*** Bug 300742 has been marked as a duplicate of this bug. ***
Comment 7 Harald Sitter 2012-11-10 16:48:19 UTC
http://techbase.kde.org/Development/Tutorials/Debugging/Phonon

debug log please
Comment 8 Myriam Schweingruber 2012-11-11 14:23:17 UTC
*** Bug 309900 has been marked as a duplicate of this bug. ***
Comment 9 Jekyll Wu 2013-02-05 05:23:06 UTC
*** Bug 314443 has been marked as a duplicate of this bug. ***
Comment 10 Myriam Schweingruber 2013-02-12 14:22:50 UTC
*** Bug 314991 has been marked as a duplicate of this bug. ***
Comment 11 Myriam Schweingruber 2013-04-13 12:57:06 UTC
Is this still valid with phonon-backend-gstramer 4.6.3 and a recent KDE 4.10.x? Then we need a debuglog, see also http://techbase.kde.org/Development/Tutorials/Debugging/Phonon

Without feedback in the next 3 weeks this will be closed as invalid.
Comment 12 Myriam Schweingruber 2013-04-13 13:13:41 UTC
*** Bug 307073 has been marked as a duplicate of this bug. ***
Comment 13 Myriam Schweingruber 2013-05-25 15:04:37 UTC
Closing for lack of feedback.
Comment 14 Myriam Schweingruber 2013-06-18 00:05:08 UTC
Reopening, see bug 321276
Comment 15 Myriam Schweingruber 2013-06-18 00:05:42 UTC
*** Bug 321276 has been marked as a duplicate of this bug. ***
Comment 16 Myriam Schweingruber 2013-06-30 11:22:11 UTC
*** Bug 321777 has been marked as a duplicate of this bug. ***
Comment 17 Myriam Schweingruber 2013-07-02 09:23:53 UTC
*** Bug 321844 has been marked as a duplicate of this bug. ***
Comment 18 Myriam Schweingruber 2013-07-03 18:06:02 UTC
*** Bug 321914 has been marked as a duplicate of this bug. ***
Comment 19 Myriam Schweingruber 2013-07-03 19:51:02 UTC
*** Bug 321920 has been marked as a duplicate of this bug. ***
Comment 20 Christoph Feck 2013-07-09 18:14:24 UTC
Myriam, the new reports are most certainly https://bugs.launchpad.net/ubuntu/+source/kile/+bug/1195007

Check if gdk_x_error() calls exit().
Comment 21 Jekyll Wu 2013-10-16 00:48:11 UTC
*** Bug 326075 has been marked as a duplicate of this bug. ***
Comment 22 Jekyll Wu 2013-11-02 16:30:21 UTC
*** Bug 327042 has been marked as a duplicate of this bug. ***
Comment 23 Myriam Schweingruber 2014-08-10 09:49:12 UTC
Is this reproducible with the current phonon-backend-gstreamer 4.7.2 or later? Please make sure to have the gstreamer 1.x libraries and plugins now.
Comment 24 Daniel Vrátil 2014-08-11 14:43:11 UTC
This has been fixed in the meanwhile, Pipeline is now always initialized, so m_pipeline can never be null.