Bug 196782

Summary: Crash on load (sigabrt)
Product: [Applications] amarok Reporter: Murph Finnicum <MattFinn>
Component: generalAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED DOWNSTREAM    
Severity: crash CC: andresbajotierra
Priority: NOR    
Version: 2.1   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Murph Finnicum 2009-06-16 19:00:46 UTC
Version:           2.1 (using KDE 4.2.4)
Compiler:          gcc (x86_64-pc-linux-gnu-4.3.3) 
OS:                Linux
Installed from:    Gentoo Packages

This crash is with my settings and DB from amarok 2.0.

I'm using gentoo's package for mysql-5.0.76-r1.

I've tried messing around with the USE flags on mysql quite a bit, never changed much. I don't have the old PIC hack in that gentoo used for a while. 

I built amarok with CXXFLAGS/CFLAGS="-march=nocona -pipe -fomit-frame-pointer -O2 -ggdb"

USE flags and such:
[ebuild   R   ] dev-db/mysql-5.0.76-r1  USE="big-tables debug embedded max-idx-128 perl ssl -berkdb -cluster -extraengine -latin1 -minimal (-selinux) -static" 0 kB
[ebuild   R   ] media-sound/amarok-2.1  USE="ipod mtp opengl semantic-desktop -cdaudio -daap -debug -mp3tunes" LINGUAS="ja -bg -ca -cs -da -de -el -en_GB -es -et -eu -fr -gl -he -is -it -km -ku -lt -lv -nb -nds -nl -nn -pa -pl -pt -pt_BR -ro -ru -sl -sv -th -tr -uk -wa -zh_CN -zh_TW" 0 kB

Please let me know what I can do to help with this bug. I'm an experienced programmer if it comes to that.

Here's the backtrace:
Application: Amarok (amarok), signal SIGABRT
0x00007fdcb93a9451 in nanosleep () from /lib/libc.so.6
[Current thread is 0 (LWP 9985)]

