Bug 171443 - Amarok 2 Beta 2 Encrypted frames crash
Summary: Amarok 2 Beta 2 Encrypted frames crash
Status: RESOLVED WORKSFORME
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: 2.0-beta
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-22 12:18 UTC by Andy
Modified: 2008-10-02 18:49 UTC (History)
1 user (show)

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 Andy 2008-09-22 12:18:14 UTC
Version:           2.0 Beta 2 (using KDE 4.1.0)
OS:                Linux
Installed from:    Fedora RPMs

Not a complete crash dump, but this same problem was found and fixed in 1.4~9, looks like that patch needs ported to 2.0.

TagLib: Encrypted frames are currently not supported.
amarok: BEGIN: void ScanManager::slotError(QProcess::ProcessError)
amarok: BEGIN: void ScanManager::handleRestart()
amarok:        Collection scanner crashed, restart count is  1
amarok: BEGIN: virtual void XmlParseJob::requestAbort()
amarok: END__: virtual void XmlParseJob::requestAbort() - Took 4.9e-05s
amarok: END__: void ScanManager::handleRestart() - Took 0.00033s
amarok: END__: void ScanManager::slotError(QProcess::ProcessError) - Took 0.00049s
amarok: BEGIN: virtual XmlParseJob::~XmlParseJob()
amarok(8940) KDE::ProgressBar::~ProgressBar: "    "
amarok: END__: virtual XmlParseJob::~XmlParseJob() - Took 0.00054s
amarok: BEGIN: void ScanManager::restartScanner()
amarok: BEGIN: XmlParseJob::XmlParseJob(ScanManager*, SqlCollection*)
amarok(8940) KDE::ProgressBar::ProgressBar: "      "
amarok:        p before:  QPoint(2,-15)
amarok:        p after:  QPoint(351,540)
amarok: BEGIN: KDE::ProgressBar& KDE::ProgressBar::setAbortSlot(QObject*, const char*)
amarok: END__: KDE::ProgressBar& KDE::ProgressBar::setAbortSlot(QObject*, const char*) - Took 0.0006s
amarok: END__: XmlParseJob::XmlParseJob(ScanManager*, SqlCollection*) - Took 0.016s
amarok: BEGIN: virtual void XmlParseJob::run()
amarok: BEGIN: ScanResultProcessor::ScanResultProcessor(SqlCollection*)
amarok: END__: ScanResultProcessor::ScanResultProcessor(SqlCollection*) - Took 7.9e-05s
amarok: END__: void ScanManager::restartScanner() - Took 0.022s
QMutex::lock: mutex lock failure:
QMutex::lock: mutex unlock failure:
amarok:      do-while done with error
amarok: BEGIN: void DatabaseUpdater::removeTemporaryTables()
amarok: END__: void DatabaseUpdater::removeTemporaryTables() - Took 0.33s
amarok: BEGIN: ScanResultProcessor::~ScanResultProcessor()
amarok: END__: ScanResultProcessor::~ScanResultProcessor() - Took 9.1e-05s
amarok: END__: virtual void XmlParseJob::run() - Took 1.4e+03s
amarok: Fatal IO error: client killed
amarok: BEGIN: virtual MountPointManager::~MountPointManager()
amarok: END__: virtual MountPointManager::~MountPointManager() - Took 9.6e-05s
amarok: BEGIN: virtual TrackToolTip::~TrackToolTip()
amarok: END__: virtual TrackToolTip::~TrackToolTip() - Took 5.2e-05s
amarok: BEGIN: Amarok::MessageQueue::~MessageQueue()
amarok: END__: Amarok::MessageQueue::~MessageQueue() - Took 5.2e-05s
amarok: BEGIN: SvgHandler::~SvgHandler()
amarok: END__: SvgHandler::~SvgHandler() - Took 0.00012s
amarok: BEGIN: virtual CurrentEngine::~CurrentEngine()
amarok: END__: virtual CurrentEngine::~CurrentEngine() - Took 6e-05s
amarok: BEGIN: virtual ContextObserver::~ContextObserver()
amarok: BEGIN: void ContextSubject::detach(ContextObserver*)
amarok: END__: void ContextSubject::detach(ContextObserver*) - Took 5.6e-05s
amarok: END__: virtual ContextObserver::~ContextObserver() - Took 0.00017s
KCrash: Application 'amarok' crashing...
sock_file=/root/.kde/socket-localhost.localdomain/kdeinit4__0
amarok: BEGIN: virtual PaletteHandler::~PaletteHandler()
amarok: END__: virtual PaletteHandler::~PaletteHandler() - Took 8.3e-05s
amarok: BEGIN: virtual CollectionManager::~CollectionManager()
QProcess: Destroyed while process is still running.
amarok: BEGIN: virtual XmlParseJob::~XmlParseJob()
Unable to start Dr. Konqi


