Bug 252724 - Amarok crashed on quit caused by MySQL crash
Summary: Amarok crashed on quit caused by MySQL crash
Status: RESOLVED DUPLICATE of bug 251515
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: 2.3.2
Platform: Mandriva RPMs Linux
: NOR crash
Target Milestone: 2.4.0
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-29 11:10 UTC by Nikita Krupenko
Modified: 2010-09-29 11:23 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 Nikita Krupenko 2010-09-29 11:10:04 UTC
Application: amarok (2.3.2)
KDE Platform Version: 4.4.3 (KDE 4.4.3)
Qt Version: 4.6.2
Operating System: Linux 2.6.33.7-desktop-2mnb x86_64
Distribution: "Mandriva Linux 2010.1"

-- Information about the crash:
I have paused playback, the quited Amarok and it crashed

 -- Backtrace:
Application: Amarok (amarok), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fe3947c2740 (LWP 6385))]

Thread 8 (Thread 0x7fe37a83c710 (LWP 6416)):
#0  0x00007fe3916c8533 in poll () from /lib64/libc.so.6
#1  0x00007fe38a4d6e4f in poll_func (ufds=0xde5a60, nfds=1, timeout=-1, userdata=0xde41d0) at pulse/thread-mainloop.c:75
#2  0x00007fe38a4c7146 in pa_mainloop_poll (m=0xde40c0) at pulse/mainloop.c:879
#3  0x00007fe38a4c8529 in pa_mainloop_iterate (m=0xde40c0, block=<value optimized out>, retval=0x0) at pulse/mainloop.c:961
#4  0x00007fe38a4c85e0 in pa_mainloop_run (m=0xde40c0, retval=0x0) at pulse/mainloop.c:979
#5  0x00007fe38a4d6d5b in thread (userdata=0xb60c00) at pulse/thread-mainloop.c:94
#6  0x00007fe38705a468 in internal_thread_func (userdata=0xde4290) at pulsecore/thread-posix.c:83
#7  0x00007fe38ff55a5d in start_thread () from /lib64/libpthread.so.0
#8  0x00007fe3916d215d in clone () from /lib64/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7fe36904d710 (LWP 6602)):
#0  0x00007fe38ff5a0bc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fe38e1d85c6 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7fe38e4b6220) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2304
#2  0x00007fe38e1d8609 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x7fe38e4c42ec) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1438
#3  0x00007fe38ff55a5d in start_thread () from /lib64/libpthread.so.0
#4  0x00007fe3916d215d in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7fe3739f7710 (LWP 7218)):
#0  0x00007fe38ff5a0bc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fe392b7c6cb in wait (this=<value optimized out>, mutex=0x13ef9a0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x13ef9a0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fe38e97aa46 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1800ea0, th=0x184b8c0) at /usr/src/debug/kdelibs-4.4.3/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fe38e97d05b in ThreadWeaver::WorkingHardState::applyForWork (this=0x17f5700, th=0x184b8c0) at /usr/src/debug/kdelibs-4.4.3/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fe38e97d074 in ThreadWeaver::WorkingHardState::applyForWork (this=0x17f5700, th=0x184b8c0) at /usr/src/debug/kdelibs-4.4.3/threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007fe38e97b5af in ThreadWeaver::ThreadRunHelper::run (this=0x7fe3739f6e50, parent=0x1800ea0, th=0x184b8c0) at /usr/src/debug/kdelibs-4.4.3/threadweaver/Weaver/Thread.cpp:87
#7  0x00007fe38e97bb18 in ThreadWeaver::Thread::run (this=0x184b8c0) at /usr/src/debug/kdelibs-4.4.3/threadweaver/Weaver/Thread.cpp:142
#8  0x00007fe392b7b715 in QThreadPrivate::start (arg=0x184b8c0) at thread/qthread_unix.cpp:248
#9  0x00007fe38ff55a5d in start_thread () from /lib64/libpthread.so.0
#10 0x00007fe3916d215d in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fe36984e710 (LWP 7219)):
#0  0x00007fe38ff5a0bc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fe392b7c6cb in wait (this=<value optimized out>, mutex=0x13ef9a0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x13ef9a0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fe38e97aa46 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1800ea0, th=0x13a2b50) at /usr/src/debug/kdelibs-4.4.3/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fe38e97d05b in ThreadWeaver::WorkingHardState::applyForWork (this=0x17f5700, th=0x13a2b50) at /usr/src/debug/kdelibs-4.4.3/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fe38e97d074 in ThreadWeaver::WorkingHardState::applyForWork (this=0x17f5700, th=0x13a2b50) at /usr/src/debug/kdelibs-4.4.3/threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007fe38e97b5af in ThreadWeaver::ThreadRunHelper::run (this=0x7fe36984de50, parent=0x1800ea0, th=0x13a2b50) at /usr/src/debug/kdelibs-4.4.3/threadweaver/Weaver/Thread.cpp:87
#7  0x00007fe38e97bb18 in ThreadWeaver::Thread::run (this=0x13a2b50) at /usr/src/debug/kdelibs-4.4.3/threadweaver/Weaver/Thread.cpp:142
#8  0x00007fe392b7b715 in QThreadPrivate::start (arg=0x13a2b50) at thread/qthread_unix.cpp:248
#9  0x00007fe38ff55a5d in start_thread () from /lib64/libpthread.so.0
#10 0x00007fe3916d215d in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fe36497e710 (LWP 7220)):
[KCrash Handler]
#5  0x00000000019b6340 in ?? ()
#6  0x00007fe3747b6c46 in my_message_sql (error=1317, str=0xf15d74 "Query execution was interrupted", MyFlags=0) at ../sql/mysqld.cc:2893
#7  0x00007fe3748382a1 in evaluate_join_record (join=0x2329920, join_tab=0x525, error=15818100) at sql_select.cc:11365
#8  0x00007fe374843856 in sub_select (join=0x2329920, join_tab=0x2260a08, end_of_records=<value optimized out>) at sql_select.cc:11323
#9  0x00007fe3748381f0 in evaluate_join_record (join=0x2329920, join_tab=0x22607b0, error=<value optimized out>) at sql_select.cc:11449
#10 0x00007fe374843856 in sub_select (join=0x2329920, join_tab=0x22607b0, end_of_records=<value optimized out>) at sql_select.cc:11323
#11 0x00007fe3748381f0 in evaluate_join_record (join=0x2329920, join_tab=0x2260558, error=<value optimized out>) at sql_select.cc:11449
#12 0x00007fe374843856 in sub_select (join=0x2329920, join_tab=0x2260558, end_of_records=<value optimized out>) at sql_select.cc:11323
#13 0x00007fe3748381f0 in evaluate_join_record (join=0x2329920, join_tab=0x2260300, error=<value optimized out>) at sql_select.cc:11449
#14 0x00007fe374843856 in sub_select (join=0x2329920, join_tab=0x2260300, end_of_records=<value optimized out>) at sql_select.cc:11323
#15 0x00007fe3748381f0 in evaluate_join_record (join=0x2329920, join_tab=0x22600a8, error=<value optimized out>) at sql_select.cc:11449
#16 0x00007fe374843856 in sub_select (join=0x2329920, join_tab=0x22600a8, end_of_records=<value optimized out>) at sql_select.cc:11323
#17 0x00007fe3748381f0 in evaluate_join_record (join=0x2329920, join_tab=0x225fe50, error=<value optimized out>) at sql_select.cc:11449
#18 0x00007fe374843856 in sub_select (join=0x2329920, join_tab=0x225fe50, end_of_records=<value optimized out>) at sql_select.cc:11323
#19 0x00007fe3748381f0 in evaluate_join_record (join=0x2329920, join_tab=0x225fbf8, error=<value optimized out>) at sql_select.cc:11449
#20 0x00007fe374843876 in sub_select (join=0x2329920, join_tab=0x225fbf8, end_of_records=<value optimized out>) at sql_select.cc:11329
#21 0x00007fe37484597e in do_select (join=0x2329920, fields=0x0, table=0x289e720, procedure=0x0) at sql_select.cc:11079
#22 0x00007fe37485586f in JOIN::exec (this=0x2329920) at sql_select.cc:1908
#23 0x00007fe374851e8a in mysql_select (thd=0xf3f120, rref_pointer_array=<value optimized out>, tables=0x2398ee0, wild_num=0, fields=<value optimized out>, conds=<value optimized out>, og_num=1, 
    order=0x2325c90, group=0x0, having=0x0, proc_param=0x0, select_options=2147764736, result=0x2325e28, unit=0xf40ba8, select_lex=0xf40fd0) at sql_select.cc:2510
