Bug 7463 - Amarok crashing on start after updating to Cauldron
Summary: Amarok crashing on start after updating to Cauldron
Status: RESOLVED DUPLICATE of bug 7748
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Juan Luis Baptiste
QA Contact:
URL: https://bugs.kde.org/show_bug.cgi?id=...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-12 20:36 CEST by Nikita Krupenko
Modified: 2012-10-23 06:16 CEST (History)
4 users (show)

See Also:
Source RPM: amarok
CVE:
Status comment:


Attachments

Description Nikita Krupenko 2012-09-12 20:36:45 CEST
Description of problem:

I has Mageia 2 distribution with KDE 4.8.5 and Amarok 2.6 built from sources. I've updated my system into Cauldron, with KDE 4.9.1 and installed amarok from repository. It now crashes on start. When starting it in debug mode, the last lines of output is:

amarok:               [MassStorageDeviceHandler] Found existing UUID config for ID  "21"  , uuid  "eb3c5540-d8fa-4a78-935d-cea61cba959a" 
unnamed app(3626): Communication problem with  "amarok" , it probably crashed. 
Error message was:  "org.freedesktop.DBus.Error.NoReply" : " "Message did not receive a reply (timeout by message bus)" " 

The crash can be reproduced every time. 

Version-Release number of selected component (if applicable):
2.6.0-1.mga3

How reproducible:
Update from Mageia 2 to Cauldron and run Amarok.

Backtrace:

Application: Amarok (amarok), signal: Segmentation fault
Using host libthread_db library "/lib/i686/libthread_db.so.1".
[Current thread is 1 (Thread 0xaf2c8740 (LWP 3784))]

