Bug 199462 - Amarok-2.1.1 crashes on exit (everytime) under KDE-4.3-rc1 (qdbus, KBookmarkManagerAdaptor)
Summary: Amarok-2.1.1 crashes on exit (everytime) under KDE-4.3-rc1 (qdbus, KBookmarkM...
Status: RESOLVED WORKSFORME
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-08 20:04 UTC by boris64
Modified: 2009-10-11 21:46 UTC (History)
1 user (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 boris64 2009-07-08 20:04:26 UTC
Application that crashed: amarok
Version of the application: 2.1.1
KDE Version: 4.2.95 (KDE 4.2.95 (KDE 4.3 RC1))
Qt Version: 4.5.2
Operating System: Linux 2.6.30.1-2k9-dirty x86_64

 -- Backtrace:
Application: Amarok (amarok), signal: Segmentation fault
[Current thread is 0 (LWP 457917)]

Thread 9 (Thread 0x7f2618948910 (LWP 457971)):
#0  0x0000003131c0b079 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f261a06a0dd in os_event_wait_low () from /usr/lib64/mysql/ib/libinnobase.so.0
#2  0x00007f261a06c887 in os_aio_simulated_handle () from /usr/lib64/mysql/ib/libinnobase.so.0
#3  0x00007f261a02eb03 in fil_aio_wait () from /usr/lib64/mysql/ib/libinnobase.so.0
#4  0x00007f261a0b0280 in ?? () from /usr/lib64/mysql/ib/libinnobase.so.0
#5  0x0000003131c06634 in start_thread () from /lib/libpthread.so.0
#6  0x00000031310cf1ed in clone () from /lib/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f2618147910 (LWP 457972)):
#0  0x0000003131c0b079 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f261a06a0dd in os_event_wait_low () from /usr/lib64/mysql/ib/libinnobase.so.0
#2  0x00007f261a06c887 in os_aio_simulated_handle () from /usr/lib64/mysql/ib/libinnobase.so.0
#3  0x00007f261a02eb03 in fil_aio_wait () from /usr/lib64/mysql/ib/libinnobase.so.0
#4  0x00007f261a0b0280 in ?? () from /usr/lib64/mysql/ib/libinnobase.so.0
#5  0x0000003131c06634 in start_thread () from /lib/libpthread.so.0
#6  0x00000031310cf1ed in clone () from /lib/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f2617946910 (LWP 457973)):
#0  0x0000003131c0b079 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f261a06a0dd in os_event_wait_low () from /usr/lib64/mysql/ib/libinnobase.so.0
#2  0x00007f261a06c887 in os_aio_simulated_handle () from /usr/lib64/mysql/ib/libinnobase.so.0
#3  0x00007f261a02eb03 in fil_aio_wait () from /usr/lib64/mysql/ib/libinnobase.so.0
#4  0x00007f261a0b0280 in ?? () from /usr/lib64/mysql/ib/libinnobase.so.0
#5  0x0000003131c06634 in start_thread () from /lib/libpthread.so.0
#6  0x00000031310cf1ed in clone () from /lib/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f2617145910 (LWP 457974)):
#0  0x0000003131c0b079 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f261a06a0dd in os_event_wait_low () from /usr/lib64/mysql/ib/libinnobase.so.0
#2  0x00007f261a06c887 in os_aio_simulated_handle () from /usr/lib64/mysql/ib/libinnobase.so.0
#3  0x00007f261a02eb03 in fil_aio_wait () from /usr/lib64/mysql/ib/libinnobase.so.0
#4  0x00007f261a0b0280 in ?? () from /usr/lib64/mysql/ib/libinnobase.so.0
#5  0x0000003131c06634 in start_thread () from /lib/libpthread.so.0
#6  0x00000031310cf1ed in clone () from /lib/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f2615c2d910 (LWP 457987)):
#0  0x00000031310c8842 in select () from /lib/libc.so.6
#1  0x00007f261a06a51b in os_thread_sleep () from /usr/lib64/mysql/ib/libinnobase.so.0
#2  0x00007f261a0ae6e1 in srv_lock_timeout_and_monitor_thread () from /usr/lib64/mysql/ib/libinnobase.so.0
#3  0x0000003131c06634 in start_thread () from /lib/libpthread.so.0
#4  0x00000031310cf1ed in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f261542c910 (LWP 457988)):
#0  0x00000031310c8842 in select () from /lib/libc.so.6
#1  0x00007f261a06a51b in os_thread_sleep () from /usr/lib64/mysql/ib/libinnobase.so.0
#2  0x00007f261a0ab893 in srv_error_monitor_thread () from /usr/lib64/mysql/ib/libinnobase.so.0
#3  0x0000003131c06634 in start_thread () from /lib/libpthread.so.0
#4  0x00000031310cf1ed in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f2614c2b910 (LWP 457989)):
#0  0x0000003131c0b079 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f261a06a0dd in os_event_wait_low () from /usr/lib64/mysql/ib/libinnobase.so.0
#2  0x00007f261a0abf16 in srv_master_thread () from /usr/lib64/mysql/ib/libinnobase.so.0
#3  0x0000003131c06634 in start_thread () from /lib/libpthread.so.0
#4  0x00000031310cf1ed in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f260ebcf910 (LWP 458135)):
#0  0x0000003131c0b079 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x000000313745a25b in QWaitCondition::wait (this=<value optimized out>, mutex=<value optimized out>, time=<value optimized out>) at thread/qwaitcondition_unix.cpp:87
#2  0x0000003145a0a3d1 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=<value optimized out>, th=<value optimized out>)
    at /tmp/portage/portage/kde-base/kdelibs-4.2.95/work/kdelibs-4.2.95/threadweaver/Weaver/WeaverImpl.cpp:365
#3  0x0000003145a0e0e0 in ThreadWeaver::WorkingHardState::applyForWork (this=<value optimized out>, th=<value optimized out>)
    at /tmp/portage/portage/kde-base/kdelibs-4.2.95/work/kdelibs-4.2.95/threadweaver/Weaver/WorkingHardState.cpp:71
#4  0x0000003145a0c804 in ThreadWeaver::ThreadRunHelper::run (this=<value optimized out>, parent=<value optimized out>, th=<value optimized out>)
    at /tmp/portage/portage/kde-base/kdelibs-4.2.95/work/kdelibs-4.2.95/threadweaver/Weaver/Thread.cpp:87
#5  0x0000003145a0c904 in ThreadWeaver::Thread::run (this=<value optimized out>) at /tmp/portage/portage/kde-base/kdelibs-4.2.95/work/kdelibs-4.2.95/threadweaver/Weaver/Thread.cpp:142
#6  0x00000031374595d3 in QThreadPrivate::start (arg=<value optimized out>) at thread/qthread_unix.cpp:188
#7  0x0000003131c06634 in start_thread () from /lib/libpthread.so.0
#8  0x00000031310cf1ed in clone () from /lib/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f2625016770 (LWP 457917)):
[KCrash Handler]
#5  0x0000003138239f5b in QDBusAdaptorConnector::relaySlot (this=<value optimized out>, argv=<value optimized out>) at qdbusabstractadaptor.cpp:268
#6  0x000000313823a761 in QDBusAdaptorConnector::qt_metacall (this=<value optimized out>, _c=<value optimized out>, _id=<value optimized out>, _a=<value optimized out>)
    at qdbusabstractadaptor.cpp:364
#7  0x0000003137552b73 in QMetaObject::activate (sender=<value optimized out>, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=<value optimized out>)
    at kernel/qobject.cpp:3101
#8  0x0000003137552ed4 in QObject::destroyed (this=<value optimized out>, _t1=<value optimized out>) at .moc/debug-shared/moc_qobject.cpp:143
#9  0x0000003137553e61 in ~QObject (this=<value optimized out>) at kernel/qobject.cpp:757
#10 0x0000003f4cb97e03 in ~KBookmarkManagerAdaptor (this=<value optimized out>) at /tmp/portage/portage/kde-base/kdelibs-4.2.95/work/kdelibs-4.2.95/kio/bookmarks/kbookmarkmanageradaptor_p.h:28
#11 0x000000313754c28d in QObjectPrivate::deleteChildren (this=<value optimized out>) at kernel/qobject.cpp:1838
#12 0x0000003137554303 in ~QObject (this=<value optimized out>) at kernel/qobject.cpp:836
#13 0x0000003f4cb94236 in ~KBookmarkManager (this=<value optimized out>) at /tmp/portage/portage/kde-base/kdelibs-4.2.95/work/kdelibs-4.2.95/kio/bookmarks/kbookmarkmanager.cc:295
#14 0x0000003f4cb96fe6 in qDeleteAll<QList<KBookmarkManager*>::iterator> (begin=<value optimized out>, end=<value optimized out>) at /usr/include/qt4/QtCore/qalgorithms.h:350
#15 0x0000003f4cb9753c in ~KBookmarkManagerList (this=<value optimized out>) at /tmp/portage/portage/kde-base/kdelibs-4.2.95/work/kdelibs-4.2.95/kio/bookmarks/kbookmarkmanager.cc:50
#16 0x0000003f4cb93b12 in destroy () at /tmp/portage/portage/kde-base/kdelibs-4.2.95/work/kdelibs-4.2.95/kio/bookmarks/kbookmarkmanager.cc:54
#17 0x0000003131034f65 in __run_exit_handlers () from /lib/libc.so.6
#18 0x0000003131034fc5 in exit () from /lib/libc.so.6
#19 0x000000313101ea44 in __libc_start_main () from /lib/libc.so.6
#20 0x0000000000400e49 in _start ()

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2009-07-09 18:13:09 UTC
Sorry, your backtrace lacks debugging symbols, so you should consider installing all -dbg packages of the applications you are running to obtain a valid backtrace.

Strangely, you seem to use innoDB which is not at all the MySQL option we suggest. Where did you get this database version from, e.g. what package did you install?
Comment 2 boris64 2009-07-09 18:47:47 UTC
This is a standard gentoo mysql installation +standard USE flags,
so i can't help you about why i seem to be using innoDB.

Btw., this is mysql-community-5.0.77.

PS: I'll rebuild mysql with debug symbols enabled 
as soon as possible and post a better backtrace.
Comment 3 Myriam Schweingruber 2009-07-09 18:52:16 UTC
Boris, you need MySQL 5.1.30, else it can not work... see also here: 

http://amarok.kde.org/wiki/Development/MySQL_Embedded
Comment 4 Mikko C. 2009-07-09 18:57:05 UTC
Fyi, I have mysql 5.0.70 from gentoo and it works just fine.
And the crash seems to be in kdelibs not amarok, it looks valid to me but I might be wrong.
Comment 5 Dario Andres 2009-07-09 19:00:41 UTC
Indeed, it seems to be a kdelibs issue.
Reassigning and reopening.
Thanks
Comment 6 Dario Andres 2009-10-11 21:46:00 UTC
This crash never appeared again, I will assume it was fixed or a one-case incident.