See bug:

http://bugs.kde.org/show_bug.cgi?id=161721

From Scott Wheeler:

"Do a dynamic_cast on these instead of a static since in the case of a non-supported frame flag the frame will still be added to the list, but using the UnknownFrame type rather than the canonical type. At the moment, on systems with a build in zlib, this should only happen for the (very rare) encrypted frames."

IIRC part of this fix was the above in Amarok.

Thanks
Andy
Comment 1 Seb Ruiz 2008-09-22 13:02:08 UTC
Why did you report this bug again? The fix in bug 161721 was for taglib, not amarok. Either way, we need a proper backtrace to be able to fix the crash, console output isn't enough.

Please reopen if you can provide this info :) thanks.

*** This bug has been marked as a duplicate of bug 161721 ***
Comment 2 Andy 2008-09-22 13:20:28 UTC
Because based on what Wheeler said, he has fixed his end, the remainder needs patched in Amarok.  This bug was written against Amarok not Taglib.

That output was generated by gdb, not console.
Comment 3 Mark Kretschmann 2008-09-22 13:28:23 UTC
Andy, what you pasted there is _not_ a backtrace, but simply debug output from Amarok. It's not helpful with fixing the crash.

Please see here:

http://amarok.kde.org/wiki/Debugging_HowTo#GDB
Comment 4 Seb Ruiz 2008-09-22 13:29:25 UTC
Okay, sorry for the miscommunication.

However, your output is still console output. Once the crash occurs, you need to explicitly get the backtrace using the 'bt' command. For best results, start the application with --nofork args, eg:

$> gdb amarok
gdb> r --nofork
... (wait till crash) ...
gdb> bt
Comment 5 Andy 2008-09-22 13:47:15 UTC
Will do, I'm here to help, just don't do this very often!

Thanks
Comment 6 Andy 2008-09-22 15:25:18 UTC
Yeah, I forgot bt!  How about this?

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb6847b90 (LWP 22373)]
0x03406487 in ?? () from /usr/lib/libthreadweaver.so.4
(gdb) bt
#0  0x03406487 in ?? () from /usr/lib/libthreadweaver.so.4
#1  0x03406829 in ThreadWeaver::Job::execute () from /usr/lib/libthreadweaver.so.4
#2  0x034053ea in ?? () from /usr/lib/libthreadweaver.so.4
#3  0x03405a5b in ThreadWeaver::Thread::run () from /usr/lib/libthreadweaver.so.4
#4  0x006a3232 in ?? () from /usr/lib/libQtCore.so.4
#5  0x00dad32f in start_thread (arg=<value optimized out>) at pthread_create.c:297
#6  0x00ce820e in clone () from /lib/libc.so.6
(gdb) 

Comment 7 Seb Ruiz 2008-09-23 00:04:52 UTC
Nope, unfortunately this isn't enough information, as you're getting the trace from the incorrect thread.

Remember to run with --nofork, and instead of 'bt' try 'thread apply all bt'
Comment 8 Andy 2008-09-23 00:40:48 UTC
Ok:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb49f0b90 (LWP 19529)]
0x03406487 in ?? () from /usr/lib/libthreadweaver.so.4
(gdb) thread apply all bt

Thread 17 (Thread 0xb3dffb90 (LWP 19533)):
#0  0x00110416 in __kernel_vsyscall ()
#1  0x00db0ba5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x006a4272 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#3  0x03404598 in ?? () from /usr/lib/libthreadweaver.so.4
#4  0x0340736c in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x0340317b in ?? () from /usr/lib/libthreadweaver.so.4
#6  0x0340746a in ?? () from /usr/lib/libthreadweaver.so.4
#7  0x03404b23 in ?? () from /usr/lib/libthreadweaver.so.4
#8  0x03407489 in ?? () from /usr/lib/libthreadweaver.so.4
#9  0x03404b23 in ?? () from /usr/lib/libthreadweaver.so.4
#10 0x03407489 in ?? () from /usr/lib/libthreadweaver.so.4
#11 0x03404b23 in ?? () from /usr/lib/libthreadweaver.so.4
#12 0x0340541e in ?? () from /usr/lib/libthreadweaver.so.4
#13 0x03405a5b in ThreadWeaver::Thread::run () from /usr/lib/libthreadweaver.so.4
#14 0x006a3232 in ?? () from /usr/lib/libQtCore.so.4
#15 0x00dad32f in start_thread (arg=<value optimized out>) at pthread_create.c:297
#16 0x00ce820e in clone () from /lib/libc.so.6