Thread 4 (Thread 0xa9b46b40 (LWP 3788)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb564b86b in poll () from /lib/i686/libc.so.6
#2  0xb2ea8df6 in poll_func () from /lib/libpulse.so.0
#3  0xb2e970fa in pa_mainloop_poll () from /lib/libpulse.so.0
#4  0xb2e97929 in pa_mainloop_iterate () from /lib/libpulse.so.0
#5  0xb2e97a04 in pa_mainloop_run () from /lib/libpulse.so.0
#6  0xb2ea8d7e in thread () from /lib/libpulse.so.0
#7  0xb00b316a in internal_thread_func () from /usr/lib/pulseaudio/libpulsecommon-2.1.so
#8  0xb51babb8 in start_thread () from /lib/i686/libpthread.so.0
#9  0xb565611e in clone () from /lib/i686/libc.so.6

Thread 3 (Thread 0x9a64fb40 (LWP 3789)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb51be623 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/i686/libpthread.so.0
#2  0xb5664114 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/i686/libc.so.6
#3  0xa3e66ce3 in my_service_thread_sleep () from /lib/libmysqld.so.18
#4  0xa3e60fef in ma_checkpoint_background () from /lib/libmysqld.so.18
#5  0xb51babb8 in start_thread () from /lib/i686/libpthread.so.0
#6  0xb565611e in clone () from /lib/i686/libc.so.6

Thread 2 (Thread 0x99cffb40 (LWP 3790)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb564b86b in poll () from /lib/i686/libc.so.6
#2  0xb352973b in g_poll () from /lib/libglib-2.0.so.0
#3  0xb351ac90 in g_main_context_iterate.isra.22 () from /lib/libglib-2.0.so.0
#4  0xb351adf1 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0xb59c209f in QEventDispatcherGlib::processEvents (this=0x99300468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0xb598ee1c in QEventLoop::processEvents (this=this@entry=0x99cff248, flags=...) at kernel/qeventloop.cpp:149
#7  0xb598f111 in QEventLoop::exec (this=0x99cff248, flags=...) at kernel/qeventloop.cpp:204
#8  0xb587c40c in QThread::exec (this=0xa5e6ad8) at thread/qthread.cpp:501
#9  0xb596d68d in QInotifyFileSystemWatcherEngine::run (this=0xa5e6ad8) at io/qfilesystemwatcher_inotify.cpp:248
#10 0xb587f7d0 in QThreadPrivate::start (arg=0xa5e6ad8) at thread/qthread_unix.cpp:307
#11 0xb51babb8 in start_thread () from /lib/i686/libpthread.so.0
#12 0xb565611e in clone () from /lib/i686/libc.so.6

Thread 1 (Thread 0xaf2c8740 (LWP 3784)):
[KCrash Handler]
#7  0xb587cbd6 in QThreadData::~QThreadData (this=0x9f5d130, __in_chrg=<optimized out>) at thread/qthread.cpp:102
#8  0xb587cd40 in QThreadData::deref (this=0x9f5d130) at thread/qthread.cpp:128
#9  0xb59a56fe in QObjectPrivate::~QObjectPrivate (this=0xa8bf990, __in_chrg=<optimized out>) at kernel/qobject.cpp:174
#10 0xb59a58c2 in QObjectPrivate::~QObjectPrivate (this=0xa8bf990, __in_chrg=<optimized out>) at kernel/qobject.cpp:186
#11 0xb59a962a in cleanup (pointer=<optimized out>) at ../../src/corelib/tools/qscopedpointer.h:62
#12 ~QScopedPointer (this=0xa8c0190, __in_chrg=<optimized out>) at ../../src/corelib/tools/qscopedpointer.h:100
#13 QObject::~QObject (this=0xa8c018c, __in_chrg=<optimized out>) at kernel/qobject.cpp:817
#14 0xb59280e3 in ~QDeviceClosedNotifier (this=0xa8c018c, __in_chrg=<optimized out>) at io/qtextstream.cpp:318
#15 QTextStreamPrivate::~QTextStreamPrivate (this=0xa8c0188, __in_chrg=<optimized out>) at io/qtextstream.cpp:447
#16 0xb5931bfd in cleanup (pointer=<optimized out>) at ../../src/corelib/tools/qscopedpointer.h:62
#17 ~QScopedPointer (this=<optimized out>, __in_chrg=<optimized out>) at ../../src/corelib/tools/qscopedpointer.h:100
#18 QTextStream::~QTextStream (this=0xa8c1418, __in_chrg=<optimized out>) at io/qtextstream.cpp:1142
#19 0xa53052f4 in MassStorageDeviceHandlerFactory::createHandler(Solid::Device const&, QString const&, SqlStorage*) const () from /usr/lib/kde4/amarok_device_massstorage.so
#20 0xb6f818d9 in MountPointManager::createHandlerFromDevice(Solid::Device const&, QString const&) () from /lib/libamaroklib.so.1
#21 0xb6f84201 in MountPointManager::loadDevicePlugins(QList<Plugins::PluginFactory*> const&) () from /lib/libamaroklib.so.1
#22 0xb6f8a3f4 in Plugins::PluginManager::init() () from /lib/libamaroklib.so.1
#23 0xb6f8b121 in Plugins::PluginManager::PluginManager(QObject*) () from /lib/libamaroklib.so.1
#24 0xb6f8b306 in Plugins::PluginManager::instance() () from /lib/libamaroklib.so.1
#25 0xb6f6a0c7 in MainWindow::MainWindow() () from /lib/libamaroklib.so.1
#26 0xb6f425c4 in App::continueInit() () from /lib/libamaroklib.so.1
#27 0xb6f43dc8 in App::App() () from /lib/libamaroklib.so.1
#28 0x0804fec0 in main ()
Manuel Hiebel 2012-09-16 11:55:30 CEST

Assignee: bugsquad => juan.baptiste
Source RPM: (none) => amarok

Comment 1 Curtis Hildebrand 2012-09-20 08:34:28 CEST
I'm having the same problem even after removing ~/.kde4/share/apps/amarok
In my case, I've been keeping up with Cauldron daily.


Console output:

amarok:         BEGIN: void MountPointManager::loadDevicePlugins(const QList<Plugins::PluginFactory*>&) 
amarok:           [MountPointManager] initializing: "amarok_device_massstorage" 
amarok:           BEGIN: void MountPointManager::createHandlerFromDevice(const Solid::Device&, const QString&) 
amarok:             [MountPointManager] Device added and mounted, checking handlers 
amarok:             BEGIN: virtual bool MassStorageDeviceHandlerFactory::canHandle(const Solid::Device&) const 
amarok:             END__: virtual bool MassStorageDeviceHandlerFactory::canHandle(const Solid::Device&) const [Took: 0s] 
amarok:             [MountPointManager] found handler for  "/org/freedesktop/UDisks/devices/sdc2" 
amarok:             BEGIN: virtual DeviceHandler* MassStorageDeviceHandlerFactory::createHandler(const Solid::Device&, const QString&, SqlStorage*) const 
amarok:               [MassStorageDeviceHandler] Found existing UUID config for ID  "1"  , uuid  "7e9765ba-b218-4727-8217-30cea29f6904" 
KCrash: Application 'amarok' crashing...
KCrash: Attempting to start /usr/lib64/kde4/libexec/drkonqi from kdeinit
sock_file=/home/curtis/.kde4/socket-Parkes/kdeinit4__0
unnamed app(23289): Communication problem with  "amarok" , it probably crashed. 
Error message was:  "org.freedesktop.DBus.Error.NoReply" : " "Message did not receive a reply (timeout by message bus)" " 


Backtrace with amarok-debug package:

#20 0x00007f1e21b999fb in ~Stream (this=0x20e0570, __in_chrg=<optimized out>) at /usr/include/QtCore/qdebug.h:64
#21 ~QDebug (this=<optimized out>, __in_chrg=<optimized out>) at /usr/include/QtCore/qdebug.h:88
#22 MassStorageDeviceHandlerFactory::createHandler (this=<optimized out>, device=..., udi=..., s=0x1714680) at /usr/src/debug/amarok-2.6.0/src/core-impl/collections/db/sql/device/massstorage/MassStorageDeviceHandler.cpp:172
#23 0x00007f1e612ddf52 in MountPointManager::createHandlerFromDevice (this=this@entry=0x1cc8f80, device=..., udi=...) at /usr/src/debug/amarok-2.6.0/src/MountPointManager.cpp:503
#24 0x00007f1e612e0ae8 in MountPointManager::loadDevicePlugins (this=0x1cc8f80, factories=...) at /usr/src/debug/amarok-2.6.0/src/MountPointManager.cpp:124
#25 0x00007f1e612e6b84 in Plugins::PluginManager::init (this=this@entry=0x1b4ad60) at /usr/src/debug/amarok-2.6.0/src/PluginManager.cpp:104
#26 0x00007f1e612e7904 in Plugins::PluginManager::PluginManager (this=0x1b4ad60, parent=<optimized out>) at /usr/src/debug/amarok-2.6.0/src/PluginManager.cpp:65
#27 0x00007f1e612e7ab7 in Plugins::PluginManager::instance () at /usr/src/debug/amarok-2.6.0/src/PluginManager.cpp:44
#28 0x00007f1e612c7d8e in pluginManager () at /usr/src/debug/amarok-2.6.0/src/PluginManager.h:76
#29 MainWindow::MainWindow (this=0x1b49d20) at /usr/src/debug/amarok-2.6.0/src/MainWindow.cpp:140
#30 0x00007f1e612a2db8 in App::continueInit (this=this@entry=0x7fff6ddbf680) at /usr/src/debug/amarok-2.6.0/src/App.cpp:545
#31 0x00007f1e612a4527 in App::App (this=0x7fff6ddbf680) at /usr/src/debug/amarok-2.6.0/src/App.cpp:184
#32 0x0000000000408c30 in main (argc=2, argv=0x7fff6ddbf7e8) at /usr/src/debug/amarok-2.6.0/src/main.cpp:304

CC: (none) => curtis_mageia

Sébastien GUERIN 2012-09-23 17:49:56 CEST

CC: (none) => sebastien.guerin.news

Comment 2 Curtis Hildebrand 2012-09-28 21:40:23 CEST
If I delete my amarok app folder in .kde4/share/apps, amarok will start normally.  No folder rescan is performed.  When I quit, it crashes.  

Starting it again produces the same crash as above.

Should I file a new bug for the crash on a fresh config folder?
Comment 3 Sébastien GUERIN 2012-09-28 22:17:45 CEST
*** Bug 7478 has been marked as a duplicate of this bug. ***

CC: (none) => n9nu

Sébastien GUERIN 2012-09-29 20:43:06 CEST

Hardware: i586 => All

Comment 4 Funda Wang 2012-10-23 06:16:20 CEST

*** This bug has been marked as a duplicate of bug 7748 ***

Status: NEW => RESOLVED
CC: (none) => fundawang
Resolution: (none) => DUPLICATE


Note You need to log in before you can comment on or make changes to this bug.