Application that crashed: amarok Version of the application: 2.2.1 KDE Version: 4.3.3 (KDE 4.3.3) Qt Version: 4.5.3 Operating System: Linux 2.6.31-ARCH x86_64 What I was doing when the application crashed: I attempted to change the tags on a m4a listed in the unknown section of my library. When I tried to save the changes, amarok crashed. It did this again when trying after restart. -- Backtrace: Application: Amarok (amarok), signal: Segmentation fault [Current thread is 1 (Thread 0x7f0dbac19780 (LWP 3548))] Thread 15 (Thread 0x7f0d9c622710 (LWP 3559)): #0 0x00007f0db785b3e9 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00007f0da4b8d581 in metronom_sync_loop () from /usr/lib/libxine.so.1 #2 0x00007f0db785681a in start_thread () from /lib/libpthread.so.0 #3 0x00007f0db7d908cd in clone () from /lib/libc.so.6 #4 0x0000000000000000 in ?? () Thread 14 (Thread 0x7f0d9b7e7710 (LWP 3560)): #0 0x00007f0db7d880d3 in poll () from /lib/libc.so.6 #1 0x00007f0db0d0399c in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0 #2 0x00007f0db0d03ce0 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #3 0x00007f0db9244176 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #4 0x00007f0db921a532 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #5 0x00007f0db921a904 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #6 0x00007f0db9133e4b in QThread::exec() () from /usr/lib/libQtCore.so.4 #7 0x00007f0da4de6394 in Phonon::Xine::XineThread::run() () from /usr/lib/qt/plugins/phonon_backend/phonon_xine.so #8 0x00007f0db9136ba5 in ?? () from /usr/lib/libQtCore.so.4 #9 0x00007f0db785681a in start_thread () from /lib/libpthread.so.0 #10 0x00007f0db7d908cd in clone () from /lib/libc.so.6 #11 0x0000000000000000 in ?? () Thread 13 (Thread 0x7f0d9addd710 (LWP 3563)): #0 0x00007f0db7d880d3 in poll () from /lib/libc.so.6 #1 0x00007f0d9ade2839 in ao_alsa_handle_event_thread () from /usr/lib/xine/plugins/1.26/xineplug_ao_out_alsa.so #2 0x00007f0db785681a in start_thread () from /lib/libpthread.so.0 #3 0x00007f0db7d908cd in clone () from /lib/libc.so.6 #4 0x0000000000000000 in ?? () Thread 12 (Thread 0x7f0d9a5dc710 (LWP 3564)): #0 0x00007f0db785b07c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00007f0da4b9e5c3 in ao_loop () from /usr/lib/libxine.so.1 #2 0x00007f0db785681a in start_thread () from /lib/libpthread.so.0 #3 0x00007f0db7d908cd in clone () from /lib/libc.so.6 #4 0x0000000000000000 in ?? () Thread 11 (Thread 0x7f0d999d2710 (LWP 3565)): #0 0x00007f0db785b07c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00007f0da4b9e5c3 in ao_loop () from /usr/lib/libxine.so.1 #2 0x00007f0db785681a in start_thread () from /lib/libpthread.so.0 #3 0x00007f0db7d908cd in clone () from /lib/libc.so.6 #4 0x0000000000000000 in ?? () Thread 10 (Thread 0x7f0d991d1710 (LWP 3566)): #0 0x00007f0db785b07c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00007f0da4b9e5c3 in ao_loop () from /usr/lib/libxine.so.1 #2 0x00007f0db785681a in start_thread () from /lib/libpthread.so.0 #3 0x00007f0db7d908cd in clone () from /lib/libc.so.6 #4 0x0000000000000000 in ?? () Thread 9 (Thread 0x7f0d97607710 (LWP 3572)): #0 0x00007f0db785b07c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00007f0db9137c6b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4 #2 0x00007f0db4e51286 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned(ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4 #3 0x00007f0db4e533bb in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib/libthreadweaver.so.4 #4 0x00007f0db4e533d4 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib/libthreadweaver.so.4 #5 0x00007f0db4e533d4 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib/libthreadweaver.so.4 #6 0x00007f0db4e533d4 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib/libthreadweaver.so.4 #7 0x00007f0db4e533d4 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib/libthreadweaver.so.4 #8 0x00007f0db4e533d4 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib/libthreadweaver.so.4 #9 0x00007f0db4e519bf in ThreadWeaver::ThreadRunHelper::run(ThreadWeaver::WeaverImpl*, ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4 #10 0x00007f0db4e51e18 in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4 #11 0x00007f0db9136ba5 in ?? () from /usr/lib/libQtCore.so.4 #12 0x00007f0db785681a in start_thread () from /lib/libpthread.so.0 #13 0x00007f0db7d908cd in clone () from /lib/libc.so.6 #14 0x0000000000000000 in ?? () Thread 8 (Thread 0x7f0d9057d710 (LWP 3573)): #0 0x00007f0db785b07c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00007f0db9137c6b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4 #2 0x00007f0db4e51286 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned(ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4 #3 0x00007f0db4e533bb in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib/libthreadweaver.so.4 #4 0x00007f0db4e533d4 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib/libthreadweaver.so.4 #5 0x00007f0db4e519bf in ThreadWeaver::ThreadRunHelper::run(ThreadWeaver::WeaverImpl*, ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4 #6 0x00007f0db4e51e18 in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4 #7 0x00007f0db9136ba5 in ?? () from /usr/lib/libQtCore.so.4 #8 0x00007f0db785681a in start_thread () from /lib/libpthread.so.0 #9 0x00007f0db7d908cd in clone () from /lib/libc.so.6 #10 0x0000000000000000 in ?? () Thread 7 (Thread 0x7f0d8fd7c710 (LWP 3574)): #0 0x00007f0db785b07c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00007f0db9137c6b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4 #2 0x00007f0db4e51286 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned(ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4 #3 0x00007f0db4e533bb in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib/libthreadweaver.so.4 #4 0x00007f0db4e533d4 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib/libthreadweaver.so.4 #5 0x00007f0db4e533d4 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib/libthreadweaver.so.4 #6 0x00007f0db4e533d4 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib/libthreadweaver.so.4 #7 0x00007f0db4e533d4 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib/libthreadweaver.so.4 #8 0x00007f0db4e519bf in ThreadWeaver::ThreadRunHelper::run(ThreadWeaver::WeaverImpl*, ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4 #9 0x00007f0db4e51e18 in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4 #10 0x00007f0db9136ba5 in ?? () from /usr/lib/libQtCore.so.4 #11 0x00007f0db785681a in start_thread () from /lib/libpthread.so.0 #12 0x00007f0db7d908cd in clone () from /lib/libc.so.6 #13 0x0000000000000000 in ?? () Thread 6 (Thread 0x7f0d8f373710 (LWP 3577)): #0 0x00007f0db785b07c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00007f0db9137c6b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4 #2 0x00007f0db4e51286 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned(ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4 #3 0x00007f0db4e533bb in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib/libthreadweaver.so.4 #4 0x00007f0db4e519bf in ThreadWeaver::ThreadRunHelper::run(ThreadWeaver::WeaverImpl*, ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4 #5 0x00007f0db4e51e18 in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4 #6 0x00007f0db9136ba5 in ?? () from /usr/lib/libQtCore.so.4 #7 0x00007f0db785681a in start_thread () from /lib/libpthread.so.0 #8 0x00007f0db7d908cd in clone () from /lib/libc.so.6 #9 0x0000000000000000 in ?? () Thread 5 (Thread 0x7f0d8eb72710 (LWP 3612)): #0 0x00007f0db7d8a153 in select () from /lib/libc.so.6 #1 0x00007f0da4bb54a4 in xine_usec_sleep () from /usr/lib/libxine.so.1 #2 0x00007f0da4b9b09b in video_out_loop () from /usr/lib/libxine.so.1 #3 0x00007f0db785681a in start_thread () from /lib/libpthread.so.0 #4 0x00007f0db7d908cd in clone () from /lib/libc.so.6 #5 0x0000000000000000 in ?? () Thread 4 (Thread 0x7f0d7da7b710 (LWP 3613)): #0 0x00007f0db785b07c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00007f0da4b90f7b in fifo_buffer_get () from /usr/lib/libxine.so.1 #2 0x00007f0da4b96d5e in video_decoder_loop () from /usr/lib/libxine.so.1 #3 0x00007f0db785681a in start_thread () from /lib/libpthread.so.0 #4 0x00007f0db7d908cd in clone () from /lib/libc.so.6 #5 0x0000000000000000 in ?? () Thread 3 (Thread 0x7f0d7d27a710 (LWP 3614)): #0 0x00007f0db785b07c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00007f0da4b90f7b in fifo_buffer_get () from /usr/lib/libxine.so.1 #2 0x00007f0da4b97e0e in audio_decoder_loop () from /usr/lib/libxine.so.1 #3 0x00007f0db785681a in start_thread () from /lib/libpthread.so.0 #4 0x00007f0db7d908cd in clone () from /lib/libc.so.6 #5 0x0000000000000000 in ?? () Thread 2 (Thread 0x7f0d7ca78710 (LWP 3615)): #0 0x00007f0db785b07c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00007f0da4ba122b in listener_loop () from /usr/lib/libxine.so.1 #2 0x00007f0db785681a in start_thread () from /lib/libpthread.so.0 #3 0x00007f0db7d908cd in clone () from /lib/libc.so.6 #4 0x0000000000000000 in ?? () Thread 1 (Thread 0x7f0dbac19780 (LWP 3548)): [KCrash Handler] #5 0x00007f0db40823bb in TagLib::MP4::Tag::saveNew(TagLib::ByteVector&) () from /usr/lib/libtag.so.1 #6 0x00007f0db408318c in TagLib::MP4::Tag::save() () from /usr/lib/libtag.so.1 #7 0x00007f0db9d42b9d in Meta::Field::writeFields(TagLib::FileRef, QMap<QString, QVariant> const&) () from /usr/lib/libamaroklib.so.1 #8 0x00007f0db9d4497e in Meta::Field::writeFields(QString const&, QMap<QString, QVariant> const&) () from /usr/lib/libamaroklib.so.1 #9 0x00007f0d97bbc847 in Meta::SqlTrack::writeMetaDataToFile() () from /usr/lib/kde4/amarok_collection-mysqlecollection.so #10 0x00007f0d97bc8c08 in Meta::SqlTrack::commitMetaDataChanges() () from /usr/lib/kde4/amarok_collection-mysqlecollection.so #11 0x00007f0d97bc9d1e in Meta::SqlTrack::endMetaDataUpdate() () from /usr/lib/kde4/amarok_collection-mysqlecollection.so #12 0x00007f0db9f9a96f in TagDialog::saveTags() () from /usr/lib/libamaroklib.so.1 #13 0x00007f0db9f9bd6d in TagDialog::accept() () from /usr/lib/libamaroklib.so.1 #14 0x00007f0db9f9d16a in TagDialog::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libamaroklib.so.1 #15 0x00007f0db9230d3c in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4 #16 0x00007f0db8ccc277 in QAbstractButton::clicked(bool) () from /usr/lib/libQtGui.so.4 #17 0x00007f0db8a2de6b in ?? () from /usr/lib/libQtGui.so.4 #18 0x00007f0db8a2fa7b in ?? () from /usr/lib/libQtGui.so.4 #19 0x00007f0db8a2fcc5 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQtGui.so.4 #20 0x00007f0db871bad0 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4 #21 0x00007f0db86cd07c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #22 0x00007f0db86d4191 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #23 0x00007f0dba6488f6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5 #24 0x00007f0db921bbfc in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4 #25 0x00007f0db86d3a60 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&) () from /usr/lib/libQtGui.so.4 #26 0x00007f0db8739a04 in ?? () from /usr/lib/libQtGui.so.4 #27 0x00007f0db87386da in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4 #28 0x00007f0db876096c in ?? () from /usr/lib/libQtGui.so.4 #29 0x00007f0db0d001fe in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #30 0x00007f0db0d03bb8 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0 #31 0x00007f0db0d03ce0 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #32 0x00007f0db9244123 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #33 0x00007f0db876014e in ?? () from /usr/lib/libQtGui.so.4 #34 0x00007f0db921a532 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #35 0x00007f0db921a904 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #36 0x00007f0db921cab9 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4 #37 0x0000000000409d74 in _start () This bug may be a duplicate of or related to bug 205249 Reported using DrKonqi
The crash appears to be in taglib, reassigning
can you please install the debug packages from you distribution ?
Will do. However, I'm new to bug reporting. Do you want me to replicate the problem and send in a nother bug report or would you rather have me run some sort of debugging tool? I have archlinux x64 with gnome for a desktop FYI. On Mon, 2009-11-30 at 16:03 +0100, Nicolas Lécureuil wrote: > https://bugs.kde.org/show_bug.cgi?id=216819 > > > Nicolas Lécureuil <nlecureuil@mandriva.com> changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > CC| |nlecureuil@mandriva.com > > > > > --- Comment #2 from Nicolas Lécureuil <nlecureuil mandriva com> 2009-11-30 16:03:48 --- > can you please install the debug packages from you distribution ? >
If this happens only for some specific files, can you please send me one of them to lalinsky@gmail.com? If it crashes on any MP4 file, it's most likely a configuration/build issue.
Jeremy, can you please send me the problematic file? It's not possible to debug the issue without it.
*** Bug 218493 has been marked as a duplicate of this bug. ***
This is not the same file I was using when this bug was reported (can't find that one). However, I tried to rename this file today, and it crashed. It seems to happen with mp4 files only. Let me know if I can be of any more assistance. -----Original Message----- From: Lukáš Lalinský <lalinsky@gmail.com> Reply-to: bug-control@bugs.kde.org To: freeshit@mr-awesome.com Subject: [Bug 216819] amarok crashes when tagging m4a Date: Sat, 12 Dec 2009 17:47:40 +0100 (CET) https://bugs.kde.org/show_bug.cgi?id=216819 --- Comment #5 from Lukáš Lalinský <lalinsky gmail com> 2009-12-12 17:47:37 --- Jeremy, can you please send me the problematic file? It's not possible to debug the issue without it.
Created attachment 39053 [details] mp4 file that kills amarok too
I can also confirm that after amarok crashed trying to rename the file I just sent you.. I tried several other m4a files, and they worked great. No problems at all. I then tried to rename the probelm file again... and sure enough, Amarok crashed again. Hope this helps.
The uploaded file is a 44 bytes long WAVE file. Are you sure it's the right one? Even with this file there are issues though. Because the low-level structure of WAVE and MP4 is actually quite similar, it tried to write to the file as if it was a MP4 file, which didn't work. But as the file is so short, I'm not sure if the other files in your collection failed for the same problem. The worst alternative I can think of is that the WAVE file was actually longer, but TagLib truncated it when it assumed it was an MP4 file, because it had a .m4a extension.
SVN commit 1062426 by lalinsky: Be more paranoid about checking MP4 files To consider something a valid MP4 file, it must have a 'moov' atom. Otherwise it's marked as invalid and we won't try to read/write tags. CCBUG:216819 M +7 -0 taglib/mp4/mp4file.cpp M +9 -0 tests/test_mp4.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1062426
wtf??? I thought that file was larger... In fact... I don't even know why it is on my HD in the first place. Sorry for wasting your time there. I will be sorting through my hard drive, and will get back to you with a real file that is problematic or consider this bug no longer a bug. I remember when this happened, I had a file that was larger and was an m4a. I have renamed several m4as this morning so either that bug is fixed or I am losing my mind. Anyway... I will keep you posted.
Definitely no time was wasted. The short file triggered a bug that could cause bad problems. This will be fixed in the next version of TagLib. I'll keep this bug report open for now. If you find any crash on a .m4a file that could be related to this, please let me know. Thanks.
well... I went through my files... No m4a does not work correctly now. I cannot replicate the problem with any file except the one I sent you previously.
*** Bug 223753 has been marked as a duplicate of this bug. ***
*** Bug 224425 has been marked as a duplicate of this bug. ***
*** Bug 257117 has been marked as a duplicate of this bug. ***
*** Bug 256311 has been marked as a duplicate of this bug. ***
I'm going to close this bug, as there isn't much more that I can do. It's now more careful about what it has on input.