Bug 260936 - Amarok crashes at start with MySQL 5.5.8
Summary: Amarok crashes at start with MySQL 5.5.8
Status: RESOLVED DUPLICATE of bug 252424
Alias: None
Product: amarok
Classification: Applications
Component: Collections/Local (show other bugs)
Version: 2.3.90
Platform: Arch Linux Linux
: NOR crash
Target Milestone: 2.4.0
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-22 03:25 UTC by Andrea Scarpino
Modified: 2010-12-22 15:07 UTC (History)
2 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 Andrea Scarpino 2010-12-22 03:25:41 UTC
Version:           2.3.90 (2.4 beta 1) (using KDE 4.5.85) 
OS:                Linux

Amarok does not more start after the upgrade of MySQL to 5.5.8.

$ amarok
KGlobal::locale::Warning your global KLocale is being recreated with a valid main component instead of a fake component, this usually means you tried to call i18n related functions before your main component was created. You should not do that since it most likely will not work 
amarok(11701)/kdeui (KIconLoader) KSharedDataCache::Private::mapSharedMemory: Cache attached to shared memory, 4554752 bytes available out of 10485760
amarok(11701)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to open ksycoca from "/var/tmp/kdecache-bash/ksycoca4"
amarok(11701) Phonon::KdePlatformPlugin::createBackend: using backend:  "Xine"
KCrash: Application 'amarok' crashing...
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
sock_file=/home/bash/.kde4/socket-stockholm/kdeinit4__0
kde(11700): Communication problem with  "amarok" , it probably crashed. 
Error message was:  "org.freedesktop.DBus.Error.ServiceUnknown" : " "The name org.kde.amarok was not provided by any .service files" " 

$ amarok -d
KGlobal::locale::Warning your global KLocale is being recreated with a valid main component instead of a fake component, this usually means you tried to call i18n related functions before your main component was created. You should not do that since it most likely will not work 
amarok(11753)/kdeui (KIconLoader) KSharedDataCache::Private::mapSharedMemory: Cache attached to shared memory, 4554752 bytes available out of 10485760
amarok: BEGIN: App::App() 
amarok:   BEGIN: void App::continueInit() 
amarok:     BEGIN: EngineController::EngineController() 
amarok:     END__: EngineController::EngineController() [Took: 0s] 
amarok:     BEGIN: void EngineController::initializePhonon() 
amarok(11753)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to open ksycoca from "/var/tmp/kdecache-bash/ksycoca4"
amarok(11753) Phonon::KdePlatformPlugin::createBackend: using backend:  "Xine"
amarok:       [EngineController] Tick Interval (actual):  100 
amarok:     END__: void EngineController::initializePhonon() [Took: 0.063s] 
amarok:     BEGIN: MainWindow::MainWindow() 
amarok:       BEGIN: void CollectionManager::init() 
amarok:         [PluginManager] Plugin trader constraint:  "[X-KDE-Amarok-framework-version] == 59 and [X-KDE-Amarok-plugintype] == 'collection' and [X-KDE-Amarok-rank] > 0" 
amarok:         [CollectionManager] Received [ "9" ] collection plugin offers 
amarok:         BEGIN: void CollectionManager::loadServices(const KService::List&) 
amarok:           [CollectionManager] Initialising "mysqle-collection" 
KCrash: Application 'amarok' crashing...
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
sock_file=/home/bash/.kde4/socket-stockholm/kdeinit4__0
kde(11752): Communication problem with  "amarok" , it probably crashed. 
Error message was:  "org.freedesktop.DBus.Error.ServiceUnknown" : " "The name org.kde.amarok was not provided by any .service files" "

Reproducible: Always

Steps to Reproduce:
just install mysql 5.5.8 and try to start amarok

Actual Results:  
amarok crashes


mysql 5.5.8
kde 4.5.85
amarok 2.3.90
Comment 1 Andrea Scarpino 2010-12-22 10:08:17 UTC
Backtrace:

Application: Amarok (amarok), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fa860d76780 (LWP 5287))]