Thread 16 (Thread 0xb49f0b90 (LWP 19529)):
#0  0x03406487 in ?? () from /usr/lib/libthreadweaver.so.4
#1  0x03406829 in ThreadWeaver::Job::execute () from /usr/lib/libthreadweaver.so.4
#2  0x034053ea in ?? () from /usr/lib/libthreadweaver.so.4
#3  0x03405a5b in ThreadWeaver::Thread::run () from /usr/lib/libthreadweaver.so.4
#4  0x006a3232 in ?? () from /usr/lib/libQtCore.so.4
#5  0x00dad32f in start_thread (arg=<value optimized out>) at pthread_create.c:297
#6  0x00ce820e in clone () from /lib/libc.so.6

Thread 15 (Thread 0xb53f1b90 (LWP 19528)):
#0  0x00110416 in __kernel_vsyscall ()
#1  0x00db3839 in __lll_lock_wait () from /lib/libpthread.so.0
#2  0x00db11f6 in pthread_cond_signal@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#3  0x006a274b in ?? () from /usr/lib/libQtCore.so.4
#4  0x0069dce1 in QMutex::unlock () from /usr/lib/libQtCore.so.4
#5  0x034064b9 in ?? () from /usr/lib/libthreadweaver.so.4
#6  0x03406829 in ThreadWeaver::Job::execute () from /usr/lib/libthreadweaver.so.4
#7  0x034053ea in ?? () from /usr/lib/libthreadweaver.so.4
#8  0x03405a5b in ThreadWeaver::Thread::run () from /usr/lib/libthreadweaver.so.4
#9  0x006a3232 in ?? () from /usr/lib/libQtCore.so.4
#10 0x00dad32f in start_thread (arg=<value optimized out>) at pthread_create.c:297
#11 0x00ce820e in clone () from /lib/libc.so.6

Thread 14 (Thread 0xb695ab90 (LWP 19527)):
#0  0x00110416 in __kernel_vsyscall ()
#1  0x00db0ba5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x006a4272 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#3  0x01923a26 in XmlParseJob::run (this=0xa5e3870) at /root/Desktop/amarok-1.90/src/collection/sqlcollection/ScanManager.cpp:475
#4  0x03406484 in ?? () from /usr/lib/libthreadweaver.so.4
---Type <return> to continue, or q <return> to quit---
#5  0x03406829 in ThreadWeaver::Job::execute () from /usr/lib/libthreadweaver.so.4
#6  0x034053ea in ?? () from /usr/lib/libthreadweaver.so.4
#7  0x03405a5b in ThreadWeaver::Thread::run () from /usr/lib/libthreadweaver.so.4
#8  0x006a3232 in ?? () from /usr/lib/libQtCore.so.4
#9  0x00dad32f in start_thread (arg=<value optimized out>) at pthread_create.c:297
#10 0x00ce820e in clone () from /lib/libc.so.6

Thread 13 (Thread 0xb5f57b90 (LWP 19525)):
#0  0x00110416 in __kernel_vsyscall ()
#1  0x00ce0671 in select () from /lib/libc.so.6
#2  0x00772ac7 in ?? () from /usr/lib/libQtCore.so.4
#3  0x006a3232 in ?? () from /usr/lib/libQtCore.so.4
#4  0x00dad32f in start_thread (arg=<value optimized out>) at pthread_create.c:297
#5  0x00ce820e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb801c770 (LWP 19494)):
#0  0x00110416 in __kernel_vsyscall ()
#1  0x00cdda57 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x0014b612 in g_main_context_iterate (context=<value optimized out>, block=<value optimized out>, dispatch=<value optimized out>, self=Could not find the frame base for "g_main_context_iterate".
) at gmain.c:2954
#3  0x0014b941 in IA__g_main_context_iteration (context=<value optimized out>, may_block=<value optimized out>) at gmain.c:2708
#4  0x007bdea8 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#5  0x03c0dd95 in ?? () from /usr/lib/libQtGui.so.4
#6  0x00791e1a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#7  0x00791fda in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#8  0x00794685 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#9  0x03b75187 in QApplication::exec () from /usr/lib/libQtGui.so.4
#10 0x0804bf47 in main (argc=2, argv=0xbfbf7864) at /root/Desktop/amarok-1.90/src/main.cpp:127
#0  0x03406487 in ?? () from /usr/lib/libthreadweaver.so.4
(gdb) 
Comment 9 Andy 2008-09-30 17:36:31 UTC
Events leading to:

Compiled Amarok Beta 2 using the how-to from the wiki page.  Once compiled and installed I simply started Amarok and it loaded automatically scanning the collection, It must have read the existing Amarok config files (older Amarok version already removed, just left the config.)  I did nothing but fire the program, didn't make any config changes or any menu options when it loaded.

After about 2-3 hours of scanning it simply crashes with the provided above output, no other errors or output.  Originally the output suggested (to me anyhow) that this could be connected to a Taglib error similar to something I found before, but the latest debug output doesn't seem to agree.  The output doesn't specify which file, if any, it crashed on.  

I've since completely blasted my laptop and plan to start fresh.  I will also test the encrypted frame file I sent to Wheeler a while back on the perhaps unrelated bug.

Any significance to the fact that my collection is mounted via NFS share?

Guys, I'm really sorry if this information is worthless.  I'm providing anything and everything I can, please help me help you!
Comment 10 Seb Ruiz 2008-10-01 00:24:39 UTC
You could email one of us a culprit file so we could do some local testing. Please make sure the music is good.
Comment 11 Andy 2008-10-01 01:58:18 UTC
Here is the crash output after a clean install.  I'm working to install the remaining debuginfo packages, some were not found by yum.  I'm also working to isolate a specific file that is causing this issue.  Anyhow, I hope this is worth something!

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb4abdb90 (LWP 8812)]
0x002c6a79 in ?? () from /usr/lib/libQtCore.so.4
Missing separate debuginfos, use: debuginfo-install alsa-plugins.i386 dbus.i386 gcc.i386 glib2.i386 gstreamer-plugins-base.i386 gstreamer.i386 kdebase-runtime.i386 kdelibs.i386 keyutils.i386 libX11.i386 libjpeg.i386 libselinux.i386 libxcb.i386 mesa.i386 phonon.i386 qt.i386 sqlite.i386
(gdb) thread apply all bt

Thread 20 (Thread 0xaebf9b90 (LWP 9485)):
#0  0x00110416 in __kernel_vsyscall ()
#1  0x01dcf827 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>)
    at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x01aac732 in ?? () from /lib/libglib-2.0.so.0
#3  0x01aaca61 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#4  0x002ad228 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#5  0x002812ba in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#6  0x0028147a in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#7  0x0018f509 in QThread::exec () from /usr/lib/libQtCore.so.4
#8  0x0026553b in ?? () from /usr/lib/libQtCore.so.4
#9  0x001927a2 in ?? () from /usr/lib/libQtCore.so.4
#10 0x0085d51f in start_thread (arg=<value optimized out>) at pthread_create.c:297
#11 0x01dda0de in clone () from /lib/libc.so.6

Thread 19 (Thread 0xaf5fab90 (LWP 9484)):
#0  0x00110416 in __kernel_vsyscall ()
#1  0x00861095 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x001937e2 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#3  0x0620f0ea in ?? () from /usr/lib/libQtGui.so.4
#4  0x001927a2 in ?? () from /usr/lib/libQtCore.so.4
#5  0x0085d51f in start_thread (arg=<value optimized out>) at pthread_create.c:297
#6  0x01dda0de in clone () from /lib/libc.so.6

Thread 18 (Thread 0xafffbb90 (LWP 9468)):
#0  0x00110416 in __kernel_vsyscall ()
#1  0x01dcf827 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>)
---Type <return> to continue, or q <return> to quit---
    at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x01aac732 in ?? () from /lib/libglib-2.0.so.0
