amarok crashes in BlockAnalyzer::analyze

Bug #238322 reported by kRYPT
4
Affects Status Importance Assigned to Milestone
amarok (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: amarok

Running Hardy with all latest updates.

This crash seems to happen every night if I just leave amarok alone.

There is a very, very similar crash report on the amarok list at: http://sourceforge.net/mailarchive/message.php?msg_id=200806050804.58905.cneil%40suddenlink.net

That version is not from Ubuntu, but it includes source-level debug.. so we can see what the missing #6 on the backtrace below is:

#0 0x00007f661fb3ba2f in waitpid () from /lib/libpthread.so.0
#1 0x00000000004062a9 in Amarok::Crash::crashHandler ()
at crashhandler.cpp:249
#2 <signal handler called>
#3 0x00007f661f4e4d65 in raise () from /lib/libc.so.6
#4 0x00007f661f4e68d3 in abort () from /lib/libc.so.6
#5 0x00007f661f4ddd49 in __assert_fail () from /lib/libc.so.6
#6 0x00007f661b960947 in _XCBUnlockDisplay (dpy=0x1a7b160) at xcb_lock.c:33
#7 0x00007f661b93425f in XCopyArea (dpy=0x1a7b160, src_drawable=41943370,
dst_drawable=41944315, gc=0x22b6730, src_x=0, src_y=0, width=4, height=2,
dst_x=630, dst_y=31) at CopyArea.c:62
#8 0x00007f662000840a in bitBlt (dst=0x1da1820, dx=630, dy=31,
src=0x1da1890, sx=0, sy=0, sw=4, sh=2, rop=Qt::CopyROP, ignoreMask=false)
at kernel/qpaintdevice_x11.cpp:1130
#9 0x00007f662113625a in BlockAnalyzer::analyze (this=0x1da16c0,
s=<value optimized out>) at blockanalyzer.cpp:185

It looks like an assertion is firing inside libX11?

I'm running amarokapp under GDB now and will attempt to get a backtrace ... any other help would be appreciated.

Full crash report is below:
------------------

Amarok has crashed! We are terribly sorry about this :(

But, all is not lost! You could potentially help us fix the crash. Information describing the crash is below, so just click send, or if you have time, write a brief description of how the crash happened first.

Many thanks.

The information below is to help the developers identify the problem, please do not modify it.

======== DEBUG INFORMATION =======
Version: 1.4.9.1
Engine: xine-engine
Build date: Apr 18 2008
CC version: 4.2.3 (Ubuntu 4.2.3-2ubuntu7)
KDElibs: 3.5.9
Qt: 3.3.8b
TagLib: 1.4.0
CPU count: 4
NDEBUG: true
==== file `which amarokapp` =======
/usr/bin/amarokapp: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), for GNU/Linux 2.6.8, dynamically linked (uses shared libs), stripped

==== (gdb) bt =====================
[Thread debugging using libthread_db enabled]
[New Thread 0x7f8a71581750 (LWP 9324)]
[New Thread 0x44707950 (LWP 9337)]
[New Thread 0x43f06950 (LWP 9336)]
[New Thread 0x43705950 (LWP 9335)]
[New Thread 0x42f04950 (LWP 9334)]
[New Thread 0x41c91950 (LWP 9333)]
0x00007f8a7b54d4df in waitpid () from /lib/libc.so.6
#0 0x00007f8a7b54d4df in waitpid () from /lib/libc.so.6
#1 0x0000000000405fb0 in Amarok::Crash::crashHandler ()
#2 <signal handler called>
#3 0x00007f8a7b4e2095 in raise () from /lib/libc.so.6
#4 0x00007f8a7b4e3af0 in abort () from /lib/libc.so.6
#5 0x00007f8a7b4db2df in __assert_fail () from /lib/libc.so.6
#6 0x00007f8a76f882d3 in ?? () from /usr/lib/libX11.so.6
#7 0x00007f8a76f5e337 in XCopyArea () from /usr/lib/libX11.so.6
#8 0x00007f8a7abd2f40 in bitBlt () from /usr/lib/libqt-mt.so.3
#9 0x00007f8a7ed3a2e2 in BlockAnalyzer::analyze ()
   from /usr/lib/libamarok.so.0
#10 0x00007f8a7ed3742e in Analyzer::Base<QWidget>::demo ()
   from /usr/lib/libamarok.so.0
