Bug 277724

Summary: Amarok crashed on exit on Ubuntu 11.04 Natty
Product: [Applications] amarok Reporter: Di.Ego.R Kobylkin <egor>
Component: generalAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 2.4.0   
Target Milestone: 2.4.2   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description Di.Ego.R Kobylkin 2011-07-13 21:21:01 UTC
Application: amarok (2.4.0)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-8-generic x86_64
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed: right click on the amarok icon in the tray.

- Unusual behavior I noticed: Before I went to close the Amarok app, its CPU usage went up to a 100% percent with no music loaded into Amarok at all. Neither there was a song playing.

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

Thread 8 (Thread 0x7f7d014cd700 (LWP 11661)):
#0  0x00007f7d126a6f03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f7d0cd73104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f7d0cd739f2 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f7d0472bc44 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007f7d0cd9a3e4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f7d0e171d8c in start_thread (arg=0x7f7d014cd700) at pthread_create.c:304
#6  0x00007f7d126b404d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f7ce6d62700 (LWP 11677)):
#0  0x00007f7d126a6f03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f7d0cd73104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f7d0cd73639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f7d13004446 in QEventDispatcherGlib::processEvents (this=0x1777240, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f7d12fd8882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f7d12fd8abc in QEventLoop::exec (this=0x7f7ce6d61d10, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f7d12eef924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#7  0x00007f7d12fbac2f in QInotifyFileSystemWatcherEngine::run (this=0x17c3520) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f7d12ef2175 in QThreadPrivate::start (arg=0x17c3520) at thread/qthread_unix.cpp:320
#9  0x00007f7d0e171d8c in start_thread (arg=0x7f7ce6d62700) at pthread_create.c:304
#10 0x00007f7d126b404d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f7cdad85700 (LWP 11686)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f7d0ea6d2a2 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f7d0ed86180) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007f7d0ea6d2d9 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x7f7d0ed94254) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007f7d0e171d8c in start_thread (arg=0x7f7cdad85700) at pthread_create.c:304
#4  0x00007f7d126b404d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f7cfa319700 (LWP 11701)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f7d12ef282b in wait (this=<value optimized out>, mutex=0x1c69b10, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1c69b10, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f7d101230b4 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x18a2890, th=0x181ab90) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f7d10125723 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1fdd4e0, th=0x181ab90) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f7d1012573c in ThreadWeaver::WorkingHardState::applyForWork (this=0x1fdd4e0, th=0x181ab90) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f7d1012573c in ThreadWeaver::WorkingHardState::applyForWork (this=0x1fdd4e0, th=0x181ab90) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007f7d1012573c in ThreadWeaver::WorkingHardState::applyForWork (this=0x1fdd4e0, th=0x181ab90) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#8  0x00007f7d1012573c in ThreadWeaver::WorkingHardState::applyForWork (this=0x1fdd4e0, th=0x181ab90) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#9  0x00007f7d1012573c in ThreadWeaver::WorkingHardState::applyForWork (this=0x1fdd4e0, th=0x181ab90) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#10 0x00007f7d1012573c in ThreadWeaver::WorkingHardState::applyForWork (this=0x1fdd4e0, th=0x181ab90) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#11 0x00007f7d1012573c in ThreadWeaver::WorkingHardState::applyForWork (this=0x1fdd4e0, th=0x181ab90) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#12 0x00007f7d1012453f in ThreadWeaver::ThreadRunHelper::run (this=0x7f7cfa318d60, parent=0x18a2890, th=0x181ab90) at ../../../threadweaver/Weaver/Thread.cpp:87
#13 0x00007f7d101245cb in ThreadWeaver::Thread::run (this=0x181ab90) at ../../../threadweaver/Weaver/Thread.cpp:142
#14 0x00007f7d12ef2175 in QThreadPrivate::start (arg=0x181ab90) at thread/qthread_unix.cpp:320
#15 0x00007f7d0e171d8c in start_thread (arg=0x7f7cfa319700) at pthread_create.c:304
#16 0x00007f7d126b404d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#17 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f7cd6e7f700 (LWP 11713)):
[KCrash Handler]
#6  0x0000000000000000 in ?? ()
#7  0x00007f7ce6ff692b in SqlRegistry::getDirectory (this=0x17a6b40, path=..., mtime=1298323130) at ../../../../../../src/core-impl/collections/db/sql/SqlRegistry.cpp:65
#8  0x00007f7ce7019f70 in SqlScanResultProcessor::commitDirectory (this=0x7f7cd0030020, directory=0x10cf7c0) at ../../../../../../src/core-impl/collections/db/sql/SqlScanResultProcessor.cpp:97
#9  0x00007f7ce6fd72a9 in ScanResultProcessor::commit (this=0x7f7cd0030020) at ../../../../../../src/core-impl/collections/db/ScanResultProcessor.cpp:70
#10 0x00007f7ce701b0ec in SqlScanResultProcessor::commit (this=0x7f7cd0030020) at ../../../../../../src/core-impl/collections/db/sql/SqlScanResultProcessor.cpp:76
#11 0x00007f7ce6fd17c6 in ScannerJob::run (this=0x7f7cf48535f0) at ../../../../../../src/core-impl/collections/db/ScanManager.cpp:461
#12 0x00007f7d10124c21 in ThreadWeaver::JobRunHelper::runTheJob (this=0x7f7cd6e7ece0, th=0x17ff8f0, job=0x7f7cf48535f0) at ../../../threadweaver/Weaver/Job.cpp:106
#13 0x00007f7d10124d4c in ThreadWeaver::Job::execute (this=0x7f7cf48535f0, th=0x17ff8f0) at ../../../threadweaver/Weaver/Job.cpp:135
#14 0x00007f7d1012450f in ThreadWeaver::ThreadRunHelper::run (this=0x7f7cd6e7ed60, parent=0x18a2890, th=0x17ff8f0) at ../../../threadweaver/Weaver/Thread.cpp:95
#15 0x00007f7d101245cb in ThreadWeaver::Thread::run (this=0x17ff8f0) at ../../../threadweaver/Weaver/Thread.cpp:142
#16 0x00007f7d12ef2175 in QThreadPrivate::start (arg=0x17ff8f0) at thread/qthread_unix.cpp:320
#17 0x00007f7d0e171d8c in start_thread (arg=0x7f7cd6e7f700) at pthread_create.c:304
#18 0x00007f7d126b404d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#19 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f7cd667e700 (LWP 11719)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f7d12ef282b in wait (this=<value optimized out>, mutex=0x1c69b10, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1c69b10, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f7d101230b4 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x18a2890, th=0x1b2c7c0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f7d10125723 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1fdd4e0, th=0x1b2c7c0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f7d1012573c in ThreadWeaver::WorkingHardState::applyForWork (this=0x1fdd4e0, th=0x1b2c7c0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f7d1012453f in ThreadWeaver::ThreadRunHelper::run (this=0x7f7cd667dd60, parent=0x18a2890, th=0x1b2c7c0) at ../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007f7d101245cb in ThreadWeaver::Thread::run (this=0x1b2c7c0) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007f7d12ef2175 in QThreadPrivate::start (arg=0x1b2c7c0) at thread/qthread_unix.cpp:320
#9  0x00007f7d0e171d8c in start_thread (arg=0x7f7cd667e700) at pthread_create.c:304
#10 0x00007f7d126b404d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f7cd5e7d700 (LWP 11721)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f7d12ef282b in wait (this=<value optimized out>, mutex=0x1c69b10, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1c69b10, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f7d101230b4 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x18a2890, th=0x1c0c450) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f7d10125723 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1fdd4e0, th=0x1c0c450) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f7d1012573c in ThreadWeaver::WorkingHardState::applyForWork (this=0x1fdd4e0, th=0x1c0c450) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f7d1012573c in ThreadWeaver::WorkingHardState::applyForWork (this=0x1fdd4e0, th=0x1c0c450) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007f7d1012453f in ThreadWeaver::ThreadRunHelper::run (this=0x7f7cd5e7cd60, parent=0x18a2890, th=0x1c0c450) at ../../../threadweaver/Weaver/Thread.cpp:87
#8  0x00007f7d101245cb in ThreadWeaver::Thread::run (this=0x1c0c450) at ../../../threadweaver/Weaver/Thread.cpp:142
#9  0x00007f7d12ef2175 in QThreadPrivate::start (arg=0x1c0c450) at thread/qthread_unix.cpp:320
#10 0x00007f7d0e171d8c in start_thread (arg=0x7f7cd5e7d700) at pthread_create.c:304
#11 0x00007f7d126b404d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f7d15c9c840 (LWP 11660)):
#0  0x00007f7d126a6f03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f7d0b189512 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f7d0b18ab3f in xcb_wait_for_reply () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f7d11eb18ad in _XReply () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#4  0x00007f7d11e964f3 in XGetSelectionOwner () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#5  0x00007f7d13a1dc40 in QClipboard::event (this=0x10c2c10, e=<value optimized out>) at kernel/qclipboard_x11.cpp:922
#6  0x00007f7d139989e4 in QApplicationPrivate::notify_helper (this=0x10c4a90, receiver=0x10c2c10, e=0x7fff0f480d60) at kernel/qapplication.cpp:4462
#7  0x00007f7d1399d3aa in QApplication::notify (this=<value optimized out>, receiver=0x10c2c10, e=0x7fff0f480d60) at kernel/qapplication.cpp:4341
#8  0x00007f7d12fd949c in QCoreApplication::notifyInternal (this=0x7fff0f480ef0, receiver=0x10c2c10, event=0x7fff0f480d60) at kernel/qcoreapplication.cpp:731
#9  0x00007f7d139a1bdb in sendEvent (this=0x7fff0f480ef0, __in_chrg=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#10 QApplication::~QApplication (this=0x7fff0f480ef0, __in_chrg=<value optimized out>) at kernel/qapplication.cpp:1088
#11 0x00007f7d14bfca06 in App::~App (this=0x7fff0f480ef0, __in_chrg=<value optimized out>) at ../../src/App.cpp:228
#12 0x0000000000409c5f in main (argc=<value optimized out>, argv=<value optimized out>) at ../../src/main.cpp:266

Possible duplicates by query: bug 268293, bug 263370, bug 261421.

Reported using DrKonqi
Comment 1 Di.Ego.R Kobylkin 2011-07-13 21:24:30 UTC
Amarok is one of the core apps I use and it's a pity the most recent release of Ubuntu still has this crashing version. 
There was no duplicate of the same for Ubuntu, so I decided to file this bug. Should it be resolved, but ignored by Ubuntu folks, feel free to close it. Pls let me know what case is this here.
Comment 2 Myriam Schweingruber 2011-07-13 21:30:44 UTC
This is already solved in Amarok 2.4.1, see also http://kubuntu.org/news/

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