Thread 13 (Thread 0x7fdca514f910 (LWP 9986)):
#0  0x00007fdcb8eae4dd in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fdcaa17c948 in ?? () from /usr/lib64/libxine.so.1
#2  0x00007fdcb8eaa2c7 in start_thread () from /lib/libpthread.so.0
#3  0x00007fdcb93da38d in clone () from /lib/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 12 (Thread 0x7fdca494e910 (LWP 9987)):
#0  0x00007fdcb93d1426 in poll () from /lib/libc.so.6
#1  0x00007fdcb1d1f0aa in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007fdcb1d1f2d3 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007fdcb97a0f00 in QEventDispatcherGlib::processEvents () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007fdcb977e3c4 in QEventLoop::processEvents () from /usr/lib64/qt4/libQtCore.so.4
#5  0x00007fdcb977e548 in QEventLoop::exec () from /usr/lib64/qt4/libQtCore.so.4
#6  0x00007fdcb96ba67e in QThread::exec () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00007fdcaa3d10cc in ?? () from /usr/lib64/kde4/plugins/phonon_backend/phonon_xine.so
#8  0x00007fdcb96bcd7f in ?? () from /usr/lib64/qt4/libQtCore.so.4
#9  0x00007fdcb8eaa2c7 in start_thread () from /lib/libpthread.so.0
#10 0x00007fdcb93da38d in clone () from /lib/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7fdca3f43910 (LWP 9990)):
#0  0x00007fdcb93d1426 in poll () from /lib/libc.so.6
#1  0x00007fdca3f488a4 in ?? () from /usr/lib64/xine/plugins/1.26/xineplug_ao_out_alsa.so
#2  0x00007fdcb8eaa2c7 in start_thread () from /lib/libpthread.so.0
#3  0x00007fdcb93da38d in clone () from /lib/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7fdca3742910 (LWP 9991)):
#0  0x00007fdcb8eae259 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fdcaa189767 in ?? () from /usr/lib64/libxine.so.1
#2  0x00007fdcaa18afbd in ?? () from /usr/lib64/libxine.so.1
#3  0x00007fdcb8eaa2c7 in start_thread () from /lib/libpthread.so.0
#4  0x00007fdcb93da38d in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7fdca2d3e910 (LWP 9992)):
#0  0x00007fdcb8eae259 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fdcaa189767 in ?? () from /usr/lib64/libxine.so.1
#2  0x00007fdcaa18afbd in ?? () from /usr/lib64/libxine.so.1
#3  0x00007fdcb8eaa2c7 in start_thread () from /lib/libpthread.so.0
#4  0x00007fdcb93da38d in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7fdc9f33b910 (LWP 9993)):
#0  0x00007fdcb8eae259 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fdca058ed56 in safe_cond_wait () from /usr/lib64/mysql/libmysys.so.0
#2  0x00007fdca097cb21 in os_event_wait_low () from /usr/lib64/mysql/ib/libinnobase.so.0
#3  0x00007fdca097f013 in os_aio_simulated_handle () from /usr/lib64/mysql/ib/libinnobase.so.0
#4  0x00007fdca09452b8 in fil_aio_wait () from /usr/lib64/mysql/ib/libinnobase.so.0
#5  0x00007fdca09c1a5f in ?? () from /usr/lib64/mysql/ib/libinnobase.so.0
#6  0x00007fdcb8eaa2c7 in start_thread () from /lib/libpthread.so.0
#7  0x00007fdcb93da38d in clone () from /lib/libc.so.6
#8  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7fdc9eb3a910 (LWP 9994)):
#0  0x00007fdcb8eae259 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fdca058ed56 in safe_cond_wait () from /usr/lib64/mysql/libmysys.so.0
#2  0x00007fdca097cb21 in os_event_wait_low () from /usr/lib64/mysql/ib/libinnobase.so.0
#3  0x00007fdca097f013 in os_aio_simulated_handle () from /usr/lib64/mysql/ib/libinnobase.so.0
#4  0x00007fdca09452b8 in fil_aio_wait () from /usr/lib64/mysql/ib/libinnobase.so.0
#5  0x00007fdca09c1a5f in ?? () from /usr/lib64/mysql/ib/libinnobase.so.0
#6  0x00007fdcb8eaa2c7 in start_thread () from /lib/libpthread.so.0
#7  0x00007fdcb93da38d in clone () from /lib/libc.so.6
#8  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7fdc9e339910 (LWP 9995)):
#0  0x00007fdcb8eae259 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fdca058ed56 in safe_cond_wait () from /usr/lib64/mysql/libmysys.so.0
#2  0x00007fdca097cb21 in os_event_wait_low () from /usr/lib64/mysql/ib/libinnobase.so.0
#3  0x00007fdca097f013 in os_aio_simulated_handle () from /usr/lib64/mysql/ib/libinnobase.so.0
#4  0x00007fdca09452b8 in fil_aio_wait () from /usr/lib64/mysql/ib/libinnobase.so.0
#5  0x00007fdca09c1a5f in ?? () from /usr/lib64/mysql/ib/libinnobase.so.0
#6  0x00007fdcb8eaa2c7 in start_thread () from /lib/libpthread.so.0
#7  0x00007fdcb93da38d in clone () from /lib/libc.so.6
#8  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fdc9db38910 (LWP 9996)):
#0  0x00007fdcb8eae259 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fdca058ed56 in safe_cond_wait () from /usr/lib64/mysql/libmysys.so.0
#2  0x00007fdca097cb21 in os_event_wait_low () from /usr/lib64/mysql/ib/libinnobase.so.0
#3  0x00007fdca097f013 in os_aio_simulated_handle () from /usr/lib64/mysql/ib/libinnobase.so.0
#4  0x00007fdca09452b8 in fil_aio_wait () from /usr/lib64/mysql/ib/libinnobase.so.0
#5  0x00007fdca09c1a5f in ?? () from /usr/lib64/mysql/ib/libinnobase.so.0
#6  0x00007fdcb8eaa2c7 in start_thread () from /lib/libpthread.so.0
#7  0x00007fdcb93da38d in clone () from /lib/libc.so.6
#8  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fdc9c620910 (LWP 9998)):
#0  0x00007fdcb93d37a2 in select () from /lib/libc.so.6
#1  0x00007fdca097cee8 in os_thread_sleep () from /usr/lib64/mysql/ib/libinnobase.so.0
#2  0x00007fdca09be0cf in srv_lock_timeout_and_monitor_thread () from /usr/lib64/mysql/ib/libinnobase.so.0
#3  0x00007fdcb8eaa2c7 in start_thread () from /lib/libpthread.so.0
#4  0x00007fdcb93da38d in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fdc9be1f910 (LWP 9999)):
#0  0x00007fdcb93d37a2 in select () from /lib/libc.so.6
#1  0x00007fdca097cee8 in os_thread_sleep () from /usr/lib64/mysql/ib/libinnobase.so.0
#2  0x00007fdca09bcf6a in srv_error_monitor_thread () from /usr/lib64/mysql/ib/libinnobase.so.0
#3  0x00007fdcb8eaa2c7 in start_thread () from /lib/libpthread.so.0
#4  0x00007fdcb93da38d in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fdc9b61e910 (LWP 10000)):
#0  0x00007fdcb8eae259 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fdca058ed56 in safe_cond_wait () from /usr/lib64/mysql/libmysys.so.0
#2  0x00007fdca097cb21 in os_event_wait_low () from /usr/lib64/mysql/ib/libinnobase.so.0
#3  0x00007fdca09bc1cf in srv_master_thread () from /usr/lib64/mysql/ib/libinnobase.so.0
#4  0x00007fdcb8eaa2c7 in start_thread () from /lib/libpthread.so.0
#5  0x00007fdcb93da38d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fdcbb67b790 (LWP 9985)):
[KCrash Handler]
#5  0x00007fdcb933a645 in raise () from /lib/libc.so.6
#6  0x00007fdcb933bb63 in abort () from /lib/libc.so.6
#7  0x00007fdca058f112 in safe_mutex_lock () from /usr/lib64/mysql/libmysys.so.0
#8  0x00007fdca139477f in mi_open () from /usr/lib64/libmysqld.so.0
#9  0x00007fdca140362b in ha_myisam::open () from /usr/lib64/libmysqld.so.0
#10 0x00007fdca1409787 in handler::ha_open () from /usr/lib64/libmysqld.so.0
#11 0x00007fdca1575b96 in openfrm () from /usr/lib64/libmysqld.so.0
#12 0x00007fdca14c715f in ?? () from /usr/lib64/libmysqld.so.0
#13 0x00007fdca14cd069 in open_table () from /usr/lib64/libmysqld.so.0
#14 0x00007fdca14cda8a in open_tables () from /usr/lib64/libmysqld.so.0
#15 0x00007fdca14cdefd in open_and_lock_tables () from /usr/lib64/libmysqld.so.0
#16 0x00007fdca14fa8e5 in mysql_execute_command () from /usr/lib64/libmysqld.so.0
#17 0x00007fdca14fe28c in mysql_parse () from /usr/lib64/libmysqld.so.0
#18 0x00007fdca1500f93 in dispatch_command () from /usr/lib64/libmysqld.so.0
#19 0x00007fdca1384606 in ?? () from /usr/lib64/libmysqld.so.0
#20 0x00007fdca13d817b in mysql_send_query () from /usr/lib64/libmysqld.so.0
#21 0x00007fdca13d8293 in mysql_real_query () from /usr/lib64/libmysqld.so.0
#22 0x00007fdca19695e0 in MySqlEmbeddedCollection::query (this=0xb85cf0, statement=@0x7fffc37d1a60)
    at /var/tmp/portage/media-sound/amarok-2.1/work/amarok-2.1/src/collection/sqlcollection/MySqlEmbeddedCollection.cpp:197
