Bug 267137 - Crash when playing a corrupted FLAC file
Summary: Crash when playing a corrupted FLAC file
Status: RESOLVED DUPLICATE of bug 259801
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: 2.4-GIT
Platform: Debian unstable Linux
: NOR crash
Target Milestone: 2.4.1
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-25 10:46 UTC by Adrien Bellanger
Modified: 2011-02-25 11:12 UTC (History)
0 users

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 Adrien Bellanger 2011-02-25 10:46:10 UTC
Application: amarok (2.4-GIT)
KDE Platform Version: 4.5.3 (KDE 4.5.3)
Qt Version: 4.6.3
Operating System: Linux 2.6.37-1-amd64 x86_64
Distribution: Debian GNU/Linux unstable (sid)

-- Information about the crash:
- What I was doing when the application crashed:
I have wanted to resize my partition with some audio files, and the resize had crashed. I have not backup the file as soon as I need and that made lots of file corrupted.
When I read a file like this on amarok with gstreamer engine amarok crashes, whereas Dragon just stop playing. 
The amazing thing is that with other engines (Xine or VLC) the whole file is played, there is just some cracks on the wrong time.

I know that stop playing is not an amarok bug, but if it could not crash that was better.

If you need one wrong file, I can send it but there is copyright on the file.

The crash can be reproduced every time.

-- Backtrace:
Application: Amarok (amarok), signal: Segmentation fault
[Current thread is 1 (Thread 0x7ff9b1cfe780 (LWP 9337))]