#11 0x00007f8a7ed3785e in Analyzer::Base<QWidget>::drawFrame ()
   from /usr/lib/libamarok.so.0
#12 0x00007f8a7ed365ad in Analyzer::Base2D::qt_invoke ()
   from /usr/lib/libamarok.so.0
#13 0x00007f8a7ac83fd0 in QObject::activate_signal ()
   from /usr/lib/libqt-mt.so.3
#14 0x00007f8a7ac84b4e in QObject::activate_signal ()
   from /usr/lib/libqt-mt.so.3
#15 0x00007f8a7affe496 in QTimer::timeout () from /usr/lib/libqt-mt.so.3
#16 0x00007f8a7aca9d83 in QTimer::event () from /usr/lib/libqt-mt.so.3
#17 0x00007f8a7ac1c33a in QApplication::internalNotify ()
   from /usr/lib/libqt-mt.so.3
#18 0x00007f8a7ac1e093 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#19 0x00007f8a7d79c40d in KApplication::notify ()
   from /usr/lib/libkdecore.so.4
#20 0x00007f8a7abad20e in QApplication::sendEvent ()
   from /usr/lib/libqt-mt.so.3
#21 0x00007f8a7ac0fabc in QEventLoop::activateTimers ()
   from /usr/lib/libqt-mt.so.3
#22 0x00007f8a7abc2107 in QEventLoop::processEvents ()
   from /usr/lib/libqt-mt.so.3
#23 0x00007f8a7ac365bf in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#24 0x00007f8a7ac362ab in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#25 0x00007f8a7ac1de00 in QApplication::exec () from /usr/lib/libqt-mt.so.3
#26 0x0000000000404ce1 in ?? ()
#27 0x00007f8a7b4ce1c4 in __libc_start_main () from /lib/libc.so.6
#28 0x0000000000404579 in ?? ()
#29 0x00007fff8729bec8 in ?? ()
#30 0x0000000000000000 in ?? ()
#0 0x00007f8a7b54d4df in waitpid () from /lib/libc.so.6
No symbol table info available.
#1 0x0000000000405fb0 in Amarok::Crash::crashHandler ()
No symbol table info available.
#2 <signal handler called>
No symbol table info available.
#3 0x00007f8a7b4e2095 in raise () from /lib/libc.so.6
No symbol table info available.
#4 0x00007f8a7b4e3af0 in abort () from /lib/libc.so.6
No symbol table info available.
#5 0x00007f8a7b4db2df in __assert_fail () from /lib/libc.so.6
No symbol table info available.
#6 0x00007f8a76f882d3 in ?? () from /usr/lib/libX11.so.6
No symbol table info available.
#7 0x00007f8a76f5e337 in XCopyArea () from /usr/lib/libX11.so.6
No symbol table info available.
#8 0x00007f8a7abd2f40 in bitBlt () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#9 0x00007f8a7ed3a2e2 in BlockAnalyzer::analyze ()
   from /usr/lib/libamarok.so.0
No symbol table info available.
#10 0x00007f8a7ed3742e in Analyzer::Base<QWidget>::demo ()
   from /usr/lib/libamarok.so.0
No symbol table info available.
#11 0x00007f8a7ed3785e in Analyzer::Base<QWidget>::drawFrame ()
   from /usr/lib/libamarok.so.0
No symbol table info available.
#12 0x00007f8a7ed365ad in Analyzer::Base2D::qt_invoke ()
   from /usr/lib/libamarok.so.0
No symbol table info available.
#13 0x00007f8a7ac83fd0 in QObject::activate_signal ()
   from /usr/lib/libqt-mt.so.3
No symbol table info available.
#14 0x00007f8a7ac84b4e in QObject::activate_signal ()
   from /usr/lib/libqt-mt.so.3
No symbol table info available.
#15 0x00007f8a7affe496 in QTimer::timeout () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#16 0x00007f8a7aca9d83 in QTimer::event () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#17 0x00007f8a7ac1c33a in QApplication::internalNotify ()
   from /usr/lib/libqt-mt.so.3
No symbol table info available.
#18 0x00007f8a7ac1e093 in QApplication::notify () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#19 0x00007f8a7d79c40d in KApplication::notify ()
   from /usr/lib/libkdecore.so.4
