Bug 306504

Summary: K3B crashes when opening old k3b-file
Product: [Applications] k3b Reporter: Bernhard Stoevesandt <bstoeve>
Component: generalAssignee: Michał Małek <michalm>
Status: RESOLVED DUPLICATE    
Severity: crash CC: trueg
Priority: NOR    
Version: 2.0.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Bernhard Stoevesandt 2012-09-09 16:47:37 UTC
Application: k3b (2.0.2)
KDE Platform Version: 4.8.4 (4.8.4)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-30-generic i686
Distribution: Ubuntu 12.04.1 LTS

-- Information about the crash:
I had an old project i wanted to load after upgrading the system. However, k3b crashes when reading the file now.

The crash can be reproduced every time.

-- Backtrace:
Application: K3b (k3b), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xb7743740 (LWP 15007))]

Thread 6 (Thread 0xb61b1b40 (LWP 15008)):
#0  0x0555c380 in poll () from /lib/i386-linux-gnu/libc.so.6
#1  0x029dda7b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0x029d00ae in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x029d056b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x03bf1134 in ?? () from /usr/lib/i386-linux-gnu/gio/modules/libdconfsettings.so
#5  0x029f36b3 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#6  0x00a96d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#7  0x0556aace in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 5 (Thread 0xb57ffb40 (LWP 15009)):
#0  0x004d1416 in __kernel_vsyscall ()
#1  0x0555a17b in read () from /lib/i386-linux-gnu/libc.so.6
#2  0x02a0e6ae in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x029cfbd2 in g_main_context_check () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x029d0042 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x029d056b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#6  0x04d6b1ba in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#7  0x029f36b3 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0x00a96d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#9  0x0556aace in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 4 (Thread 0xb39f4b40 (LWP 15011)):
#0  0x00654e89 in ___tls_get_addr () from /lib/ld-linux.so.2
#1  0x03c5ed8f in get_thread_data () at thread/qthread_unix.cpp:174
#2  QThreadData::current () at thread/qthread_unix.cpp:200
#3  0x03da7067 in postEventSourcePrepare (s=0xa1f3888, timeout=0x0) at kernel/qeventdispatcher_glib.cpp:256
#4  0x03da70c7 in postEventSourceCheck (source=0xa1f3888) at kernel/qeventdispatcher_glib.cpp:272
#5  0x029cfb7b in g_main_context_check () from /lib/i386-linux-gnu/libglib-2.0.so.0
#6  0x029d0042 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0x029d0201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0x03da78e7 in QEventDispatcherGlib::processEvents (this=0xa1bf198, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#9  0x03d7350d in QEventLoop::processEvents (this=0xb39f4240, flags=...) at kernel/qeventloop.cpp:149
#10 0x03d737a9 in QEventLoop::exec (this=0xb39f4240, flags=...) at kernel/qeventloop.cpp:204
#11 0x03c5c94c in QThread::exec (this=0xa1df1f8) at thread/qthread.cpp:501
#12 0x03d50b5d in QInotifyFileSystemWatcherEngine::run (this=0xa1df1f8) at io/qfilesystemwatcher_inotify.cpp:248
#13 0x03c5fde0 in QThreadPrivate::start (arg=0xa1df1f8) at thread/qthread_unix.cpp:298
#14 0x00a96d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#15 0x0556aace in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 3 (Thread 0xb1475b40 (LWP 15054)):
#0  0x004d1416 in __kernel_vsyscall ()
#1  0x00a9ad13 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x05578434 in pthread_cond_timedwait () from /lib/i386-linux-gnu/libc.so.6
#3  0x03c5e8dc in thread_sleep (ti=0xb1475258) at thread/qthread_unix.cpp:435
#4  0x03c5f114 in QThread::sleep (secs=2) at thread/qthread_unix.cpp:449
#5  0x0020db0e in K3b::MediaCache::PollThread::run (this=0xa35ad88) at /build/buildd/k3b-2.0.2/libk3b/tools/k3bmediacache.cpp:106
#6  0x03c5fde0 in QThreadPrivate::start (arg=0xa35ad88) at thread/qthread_unix.cpp:298
#7  0x00a96d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0x0556aace in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 2 (Thread 0xb0c74b40 (LWP 15055)):
#0  0x004d1416 in __kernel_vsyscall ()
#1  0x00a9ad13 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x05578434 in pthread_cond_timedwait () from /lib/i386-linux-gnu/libc.so.6
#3  0x03c5e8dc in thread_sleep (ti=0xb0c74258) at thread/qthread_unix.cpp:435
#4  0x03c5f114 in QThread::sleep (secs=2) at thread/qthread_unix.cpp:449
#5  0x0020db0e in K3b::MediaCache::PollThread::run (this=0xa35f088) at /build/buildd/k3b-2.0.2/libk3b/tools/k3bmediacache.cpp:106
#6  0x03c5fde0 in QThreadPrivate::start (arg=0xa35f088) at thread/qthread_unix.cpp:298
#7  0x00a96d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0x0556aace in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb7743740 (LWP 15007)):
[KCrash Handler]
#7  K3bFFMpegFile::Private::getMetadataEntry (this=0xa93db20, key=0x512692d "comment") at /build/buildd/k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:251
#8  0x05125d87 in K3bFFMpegFile::comment (this=0xa81dac0) at /build/buildd/k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:297
#9  0x051248f0 in K3bFFMpegDecoder::analyseFileInternal (this=0xa8eed40, frames=..., samplerate=@0xa9129e8: 0, ch=@0xa9129ec: 0) at /build/buildd/k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegdecoder.cpp:102
#10 0x0022033e in K3b::AudioDecoder::analyseFile (this=0xa8eed40) at /build/buildd/k3b-2.0.2/libk3b/plugin/k3baudiodecoder.cpp:150
#11 0x00278341 in K3b::AudioDoc::createAudioFile (this=0xa85c5b8, url=...) at /build/buildd/k3b-2.0.2/libk3b/projects/audiocd/k3baudiodoc.cpp:477
#12 0x00279a16 in K3b::AudioDoc::loadDocumentData (this=0xa85c5b8, root=0xbfaf911c) at /build/buildd/k3b-2.0.2/libk3b/projects/audiocd/k3baudiodoc.cpp:679
#13 0x0817fe38 in K3b::ProjectManager::openProject (this=0xa1b01b8, url=...) at /build/buildd/k3b-2.0.2/src/k3bprojectmanager.cpp:539
#14 0x0815edd4 in K3b::MainWindow::openDocument (this=0xa1be7b8, url=...) at /build/buildd/k3b-2.0.2/src/k3b.cpp:695
#15 0x0815ef9b in K3b::MainWindow::slotFileOpenRecent (this=0xa1be7b8, url=...) at /build/buildd/k3b-2.0.2/src/k3b.cpp:1008
#16 0x08162285 in qt_static_metacall (_a=0xbfaf9328, _id=32, _o=0xa1be7b8, _c=<optimized out>) at /build/buildd/k3b-2.0.2/obj-i686-linux-gnu/src/k3b.moc:175
#17 K3b::MainWindow::qt_static_metacall (_o=0xa1be7b8, _c=QMetaObject::InvokeMetaMethod, _id=32, _a=0xbfaf9328) at /build/buildd/k3b-2.0.2/obj-i686-linux-gnu/src/k3b.moc:130
#18 0x03d8b6b1 in QMetaObject::activate (sender=0xa03f8d0, m=0x9abb9f0, local_signal_index=0, argv=0xbfaf9328) at kernel/qobject.cpp:3547
#19 0x0977e6a5 in KRecentFilesAction::urlSelected(KUrl const&) () from /usr/lib/libkdeui.so.5
#20 0x0977e765 in ?? () from /usr/lib/libkdeui.so.5
#21 0x03d8b6b1 in QMetaObject::activate (sender=0xa03f8d0, m=0x9abbaac, local_signal_index=0, argv=0xbfaf9488) at kernel/qobject.cpp:3547
#22 0x09781e75 in KSelectAction::triggered(QAction*) () from /usr/lib/libkdeui.so.5
#23 0x0978289b in KSelectAction::actionTriggered(QAction*) () from /usr/lib/libkdeui.so.5
#24 0x09782d99 in ?? () from /usr/lib/libkdeui.so.5
#25 0x03d8b6b1 in QMetaObject::activate (sender=0xa30bb90, m=0x4c66458, local_signal_index=0, argv=0xbfaf95d8) at kernel/qobject.cpp:3547
#26 0x042ea925 in QActionGroup::triggered (this=0xa30bb90, _t1=0xa460868) at .moc/release-shared/moc_qactiongroup.cpp:160
#27 0x042ea9c9 in QActionGroupPrivate::_q_actionTriggered (this=0xa35a918) at kernel/qactiongroup.cpp:93
#28 0x03d8b6b1 in QMetaObject::activate (sender=0xa460868, m=0x4c663f8, local_signal_index=1, argv=0xbfaf96e8) at kernel/qobject.cpp:3547
#29 0x042e79bd in QAction::triggered (this=0xa460868, _t1=false) at .moc/release-shared/moc_qaction.cpp:277
#30 0x042e7c5b in QAction::activate (this=0xa460868, event=QAction::Trigger) at kernel/qaction.cpp:1257
#31 0x047a9453 in QMenuPrivate::activateCausedStack (this=0xa362648, causedStack=..., action=0xa460868, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1028
#32 0x047b032f in QMenuPrivate::activateAction (this=0xa362648, action=0xa460868, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1120
#33 0x047b3015 in QMenu::mouseReleaseEvent (this=0xa362458, e=0xbfaf9f24) at widgets/qmenu.cpp:2360
#34 0x0995870c in KMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libkdeui.so.5
#35 0x043491ac in QWidget::event (this=0xa362458, event=0xbfaf9f24) at kernel/qwidget.cpp:8362
#36 0x047b1a9c in QMenu::event (this=0xa362458, e=0xbfaf9f24) at widgets/qmenu.cpp:2469
#37 0x042eeed4 in notify_helper (e=0xbfaf9f24, receiver=0xa362458, this=0xa01cda0) at kernel/qapplication.cpp:4559
#38 QApplicationPrivate::notify_helper (this=0xa01cda0, receiver=0xa362458, e=0xbfaf9f24) at kernel/qapplication.cpp:4531
#39 0x042f5024 in QApplication::notify (this=0xa01cda0, receiver=0xa362458, e=0xbfaf9f24) at kernel/qapplication.cpp:4102
#40 0x0987a401 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#41 0x03d7497e in QCoreApplication::notifyInternal (this=0xbfafa778, receiver=0xa362458, event=0xbfaf9f24) at kernel/qcoreapplication.cpp:876
#42 0x042efe95 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#43 QApplicationPrivate::sendMouseEvent (receiver=0xa362458, event=0xbfaf9f24, alienWidget=0x0, nativeWidget=0xa362458, buttonDown=0x4c83cf4, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3170
#44 0x0437c7d2 in QETWidget::translateMouseEvent (this=0xa362458, event=0xbfafa3dc) at kernel/qapplication_x11.cpp:4551
#45 0x0437ac0d in QApplication::x11ProcessEvent (this=0xbfafa778, event=0xbfafa3dc) at kernel/qapplication_x11.cpp:3732
#46 0x043a7eac in x11EventSourceDispatch (s=0xa01d7a8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#47 0x029cfd86 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#48 0x029d0125 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#49 0x029d0201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#50 0x03da7887 in QEventDispatcherGlib::processEvents (this=0x9faeec0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#51 0x043a7aaa in QGuiEventDispatcherGlib::processEvents (this=0x9faeec0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#52 0x03d7350d in QEventLoop::processEvents (this=0xbfafa6d4, flags=...) at kernel/qeventloop.cpp:149
#53 0x03d737a9 in QEventLoop::exec (this=0xbfafa6d4, flags=...) at kernel/qeventloop.cpp:204
#54 0x03d78eba in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#55 0x042eca74 in QApplication::exec () at kernel/qapplication.cpp:3820
#56 0x0807c75e in main (argc=<error reading variable: Cannot access memory at address 0x63>, argv=<error reading variable: Cannot access memory at address 0x67>) at /build/buildd/k3b-2.0.2/src/main.cpp:165

Possible duplicates by query: bug 301341, bug 301102, bug 285018.

Reported using DrKonqi
Comment 1 Jekyll Wu 2012-09-09 17:22:09 UTC

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