#24 0x00007fe3748575bc in handle_select (thd=0xf3f120, lex=0xf40b08, result=0x2325e28, setup_tables_done_option=0) at sql_select.cc:269
#25 0x00007fe37481f76a in execute_sqlcom_select (thd=0xf3f120, all_tables=0x2398ee0) at sql_parse.cc:5067
#26 0x00007fe374820a21 in mysql_execute_command (thd=0xf3f120) at sql_parse.cc:2263
#27 0x00007fe374824481 in mysql_parse (thd=0xf3f120, inBuf=
    0xf34d20 "SELECT urls.deviceid, urls.rpath, urls.uniqueid, tracks.id, tracks.title, tracks.comment, tracks.tracknumber, tracks.discnumber, statistics.score, statistics.rating, tracks.bitrate, tracks.length, tra"..., length=1041, found_semicolon=0x7fe36497d488) at sql_parse.cc:5986
#28 0x00007fe374826d1a in dispatch_command (command=COM_QUERY, thd=0xf3f120, packet=<value optimized out>, packet_length=<value optimized out>) at sql_parse.cc:1233
#29 0x00007fe3747b2c19 in emb_advanced_command (mysql=0xf343d0, command=<value optimized out>, header=0x0, header_length=0, arg=<value optimized out>, arg_length=3991089092902413103, skip_check=
    1 '\001', stmt=0x0) at lib_sql.cc:139