No symbol table info available.
#20 0x00007f8a7abad20e in QApplication::sendEvent ()
   from /usr/lib/libqt-mt.so.3
No symbol table info available.
#21 0x00007f8a7ac0fabc in QEventLoop::activateTimers ()
   from /usr/lib/libqt-mt.so.3
No symbol table info available.
#22 0x00007f8a7abc2107 in QEventLoop::processEvents ()
   from /usr/lib/libqt-mt.so.3
No symbol table info available.
#23 0x00007f8a7ac365bf in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#24 0x00007f8a7ac362ab in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#25 0x00007f8a7ac1de00 in QApplication::exec () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#26 0x0000000000404ce1 in ?? ()
No symbol table info available.
#27 0x00007f8a7b4ce1c4 in __libc_start_main () from /lib/libc.so.6
No symbol table info available.
#28 0x0000000000404579 in ?? ()
No symbol table info available.
#29 0x00007fff8729bec8 in ?? ()
No symbol table info available.
#30 0x0000000000000000 in ?? ()
No symbol table info available.
==== (gdb) thread apply all bt ====
Thread 6 (Thread 0x41c91950 (LWP 9333)):
#0 0x00007f8a76d2fe1d in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
#1 0x00007f8a6e420325 in ?? () from /usr/lib/libxine.so.1
#2 0x00007f8a76d2b3f7 in start_thread () from /lib/libpthread.so.0
#3 0x00007f8a7b587b2d in clone () from /lib/libc.so.6
#4 0x0000000000000000 in ?? ()
Thread 5 (Thread 0x42f04950 (LWP 9334)):
#0 0x00007f8a7b57ec76 in poll () from /lib/libc.so.6
#1 0x00007f8a660ec28d in ?? () from /usr/lib/libpulse.so.0
#2 0x00007f8a660e125a in pa_mainloop_poll () from /usr/lib/libpulse.so.0
#3 0x00007f8a660e2598 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0
#4 0x00007f8a660e2650 in pa_mainloop_run () from /usr/lib/libpulse.so.0
#5 0x00007f8a660ec1ad in ?? () from /usr/lib/libpulse.so.0
#6 0x00007f8a66107d0d in ?? () from /usr/lib/libpulse.so.0
#7 0x00007f8a76d2b3f7 in start_thread () from /lib/libpthread.so.0
#8 0x00007f8a7b587b2d in clone () from /lib/libc.so.6
#9 0x0000000000000000 in ?? ()
Thread 4 (Thread 0x43705950 (LWP 9335)):
#0 0x00007f8a76d2fb99 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
#1 0x00007f8a6e42f963 in ?? () from /usr/lib/libxine.so.1
#2 0x00007f8a76d2b3f7 in start_thread () from /lib/libpthread.so.0
#3 0x00007f8a7b587b2d in clone () from /lib/libc.so.6
#4 0x0000000000000000 in ?? ()
Thread 3 (Thread 0x43f06950 (LWP 9336)):
#0 0x00007f8a76d2fb99 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
#1 0x00007f8a6e423702 in ?? () from /usr/lib/libxine.so.1
#2 0x00007f8a6e42a2be in ?? () from /usr/lib/libxine.so.1
#3 0x00007f8a76d2b3f7 in start_thread () from /lib/libpthread.so.0
#4 0x00007f8a7b587b2d in clone () from /lib/libc.so.6
#5 0x0000000000000000 in ?? ()
Thread 2 (Thread 0x44707950 (LWP 9337)):
#0 0x00007f8a76d2fb99 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
#1 0x00007f8a6e432b8b in xine_event_wait () from /usr/lib/libxine.so.1
#2 0x00007f8a6e432c09 in ?? () from /usr/lib/libxine.so.1
#3 0x00007f8a76d2b3f7 in start_thread () from /lib/libpthread.so.0
#4 0x00007f8a7b587b2d in clone () from /lib/libc.so.6
#5 0x0000000000000000 in ?? ()
Thread 1 (Thread 0x7f8a71581750 (LWP 9324)):
#0 0x00007f8a7b54d4df in waitpid () from /lib/libc.so.6
#1 0x0000000000405fb0 in Amarok::Crash::crashHandler ()
#2 <signal handler called>
#3 0x00007f8a7b4e2095 in raise () from /lib/libc.so.6
#4 0x00007f8a7b4e3af0 in abort () from /lib/libc.so.6
#5 0x00007f8a7b4db2df in __assert_fail () from /lib/libc.so.6
#6 0x00007f8a76f882d3 in ?? () from /usr/lib/libX11.so.6
#7 0x00007f8a76f5e337 in XCopyArea () from /usr/lib/libX11.so.6
#8 0x00007f8a7abd2f40 in bitBlt () from /usr/lib/libqt-mt.so.3
#9 0x00007f8a7ed3a2e2 in BlockAnalyzer::analyze ()
   from /usr/lib/libamarok.so.0