#23 0x00007fdca1919fb0 in DatabaseUpdater::adminValue (this=0xbd3120, key=<value optimized out>)
    at /var/tmp/portage/media-sound/amarok-2.1/work/amarok-2.1/src/collection/sqlcollection/DatabaseUpdater.cpp:606
#24 0x00007fdca191a13e in DatabaseUpdater::needsUpdate (this=0xbd3120) at /var/tmp/portage/media-sound/amarok-2.1/work/amarok-2.1/src/collection/sqlcollection/DatabaseUpdater.cpp:50
#25 0x00007fdca1942d79 in SqlCollection::init (this=0xb85cf0) at /var/tmp/portage/media-sound/amarok-2.1/work/amarok-2.1/src/collection/sqlcollection/SqlCollection.cpp:94
#26 0x00007fdca1968272 in MySqlEmbeddedCollection (this=0xb85cf0, id=<value optimized out>, prettyName=<value optimized out>)
    at /var/tmp/portage/media-sound/amarok-2.1/work/amarok-2.1/src/collection/sqlcollection/MySqlEmbeddedCollection.cpp:171
#27 0x00007fdca1942c53 in SqlCollectionFactory::init (this=0xb57aa0) at /var/tmp/portage/media-sound/amarok-2.1/work/amarok-2.1/src/collection/sqlcollection/SqlCollection.cpp:70
#28 0x00007fdcbab7e4b0 in CollectionManager::init (this=0xb67370) at /var/tmp/portage/media-sound/amarok-2.1/work/amarok-2.1/src/collection/CollectionManager.cpp:146
#29 0x00007fdcbab7ece0 in CollectionManager::instance () at /var/tmp/portage/media-sound/amarok-2.1/work/amarok-2.1/src/collection/CollectionManager.cpp:65
#30 0x00007fdcbab0b17f in ServiceFactory (this=0xb7f020) at /var/tmp/portage/media-sound/amarok-2.1/work/amarok-2.1/src/services/ServiceBase.cpp:40
#31 0x00007fdca22042cf in create_plugin () at /var/tmp/portage/media-sound/amarok-2.1/work/amarok-2.1/src/services/ampache/AmpacheService.h:37
#32 0x00007fdcbac56009 in PluginManager::createFromService (service={d = 0x7fffc37d2620}) at /var/tmp/portage/media-sound/amarok-2.1/work/amarok-2.1/src/PluginManager.cpp:108
#33 0x00007fdcbab1f18b in ServicePluginManager::collect (this=0xb916a0) at /var/tmp/portage/media-sound/amarok-2.1/work/amarok-2.1/src/services/ServicePluginManager.cpp:67
#34 0x00007fdcbab1fb9d in ServicePluginManager::instance () at /var/tmp/portage/media-sound/amarok-2.1/work/amarok-2.1/src/services/ServicePluginManager.cpp:34
#35 0x00007fdcbaab872e in Model (this=0xb34d50) at /var/tmp/portage/media-sound/amarok-2.1/work/amarok-2.1/src/playlist/PlaylistModel.cpp:87
#36 0x00007fdcbaab91d2 in Playlist::Model::instance () at /var/tmp/portage/media-sound/amarok-2.1/work/amarok-2.1/src/playlist/PlaylistModel.cpp:59
#37 0x00007fdcbabf9d00 in StatusBar (this=0xaeed90, parent=<value optimized out>) at /var/tmp/portage/media-sound/amarok-2.1/work/amarok-2.1/src/statusbar/StatusBar.cpp:93
#38 0x00007fdcbac4bf6c in MainWindow (this=0x75fd50) at /var/tmp/portage/media-sound/amarok-2.1/work/amarok-2.1/src/MainWindow.cpp:134
#39 0x00007fdcbac30134 in App::continueInit (this=0x7fffc37d2f90) at /var/tmp/portage/media-sound/amarok-2.1/work/amarok-2.1/src/App.cpp:595
#40 0x00007fdcbac30db9 in App (this=0x7fffc37d2f90) at /var/tmp/portage/media-sound/amarok-2.1/work/amarok-2.1/src/App.cpp:201
#41 0x0000000000404153 in main (argc=2, argv=0x7fffc37d4168) at /var/tmp/portage/media-sound/amarok-2.1/work/amarok-2.1/src/main.cpp:126
Comment 1 Dario Andres 2009-06-16 19:47:47 UTC
According to bug 189801, this could be caused by a MySql package update in Gentoo (bug 189801 comment 2).
Thanks