Version: (using KDE Devel) Installed from: Compiled sources Compiler: gcc 3.4.3 OS: Linux Amarok CVS HEAD crashes when trying to close a deatached analyzer with the window close button. This urgently needs to be fixed I think.
==== file `which amarokapp` ======= /opt/kde/bin/amarokapp: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.4.20, dynamically linked (uses shared libs), not stripped ==== (gdb) bt ===================== Using host libthread_db library "/lib/libthread_db.so.1". [Thread debugging using libthread_db enabled] [New Thread 16384 (LWP 1518)] [New Thread 32769 (LWP 1535)] [Thread debugging using libthread_db enabled] [New Thread 16384 (LWP 1518)] [New Thread 32769 (LWP 1535)] [Thread debugging using libthread_db enabled] [New Thread 16384 (LWP 1518)] [New Thread 32769 (LWP 1535)] [New Thread 81922 (LWP 1540)] [New Thread 98307 (LWP 1789)] [New Thread 114692 (LWP 1790)] [New Thread 131077 (LWP 1791)] [New Thread 147462 (LWP 1792)] [New Thread 1622030 (LWP 2229)] 0xb65b2fb1 in waitpid () from /lib/libpthread.so.0 #0 0xb65b2fb1 in waitpid () from /lib/libpthread.so.0 #1 0x0823b7d8 in __JCR_LIST__ () #2 0x00000001 in ?? () #3 0x0818ff15 in amaroK::Crash::crashHandler () #4 0xb65b1c67 in __pthread_sighandler () from /lib/libpthread.so.0 #5 <signal handler called> #6 0xb3f0fbed in __driGarbageCollectDrawables () from /usr/X11R6/lib/modules/dri/r200_dri.so #7 0xb3f10723 in driDestroyContext () from /usr/X11R6/lib/modules/dri/r200_dri.so #8 0xb66bea97 in DestroyContext () from /usr/X11R6/lib/libGL.so.1 #9 0xb6e3792d in QGLContext::reset () from /opt/kde/lib/libqt-mt.so.3 #10 0xb6e33c9d in QGLContext::~QGLContext () from /opt/kde/lib/libqt-mt.so.3 #11 0xb6e351cf in QGLWidget::~QGLWidget () from /opt/kde/lib/libqt-mt.so.3 #12 0x081ac355 in GLAnalyzer2::~GLAnalyzer2 () #13 0x081119f8 in PlayerWidget::createAnalyzer () #14 0x08111cda in PlayerWidget::eventFilter () #15 0xb6bc779f in QObject::activate_filters () from /opt/kde/lib/libqt-mt.so.3 #16 0xb6bc7874 in QObject::event () from /opt/kde/lib/libqt-mt.so.3 #17 0xb6c03cbf in QWidget::event () from /opt/kde/lib/libqt-mt.so.3 #18 0x081b3529 in Analyzer::Base<QGLWidget>::event () #19 0xb6b665ff in QApplication::internalNotify () from /opt/kde/lib/libqt-mt.so.3 #20 0xb6b6679c in QApplication::notify () from /opt/kde/lib/libqt-mt.so.3 #21 0xb71c4a85 in KApplication::notify () from /opt/kde/lib/libkdecore.so.4 #22 0xb6c034ab in QWidget::close () from /opt/kde/lib/libqt-mt.so.3 #23 0xb6af2d5a in QETWidget::translateCloseEvent () from /opt/kde/lib/libqt-mt.so.3 #24 0xb6af8415 in QApplication::x11ClientMessage () from /opt/kde/lib/libqt-mt.so.3 #25 0xb6aff282 in QApplication::x11ProcessEvent () from /opt/kde/lib/libqt-mt.so.3 #26 0xb6b12425 in QEventLoop::processEvents () from /opt/kde/lib/libqt-mt.so.3 #27 0xb6b7cd31 in QEventLoop::enterLoop () from /opt/kde/lib/libqt-mt.so.3 #28 0xb6b7cc86 in QEventLoop::exec () from /opt/kde/lib/libqt-mt.so.3 #29 0xb6b6575f in QApplication::exec () from /opt/kde/lib/libqt-mt.so.3 #30 0x08189f8a in main () #0 0xb65b2fb1 in waitpid () from /lib/libpthread.so.0 No symbol table info available. #1 0x0823b7d8 in __JCR_LIST__ () No symbol table info available. #2 0x00000001 in ?? () No symbol table info available. #3 0x0818ff15 in amaroK::Crash::crashHandler () No symbol table info available. #4 0xb65b1c67 in __pthread_sighandler () from /lib/libpthread.so.0 No symbol table info available. #5 <signal handler called> No symbol table info available. #6 0xb3f0fbed in __driGarbageCollectDrawables () from /usr/X11R6/lib/modules/dri/r200_dri.so No symbol table info available. #7 0xb3f10723 in driDestroyContext () from /usr/X11R6/lib/modules/dri/r200_dri.so No symbol table info available. #8 0xb66bea97 in DestroyContext () from /usr/X11R6/lib/libGL.so.1 No symbol table info available. #9 0xb6e3792d in QGLContext::reset () from /opt/kde/lib/libqt-mt.so.3 No symbol table info available. #10 0xb6e33c9d in QGLContext::~QGLContext () from /opt/kde/lib/libqt-mt.so.3 No symbol table info available. #11 0xb6e351cf in QGLWidget::~QGLWidget () from /opt/kde/lib/libqt-mt.so.3 No symbol table info available. #12 0x081ac355 in GLAnalyzer2::~GLAnalyzer2 () No symbol table info available. #13 0x081119f8 in PlayerWidget::createAnalyzer () No symbol table info available. #14 0x08111cda in PlayerWidget::eventFilter () No symbol table info available. #15 0xb6bc779f in QObject::activate_filters () from /opt/kde/lib/libqt-mt.so.3 No symbol table info available. #16 0xb6bc7874 in QObject::event () from /opt/kde/lib/libqt-mt.so.3 No symbol table info available. #17 0xb6c03cbf in QWidget::event () from /opt/kde/lib/libqt-mt.so.3 No symbol table info available. #18 0x081b3529 in Analyzer::Base<QGLWidget>::event () No symbol table info available. #19 0xb6b665ff in QApplication::internalNotify () from /opt/kde/lib/libqt-mt.so.3 No symbol table info available. #20 0xb6b6679c in QApplication::notify () from /opt/kde/lib/libqt-mt.so.3 No symbol table info available. #21 0xb71c4a85 in KApplication::notify () from /opt/kde/lib/libkdecore.so.4 No symbol table info available. #22 0xb6c034ab in QWidget::close () from /opt/kde/lib/libqt-mt.so.3 No symbol table info available. #23 0xb6af2d5a in QETWidget::translateCloseEvent () from /opt/kde/lib/libqt-mt.so.3 No symbol table info available. #24 0xb6af8415 in QApplication::x11ClientMessage () from /opt/kde/lib/libqt-mt.so.3 No symbol table info available. #25 0xb6aff282 in QApplication::x11ProcessEvent () from /opt/kde/lib/libqt-mt.so.3 No symbol table info available. #26 0xb6b12425 in QEventLoop::processEvents () from /opt/kde/lib/libqt-mt.so.3 No symbol table info available. #27 0xb6b7cd31 in QEventLoop::enterLoop () from /opt/kde/lib/libqt-mt.so.3 No symbol table info available. #28 0xb6b7cc86 in QEventLoop::exec () from /opt/kde/lib/libqt-mt.so.3 No symbol table info available. #29 0xb6b6575f in QApplication::exec () from /opt/kde/lib/libqt-mt.so.3 No symbol table info available. #30 0x08189f8a in main () No symbol table info available. ==== (gdb) thread apply all bt ==== Thread 8 (Thread 1622030 (LWP 2229)): #0 0xb65aedb4 in __pthread_sigsuspend () from /lib/libpthread.so.0 #1 0xb65ae498 in __pthread_wait_for_restart_signal () from /lib/libpthread.so.0 #2 0xb65ab0ab in pthread_cond_wait@GLIBC_2.0 () from /lib/libpthread.so.0 #3 0xb5f48f48 in buffer_pool_alloc () from /usr/lib/libxine.so.1 #4 0x00000000 in ?? () #5 0x087c7f98 in ?? () #6 0x00000004 in ?? () #7 0xb5c8b4a8 in demux_mpgaudio_next () from /usr/lib/xine/plugins/1.0.0/xineplug_dmx_audio.so #8 0xab2b7d98 in ?? () #9 0x00000004 in ?? () #10 0x00000000 in ?? () #11 0x00000000 in ?? () #12 0x00000000 in ?? () #13 0x00000000 in ?? () #14 0x00000000 in ?? () #15 0x00000000 in ?? () #16 0x00000000 in ?? () #17 0x00000000 in ?? () #18 0x0000092f in ?? () #19 0x00000000 in ?? () #20 0xf9380000 in ?? () #21 0x420e06a9 in ?? () #22 0x00000000 in ?? () #23 0x00000000 in ?? () #24 0x0000019e in ?? () #25 0x00000000 in ?? () #26 0x0003c27b in ?? () #27 0x00000000 in ?? () #28 0x00000000 in ?? () #29 0x087c7f98 in ?? () #30 0x0014ea14 in ?? () #31 0x00000000 in ?? () #32 0x037f0c7f in ?? () #33 0x6c92fbff in ?? () #34 0x00000000 in ?? () #35 0x00000000 in ?? () #36 0x00000000 in ?? () #37 0x00000000 in ?? () #38 0x00000000 in ?? () #39 0x00000000 in ?? () #40 0x00000000 in ?? () #41 0x00000000 in ?? () #42 0x00000000 in ?? () #43 0x00000000 in ?? () #44 0x00000000 in ?? () #45 0x00000000 in ?? () #46 0x00000000 in ?? () #47 0x00000000 in ?? () #48 0x00000000 in ?? () #49 0x00000000 in ?? () #50 0x00000000 in ?? () #51 0x00000000 in ?? () #52 0x00000000 in ?? () #53 0x00000000 in ?? () #54 0x00000000 in ?? () #55 0x00000000 in ?? () #56 0x00000000 in ?? () #57 0x00000000 in ?? () #58 0x00000000 in ?? () #59 0x00000000 in ?? () #60 0x00000000 in ?? () #61 0x00000000 in ?? () #62 0x00000000 in ?? () #63 0x00000000 in ?? () #64 0x00000000 in ?? () #65 0x00000000 in ?? () #66 0x00000000 in ?? () #67 0x00000000 in ?? () #68 0x00000000 in ?? () #69 0x00000000 in ?? () #70 0x00000000 in ?? () #71 0x00000000 in ?? () #72 0x00000000 in ?? () #73 0x00000000 in ?? () #74 0x00000000 in ?? () #75 0x00000000 in ?? () #76 0x00000000 in ?? () #77 0x00000000 in ?? () #78 0x00000000 in ?? () #79 0x00000000 in ?? () #80 0x00000000 in ?? () #81 0x00000000 in ?? () #82 0x00000000 in ?? () #83 0x00000000 in ?? () #84 0x00000000 in ?? () #85 0x00000000 in ?? () #86 0x00000000 in ?? () #87 0xb65b0367 in __pthread_alt_lock () from /lib/libpthread.so.0 #0 0xb65b2fb1 in waitpid () from /lib/libpthread.so.0 ==== kdBacktrace() ================
Hm, just tested this, but couldn't reproduce. No crash. From looking at your BT, it could be an issue with your ATI OpenGL driver. #6 0xb3f0fbed in __driGarbageCollectDrawables () from /usr/X11R6/lib/modules/dri/r200_dri.so #7 0xb3f10723 in driDestroyContext () from /usr/X11R6/lib/modules/dri/r200_dri.so Can anyone else reproduce this?
Created attachment 10649 [details] Illustration of the affected Analyzers Well the GL backend for my ATI card seems to work otherwise I wouldn't be able to play Enemy Territory, Quake3 or Urban Terror. Dunno it might be but then every OpenGL based application should crash don't you think ? Please also pay attention that only the GL Analyzers as shown in the Screenshot are the affected ones.
Created attachment 10660 [details] New Amarok Backtrace Ok here is an update to my earlier Backtrace. The same behavior, same system but everything recompiled with -O0 -g and symbols pointing to the source code so better Backtrace can be generated. I hope this helps much better than my earlier one.
FYI: Rendering some 3D model with blender seems to trigger the very same exception, too. See http://bugs.gentoo.org/show_bug.cgi?id=95438 for details.
We'll have to wait for the upstream fix (there's nothing else to do), so just watch their bug report: https://bugs.freedesktop.org/show_bug.cgi?id=2733 .
*** Bug 110172 has been marked as a duplicate of this bug. ***
*** Bug 111306 has been marked as a duplicate of this bug. ***
*** Bug 112278 has been marked as a duplicate of this bug. ***
*** Bug 115465 has been marked as a duplicate of this bug. ***
Closing correctly as Amarok 1.x is unmaintained since quite some time anyway.