Thread 11 (Thread 0x7ff981b3c700 (LWP 9351)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007ff9ab1a8356 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7ff9ab4861e0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2304
#2  0x00007ff9ab1a8399 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x7ff9ab4942ac) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1438
#3  0x00007ff9aa8fa8ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007ff9ae46702d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7ff97237f700 (LWP 9352)):
#0  0x00007ff9ae45aebd in read () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007ff9ae4060ea in _IO_new_file_seekoff (fp=0x7ff97da7e830, offset=7671936, dir=<value optimized out>, mode=<value optimized out>) at fileops.c:1086
#2  0x00007ff9ae3fe7fa in fseek (fp=0x7ff97da7e830, offset=0, whence=4096) at fseek.c:41
#3  0x00007ff9ab6fab1d in TagLib::File::seek(long, TagLib::File::Position) () from /usr/lib/libtag.so.1
#4  0x00007ff9ab6fabdb in TagLib::File::length() () from /usr/lib/libtag.so.1
#5  0x00007ff9ab6fb148 in TagLib::File::readBlock(unsigned long) () from /usr/lib/libtag.so.1
#6  0x00007ff9ab6d7d7e in TagLib::ID3v2::Tag::read() () from /usr/lib/libtag.so.1
#7  0x00007ff9ab6d9139 in TagLib::ID3v2::Tag::Tag(TagLib::File*, long, TagLib::ID3v2::FrameFactory const*) () from /usr/lib/libtag.so.1
#8  0x00007ff9ab6d0e53 in TagLib::MPEG::File::read(bool, TagLib::AudioProperties::ReadStyle) () from /usr/lib/libtag.so.1
#9  0x00007ff9ab6d131f in TagLib::MPEG::File::File(char const*, bool, TagLib::AudioProperties::ReadStyle) () from /usr/lib/libtag.so.1
#10 0x00007ff9b0b6f23e in MimeFileTypeResolver::createFile (this=0x18fc7c0, fileName=0x7ff97da7c7c8 "/media/Documents/Musique/Autres/Festival/SXSW_2010_Showcasing_Artists_Part2/Memory_Tapes-MEMORY_TAPES.mp3", readProperties=true, propertiesStyle=TagLib::AudioProperties::Fast) at /usr/src/kde/src/amarok/shared/taglib_filetype_resolvers/mimefiletyperesolver.cpp:59
#11 0x00007ff9ab7162aa in TagLib::FileRef::create(char const*, bool, TagLib::AudioProperties::ReadStyle) () from /usr/lib/libtag.so.1
#12 0x00007ff9ab716c3c in TagLib::FileRef::FileRef(char const*, bool, TagLib::AudioProperties::ReadStyle) () from /usr/lib/libtag.so.1
#13 0x00007ff9b09a694e in Meta::Tag::getFileRef (path=...) at /usr/src/kde/src/amarok/shared/MetaTagLib.cpp:95
#14 0x00007ff9b09a72a7 in Meta::Tag::readTags (path=...) at /usr/src/kde/src/amarok/shared/MetaTagLib.cpp:175
#15 0x00007ff9b09d85b8 in MetaFile::Track::Private::readMetaData (this=0x7ff97da7cbb0) at /usr/src/kde/src/amarok/src/core-impl/meta/file/File_p.h:136
#16 0x00007ff9b09d9d53 in MetaFile::Track::Track (this=0x7ff97da7e700, url=...) at /usr/src/kde/src/amarok/src/core-impl/meta/file/File.cpp:188
#17 0x00007ff98f04b74d in Meta::UmsHandler::nextTrackToParse (this=0x2f314c0) at /usr/src/kde/src/amarok/src/core-impl/collections/umscollection/handler/UmsHandler.cpp:871
#18 0x00007ff98f052c81 in Handler::UmsReadCapability::nextTrackToParse (this=0x2abaff0) at /usr/src/kde/src/amarok/src/core-impl/collections/umscollection/handler/capabilities/UmsReadCapability.cpp:49
#19 0x00007ff9b092b8ca in Meta::MediaDeviceHandler::privateParseTracks (this=0x2f314c0) at /usr/src/kde/src/amarok/src/core-impl/collections/mediadevicecollection/handler/MediaDeviceHandler.cpp:857
#20 0x00007ff9b092e18e in Meta::ParseWorkerThread::run (this=0x2177eb0) at /usr/src/kde/src/amarok/src/core-impl/collections/mediadevicecollection/handler/MediaDeviceHandler.cpp:1298
#21 0x00007ff9ac834935 in ThreadWeaver::JobRunHelper::runTheJob (this=0x7ff97237ed80, th=0x2cb5520, job=0x2177eb0) at ../../../threadweaver/Weaver/Job.cpp:106
#22 0x00007ff9ac834c2e in ThreadWeaver::Job::execute (this=0x2177eb0, th=0x2cb5520) at ../../../threadweaver/Weaver/Job.cpp:135
#23 0x00007ff9ac833c4f in ThreadWeaver::ThreadRunHelper::run (this=0x7ff97237ee10, parent=0x2f32560, th=0x2cb5520) at ../../../threadweaver/Weaver/Thread.cpp:95
#24 0x00007ff9ac8341d8 in ThreadWeaver::Thread::run (this=0x2cb5520) at ../../../threadweaver/Weaver/Thread.cpp:142
#25 0x00007ff9aeca2e15 in QThreadPrivate::start (arg=0x2cb5520) at thread/qthread_unix.cpp:248
#26 0x00007ff9aa8fa8ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#27 0x00007ff9ae46702d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#28 0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7ff971b7e700 (LWP 9355)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007ff9aeca3e6b in wait (this=<value optimized out>, mutex=0x2ec9cb0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2ec9cb0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007ff9ac832e56 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x2f32560, th=0x1e2c570) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007ff9ac8356fb in ThreadWeaver::WorkingHardState::applyForWork (this=0x2f328f0, th=0x1e2c570) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007ff9ac835714 in ThreadWeaver::WorkingHardState::applyForWork (this=0x2f328f0, th=0x1e2c570) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007ff9ac833c7f in ThreadWeaver::ThreadRunHelper::run (this=0x7ff971b7de10, parent=0x2f32560, th=0x1e2c570) at ../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007ff9ac8341d8 in ThreadWeaver::Thread::run (this=0x1e2c570) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007ff9aeca2e15 in QThreadPrivate::start (arg=0x1e2c570) at thread/qthread_unix.cpp:248
#9  0x00007ff9aa8fa8ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007ff9ae46702d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7ff9710eb700 (LWP 9356)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007ff9aeca3e6b in wait (this=<value optimized out>, mutex=0x2ec9cb0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2ec9cb0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007ff9ac832e56 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x2f32560, th=0x2f26c20) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007ff9ac8356fb in ThreadWeaver::WorkingHardState::applyForWork (this=0x2f328f0, th=0x2f26c20) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007ff9ac833c7f in ThreadWeaver::ThreadRunHelper::run (this=0x7ff9710eae10, parent=0x2f32560, th=0x2f26c20) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007ff9ac8341d8 in ThreadWeaver::Thread::run (this=0x2f26c20) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007ff9aeca2e15 in QThreadPrivate::start (arg=0x2f26c20) at thread/qthread_unix.cpp:248
#8  0x00007ff9aa8fa8ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007ff9ae46702d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7ff9708ea700 (LWP 9357)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007ff9aeca3e6b in wait (this=<value optimized out>, mutex=0x2ec9cb0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2ec9cb0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007ff9ac832e56 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x2f32560, th=0x22845a0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007ff9ac8356fb in ThreadWeaver::WorkingHardState::applyForWork (this=0x2f328f0, th=0x22845a0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007ff9ac833c7f in ThreadWeaver::ThreadRunHelper::run (this=0x7ff9708e9e10, parent=0x2f32560, th=0x22845a0) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007ff9ac8341d8 in ThreadWeaver::Thread::run (this=0x22845a0) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007ff9aeca2e15 in QThreadPrivate::start (arg=0x22845a0) at thread/qthread_unix.cpp:248
#8  0x00007ff9aa8fa8ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007ff9ae46702d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7ff96a5d1700 (LWP 9358)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007ff9a44ed556 in ?? () from /usr/lib/libQtWebKit.so.4
#2  0x00007ff9a44ed599 in ?? () from /usr/lib/libQtWebKit.so.4
#3  0x00007ff9aa8fa8ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007ff9ae46702d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7ff983b40700 (LWP 9409)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007ff994f84057 in ?? () from /usr/lib/libgstreamer-0.10.so.0
#2  0x00007ff9a7ebad2f in ?? () from /lib/libglib-2.0.so.0
#3  0x00007ff9a7eb8e64 in ?? () from /lib/libglib-2.0.so.0
#4  0x00007ff9aa8fa8ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#5  0x00007ff9ae46702d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7ff98333f700 (LWP 9410)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007ff994f84057 in ?? () from /usr/lib/libgstreamer-0.10.so.0
#2  0x00007ff9a7ebad2f in ?? () from /lib/libglib-2.0.so.0
#3  0x00007ff9a7eb8e64 in ?? () from /lib/libglib-2.0.so.0
#4  0x00007ff9aa8fa8ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#5  0x00007ff9ae46702d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7ff982b3e700 (LWP 9411)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007ff994f84057 in ?? () from /usr/lib/libgstreamer-0.10.so.0
#2  0x00007ff9a7ebad2f in ?? () from /lib/libglib-2.0.so.0
#3  0x00007ff9a7eb8e64 in ?? () from /lib/libglib-2.0.so.0
#4  0x00007ff9aa8fa8ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#5  0x00007ff9ae46702d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7ff99047d700 (LWP 9412)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007ff994f84057 in ?? () from /usr/lib/libgstreamer-0.10.so.0
#2  0x00007ff9a7ebad2f in ?? () from /lib/libglib-2.0.so.0
#3  0x00007ff9a7eb8e64 in ?? () from /lib/libglib-2.0.so.0
#4  0x00007ff9aa8fa8ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#5  0x00007ff9ae46702d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ff9b1cfe780 (LWP 9337)):
[KCrash Handler]
#6  0x00007ff9b0220c80 in QAction::staticMetaObject () from /usr/lib/libQtGui.so.4
#7  0x00007ff9951f8f6b in Phonon::Gstreamer::MediaObject::changeState (this=0x1b76a40, newstate=<value optimized out>) at ../../gstreamer/mediaobject.cpp:761
#8  0x00007ff9951fdcdb in Phonon::Gstreamer::MediaObject::handleBusMessage (this=0x1b76a40, message=<value optimized out>) at ../../gstreamer/mediaobject.cpp:1495
#9  0x00007ff9951f09b6 in Phonon::Gstreamer::Backend::qt_metacall (this=0x1995920, _c=<value optimized out>, _id=<value optimized out>, _a=0x5111b80) at ./moc_backend.cpp:82
#10 0x00007ff9aeda1e29 in QObject::event (this=0x1995920, e=0x338dfe0) at kernel/qobject.cpp:1248
#11 0x00007ff9af77f32c in QApplicationPrivate::notify_helper (this=0x18414c0, receiver=0x1995920, e=0x338dfe0) at kernel/qapplication.cpp:4302
#12 0x00007ff9af78580b in QApplication::notify (this=0x7fffa4190670, receiver=0x1995920, e=0x338dfe0) at kernel/qapplication.cpp:4185
#13 0x00007ff9b171aef6 in KApplication::notify (this=0x7fffa4190670, receiver=0x1995920, event=0x338dfe0) at ../../kdeui/kernel/kapplication.cpp:310
#14 0x00007ff9aed9209c in QCoreApplication::notifyInternal (this=0x7fffa4190670, receiver=0x1995920, event=0x338dfe0) at kernel/qcoreapplication.cpp:726
#15 0x00007ff9aed95744 in sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x16df4b0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#16 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x16df4b0) at kernel/qcoreapplication.cpp:1367
#17 0x00007ff9aedbbb73 in sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#18 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#19 0x00007ff9a7e8f2e2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#20 0x00007ff9a7e939a8 in ?? () from /lib/libglib-2.0.so.0
#21 0x00007ff9a7e93b5c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#22 0x00007ff9aedbb6b3 in QEventDispatcherGlib::processEvents (this=0x16deba0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#23 0x00007ff9af82f19e in QGuiEventDispatcherGlib::processEvents (this=0x7fffa418f630, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#24 0x00007ff9aed909c2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#25 0x00007ff9aed90d9c in QEventLoop::exec (this=0x7fffa4190610, flags=) at kernel/qeventloop.cpp:201
#26 0x00007ff9aed95a2b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#27 0x000000000040cf97 in main (argc=1, argv=0x7fffa4192ba8) at /usr/src/kde/src/amarok/src/main.cpp:282

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2011-02-25 11:12:53 UTC
This is already fixed in the newer backend version, please upgrade to KDE 4.6

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