#10 0x00007f8a7ed3742e in Analyzer::Base<QWidget>::demo ()
   from /usr/lib/libamarok.so.0
#11 0x00007f8a7ed3785e in Analyzer::Base<QWidget>::drawFrame ()
   from /usr/lib/libamarok.so.0
#12 0x00007f8a7ed365ad in Analyzer::Base2D::qt_invoke ()
   from /usr/lib/libamarok.so.0
#13 0x00007f8a7ac83fd0 in QObject::activate_signal ()
   from /usr/lib/libqt-mt.so.3
#14 0x00007f8a7ac84b4e in QObject::activate_signal ()
   from /usr/lib/libqt-mt.so.3
#15 0x00007f8a7affe496 in QTimer::timeout () from /usr/lib/libqt-mt.so.3
#16 0x00007f8a7aca9d83 in QTimer::event () from /usr/lib/libqt-mt.so.3
#17 0x00007f8a7ac1c33a in QApplication::internalNotify ()
   from /usr/lib/libqt-mt.so.3
#18 0x00007f8a7ac1e093 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#19 0x00007f8a7d79c40d in KApplication::notify ()
   from /usr/lib/libkdecore.so.4
#20 0x00007f8a7abad20e in QApplication::sendEvent ()
   from /usr/lib/libqt-mt.so.3
#21 0x00007f8a7ac0fabc in QEventLoop::activateTimers ()
   from /usr/lib/libqt-mt.so.3
#22 0x00007f8a7abc2107 in QEventLoop::processEvents ()
   from /usr/lib/libqt-mt.so.3
#23 0x00007f8a7ac365bf in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#24 0x00007f8a7ac362ab in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#25 0x00007f8a7ac1de00 in QApplication::exec () from /usr/lib/libqt-mt.so.3
#26 0x0000000000404ce1 in ?? ()
#27 0x00007f8a7b4ce1c4 in __libc_start_main () from /lib/libc.so.6
#28 0x0000000000404579 in ?? ()
#29 0x00007fff8729bec8 in ?? ()
#30 0x0000000000000000 in ?? ()
#0 0x00007f8a7b54d4df in waitpid () from /lib/libc.so.6

==== kdBacktrace() ================

Revision history for this message
Ralph Janke (txwikinger) wrote :

Thanks for reporting this bug and any supporting documentation. Since this bug has enough information provided for a developer to begin work, I'm going to mark it as confirmed and let them handle it from here. Thanks for taking the time to make Ubuntu better!

Changed in amarok:
importance: Undecided → Low
status: New → Triaged
Revision history for this message
Ralph Janke (txwikinger) wrote :

After some analysis, this looks like that it could be some problem with the graphics driver.

Could you please provide information about your graphics hardware and drivers etc.

It would also help to install the debug packages for X from http://ddebs.ubuntu.com/ and to gdb X with them.

Thanks

Changed in amarok:
assignee: nobody → txwikinger
status: Triaged → Incomplete
Revision history for this message
kRYPT (krypt) wrote :

I have an nVidia 8600 GTS card. Currently using latest version of "nvidia-glx-new" proprietary driver.

I will look into installing the debug X packages, is there a HOWTO?

Revision history for this message
Ralph Janke (txwikinger) wrote :

Here are some instructions: https://wiki.ubuntu.com/X/Debugging

Revision history for this message
kRYPT (krypt) wrote :

I finally managed to get it to crash while under gdb...