Thread 7 (Thread 0x7fa83d10c700 (LWP 5288)):
#0  0x00007fa85bbb469b in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fa8434418c1 in ?? () from /usr/lib/libxine.so.1
#2  0x00007fa85bbafc60 in start_thread () from /lib/libpthread.so.0
#3  0x00007fa85daf37ed in clone () from /lib/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7fa83c90b700 (LWP 5289)):
#0  0x00007fa85daeb3e3 in poll () from /lib/libc.so.6
#1  0x00007fa8572ee134 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007fa8572ee66d in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007fa85e426f66 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#4  0x00007fa85e3fb232 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0x00007fa85e3fb47c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x00007fa85e310d54 in QThread::exec() () from /usr/lib/libQtCore.so.4
#7  0x00007fa84369cd94 in ?? () from /usr/lib/kde4/plugins/phonon_backend/phonon_xine.so
#8  0x00007fa85e31352e in ?? () from /usr/lib/libQtCore.so.4
#9  0x00007fa85bbafc60 in start_thread () from /lib/libpthread.so.0
#10 0x00007fa85daf37ed in clone () from /lib/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fa83bf06700 (LWP 5290)):
#0  0x00007fa85bbb1a88 in __pthread_mutex_lock_full () from /lib/libpthread.so.0
#1  0x00007fa84d41b79e in pa_mutex_lock () from /usr/lib/libpulsecommon-0.9.22.so
#2  0x00007fa853ef5339 in ?? () from /usr/lib/libpulse.so.0
#3  0x00007fa853ee70d6 in pa_mainloop_poll () from /usr/lib/libpulse.so.0
#4  0x00007fa853ee7709 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0
#5  0x00007fa853ee77c0 in pa_mainloop_run () from /usr/lib/libpulse.so.0
#6  0x00007fa853ef52cb in ?? () from /usr/lib/libpulse.so.0
#7  0x00007fa84d41c6a8 in ?? () from /usr/lib/libpulsecommon-0.9.22.so
#8  0x00007fa85bbafc60 in start_thread () from /lib/libpthread.so.0
#9  0x00007fa85daf37ed in clone () from /lib/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fa837704700 (LWP 5291)):
#0  0x00007fa85bbb4324 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fa84345367b in ?? () from /usr/lib/libxine.so.1
#2  0x00007fa85bbafc60 in start_thread () from /lib/libpthread.so.0
#3  0x00007fa85daf37ed in clone () from /lib/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fa836afa700 (LWP 5292)):
#0  0x00007fa85bbb4324 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fa84345367b in ?? () from /usr/lib/libxine.so.1
#2  0x00007fa85bbafc60 in start_thread () from /lib/libpthread.so.0
#3  0x00007fa85daf37ed in clone () from /lib/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fa8362f9700 (LWP 5293)):
#0  0x00007fa85bbb4324 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fa84345367b in ?? () from /usr/lib/libxine.so.1
#2  0x00007fa85bbafc60 in start_thread () from /lib/libpthread.so.0
#3  0x00007fa85daf37ed in clone () from /lib/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fa860d76780 (LWP 5287)):
[KCrash Handler]
#6  0x00007fa8350fd398 in handle_options () from /usr/lib/kde4/amarok_collection-mysqlecollection.so
#7  0x00007fa8350add78 in ?? () from /usr/lib/kde4/amarok_collection-mysqlecollection.so
#8  0x00007fa8350b10e4 in init_embedded_server () from /usr/lib/kde4/amarok_collection-mysqlecollection.so
#9  0x00007fa83509ed65 in ?? () from /usr/lib/kde4/amarok_collection-mysqlecollection.so
#10 0x00007fa83509df72 in ?? () from /usr/lib/kde4/amarok_collection-mysqlecollection.so
#11 0x00007fa85fc14800 in CollectionManager::loadServices(QList<KSharedPtr<KService> > const&) () from /usr/lib/libamaroklib.so.1
#12 0x00007fa85fc14f83 in CollectionManager::init() () from /usr/lib/libamaroklib.so.1
#13 0x00007fa85fc151a6 in CollectionManager::CollectionManager() () from /usr/lib/libamaroklib.so.1
#14 0x00007fa85fc15229 in CollectionManager::instance() () from /usr/lib/libamaroklib.so.1
#15 0x00007fa85fd3250b in MainWindow::MainWindow() () from /usr/lib/libamaroklib.so.1
#16 0x00007fa85fd12b3a in App::continueInit() () from /usr/lib/libamaroklib.so.1
#17 0x00007fa85fd137fe in App::App() () from /usr/lib/libamaroklib.so.1
#18 0x0000000000406b3d in _start ()
Comment 2 Andrea Scarpino 2010-12-22 11:39:10 UTC
Backtrace with debug symbols:

Application: Amarok (amarok), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f13ec15b780 (LWP 12338))]