#3  0x01aaca61 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#4  0x002ad228 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#5  0x002812ba in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#6  0x0028147a in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#7  0x0018f509 in QThread::exec () from /usr/lib/libQtCore.so.4
#8  0x0026553b in ?? () from /usr/lib/libQtCore.so.4
#9  0x001927a2 in ?? () from /usr/lib/libQtCore.so.4
#10 0x0085d51f in start_thread (arg=<value optimized out>) at pthread_create.c:297
#11 0x01dda0de in clone () from /lib/libc.so.6

Thread 17 (Thread 0xb09fcb90 (LWP 9467)):
#0  0x00110416 in __kernel_vsyscall ()
#1  0x00861095 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x001937e2 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#3  0x0620f0ea in ?? () from /usr/lib/libQtGui.so.4
#4  0x001927a2 in ?? () from /usr/lib/libQtCore.so.4
#5  0x0085d51f in start_thread (arg=<value optimized out>) at pthread_create.c:297
#6  0x01dda0de in clone () from /lib/libc.so.6

Thread 16 (Thread 0xb24aab90 (LWP 9433)):
#0  0x00110416 in __kernel_vsyscall ()
#1  0x01dcf827 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>)
    at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x01aac732 in ?? () from /lib/libglib-2.0.so.0
#3  0x01aaca61 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#4  0x002ad228 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
---Type <return> to continue, or q <return> to quit---
#5  0x002812ba in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#6  0x0028147a in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#7  0x0018f509 in QThread::exec () from /usr/lib/libQtCore.so.4
#8  0x0026553b in ?? () from /usr/lib/libQtCore.so.4
#9  0x001927a2 in ?? () from /usr/lib/libQtCore.so.4
#10 0x0085d51f in start_thread (arg=<value optimized out>) at pthread_create.c:297
#11 0x01dda0de in clone () from /lib/libc.so.6

Thread 15 (Thread 0xb2eabb90 (LWP 9432)):
#0  0x00110416 in __kernel_vsyscall ()
#1  0x00861095 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x001937e2 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#3  0x0620f0ea in ?? () from /usr/lib/libQtGui.so.4
#4  0x001927a2 in ?? () from /usr/lib/libQtCore.so.4
#5  0x0085d51f in start_thread (arg=<value optimized out>) at pthread_create.c:297
#6  0x01dda0de in clone () from /lib/libc.so.6

Thread 14 (Thread 0xb3ff4b90 (LWP 8817)):
#0  0x00110416 in __kernel_vsyscall ()
#1  0x00861095 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x001937e2 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#3  0x006b1598 in ?? () from /usr/lib/libthreadweaver.so.4
#4  0x006b433c in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x006b017b in ?? () from /usr/lib/libthreadweaver.so.4
#6  0x006b443a in ?? () from /usr/lib/libthreadweaver.so.4
#7  0x006b1b23 in ?? () from /usr/lib/libthreadweaver.so.4
#8  0x006b4459 in ?? () from /usr/lib/libthreadweaver.so.4
#9  0x006b1b23 in ?? () from /usr/lib/libthreadweaver.so.4
---Type <return> to continue, or q <return> to quit---
#10 0x006b4459 in ?? () from /usr/lib/libthreadweaver.so.4
#11 0x006b1b23 in ?? () from /usr/lib/libthreadweaver.so.4
#12 0x006b240e in ?? () from /usr/lib/libthreadweaver.so.4
#13 0x006b2a4b in ThreadWeaver::Thread::run () from /usr/lib/libthreadweaver.so.4
#14 0x001927a2 in ?? () from /usr/lib/libQtCore.so.4
#15 0x0085d51f in start_thread (arg=<value optimized out>) at pthread_create.c:297
#16 0x01dda0de in clone () from /lib/libc.so.6

Thread 13 (Thread 0xb4abdb90 (LWP 8812)):
#0  0x002c6a79 in ?? () from /usr/lib/libQtCore.so.4
#1  0x002cba2a in QXmlStreamReader::readNext () from /usr/lib/libQtCore.so.4
#2  0x0328c79f in XmlParseJob::run (this=0x98abe58) at /home/andy/amarok/src/collection/sqlcollection/ScanManager.cpp:463
#3  0x006b3464 in ?? () from /usr/lib/libthreadweaver.so.4
#4  0x006b3809 in ThreadWeaver::Job::execute () from /usr/lib/libthreadweaver.so.4
#5  0x006b23da in ?? () from /usr/lib/libthreadweaver.so.4
#6  0x006b2a4b in ThreadWeaver::Thread::run () from /usr/lib/libthreadweaver.so.4
#7  0x001927a2 in ?? () from /usr/lib/libQtCore.so.4
#8  0x0085d51f in start_thread (arg=<value optimized out>) at pthread_create.c:297
#9  0x01dda0de in clone () from /lib/libc.so.6

