Summary: | Amarok crashes on start [@ QtGroupingProxy::addSourceRow] | ||
---|---|---|---|
Product: | [Applications] amarok | Reporter: | Diego Casella <polentino911> |
Component: | general | Assignee: | Amarok Developers <amarok-bugs-dist> |
Status: | RESOLVED DUPLICATE | ||
Severity: | crash | CC: | fxrh, jtamate |
Priority: | NOR | Keywords: | release_blocker |
Version: | 2.5.0 | ||
Target Milestone: | 2.6 | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | New crash information added by DrKonqi |
Description
Diego Casella
2011-11-02 09:14:57 UTC
Except that the two backtraces are totally different. Please erase the amarok* files in $HOME/.kde/share/config/ I can't reproduce this here at all. (In reply to comment #1) > Except that the two backtraces are totally different. > Seems like I wasn't clear enough (or, you didn't read my description :P ) There are two backtraces: * the lowest one refers to the crash that affects amarok upon start; * the second one ( between the "========================" lines) is the backtrace I got after I deleted all amarok config files and folders (in order to try to pinpoint the issue), started amarok and then quitted the app (wihtout modifying any of its settings). > Please erase the amarok* files in $HOME/.kde/share/config/ > That's exactly what I explained in my very first comment ( the "I delete all the Amarok config files/folders" part, minus some typo) :) However, to be precise, I deleted: .kde4/share/apps/amarok .kde4/share/config/amarok-appletsrc .kde4/share/config/amarok_homerc .kde4/share/config/amarokrc > I can't reproduce this here at all. Okay, I'll try to investigate further, thanks anyways :) Any news on this? updated to commit d70a2ab36ff8318aa2646717531597c7bde535f6 a while ago and now works like a charm :) Thank you for the feedback. Created attachment 66329 [details]
New crash information added by DrKonqi
amarok (2.4-GIT) on KDE Platform 4.7.3 (4.7.3) using Qt 4.7.4
- What I was doing when the application crashed:
This bug is still present in tonight trunk.
It happens even running under valgrind:
==25535== Conditional jump or move depends on uninitialised value(s)
==25535== at 0x6B403DC2: SpectrumAnalyzerEngine::update() (SpectrumAnalyzerEngine.cpp:102)
==25535== by 0x6B404DAB: SpectrumAnalyzerEngine::SpectrumAnalyzerEngine(QObject*, QList<QVariant> const&) (SpectrumAnalyzerEngine.cpp:40)
==25535== by 0x6B405FCC: QObject* KPluginFactory::createInstance<SpectrumAnalyzerEngine, QObject>(QWidget*, QObject*, QList<QVariant> const&) (kpluginfactory.h:477)
==25535== by 0x775F73D: KPluginFactory::create(char const*, QWidget*, QObject*, QList<QVariant> const&, QString const&) (kpluginfactory.cpp:203)
==25535== by 0xCB1DAF3: Plasma::DataEngine* KPluginFactory::create<Plasma::DataEngine>(QWidget*, QObject*, QString const&, QList<QVariant> const&) (kpluginfactory.h:531)
==25535== by 0xCB1DBBF: Plasma::DataEngine* KService::createInstance<Plasma::DataEngine>(QWidget*, QObject*, QList<QVariant> const&, QString*) const (kservice.h:553)
==25535== by 0xCB1C600: Plasma::PluginLoader::loadDataEngine(QString const&) (pluginloader.cpp:184)
==25535== by 0xCB03FDF: Plasma::DataEngineManager::loadEngine(QString const&) (dataenginemanager.cpp:131)
==25535== by 0xCB39A0B: Plasma::DataEngineConsumer::dataEngine(QString const&) (dataengineconsumer.cpp:105)
==25535== by 0xCAC7E1A: Plasma::Applet::dataEngine(QString const&) const (applet.cpp:685)
==25535== by 0x69EF4635: SpectrumAnalyzerApplet::connectSource(QString const&) (SpectrumAnalyzerApplet.cpp:336)
==25535== by 0x69EF6605: SpectrumAnalyzerApplet::init() (SpectrumAnalyzerApplet.cpp:213)
==25535==
==25535== Conditional jump or move depends on uninitialised value(s)
==25535== at 0x6B403DC2: SpectrumAnalyzerEngine::update() (SpectrumAnalyzerEngine.cpp:102)
==25535== by 0x6B404C55: SpectrumAnalyzerEngine::sourceRequestEvent(QString const&) (SpectrumAnalyzerEngine.cpp:71)
==25535== by 0xCB010A7: Plasma::DataEnginePrivate::requestSource(QString const&, bool*) (dataengine.cpp:705)
==25535== by 0xCB01247: Plasma::DataEngine::connectSource(QString const&, QObject*, unsigned int, Plasma::IntervalAlignment) const (dataengine.cpp:95)
==25535== by 0x69EF464A: SpectrumAnalyzerApplet::connectSource(QString const&) (SpectrumAnalyzerApplet.cpp:336)
==25535== by 0x69EF6605: SpectrumAnalyzerApplet::init() (SpectrumAnalyzerApplet.cpp:213)
==25535== by 0xCAE525E: Plasma::Containment::addApplet(Plasma::Applet*, QPointF const&, bool) (containment.cpp:914)
==25535== by 0xCAE568A: Plasma::ContainmentPrivate::addApplet(QString const&, QList<QVariant> const&, QRectF const&, unsigned int, bool) (containment.cpp:2231)
==25535== by 0x642210FB: Context::VerticalToolbarContainment::addApplet(QString const&, int) (VerticalToolbarContainment.cpp:143)
==25535== by 0x64221644: Context::VerticalToolbarContainment::loadConfig(KConfigGroup const&) (VerticalToolbarContainment.cpp:94)
==25535== by 0x5B9C34F: Context::ContextView::loadConfig() (ContextView.cpp:216)
==25535== by 0x5B9C4E5: Context::ContextView::showHome() (ContextView.cpp:196)
==25535==
QGraphicsLayout::addChildLayoutItem: SpectrumAnalyzerApplet "" in wrong parent; moved to correct parent
**********************************************************************************************
** AMAROK WAS STARTED IN NORMAL MODE. IF YOU WANT TO SEE DEBUGGING INFORMATION, PLEASE USE: **
** amarok --debug **
**********************************************************************************************
==25534==
==25534== HEAP SUMMARY:
==25534== in use at exit: 20,542 bytes in 376 blocks
==25534== total heap usage: 15,385 allocs, 15,009 frees, 1,231,085 bytes allocated
==25534==
==25534== LEAK SUMMARY:
==25534== definitely lost: 0 bytes in 0 blocks
==25534== indirectly lost: 0 bytes in 0 blocks
==25534== possibly lost: 0 bytes in 0 blocks
==25534== still reachable: 20,542 bytes in 376 blocks
==25534== suppressed: 0 bytes in 0 blocks
==25534== Rerun with --leak-check=full to see details of leaked memory
==25534==
==25534== For counts of detected and suppressed errors, rerun with: -v
==25534== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 6 from 4)
jtorres@filemon:/g/b45/amarok> ASSERT failure in QVector<T>::at: "index out of range", file ../../include/QtCore/../../../../kdegit/qt/src/corelib/tools/qvector.h, line 339
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = amarok path = /opt/kde4/bin pid = 25535
KCrash: Arguments: /opt/kde4/bin/amarok --nocrashhandler
KCrash: Attempting to start /opt/kde4/lib/kde4/libexec/drkonqi from kdeinit
sock_file=/home/jtorres/.kde/socket-filemon/kdeinit4__1
QSocketNotifier: Invalid socket 17 and type 'Read', disabling...
-- Backtrace (Reduced):
#11 0x00007fe6f2f7f7d9 in at (i=0, this=0x40f4290) at ../../include/QtCore/../../../../kdegit/qt/src/corelib/tools/qvector.h:339
#12 QSortFilterProxyModelPrivate::can_create_mapping (this=<optimized out>, source_parent=...) at /g/kdegit/qt/src/gui/itemviews/qsortfilterproxymodel.cpp:406
#13 0x00007fe6f2f82db1 in QSortFilterProxyModelPrivate::_q_sourceRowsAboutToBeInserted (this=0x2d61240, source_parent=..., start=<optimized out>, end=<optimized out>) at /g/kdegit/qt/src/gui/itemviews/qsortfilterproxymodel.cpp:1271
#14 0x00007fe6f2f8747c in QSortFilterProxyModel::qt_metacall (this=0x40ccd00, _c=QMetaObject::InvokeMetaMethod, _id=11, _a=0x7fff27b880b0) at .moc/debug-shared/moc_qsortfilterproxymodel.cpp:136
#15 0x00007fe6f3a0bcc0 in PlaylistBrowserFilterProxy::qt_metacall (this=0x40ccd00, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff27b880b0) at /g/b45/amarok/src/moc_PlaylistBrowserFilterProxy.cpp:72
Backtrace from comment #6: Thread 1 (Thread 0x7fe6f5003780 (LWP 25653)): [KCrash Handler] #6 0x00007fe6f1503d15 in raise () from /lib64/libc.so.6 #7 0x00007fe6f150522b in abort () from /lib64/libc.so.6 #8 0x00007fe6f1e020bf in qt_message_output (msgType=<optimized out>, buf=<optimized out>) at /g/kdegit/qt/src/corelib/global/qglobal.cpp:2291 #9 0x00007fe6f1e02231 in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=QtFatalMsg, msg=0x7fe6f1f685e0 "ASSERT failure in %s: \"%s\", file %s, line %d", ap=0x7fff27b87e48) at /g/kdegit/qt/src/corelib/global/qglobal.cpp:2337 #10 0x00007fe6f1e023d4 in qFatal (msg=<optimized out>) at /g/kdegit/qt/src/corelib/global/qglobal.cpp:2520 #11 0x00007fe6f2f7f7d9 in at (i=0, this=0x40f4290) at ../../include/QtCore/../../../../kdegit/qt/src/corelib/tools/qvector.h:339 #12 QSortFilterProxyModelPrivate::can_create_mapping (this=<optimized out>, source_parent=...) at /g/kdegit/qt/src/gui/itemviews/qsortfilterproxymodel.cpp:406 #13 0x00007fe6f2f82db1 in QSortFilterProxyModelPrivate::_q_sourceRowsAboutToBeInserted (this=0x2d61240, source_parent=..., start=<optimized out>, end=<optimized out>) at /g/kdegit/qt/src/gui/itemviews/qsortfilterproxymodel.cpp:1271 #14 0x00007fe6f2f8747c in QSortFilterProxyModel::qt_metacall (this=0x40ccd00, _c=QMetaObject::InvokeMetaMethod, _id=11, _a=0x7fff27b880b0) at .moc/debug-shared/moc_qsortfilterproxymodel.cpp:136 #15 0x00007fe6f3a0bcc0 in PlaylistBrowserFilterProxy::qt_metacall (this=0x40ccd00, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff27b880b0) at /g/b45/amarok/src/moc_PlaylistBrowserFilterProxy.cpp:72 #16 0x00007fe6f1f16998 in QMetaObject::activate (sender=0x40ca830, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff27b880b0) at /g/kdegit/qt/src/corelib/kernel/qobject.cpp:3278 #17 0x00007fe6f1f64724 in QAbstractItemModel::rowsAboutToBeInserted (this=<optimized out>, _t1=<optimized out>, _t2=0, _t3=0) at .moc/debug-shared/moc_qabstractitemmodel.cpp:174 #18 0x00007fe6f1efa629 in QAbstractItemModel::beginInsertRows (this=0x40ca830, parent=..., first=0, last=0) at /g/kdegit/qt/src/corelib/kernel/qabstractitemmodel.cpp:2395 #19 0x00007fe6f3c7d38f in QtGroupingProxy::addSourceRow (this=0x40ca830, idx=...) at /g/kdegit/amarok/src/browsers/playlistbrowser/QtGroupingProxy.cpp:239 #20 0x00007fe6f3c7d5ad in QtGroupingProxy::modelRowsInserted (this=0x40ca830, parent=<optimized out>, start=<optimized out>, end=0) at /g/kdegit/amarok/src/browsers/playlistbrowser/QtGroupingProxy.cpp:716 #21 0x00007fe6f3a0991c in QtGroupingProxy::qt_metacall (this=0x40ca830, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff27b88490) at /g/b45/amarok/src/moc_QtGroupingProxy.cpp:84 #22 0x00007fe6f3a0c000 in PlaylistsByProviderProxy::qt_metacall (this=0x40ca830, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff27b88490) at /g/b45/amarok/src/moc_PlaylistsByProviderProxy.cpp:73 #23 0x00007fe6f1f16998 in QMetaObject::activate (sender=0x40ca3d0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff27b88490) at /g/kdegit/qt/src/corelib/kernel/qobject.cpp:3278 #24 0x00007fe6f1f64784 in QAbstractItemModel::rowsInserted (this=<optimized out>, _t1=<optimized out>, _t2=0, _t3=0) at .moc/debug-shared/moc_qabstractitemmodel.cpp:181 #25 0x00007fe6f1efa78e in QAbstractItemModel::endInsertRows (this=0x40ca3d0) at /g/kdegit/qt/src/corelib/kernel/qabstractitemmodel.cpp:2412 #26 0x00007fe6f3c70f8a in PlaylistBrowserNS::PlaylistBrowserModel::slotPlaylistAdded (this=0x40ca3d0, playlist=..., category=<optimized out>) at /g/kdegit/amarok/src/browsers/playlistbrowser/PlaylistBrowserModel.cpp:646 #27 0x00007fe6f3a10db3 in PlaylistBrowserNS::PlaylistBrowserModel::qt_metacall (this=0x40ca3d0, _c=<optimized out>, _id=5, _a=0x7fff27b886b0) at /g/b45/amarok/src/moc_PlaylistBrowserModel.cpp:97 #28 0x00007fe6f1f16998 in QMetaObject::activate (sender=0x1e75be0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff27b886b0) at /g/kdegit/qt/src/corelib/kernel/qobject.cpp:3278 #29 0x00007fe6f3c9a246 in PlaylistManager::playlistAdded (this=<optimized out>, _t1=<optimized out>, _t2=1) at /g/b45/amarok/src/PlaylistManager.moc:150 #30 0x00007fe6f3c9f254 in PlaylistManager::addPlaylist (this=0x1e75be0, playlist=..., category=1) at /g/kdegit/amarok/src/playlistmanager/PlaylistManager.cpp:196 #31 0x00007fe6f3c9f378 in PlaylistManager::slotPlaylistAdded (this=0x1e75be0, playlist=<optimized out>) at /g/kdegit/amarok/src/playlistmanager/PlaylistManager.cpp:273 #32 0x00007fe6f3c9f724 in PlaylistManager::qt_metacall (this=0x1e75be0, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0x7fff27b889b0) at /g/b45/amarok/src/PlaylistManager.moc:107 #33 0x00007fe6f1f16998 in QMetaObject::activate (sender=0x1e75ca0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff27b889b0) at /g/kdegit/qt/src/corelib/kernel/qobject.cpp:3278 #34 0x00007fe6f43181b5 in Playlists::PlaylistProvider::playlistAdded (this=<optimized out>, _t1=<optimized out>) at /g/b45/amarok/src/core/PlaylistProvider.moc:96 #35 0x00007fe6f3ca8bd1 in Playlists::PlaylistFileProvider::loadPlaylists (this=0x1e75ca0) at /g/kdegit/amarok/src/playlistmanager/file/PlaylistFileProvider.cpp:398 #36 0x00007fe6f3a09e85 in Playlists::PlaylistFileProvider::qt_metacall (this=0x1e75ca0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=<optimized out>) at /g/b45/amarok/src/moc_PlaylistFileProvider.cpp:80 #37 0x00007fe6f1f1aa22 in QObject::event (this=0x1e75ca0, e=<optimized out>) at /g/kdegit/qt/src/corelib/kernel/qobject.cpp:1217 #38 0x00007fe6f29728de in notify_helper (e=0x162b100, receiver=0x1e75ca0, this=0xc4e8c0) at /g/kdegit/qt/src/gui/kernel/qapplication.cpp:4509 #39 QApplicationPrivate::notify_helper (this=0xc4e8c0, receiver=0x1e75ca0, e=0x162b100) at /g/kdegit/qt/src/gui/kernel/qapplication.cpp:4481 #40 0x00007fe6f297817a in QApplication::notify (this=0x7fff27b89490, receiver=0x1e75ca0, e=0x162b100) at /g/kdegit/qt/src/gui/kernel/qapplication.cpp:4474 #41 0x00007fe6f47b378e in KApplication::notify (this=0x7fff27b89490, receiver=0x1e75ca0, event=0x162b100) at /g/kdegit/kdelibs/kdeui/kernel/kapplication.cpp:311 #42 0x00007fe6f1f0142b in QCoreApplication::notifyInternal (this=0x7fff27b89490, receiver=0x1e75ca0, event=0x162b100) at /g/kdegit/qt/src/corelib/kernel/qcoreapplication.cpp:787 #43 0x00007fe6f1f050a5 in QCoreApplication::sendEvent (event=0x162b100, receiver=0x1e75ca0) at ../../include/QtCore/../../../../kdegit/qt/src/corelib/kernel/qcoreapplication.h:215 #44 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xc0a260) at /g/kdegit/qt/src/corelib/kernel/qcoreapplication.cpp:1428 #45 0x00007fe6f1f2f513 in QCoreApplication::sendPostedEvents () at ../../include/QtCore/../../../../kdegit/qt/src/corelib/kernel/qcoreapplication.h:220 #46 postEventSourceDispatch (s=<optimized out>) at /g/kdegit/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:277 #47 0x00007fe6e9dce58d in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0 #48 0x00007fe6e9dced88 in ?? () from /usr/lib64/libglib-2.0.so.0 #49 0x00007fe6e9dcef59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #50 0x00007fe6f1f2f976 in QEventDispatcherGlib::processEvents (this=0xc0e970, flags=<optimized out>) at /g/kdegit/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:422 #51 0x00007fe6f2a23ac6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at /g/kdegit/qt/src/gui/kernel/qguieventdispatcher_glib.cpp:204 #52 0x00007fe6f1effcb2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at /g/kdegit/qt/src/corelib/kernel/qeventloop.cpp:149 #53 0x00007fe6f1effedf in QEventLoop::exec (this=0x7fff27b89420, flags=...) at /g/kdegit/qt/src/corelib/kernel/qeventloop.cpp:201 #54 0x00007fe6f1f05367 in QCoreApplication::exec () at /g/kdegit/qt/src/corelib/kernel/qcoreapplication.cpp:1064 #55 0x0000000000408cfe in main (argc=1, argv=0x7fff27b8bc28) at /g/kdegit/amarok/src/main.cpp:310 Possible duplicates by query: bug 285541, bug 279798. Reported using DrKonqi Jaime, did you erase the old configuration files as suggested in comment #1? Again, I can't reproduce this here at all, running the latest build, commit 43d000e2dd20795c514d8124a615ecfeb7377e49 After deleting all the amarok configuration files, the bug is gone. But I do not think the removal of all your configuration (moved to a tar file) is a good bug fix, unless we in the trunk world missed the configuration updates.. Well, I didn't have to remove my configuration files lately and I run Amarok from git since many months, it is not unlikely you had some old configurations lying around there. And yes, it is a workaround, but a very easy one and until we have more developers with time to look into that you will have to live with it. Usually deleting amarokrc should be sufficient. *** Bug 289374 has been marked as a duplicate of this bug. *** Reopening, this should be solved for all further releases. There is more information in bug 285720 *** This bug has been marked as a duplicate of bug 285720 *** |