Bug 262408 - Crashes at start
Summary: Crashes at start
Status: RESOLVED DUPLICATE of bug 252424
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: 2.4-GIT
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: 2.4.0
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-07 13:48 UTC by reflexing
Modified: 2011-01-09 19:46 UTC (History)
0 users

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 reflexing 2011-01-07 13:48:41 UTC
Version:           2.4-GIT (using KDE 4.5.4) 
OS:                Linux

~]$ amarok -d --nofork
unable to allocate memory for mutex; resize mutex region
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:       [EngineController] Tick Interval (actual):  100 
amarok:     END__: void EngineController::initializePhonon() [Took: 0.062s] 
amarok:     BEGIN: virtual int App::newInstance() 
amarok:       BEGIN: static void App::handleCliArgs() 
amarok:       END__: static void App::handleCliArgs() [Took: 0s] 
amarok:     END__: virtual int App::newInstance() [Took: 0s] 
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 [ "8" ] 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/reflexing/.kde4/socket-sacred/kdeinit4__0

[1]+  Stopped                 amarok -d --nofork

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

Thread 2 (Thread 0x7f06dda7e700 (LWP 16043)):
#0  0x00007f06fcfc93e3 in poll () from /lib/libc.so.6
#1  0x00007f06f3cad32f in ?? () from /usr/lib/libpulse.so.0
#2  0x00007f06f3c9f0d6 in pa_mainloop_poll () from /usr/lib/libpulse.so.0
#3  0x00007f06f3c9f709 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0
#4  0x00007f06f3c9f7c0 in pa_mainloop_run () from /usr/lib/libpulse.so.0
#5  0x00007f06f3cad2cb in ?? () from /usr/lib/libpulse.so.0
#6  0x00007f06ed12e6a8 in ?? () from /usr/lib/libpulsecommon-0.9.22.so
#7  0x00007f06fb429c60 in start_thread () from /lib/libpthread.so.0
#8  0x00007f06fcfd17ed in clone () from /lib/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f0700524780 (LWP 16040)):
[KCrash Handler]
#6  0x00007f06d77e8e78 in handle_options () from /usr/lib/kde4/amarok_collection-mysqlecollection.so
#7  0x00007f06d7799888 in ?? () from /usr/lib/kde4/amarok_collection-mysqlecollection.so
#8  0x00007f06d779cbf4 in init_embedded_server () from /usr/lib/kde4/amarok_collection-mysqlecollection.so
#9  0x00007f06d778a1d3 in ?? () from /usr/lib/kde4/amarok_collection-mysqlecollection.so
#10 0x00007f06d7788e29 in ?? () from /usr/lib/kde4/amarok_collection-mysqlecollection.so
#11 0x00007f06ff2dc395 in CollectionManager::loadServices(QList<KSharedPtr<KService> > const&) () from /usr/lib/libamaroklib.so.1
#12 0x00007f06ff2dd7aa in CollectionManager::init() () from /usr/lib/libamaroklib.so.1
#13 0x00007f06ff2deb18 in CollectionManager::CollectionManager() () from /usr/lib/libamaroklib.so.1
#14 0x00007f06ff2debf5 in CollectionManager::instance() () from /usr/lib/libamaroklib.so.1
#15 0x00007f06ff50d2c6 in MainWindow::MainWindow() () from /usr/lib/libamaroklib.so.1
#16 0x00007f06ff4c7039 in App::continueInit() () from /usr/lib/libamaroklib.so.1
#17 0x00007f06ff4c8935 in App::App() () from /usr/lib/libamaroklib.so.1
#18 0x00000000004094db in _start ()

Reproducible: Always
Comment 1 Myriam Schweingruber 2011-01-08 14:51:02 UTC
Sorry, but your backtrace is not useful, as you are lacking debugging symbols. If you can reproduce this bug, please check here on how to get a valid backtrace:

http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports

Also please make sure you run the latest Amarok git build of today or later, as there have been quite some fixes.
Comment 2 reflexing 2011-01-09 12:00:00 UTC
Compiled with debug symbols:

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

Thread 2 (Thread 0x7ffdc01f5700 (LWP 24441)):
#0  0x00007ffddf7413e3 in poll () from /lib/libc.so.6
#1  0x00007ffdd642532f in ?? () from /usr/lib/libpulse.so.0
#2  0x00007ffdd64170d6 in pa_mainloop_poll () from /usr/lib/libpulse.so.0
#3  0x00007ffdd6417709 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0
#4  0x00007ffdd64177c0 in pa_mainloop_run () from /usr/lib/libpulse.so.0
#5  0x00007ffdd64252cb in ?? () from /usr/lib/libpulse.so.0
#6  0x00007ffdcf8a66a8 in ?? () from /usr/lib/libpulsecommon-0.9.22.so
#7  0x00007ffdddba1c60 in start_thread () from /lib/libpthread.so.0
#8  0x00007ffddf7497ed in clone () from /lib/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ffde2cac780 (LWP 24438)):
[KCrash Handler]
#6  0x00007ffdbdf60e78 in handle_options () from /usr/lib/kde4/amarok_collection-mysqlecollection.so
#7  0x00007ffdbdf11888 in init_common_variables() () from /usr/lib/kde4/amarok_collection-mysqlecollection.so
#8  0x00007ffdbdf14bf4 in init_embedded_server () from /usr/lib/kde4/amarok_collection-mysqlecollection.so
#9  0x00007ffdbdf021d3 in MySqlEmbeddedStorage::MySqlEmbeddedStorage (this=0x1325140, storageLocation=<value optimized out>) at /home/reflexing/builds/amarok-git/src/amarok/src/core-impl/collections/db/sql/mysqlecollection/MySqlEmbeddedStorage.cpp:85
#10 0x00007ffdbdf00e29 in Collections::MySqlEmbeddedCollectionFactory::init (this=0x1258dc0) at /home/reflexing/builds/amarok-git/src/amarok/src/core-impl/collections/db/sql/mysqlecollection/MySqlEmbeddedCollection.cpp:34
#11 0x00007ffde1a5f435 in CollectionManager::loadServices(QList<KSharedPtr<KService> > const&) () from /usr/lib/libamaroklib.so.1
#12 0x00007ffde1a6084a in CollectionManager::init() () from /usr/lib/libamaroklib.so.1
#13 0x00007ffde1a61bb8 in CollectionManager::CollectionManager() () from /usr/lib/libamaroklib.so.1
#14 0x00007ffde1a61c95 in CollectionManager::instance() () from /usr/lib/libamaroklib.so.1
#15 0x00007ffde1c916b6 in MainWindow::MainWindow() () from /usr/lib/libamaroklib.so.1
#16 0x00007ffde1c4b429 in App::continueInit() () from /usr/lib/libamaroklib.so.1
#17 0x00007ffde1c4cd25 in App::App() () from /usr/lib/libamaroklib.so.1
#18 0x00000000004094db in main ()
Comment 3 Myriam Schweingruber 2011-01-09 14:39:07 UTC
Which MySQL version are you using? If it is 5.5.8 then you need a patch, see also bug 252424
Comment 4 reflexing 2011-01-09 15:24:45 UTC
(In reply to comment #3)
> Which MySQL version are you using? If it is 5.5.8 then you need a patch, see
> also bug 252424

Yes, it's ArchLinux's 5.5.8. Will the patch be in GIT soon?
Comment 5 reflexing 2011-01-09 15:33:41 UTC
Now I see it's MySQL problem, sorry. Waiting for new MySQL package. Thanks.
Comment 6 Myriam Schweingruber 2011-01-09 19:46:24 UTC
Thank you for the feedback.

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