Bug 322379 - Amarok hangs when jumping to a bookmark in a podcast, has to be killed
Summary: Amarok hangs when jumping to a bookmark in a podcast, has to be killed
Status: RESOLVED WORKSFORME
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: 2.7-git
Platform: Other Linux
: NOR crash
Target Milestone: 2.8
Assignee: Amarok Developers
URL:
Keywords: regression, release_blocker
Depends on:
Blocks:
 
Reported: 2013-07-15 09:22 UTC by Myriam Schweingruber
Modified: 2013-07-28 14:14 UTC (History)
1 user (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 Myriam Schweingruber 2013-07-15 09:22:30 UTC
Started a podcast I had stopped before, and then clicked on the bookmark marker to jump to the last location. Fully reproducible on v2.7.90-28-g28daff8

Debug output:
...
amarok: BEGIN: void AmarokDownloadHelper::requestRedirected(const KUrl &, const KUrl &) 
amarok: END__: void AmarokDownloadHelper::requestRedirected(const KUrl &, const KUrl &) [Took: 0s] 
amarok(14012)/kio (Slave) KIO::Slave::createSlave: createSlave "https" for KUrl("https://catalog.librivox.org/search_xml.php?simple=")
amarok(14012)/kio (KIOConnection) KIO::ConnectionServer::listenForRemote: Listening on  "local:/tmp/ksocket-myriam/amarokG14012.slave-socket"
amarok(14012)/kio (KIOJob) KIO::TransferJob::slotFinished: KUrl("http://en.wikipedia.org/w/api.php?action=query&list=search&srsearch=Schweizer%20Radio%20und%20Fernsehen%20%28SRF%29&srprop=size&srredirects=1&srlimit=20&format=xml")
amarok(14012)/kio (Scheduler) KIO::SchedulerPrivate::jobFinished: KIO::TransferJob(0x250c730) KIO::Slave(0x37a1fc0)
amarok(14012)/kio (Scheduler) KIO::SchedulerPrivate::doJob: KIO::SimpleJob(0x4f9ace0)
amarok: BEGIN: virtual PopupWidget::~PopupWidget() 
amarok: END__: virtual PopupWidget::~PopupWidget() [Took: 0s] 
amarok(14012)/kio (KIOJob) KIO::TransferJob::slotFinished: KUrl("http://en.wikipedia.org/w/index.php?title=Schweizer%20Radio%20und%20Fernsehen&redirects=1&useskin=monobook")
amarok(14012)/kio (Scheduler) KIO::SchedulerPrivate::jobFinished: KIO::TransferJob(0x4f9ace0) KIO::Slave(0x37a1fc0)
amarok: [WikipediaEngine] Received page from wikipedia: KUrl("http://en.wikipedia.org/w/index.php?title=Schweizer%20Radio%20und%20Fernsehen&redirects=1&useskin=monobook") 
amarok: BEGIN: void WikipediaEnginePrivate::_dataContainerUpdated(const QString &, const Plasma::DataEngine::Data &) 
amarok: END__: void WikipediaEnginePrivate::_dataContainerUpdated(const QString &, const Plasma::DataEngine::Data &) [Took: 0s] 
amarok: BEGIN: void WikipediaApplet::dataUpdated(const QString &, const Plasma::DataEngine::Data &) 
amarok(14012)/kdewebkit KWebPage::acceptNavigationRequest: url:  QUrl( "http://en.wikipedia.org/w/index.php?title=Schweizer Radio und Fernsehen&redirects=1&useskin=monobook" )  , type: 5 , frame: QWebFrame(0x235f3c0)
amarok(14012)/kio (Scheduler) KIO::SchedulerPrivate::doJob: KIO::SimpleJob(0x5056d30)
amarok: END__: void WikipediaApplet::dataUpdated(const QString &, const Plasma::DataEngine::Data &) [Took: 0.03s] 
amarok(14012)/kio (Scheduler) KIO::SchedulerPrivate::doJob: KIO::SimpleJob(0x5058c90)
amarok(14012)/kio (Scheduler) KIO::SchedulerPrivate::doJob: KIO::SimpleJob(0x4fb4c80)
amarok: BEGIN: virtual PopupWidget::~PopupWidget() 
amarok: END__: virtual PopupWidget::~PopupWidget() [Took: 0s] 
amarok(14012)/kio (KIOJob) KIO::TransferJob::slotFinished: KUrl("http://en.wikipedia.org/w/bullet.gif")
amarok(14012)/kio (Scheduler) KIO::SchedulerPrivate::jobFinished: KIO::TransferJob(0x4fb4c80) KIO::Slave(0x37a1fc0)
amarok(14012)/kio (KIOJob) KIO::TransferJob::slotFinished: KUrl("http://upload.wikimedia.org/wikipedia/en/thumb/b/b2/Schweizer_Radio_und_Fernsehen.png/250px-Schweizer_Radio_und_Fernsehen.png")
amarok(14012)/kio (Scheduler) KIO::SchedulerPrivate::jobFinished: KIO::TransferJob(0x5056d30) KIO::Slave(0x20a10f0)
amarok(14012)/kio (KIOJob) KIO::TransferJob::slotFinished: KUrl("http://upload.wikimedia.org/wikipedia/commons/thumb/f/f3/Flag_of_Switzerland.svg/16px-Flag_of_Switzerland.svg.png")
amarok(14012)/kio (Scheduler) KIO::SchedulerPrivate::jobFinished: KIO::TransferJob(0x5058c90) KIO::Slave(0x1ce6a80)
amarok: BEGIN: virtual void BookmarkTriangle::enterEvent(QEvent *) 
amarok: END__: virtual void BookmarkTriangle::enterEvent(QEvent *) [Took: 0s] 
amarok(14012)/kio (KIOJob) KIO::TransferJob::slotFinished: KUrl("https://catalog.librivox.org/search_xml.php?simple=")
amarok(14012)/kio (Scheduler) KIO::SchedulerPrivate::jobFinished: KIO::TransferJob(0x54f99b0) KIO::Slave(0x51391c0)
amarok: SCRIPT "Librivox.org" :  "got 0 books!" 
amarok: BEGIN: int ScriptableServiceScript::donePopulating() const 
amarok:   BEGIN: void ScriptableServiceManager::donePopulating(const QString &, int) 
amarok:     Service name:  "Librivox.org" , parent id:  1 
amarok:     BEGIN: void Collections::ScriptableServiceCollection::donePopulating(int) 
amarok:       BEGIN: void Collections::ScriptableServiceQueryMaker::slotScriptComplete() 
amarok:         there are  0  albums 
amarok:       END__: void Collections::ScriptableServiceQueryMaker::slotScriptComplete() [Took: 0s] 
amarok:     END__: void Collections::ScriptableServiceCollection::donePopulating(int) [Took: 0s] 
amarok:   END__: void ScriptableServiceManager::donePopulating(const QString &, int) [Took: 0s] 
amarok: END__: int ScriptableServiceScript::donePopulating() const [Took: 0s] 
Calling appendChild() on a null node does nothing.
amarok: BEGIN: void EngineController::seekTo(int) 
amarok:   [EngineController] seek to:  1158920 

Backtrace:
...
#85 0x00007fc1e93c5244 in Phonon::Gstreamer::Pipeline::seekToMSec (this=0x155dbf0, time=time@entry=1158920) at ../../gstreamer/pipeline.cpp:762
#86 0x00007fc1e93c0422 in Phonon::Gstreamer::MediaObject::seek (this=0x1559e90, time=1158920) at ../../gstreamer/mediaobject.cpp:456
#87 0x00007fc20a0a3bfc in EngineController::seekTo (this=0x10453f0, ms=1158920) at /home/myriam/kde/src/amarok/src/EngineController.cpp:656
---Type <return> to continue, or q <return> to quit---
#88 0x00007fc20a0ac29f in EngineController::qt_static_metacall (_o=0x10453f0, _c=QMetaObject::InvokeMetaMethod, _id=28, _a=0x7fffbccc6b90)
    at /home/myriam/kde/build/amarok/src/EngineController.moc:177
#89 0x00007fc206d9b0ef in QMetaObject::activate (sender=0x1e66e00, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffbccc6b90) at kernel/qobject.cpp:3539
#90 0x00007fc20a217f7b in Amarok::Slider::sliderReleased (this=0x1e66e00, _t1=1158920) at /home/myriam/kde/build/amarok/src/SliderWidget.moc:98
#91 0x00007fc20a219a1b in Amarok::TimeSlider::slotTriangleClicked (this=0x1e66e00, seconds=1158920) at /home/myriam/kde/src/amarok/src/widgets/SliderWidget.cpp:368
#92 0x00007fc20a21a255 in Amarok::TimeSlider::qt_static_metacall (_o=0x1e66e00, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fffbccc6d40)
    at /home/myriam/kde/build/amarok/src/SliderWidget.moc:192
#93 0x00007fc206d9b0ef in QMetaObject::activate (sender=0x4f8d210, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffbccc6d40) at kernel/qobject.cpp:3539
#94 0x00007fc20a227f8b in BookmarkTriangle::clicked (this=0x4f8d210, _t1=1158920) at /home/myriam/kde/build/amarok/src/BookmarkTriangle.moc:101
#95 0x00007fc20a227e0c in BookmarkTriangle::mouseReleaseEvent (this=0x4f8d210, event=0x7fffbccc7600) at /home/myriam/kde/src/amarok/src/widgets/BookmarkTriangle.cpp:112
#96 0x00007fc207c8da89 in QWidget::event (this=0x4f8d210, event=0x7fffbccc7600) at kernel/qwidget.cpp:8375
#97 0x00007fc207c408ec in QApplicationPrivate::notify_helper (this=this@entry=0xf38e50, receiver=receiver@entry=0x4f8d210, e=e@entry=0x7fffbccc7600) at kernel/qapplication.cpp:4567
#98 0x00007fc207c43a33 in QApplication::notify (this=this@entry=0x7fffbccc8818, receiver=receiver@entry=0x4f8d210, e=e@entry=0x7fffbccc7600) at kernel/qapplication.cpp:4110
#99 0x00007fc20adab916 in KApplication::notify (this=0x7fffbccc8818, receiver=0x4f8d210, event=0x7fffbccc7600) at ../../kdeui/kernel/kapplication.cpp:311
#100 0x00007fc206d8663e in QCoreApplication::notifyInternal (this=0x7fffbccc8818, receiver=receiver@entry=0x4f8d210, event=event@entry=0x7fffbccc7600) at kernel/qcoreapplication.cpp:946
#101 0x00007fc207c46933 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#102 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x4f8d210, event=event@entry=0x7fffbccc7600, alienWidget=alienWidget@entry=0x4f8d210, 
    nativeWidget=nativeWidget@entry=0x1e5e620, buttonDown=buttonDown@entry=0x7fc20871e308 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true)
    at kernel/qapplication.cpp:3178