Thread 7 (Thread 0x7f13c81dd700 (LWP 12341)):
#0  0x00007f13e6c7269b in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f13ce5128c1 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f13e6c6dc60 in start_thread () from /lib/libpthread.so.0
#3  0x00007f13e8bb17ed in clone () from /lib/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f13c79dc700 (LWP 12342)):
#0  0x00007f13e8ba93e3 in poll () from /lib/libc.so.6
#1  0x00007f13e23af134 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f13e23af66d in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f13e94e4f66 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#4  0x00007f13e94b9232 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0x00007f13e94b947c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x00007f13e93ced54 in QThread::exec() () from /usr/lib/libQtCore.so.4
#7  0x00007f13ce76dd94 in ?? () from /usr/lib/kde4/plugins/phonon_backend/phonon_xine.so
#8  0x00007f13e93d152e in ?? () from /usr/lib/libQtCore.so.4
#9  0x00007f13e6c6dc60 in start_thread () from /lib/libpthread.so.0
#10 0x00007f13e8bb17ed in clone () from /lib/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f13c6fd7700 (LWP 12343)):
#0  0x00007f13e6c6fb04 in __pthread_mutex_lock_full () from /lib/libpthread.so.0
#1  0x00007f13d84dc79e in pa_mutex_lock () from /usr/lib/libpulsecommon-0.9.22.so
#2  0x00007f13defb6339 in ?? () from /usr/lib/libpulse.so.0
#3  0x00007f13defa80d6 in pa_mainloop_poll () from /usr/lib/libpulse.so.0
#4  0x00007f13defa8709 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0
#5  0x00007f13defa87c0 in pa_mainloop_run () from /usr/lib/libpulse.so.0
#6  0x00007f13defb62cb in ?? () from /usr/lib/libpulse.so.0
#7  0x00007f13d84dd6a8 in ?? () from /usr/lib/libpulsecommon-0.9.22.so
#8  0x00007f13e6c6dc60 in start_thread () from /lib/libpthread.so.0
#9  0x00007f13e8bb17ed in clone () from /lib/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f13c27d5700 (LWP 12344)):
#0  0x00007f13e6c72324 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f13ce52467b in ?? () from /usr/lib/libxine.so.1
#2  0x00007f13e6c6dc60 in start_thread () from /lib/libpthread.so.0
#3  0x00007f13e8bb17ed in clone () from /lib/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f13c1bcb700 (LWP 12345)):
#0  0x00007f13e6c72324 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f13ce52467b in ?? () from /usr/lib/libxine.so.1
#2  0x00007f13e6c6dc60 in start_thread () from /lib/libpthread.so.0
#3  0x00007f13e8bb17ed in clone () from /lib/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f13c13a9700 (LWP 12346)):
#0  0x00007f13e6c72324 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f13ce52467b in ?? () from /usr/lib/libxine.so.1
#2  0x00007f13e6c6dc60 in start_thread () from /lib/libpthread.so.0
#3  0x00007f13e8bb17ed in clone () from /lib/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f13ec15b780 (LWP 12338)):
[KCrash Handler]
#6  0x00007f13bff798a8 in handle_options () from /usr/lib/kde4/amarok_collection-mysqlecollection.so
#7  0x00007f13bff2a288 in init_common_variables() () from /usr/lib/kde4/amarok_collection-mysqlecollection.so
#8  0x00007f13bff2d5f4 in init_embedded_server () from /usr/lib/kde4/amarok_collection-mysqlecollection.so
#9  0x00007f13bff1abd3 in MySqlEmbeddedStorage::MySqlEmbeddedStorage (this=0x2d71360, storageLocation=<value optimized out>) at /build/src/amarok-2.3.90/src/core-impl/collections/db/sql/mysqlecollection/MySqlEmbeddedStorage.cpp:85
#10 0x00007f13bff19829 in Collections::MySqlEmbeddedCollectionFactory::init (this=0x2d146b0) at /build/src/amarok-2.3.90/src/core-impl/collections/db/sql/mysqlecollection/MySqlEmbeddedCollection.cpp:34
#11 0x00007f13eaedcdf5 in CollectionManager::loadServices (this=0x26dab60, services=<value optimized out>) at /build/src/amarok-2.3.90/src/core-impl/collections/support/CollectionManager.cpp:216
#12 0x00007f13eaede20a in CollectionManager::init (this=0x26dab60) at /build/src/amarok-2.3.90/src/core-impl/collections/support/CollectionManager.cpp:195
#13 0x00007f13eaedf578 in CollectionManager::CollectionManager (this=0x26dab60) at /build/src/amarok-2.3.90/src/core-impl/collections/support/CollectionManager.cpp:117
#14 0x00007f13eaedf655 in CollectionManager::instance () at /build/src/amarok-2.3.90/src/core-impl/collections/support/CollectionManager.cpp:94
#15 0x00007f13eb10cbc6 in MainWindow::MainWindow (this=0x2a46f20) at /build/src/amarok-2.3.90/src/MainWindow.cpp:136
#16 0x00007f13eb0c6999 in App::continueInit (this=0x7fffd14e04e0) at /build/src/amarok-2.3.90/src/App.cpp:619
#17 0x00007f13eb0c8275 in App::App (this=0x7fffd14e04e0) at /build/src/amarok-2.3.90/src/App.cpp:209
#18 0x00000000004093fd in main (argc=1, argv=0x7fffd14e2958) at /build/src/amarok-2.3.90/src/main.cpp:259
Comment 3 Myriam Schweingruber 2010-12-22 15:07:28 UTC

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