#30 0x00007fe37478c10d in mysql_send_query (mysql=0xf343d0, query=0x3263636133653431 <Address 0x3263636133653431 out of bounds>, length=3991089092902413103) at client.c:2894
#31 0x00007fe37478c1ad in mysql_real_query (mysql=0xf3f120, query=0x525 <Address 0x525 out of bounds>, length=15818100) at client.c:2905
#32 0x00007fe3747846b5 in MySqlStorage::query (this=0xe7ec10, statement=...) at /mnt/store/Temp/amarok-2.3.2/src/core-impl/collections/sqlcollection/mysql-shared/MySqlStorage.cpp:122
#33 0x00007fe374300bb7 in Collections::SqlQueryMakerInternal::run (this=0x10c99c0) at /mnt/store/Temp/amarok-2.3.2/src/core-impl/collections/sqlcollection/SqlQueryMakerInternal.cpp:48
#34 0x00007fe3742fd0ad in SqlWorkerThread::run (this=0x222cba0) at /mnt/store/Temp/amarok-2.3.2/src/core-impl/collections/sqlcollection/SqlQueryMaker.cpp:65
#35 0x00007fe38e97c28d in ThreadWeaver::JobRunHelper::runTheJob (this=0x7fe36497ddc0, th=0x1392930, job=0x222cba0) at /usr/src/debug/kdelibs-4.4.3/threadweaver/Weaver/Job.cpp:106
#36 0x00007fe38e97c58e in ThreadWeaver::Job::execute (this=0x222cba0, th=0x1392930) at /usr/src/debug/kdelibs-4.4.3/threadweaver/Weaver/Job.cpp:135
#37 0x00007fe38e97b57f in ThreadWeaver::ThreadRunHelper::run (this=0x7fe36497de50, parent=0x1800ea0, th=0x1392930) at /usr/src/debug/kdelibs-4.4.3/threadweaver/Weaver/Thread.cpp:95
#38 0x00007fe38e97bb18 in ThreadWeaver::Thread::run (this=0x1392930) at /usr/src/debug/kdelibs-4.4.3/threadweaver/Weaver/Thread.cpp:142
#39 0x00007fe392b7b715 in QThreadPrivate::start (arg=0x1392930) at thread/qthread_unix.cpp:248
#40 0x00007fe38ff55a5d in start_thread () from /lib64/libpthread.so.0
#41 0x00007fe3916d215d in clone () from /lib64/libc.so.6
#42 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fe363b55710 (LWP 7234)):
#0  0x00007fe38ff5a0bc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fe392b7c6cb in wait (this=<value optimized out>, mutex=0x13ef9a0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x13ef9a0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fe38e97aa46 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1800ea0, th=0x1a22780) at /usr/src/debug/kdelibs-4.4.3/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fe38e97d05b in ThreadWeaver::WorkingHardState::applyForWork (this=0x17f5700, th=0x1a22780) at /usr/src/debug/kdelibs-4.4.3/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fe38e97d074 in ThreadWeaver::WorkingHardState::applyForWork (this=0x17f5700, th=0x1a22780) at /usr/src/debug/kdelibs-4.4.3/threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007fe38e97b5af in ThreadWeaver::ThreadRunHelper::run (this=0x7fe363b54e50, parent=0x1800ea0, th=0x1a22780) at /usr/src/debug/kdelibs-4.4.3/threadweaver/Weaver/Thread.cpp:87
#7  0x00007fe38e97bb18 in ThreadWeaver::Thread::run (this=0x1a22780) at /usr/src/debug/kdelibs-4.4.3/threadweaver/Weaver/Thread.cpp:142
#8  0x00007fe392b7b715 in QThreadPrivate::start (arg=0x1a22780) at thread/qthread_unix.cpp:248
#9  0x00007fe38ff55a5d in start_thread () from /lib64/libpthread.so.0
#10 0x00007fe3916d215d in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fe362d26710 (LWP 7235)):
#0  0x00007fe38ff5a0bc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fe3892dc076 in WTF::TCMalloc_PageHeap::scavengerThread() () from /usr/lib64/libQtWebKit.so.4
#2  0x00007fe3892dc0b9 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib64/libQtWebKit.so.4
#3  0x00007fe38ff55a5d in start_thread () from /lib64/libpthread.so.0
#4  0x00007fe3916d215d in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fe3947c2740 (LWP 6385)):
#0  0x00007fe3916c3e9d in write () from /lib64/libc.so.6
#1  0x00007fe38b8f408c in g_log_default_handler () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fe38b8f43b9 in g_logv () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fe38b8f47d3 in g_log () from /usr/lib64/libglib-2.0.so.0
#4  0x00007fe37f98b648 in gst_system_clock_add_wakeup (sysclock=0xde04c0) at gstsystemclock.c:321
#5  0x00007fe37f98c9bc in gst_system_clock_dispose (object=0xde04c0) at gstsystemclock.c:204
#6  0x00007fe38b1acefa in g_object_unref () from /usr/lib64/libgobject-2.0.so.0
#7  0x00007fe37f0a9c3d in gst_base_audio_sink_dispose (object=0xb606d0) at gstbaseaudiosink.c:314
#8  0x00007fe38b1acefa in g_object_unref () from /usr/lib64/libgobject-2.0.so.0
#9  0x00007fe37f940611 in gst_bin_remove_func (bin=0xde2170, element=0xb606d0) at gstbin.c:1394
#10 0x00007fe37f940b5b in gst_bin_dispose (object=0xde2170) at gstbin.c:536
#11 0x00007fe38b1acefa in g_object_unref () from /usr/lib64/libgobject-2.0.so.0
#12 0x00007fe37fbfb1b6 in Phonon::Gstreamer::AudioOutput::~AudioOutput (this=0xb43420, __in_chrg=<value optimized out>) at /usr/src/debug/phonon-4.4.1/gstreamer/audiooutput.cpp:92
#13 0x00007fe38f31eb1d in Phonon::MediaNodePrivate::~MediaNodePrivate (this=0xa33b20, __in_chrg=<value optimized out>) at /usr/src/debug/phonon-4.4.1/phonon/medianode.cpp:74
#14 0x00007fe38f324a57 in Phonon::AudioOutputPrivate::~AudioOutputPrivate (this=0xa33b20, __in_chrg=<value optimized out>) at /usr/src/debug/phonon-4.4.1/phonon/audiooutput.cpp:544
#15 0x00007fe38f324593 in Phonon::AbstractAudioOutput::~AbstractAudioOutput (this=0xb0bf90, __in_chrg=<value optimized out>) at /usr/src/debug/phonon-4.4.1/phonon/abstractaudiooutput.cpp:40
#16 0x00007fe38f326cdf in Phonon::AudioOutput::~AudioOutput (this=0x2, __in_chrg=<value optimized out>) at /usr/src/debug/phonon-4.4.1/phonon/audiooutput.h:51
#17 0x00007fe3939e073d in EngineController::~EngineController (this=0xa33c80, __in_chrg=<value optimized out>) at /mnt/store/Temp/amarok-2.3.2/src/EngineController.cpp:105
#18 0x00007fe393af31d9 in Amarok::DefaultApplicationController::shutdown (this=<value optimized out>) at /mnt/store/Temp/amarok-2.3.2/src/statemanagement/DefaultApplicationController.cpp:63
#19 0x00007fe3939d008e in App::~App (this=0x7fff9ef97d00, __in_chrg=<value optimized out>) at /mnt/store/Temp/amarok-2.3.2/src/App.cpp:275
#20 0x000000000040855e in main (argc=3, argv=0x7fff9ef99c78) at /mnt/store/Temp/amarok-2.3.2/src/main.cpp:237

This bug may be a duplicate of or related to bug 219184, bug 235101.

Possible duplicates by query: bug 243239, bug 235101, bug 219184.

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2010-09-29 11:23:47 UTC

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