#103 0x00007fc207cbbe54 in QETWidget::translateMouseEvent (this=this@entry=0x1e5e620, event=event@entry=0x7fffbccc7d80) at kernel/qapplication_x11.cpp:4631
#104 0x00007fc207cbae81 in QApplication::x11ProcessEvent (this=0x7fffbccc8818, event=event@entry=0x7fffbccc7d80) at kernel/qapplication_x11.cpp:3746
#105 0x00007fc207ce6042 in x11EventSourceDispatch (s=0xf32120, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#106 0x00007fc1feaddf05 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#107 0x00007fc1feade248 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#108 0x00007fc1feade304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#109 0x00007fc206db5036 in QEventDispatcherGlib::processEvents (this=0xf294f0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#110 0x00007fc207ce613e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#111 0x00007fc206d8538f in QEventLoop::processEvents (this=this@entry=0x7fffbccc8150, flags=...) at kernel/qeventloop.cpp:149
#112 0x00007fc206d85618 in QEventLoop::exec (this=this@entry=0x7fffbccc8150, flags=...) at kernel/qeventloop.cpp:204
#113 0x00007fc206d8acf6 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#114 0x000000000040f90e in main (argc=3, argv=0x7fffbccc9bb8) at /home/myriam/kde/src/amarok/src/main.cpp:329
Comment 1 Matěj Laitl 2013-07-27 10:29:04 UTC
Let's change the roles. :-)

Have you tried to reproduce this with phonon-vlc? I bet this is another phonon-gst problem. Also, your phonon and phonon-gst versions are relevant, please mention.

> Backtrace:
> ...
> #85 0x00007fc1e93c5244 in Phonon::Gstreamer::Pipeline::seekToMSec (this=0x155dbf0, time=time@entry=1158920) at ../../gstreamer/pipeline.cpp:762
> #86 0x00007fc1e93c0422 in Phonon::Gstreamer::MediaObject::seek (this=0x1559e90, time=1158920) at ../../gstreamer/mediaobject.cpp:456

Is this the very top of the complete backtrace (for the main thread)? I'm confused by the "..." you have above #85.
Comment 2 Myriam Schweingruber 2013-07-28 14:14:13 UTC
The phonon-backend-gstreamer is 4.6.3 since almost 2 years now, come on :) I don't use git releases for phonon currently as there is too much of a mess with gst 0.18.x vs 1.0, so I need a stable version, and 4.7 is not reliable so far.

Since my update to KDE 4.11 RC1 (4.10.95) I can't reproduce this anymore, might be that something was changed there, but the ChangeLogs are too much of a mess to know what exactly triggered that (is there a unified ChangeLog for SC releases somewhere?)