Thread 12 (Thread 0xb13fdb90 (LWP 8811)):
#0  0x00110416 in __kernel_vsyscall ()
#1  0x00861095 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x001937e2 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#3  0x0328c758 in XmlParseJob::run (this=0x9821470) at /home/andy/amarok/src/collection/sqlcollection/ScanManager.cpp:455
#4  0x006b3464 in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x006b3809 in ThreadWeaver::Job::execute () from /usr/lib/libthreadweaver.so.4
#6  0x006b23da in ?? () from /usr/lib/libthreadweaver.so.4
---Type <return> to continue, or q <return> to quit---
#7  0x006b2a4b in ThreadWeaver::Thread::run () from /usr/lib/libthreadweaver.so.4
#8  0x001927a2 in ?? () from /usr/lib/libQtCore.so.4
#9  0x0085d51f in start_thread (arg=<value optimized out>) at pthread_create.c:297
#10 0x01dda0de in clone () from /lib/libc.so.6

Thread 11 (Thread 0xb5dffb90 (LWP 8810)):
#0  0x00110416 in __kernel_vsyscall ()
#1  0x00861095 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x001937e2 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#3  0x006b1598 in ?? () from /usr/lib/libthreadweaver.so.4
#4  0x006b433c in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x006b017b in ?? () from /usr/lib/libthreadweaver.so.4
#6  0x006b443a in ?? () from /usr/lib/libthreadweaver.so.4
#7  0x006b1b23 in ?? () from /usr/lib/libthreadweaver.so.4
#8  0x006b4459 in ?? () from /usr/lib/libthreadweaver.so.4
#9  0x006b1b23 in ?? () from /usr/lib/libthreadweaver.so.4
#10 0x006b4459 in ?? () from /usr/lib/libthreadweaver.so.4
#11 0x006b1b23 in ?? () from /usr/lib/libthreadweaver.so.4
#12 0x006b240e in ?? () from /usr/lib/libthreadweaver.so.4
#13 0x006b2a4b in ThreadWeaver::Thread::run () from /usr/lib/libthreadweaver.so.4
#14 0x001927a2 in ?? () from /usr/lib/libQtCore.so.4
#15 0x0085d51f in start_thread (arg=<value optimized out>) at pthread_create.c:297
#16 0x01dda0de in clone () from /lib/libc.so.6