(gdb) bt full
#0 0x00007fa39c203095 in raise () from /lib/libc.so.6
No symbol table info available.
#1 0x00007fa39c204af0 in abort () from /lib/libc.so.6
No symbol table info available.
#2 0x00007fa39c1fc2df in __assert_fail () from /lib/libc.so.6
No symbol table info available.
#3 0x00007fa397ca92d3 in ?? () from /usr/lib/libX11.so.6
No symbol table info available.
#4 0x00007fa397c7f337 in XCopyArea () from /usr/lib/libX11.so.6
No symbol table info available.
#5 0x00007fa39b8f3f40 in bitBlt () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#6 0x00007fa39fa5b2e2 in BlockAnalyzer::analyze ()
   from /usr/lib/libamarok.so.0
No symbol table info available.
#7 0x00007fa39fa584c9 in Analyzer::Base<QWidget>::demo ()
   from /usr/lib/libamarok.so.0
No symbol table info available.
#8 0x00007fa39fa5885e in Analyzer::Base<QWidget>::drawFrame ()
   from /usr/lib/libamarok.so.0
No symbol table info available.
#9 0x00007fa39fa575ad in Analyzer::Base2D::qt_invoke ()
   from /usr/lib/libamarok.so.0
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#10 0x00007fa39b9a4fd0 in QObject::activate_signal ()
   from /usr/lib/libqt-mt.so.3
No symbol table info available.
#11 0x00007fa39b9a5b4e in QObject::activate_signal ()
   from /usr/lib/libqt-mt.so.3
No symbol table info available.
#12 0x00007fa39bd1f496 in QTimer::timeout () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#13 0x00007fa39b9cad83 in QTimer::event () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#14 0x00007fa39b93d33a in QApplication::internalNotify ()
   from /usr/lib/libqt-mt.so.3
No symbol table info available.
#15 0x00007fa39b93f093 in QApplication::notify () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#16 0x00007fa39e4bd40d in KApplication::notify () from /usr/lib/libkdecore.so.4
No symbol table info available.
#17 0x00007fa39b8ce20e in QApplication::sendEvent ()
   from /usr/lib/libqt-mt.so.3
No symbol table info available.
#18 0x00007fa39b930abc in QEventLoop::activateTimers ()
   from /usr/lib/libqt-mt.so.3
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#19 0x00007fa39b8e3107 in QEventLoop::processEvents ()
   from /usr/lib/libqt-mt.so.3
No symbol table info available.
#20 0x00007fa39b9575bf in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#21 0x00007fa39b9572ab in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#22 0x00007fa39b93ee00 in QApplication::exec () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#23 0x0000000000404ce1 in ?? ()
No symbol table info available.
#24 0x00007fa39c1ef1c4 in __libc_start_main () from /lib/libc.so.6
No symbol table info available.
#25 0x0000000000404579 in ?? ()
No symbol table info available.
#26 0x00007fffa7fbd3d8 in ?? ()
No symbol table info available.
#27 0x0000000000000000 in ?? ()
No symbol table info available.

Revision history for this message
Ralph Janke (txwikinger) wrote :

Thanks for reporting this bug and any supporting documentation. Since this bug has enough information provided for a developer to begin work, I'm going to mark it as confirmed and let them handle it from here. Thanks for taking the time to make Ubuntu better!

Changed in amarok:
assignee: txwikinger → nobody
status: Incomplete → Triaged
importance: Low → Medium
Revision history for this message
Jonathan Thomas (echidnaman) wrote :

This bug is quite likely not a problem with Amarok 2, most of which has been completely rewritten. As such I am closing this bug as fixed. Amarok 2 packages can be found for both Intrepid (See kubuntu.org) as well as for Jaunty, where it will become the default music player for Kubuntu 9.04.

Changed in amarok:
status: Triaged → Fix Released
Revision history for this message
kRYPT (krypt) wrote :

I was under the impression Hardy is the current "Long Term Support" release, which is why I haven't upgraded. Closing this bug without a fix on Hardy (where it was reported) negates the entire idea behind LTS releases, since one would evidently need to upgrade in order to fix the problem.

Revision history for this message
Harald Sitter (apachelogger) wrote :

Absolutely true... if KDE got the LTS tag in 8.04... it didn't though :(

Revision history for this message
kRYPT (krypt) wrote :

Wait, what? Are you saying 8.04 is only LTS for some things and not others?
This is news to me.. I was under the impression that "LTS" applies to all packages included with that distro.
What version is LTS for KDE then?

Revision history for this message
Harald Sitter (apachelogger) wrote :

Dapper, but not for long, since it's support time is ending soon IIRC.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.