Bug 256569

Summary: amarok crashed when it was focused
Product: [Applications] amarok Reporter: Mathias Panzenböck <grosser.meister.morti>
Component: generalAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 2.4-GIT   
Target Milestone: 2.4.0   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Mathias Panzenböck 2010-11-11 01:43:31 UTC
Application: amarok (2.4-GIT)
KDE Platform Version: 4.5.2 (KDE 4.5.2)
Qt Version: 4.7.0
Operating System: Linux 2.6.35.6-48.fc14.x86_64 x86_64
Distribution: "Fedora release 14 (Laughlin)"

-- Information about the crash:
I started amarok, didn't used it for quite a while and then swithced to the desktop where it was started and it crashed obviously in the focus event.

-- Backtrace:
Application: Amarok (amarok), signal: Segmentation fault
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f543f1a3880 (LWP 3358))]

Thread 13 (Thread 0x7f5429c9d700 (LWP 3360)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:216
#1  0x0000003f8dc13d21 in ?? () from /usr/lib64/libxine.so.1
#2  0x0000003f7d006d5b in start_thread (arg=0x7f5429c9d700) at pthread_create.c:301
#3  0x0000003f7c8e427d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 12 (Thread 0x7f542949c700 (LWP 3361)):
#0  0x0000003f7c8da883 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x0000003f7ec42374 in g_main_context_poll (context=0x7f54240009b0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:3093
#2  g_main_context_iterate (context=0x7f54240009b0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2775
#3  0x0000003f7ec428ad in g_main_context_iteration (context=0x7f54240009b0, may_block=1) at gmain.c:2843
#4  0x0000003f86186906 in QEventDispatcherGlib::processEvents (this=0x7f54240008c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#5  0x0000003f8615ab42 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x0000003f8615ad8c in QEventLoop::exec (this=0x7f542949bca0, flags=...) at kernel/qeventloop.cpp:201
#7  0x0000003f8606fe34 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#8  0x00007f5432c2dcf0 in Phonon::Xine::XineThread::run (this=0x201eee0) at /usr/src/debug/phonon-4.4.2/xine/xinethread.cpp:143
#9  0x0000003f8607264e in QThreadPrivate::start (arg=0x201eee0) at thread/qthread_unix.cpp:266
#10 0x0000003f7d006d5b in start_thread (arg=0x7f542949c700) at pthread_create.c:301
#11 0x0000003f7c8e427d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 11 (Thread 0x7f5428a96700 (LWP 3362)):
#0  __pthread_mutex_lock_full (mutex=0x205cce0) at pthread_mutex_lock.c:291
#1  0x0000003f91c37cae in pa_mutex_lock (m=<value optimized out>) at pulsecore/mutex-posix.c:90
#2  0x0000003f9102cc19 in poll_func (ufds=<value optimized out>, nfds=2, timeout=-1, userdata=0x205cce0) at pulse/thread-mainloop.c:76
#3  0x0000003f9101cae6 in pa_mainloop_poll (m=0x205cbe0) at pulse/mainloop.c:879
#4  0x0000003f9101dec9 in pa_mainloop_iterate (m=0x205cbe0, block=<value optimized out>, retval=0x0) at pulse/mainloop.c:961
#5  0x0000003f9101df80 in pa_mainloop_run (m=0x205cbe0, retval=0x0) at pulse/mainloop.c:979
#6  0x0000003f9102ca0b in thread (userdata=0x2060d20) at pulse/thread-mainloop.c:94
#7  0x0000003f91c38878 in internal_thread_func (userdata=0x205cd90) at pulsecore/thread-posix.c:72
#8  0x0000003f7d006d5b in start_thread (arg=0x7f5428a96700) at pthread_create.c:301
#9  0x0000003f7c8e427d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 10 (Thread 0x7f5423fff700 (LWP 3363)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000003f8dc25deb in ?? () from /usr/lib64/libxine.so.1
#2  0x0000003f7d006d5b in start_thread (arg=0x7f5423fff700) at pthread_create.c:301
#3  0x0000003f7c8e427d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 9 (Thread 0x7f54235fc700 (LWP 3364)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000003f8dc25deb in ?? () from /usr/lib64/libxine.so.1
#2  0x0000003f7d006d5b in start_thread (arg=0x7f54235fc700) at pthread_create.c:301
#3  0x0000003f7c8e427d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 8 (Thread 0x7f5422dfb700 (LWP 3365)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000003f8dc25deb in ?? () from /usr/lib64/libxine.so.1
#2  0x0000003f7d006d5b in start_thread (arg=0x7f5422dfb700) at pthread_create.c:301
#3  0x0000003f7c8e427d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 7 (Thread 0x7f54211ad700 (LWP 3370)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000003f86072d3b in wait (this=<value optimized out>, mutex=0x3ef6630, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x3ef6630, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x0000003f9ce0a0b4 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x3ef6240, th=0x436d160) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x0000003f9ce0c723 in ThreadWeaver::WorkingHardState::applyForWork (this=0x3ef6750, th=0x436d160) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x0000003f9ce0b50f in ThreadWeaver::ThreadRunHelper::run (this=0x7f54211acd10, parent=0x3ef6240, th=0x436d160) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/Thread.cpp:87
#6  0x0000003f9ce0b598 in ThreadWeaver::Thread::run (this=0x436d160) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/Thread.cpp:142
#7  0x0000003f8607264e in QThreadPrivate::start (arg=0x436d160) at thread/qthread_unix.cpp:266
#8  0x0000003f7d006d5b in start_thread (arg=0x7f54211ad700) at pthread_create.c:301
#9  0x0000003f7c8e427d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 6 (Thread 0x7f54090b6700 (LWP 3371)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000003f86072d3b in wait (this=<value optimized out>, mutex=0x3ef6630, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x3ef6630, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x0000003f9ce0a0b4 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x3ef6240, th=0x4368990) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x0000003f9ce0c723 in ThreadWeaver::WorkingHardState::applyForWork (this=0x3ef6750, th=0x4368990) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x0000003f9ce0c73c in ThreadWeaver::WorkingHardState::applyForWork (this=0x3ef6750, th=0x4368990) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x0000003f9ce0c73c in ThreadWeaver::WorkingHardState::applyForWork (this=0x3ef6750, th=0x4368990) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x0000003f9ce0b50f in ThreadWeaver::ThreadRunHelper::run (this=0x7f54090b5d10, parent=0x3ef6240, th=0x4368990) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/Thread.cpp:87
#8  0x0000003f9ce0b598 in ThreadWeaver::Thread::run (this=0x4368990) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/Thread.cpp:142
#9  0x0000003f8607264e in QThreadPrivate::start (arg=0x4368990) at thread/qthread_unix.cpp:266
#10 0x0000003f7d006d5b in start_thread (arg=0x7f54090b6700) at pthread_create.c:301
#11 0x0000003f7c8e427d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 5 (Thread 0x7f5403fff700 (LWP 3372)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000003f86072d3b in wait (this=<value optimized out>, mutex=0x3ef6630, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x3ef6630, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x0000003f9ce0a0b4 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x3ef6240, th=0x4058140) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x0000003f9ce0c723 in ThreadWeaver::WorkingHardState::applyForWork (this=0x3ef6750, th=0x4058140) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x0000003f9ce0b50f in ThreadWeaver::ThreadRunHelper::run (this=0x7f5403ffed10, parent=0x3ef6240, th=0x4058140) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/Thread.cpp:87
#6  0x0000003f9ce0b598 in ThreadWeaver::Thread::run (this=0x4058140) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/Thread.cpp:142
#7  0x0000003f8607264e in QThreadPrivate::start (arg=0x4058140) at thread/qthread_unix.cpp:266
#8  0x0000003f7d006d5b in start_thread (arg=0x7f5403fff700) at pthread_create.c:301
#9  0x0000003f7c8e427d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 4 (Thread 0x7f54035f7700 (LWP 3373)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000003f9bd28874 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib64/libQtWebKit.so.4
#2  0x0000003f7d006d5b in start_thread (arg=0x7f54035f7700) at pthread_create.c:301
#3  0x0000003f7c8e427d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 3 (Thread 0x7f5402030700 (LWP 3374)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000003f98393ce4 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x3f986abd80) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x0000003f98393d19 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x3f986b9e54) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x0000003f7d006d5b in start_thread (arg=0x7f5402030700) at pthread_create.c:301
#4  0x0000003f7c8e427d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7f53f5825700 (LWP 3428)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000003f86072d3b in wait (this=<value optimized out>, mutex=0x3ef6630, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x3ef6630, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x0000003f9ce0a0b4 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x3ef6240, th=0x2ae15e0) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x0000003f9ce0c723 in ThreadWeaver::WorkingHardState::applyForWork (this=0x3ef6750, th=0x2ae15e0) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x0000003f9ce0c73c in ThreadWeaver::WorkingHardState::applyForWork (this=0x3ef6750, th=0x2ae15e0) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x0000003f9ce0b50f in ThreadWeaver::ThreadRunHelper::run (this=0x7f53f5824d10, parent=0x3ef6240, th=0x2ae15e0) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/Thread.cpp:87
#7  0x0000003f9ce0b598 in ThreadWeaver::Thread::run (this=0x2ae15e0) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/Thread.cpp:142
#8  0x0000003f8607264e in QThreadPrivate::start (arg=0x2ae15e0) at thread/qthread_unix.cpp:266
#9  0x0000003f7d006d5b in start_thread (arg=0x7f53f5825700) at pthread_create.c:301
#10 0x0000003f7c8e427d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f543f1a3880 (LWP 3358)):
[KCrash Handler]
#6  size (this=0x5bc5ba0, proxy_index=...) at ../../src/corelib/tools/qvector.h:124
#7  QSortFilterProxyModelPrivate::proxy_to_source (this=0x5bc5ba0, proxy_index=...) at itemviews/qsortfilterproxymodel.cpp:369
#8  0x0000003f897414ad in QSortFilterProxyModel::mapToSource (this=<value optimized out>, proxyIndex=<value optimized out>) at itemviews/qsortfilterproxymodel.cpp:2491
#9  0x0000003f8974025c in QSortFilterProxyModel::flags (this=<value optimized out>, index=<value optimized out>) at itemviews/qsortfilterproxymodel.cpp:1982
#10 0x0000003f896b856a in flags (this=0x4210dd0, event=0x7fff139a4310) at ../../src/corelib/kernel/qabstractitemmodel.h:401
#11 QAbstractItemView::focusInEvent (this=0x4210dd0, event=0x7fff139a4310) at itemviews/qabstractitemview.cpp:2106
#12 0x0000003f89205ec4 in QWidget::event (this=0x4210dd0, event=0x7fff139a4310) at kernel/qwidget.cpp:8296
#13 0x0000003f895aa386 in QFrame::event (this=0x4210dd0, e=0x7fff139a4310) at widgets/qframe.cpp:557
#14 0x0000003f8962b4db in QAbstractScrollArea::event (this=0x4210dd0, e=0x7fff139a4310) at widgets/qabstractscrollarea.cpp:996
#15 0x0000003f896bcdab in QAbstractItemView::event (this=0x4210dd0, event=0x7fff139a4310) at itemviews/qabstractitemview.cpp:1555
#16 0x0000003f891b4b64 in QApplicationPrivate::notify_helper (this=0x1e82010, receiver=0x4210dd0, e=0x7fff139a4310) at kernel/qapplication.cpp:4396
#17 0x0000003f891b95da in QApplication::notify (this=<value optimized out>, receiver=0x4210dd0, e=0x7fff139a4310) at kernel/qapplication.cpp:4277
#18 0x0000003f8b420416 in KApplication::notify (this=0x7fff139a4eb0, receiver=0x4210dd0, event=0x7fff139a4310) at /usr/src/debug/kdelibs-4.5.2/kdeui/kernel/kapplication.cpp:310
#19 0x0000003f8615b7ac in QCoreApplication::notifyInternal (this=0x7fff139a4eb0, receiver=0x4210dd0, event=0x7fff139a4310) at kernel/qcoreapplication.cpp:732
#20 0x0000003f891b37b6 in sendEvent (focus=0x4210dd0, reason=Qt::ActiveWindowFocusReason) at ../../src/corelib/kernel/qcoreapplication.h:215
#21 QApplicationPrivate::setFocusWidget (focus=0x4210dd0, reason=Qt::ActiveWindowFocusReason) at kernel/qapplication.cpp:2189
#22 0x0000003f891f9811 in QWidget::setFocus (this=0x4210dd0, reason=Qt::ActiveWindowFocusReason) at kernel/qwidget.cpp:6283
#23 0x0000003f891b92cd in QApplication::setActiveWindow (act=<value optimized out>) at kernel/qapplication.cpp:2571
#24 0x0000003f8923150b in QApplication::x11ProcessEvent (this=0x7fff139a4eb0, event=0x7fff139a4b40) at kernel/qapplication_x11.cpp:3455
#25 0x0000003f89258a52 in x11EventSourceDispatch (s=0x1e860d0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#26 0x0000003f7ec41e33 in g_main_dispatch (context=0x1e84ac0) at gmain.c:2149
#27 g_main_context_dispatch (context=0x1e84ac0) at gmain.c:2702
#28 0x0000003f7ec42610 in g_main_context_iterate (context=0x1e84ac0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2780
#29 0x0000003f7ec428ad in g_main_context_iteration (context=0x1e84ac0, may_block=1) at gmain.c:2843
#30 0x0000003f861868af in QEventDispatcherGlib::processEvents (this=0x1d14030, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#31 0x0000003f892586ee in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#32 0x0000003f8615ab42 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#33 0x0000003f8615ad8c in QEventLoop::exec (this=0x7fff139a4e50, flags=...) at kernel/qeventloop.cpp:201
#34 0x0000003f8615f20b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#35 0x00000000004075f8 in main (argc=3, argv=0x7fff139a6ea8) at /home/panzi/software/amarok/src/main.cpp:245

Possible duplicates by query: bug 243068, bug 240937.

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2011-03-19 12:32:29 UTC

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