Thread 2 (Thread 0xb69d4b90 (LWP 8628)):
#0  0x00110416 in __kernel_vsyscall ()
#1  0x01dd2441 in select () from /lib/libc.so.6
#2  0x00261f77 in ?? () from /usr/lib/libQtCore.so.4
---Type <return> to continue, or q <return> to quit---
#3  0x001927a2 in ?? () from /usr/lib/libQtCore.so.4
#4  0x0085d51f in start_thread (arg=<value optimized out>) at pthread_create.c:297
#5  0x01dda0de in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb7fd2770 (LWP 8609)):
#0  0x00110416 in __kernel_vsyscall ()
#1  0x01dc9c66 in access () from /lib/libc.so.6
#2  0x05b15448 in KStandardDirs::exists () from /usr/lib/libkdecore.so.5
#3  0x066c2141 in KIconCache::existingIconThemeDirs () from /usr/lib/libkdeui.so.5
#4  0x066c315e in ?? () from /usr/lib/libkdeui.so.5
#5  0x066c267b in KIconCache::find () from /usr/lib/libkdeui.so.5
#6  0x066b5a3a in KIconLoader::loadIcon () from /usr/lib/libkdeui.so.5
#7  0x066af4fa in ?? () from /usr/lib/libkdeui.so.5
#8  0x05e045a7 in QIcon::pixmap () from /usr/lib/libQtGui.so.4
#9  0x0600c065 in QCommonStyle::drawControl () from /usr/lib/libQtGui.so.4
#10 0x066fc2e3 in KStyle::drawControl () from /usr/lib/libkdeui.so.5
#11 0x02862372 in ?? () from /usr/lib/kde4/plugins/styles/oxygen.so
#12 0x066fa9ba in KStyle::drawComplexControl () from /usr/lib/libkdeui.so.5
#13 0x02861737 in ?? () from /usr/lib/kde4/plugins/styles/oxygen.so
#14 0x0603828b in ?? () from /usr/lib/libQtGui.so.4
#15 0x06188f4d in QToolButton::paintEvent () from /usr/lib/libQtGui.so.4
#16 0x05dc0ccb in QWidget::event () from /usr/lib/libQtGui.so.4
#17 0x060a83de in QAbstractButton::event () from /usr/lib/libQtGui.so.4
#18 0x06186364 in QToolButton::event () from /usr/lib/libQtGui.so.4
#19 0x05d692cc in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#20 0x05d711da in QApplication::notify () from /usr/lib/libQtGui.so.4
#21 0x066ecf9d in KApplication::notify () from /usr/lib/libkdeui.so.5
#22 0x00282bf1 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
---Type <return> to continue, or q <return> to quit---
#23 0x05dc997e in ?? () from /usr/lib/libQtGui.so.4
#24 0x05dbf6f0 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4
#25 0x05dbfe4b in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4
#26 0x05dbf368 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4
#27 0x05dbfe4b in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4
#28 0x05dbfd5d in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4
#29 0x05dbf368 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4
#30 0x05dbfe4b in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4
#31 0x05dbf368 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4
#32 0x05dbfe4b in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4
#33 0x05dbf368 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4
#34 0x05dbfe4b in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4
#35 0x05dbf368 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4
#36 0x05f2ba57 in ?? () from /usr/lib/libQtGui.so.4
#37 0x05f2c867 in ?? () from /usr/lib/libQtGui.so.4
#38 0x05dc0af6 in QWidget::event () from /usr/lib/libQtGui.so.4
#39 0x061128c7 in QMainWindow::event () from /usr/lib/libQtGui.so.4
#40 0x067b1938 in KMainWindow::event () from /usr/lib/libkdeui.so.5
#41 0x067f2d6c in KXmlGuiWindow::event () from /usr/lib/libkdeui.so.5
#42 0x05d692cc in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#43 0x05d711da in QApplication::notify () from /usr/lib/libQtGui.so.4
#44 0x066ecf9d in KApplication::notify () from /usr/lib/libkdeui.so.5
#45 0x00282bf1 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#46 0x00283875 in QCoreApplicationPrivate::sendPostedEvents () from /usr/lib/libQtCore.so.4
#47 0x00283a6d in QCoreApplication::sendPostedEvents () from /usr/lib/libQtCore.so.4
#48 0x002ad5df in ?? () from /usr/lib/libQtCore.so.4
#49 0x01aa91f8 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#50 0x01aac8a3 in ?? () from /lib/libglib-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#51 0x01aaca61 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#52 0x002ad228 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#53 0x05e01a55 in ?? () from /usr/lib/libQtGui.so.4
#54 0x002812ba in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#55 0x0028147a in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#56 0x00283b35 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#57 0x05d69147 in QApplication::exec () from /usr/lib/libQtGui.so.4
#58 0x0804bf17 in main (argc=2, argv=0xbffff884) at /home/andy/amarok/src/main.cpp:127
#0  0x002c6a79 in ?? () from /usr/lib/libQtCore.so.4
(gdb) 

Comment 12 Mark Kretschmann 2008-10-02 07:55:04 UTC
Ok, the latest backtrace is again useless (missing debug info). I'm closing the report.

Please only reopen when you have some useful information to help us fix it (e.g. a valid backtrace), or a file that makes it possible to reproduce the issue.
Comment 13 Andy 2008-10-02 16:48:50 UTC
File sent to Mark and Seb.
Comment 14 Mark Kretschmann 2008-10-02 18:34:13 UTC
Andy, I have downloaded your test file, and put it in my collection. Amarok 2 scanned and played it just fine, without problems.

Also, running amarokcollectionscanner manually did now reveal any problems with the file, apart from the TagLib warning "Encrypted frames are currently not supported", which is irrelevant, as Scott explained.

So I think we've now proven that this alleged bug in Amarok 2 does not exist. Please keep this report closed.
Comment 15 Jeff Mitchell 2008-10-02 18:49:30 UTC
Andy,

You need to be running current TagLib from svn.  TagLib 1.5 and earlier will not have Scott's fix.

Scott's fix was only in TagLib, and nothing needed to be done about it in Amarok.