Bug 341956 - K3b Crash
Summary: K3b Crash
Status: RESOLVED UNMAINTAINED
Alias: None
Product: k3b
Classification: Applications
Component: Audio Project (show other bugs)
Version: unspecified
Platform: Kubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: k3b developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-16 23:55 UTC by meteorrock
Modified: 2015-01-14 17:02 UTC (History)
3 users (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 meteorrock 2014-12-16 23:55:26 UTC
K3b crashed when adding audio .mp3 files by dragging and dropping files into project box. Also K3b crashes when trying to add audio files by right clicking to add them to project. Segment fault errors. 

Reproducible: Always

Steps to Reproduce:
1.Drag and drop files to audio project.
2.Results in segment fault errors. 
3.K3b closes automatically. 

Actual Results:  
Same as listed in steps to reproduce. 

Expected Results:  
K3b crashes and closes when doing the above listed. 

Application: k3b (2.0.2)
KDE Platform Version: 4.13.2 (Compiled from sources)
Qt Version: 4.8.2
Operating System: Linux 3.16.1-031601-lowlatency x86_64
Distribution: Ubuntu 12.04.5 LTS

-- Information about the crash:
- What I was doing when the application crashed:
 
Dragging and dropping audio mp3 files into project box. Also crashes when clicking on audio tracks to select "add to project".

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

Thread 5 (Thread 0x7f369f3ca700 (LWP 35527)):
#0  0x00007f36b1c83933 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f36ae0daff6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f36ae0db124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f36b335c926 in QEventDispatcherGlib::processEvents (this=0x7f36980008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f36b332be62 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f36b332c0b7 in QEventLoop::exec (this=0x7f369f3c9dd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f36b322b077 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f36b330bb6f in QInotifyFileSystemWatcherEngine::run (this=0x1c482d0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f36b322e09b in QThreadPrivate::start (arg=0x1c482d0) at thread/qthread_unix.cpp:307
#9  0x00007f36ade7de9a in start_thread (arg=0x7f369f3ca700) at pthread_create.c:308
#10 0x00007f36b1c8f2ed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f36932f3700 (LWP 35551)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:215
#1  0x00007f36b322cd68 in thread_sleep (ti=0x7f36932f2dd0) at thread/qthread_unix.cpp:444
#2  0x00007f36b322d4c6 in QThread::sleep (secs=<optimized out>) at thread/qthread_unix.cpp:458
#3  0x00007f36b7b4505a in K3b::MediaCache::PollThread::run (this=0x1d6d830) at /build/buildd/k3b-2.0.2/libk3b/tools/k3bmediacache.cpp:106
#4  0x00007f36b322e09b in QThreadPrivate::start (arg=0x1d6d830) at thread/qthread_unix.cpp:307
#5  0x00007f36ade7de9a in start_thread (arg=0x7f36932f3700) at pthread_create.c:308
#6  0x00007f36b1c8f2ed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f36915c0700 (LWP 35576)):
#0  0x00007f36b1c81eed in read () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f36ae1158df in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f36ae0dab64 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f36ae0daf96 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f36ae0db124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f36b335c926 in QEventDispatcherGlib::processEvents (this=0x7f367c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f36b332be62 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f36b332c0b7 in QEventLoop::exec (this=0x7f36915bfdd0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f36b322b077 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007f36b330bb6f in QInotifyFileSystemWatcherEngine::run (this=0x22655d0) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007f36b322e09b in QThreadPrivate::start (arg=0x22655d0) at thread/qthread_unix.cpp:307
#11 0x00007f36ade7de9a in start_thread (arg=0x7f36915c0700) at pthread_create.c:308
#12 0x00007f36b1c8f2ed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f3690dbf700 (LWP 35685)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:215
#1  0x00007f36b322cd68 in thread_sleep (ti=0x7f3690dbedd0) at thread/qthread_unix.cpp:444
#2  0x00007f36b322d4c6 in QThread::sleep (secs=<optimized out>) at thread/qthread_unix.cpp:458
#3  0x00007f36b7b4505a in K3b::MediaCache::PollThread::run (this=0x1db3c80) at /build/buildd/k3b-2.0.2/libk3b/tools/k3bmediacache.cpp:106
#4  0x00007f36b322e09b in QThreadPrivate::start (arg=0x1db3c80) at thread/qthread_unix.cpp:307
#5  0x00007f36ade7de9a in start_thread (arg=0x7f3690dbf700) at pthread_create.c:308
#6  0x00007f36b1c8f2ed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f36b826e780 (LWP 35526)):
[KCrash Handler]
#6  0x00007f369d659552 in av_free_packet () from /usr/lib/x86_64-linux-gnu/libavcodec.so.53
#7  0x00007f369e3c3cfe in K3bFFMpegFile::close (this=0x252dbc0) at /build/buildd/k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:166
#8  0x00007f369e3c3d63 in K3bFFMpegFile::open (this=0x252dbc0) at /build/buildd/k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:92
#9  0x00007f369e3c4989 in K3bFFMpegWrapper::open (this=<optimized out>, filename=...) at /build/buildd/k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:440
#10 0x00007f369e3c33f2 in K3bFFMpegDecoderFactory::canDecode (this=<optimized out>, url=...) at /build/buildd/k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegdecoder.cpp:60
#11 0x00007f36b7b560b0 in K3b::AudioDecoderFactory::createDecoder (url=...) at /build/buildd/k3b-2.0.2/libk3b/plugin/k3baudiodecoder.cpp:584
#12 0x00007f36b7ba2880 in K3b::AudioDoc::getDecoderForUrl (this=0x2296150, url=..., reused=0x7fffd7b1a41f) at /build/buildd/k3b-2.0.2/libk3b/projects/audiocd/k3baudiodoc.cpp:454
#13 0x00000000004c50a7 in K3b::AudioTrackAddingDialog::slotAddUrls (this=0x2277e60) at /build/buildd/k3b-2.0.2/src/projects/k3baudiotrackaddingdialog.cpp:173
#14 0x00007f36b3346946 in QObject::event (this=0x2277e60, e=<optimized out>) at kernel/qobject.cpp:1195
#15 0x00007f36b24819eb in QWidget::event (this=0x2277e60, event=0x25eb800) at kernel/qwidget.cpp:8830
#16 0x00007f36b24317b4 in notify_helper (e=0x25eb800, receiver=0x2277e60, this=0x1b66d20) at kernel/qapplication.cpp:4556
#17 QApplicationPrivate::notify_helper (this=0x1b66d20, receiver=0x2277e60, e=0x25eb800) at kernel/qapplication.cpp:4528
#18 0x00007f36b2436583 in QApplication::notify (this=0x7fffd7b1bbe0, receiver=0x2277e60, e=0x25eb800) at kernel/qapplication.cpp:4417
#19 0x00007f36b3d96376 in KApplication::notify (this=0x7fffd7b1bbe0, receiver=0x2277e60, event=0x25eb800) at ../../kdeui/kernel/kapplication.cpp:311
#20 0x00007f36b332d32c in QCoreApplication::notifyInternal (this=0x7fffd7b1bbe0, receiver=0x2277e60, event=0x25eb800) at kernel/qcoreapplication.cpp:915
#21 0x00007f36b333110a in sendEvent (event=0x25eb800, receiver=0x2277e60) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#22 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1ab61f0) at kernel/qcoreapplication.cpp:1539
#23 0x00007f36b335c493 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#24 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#25 0x00007f36ae0dad13 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007f36ae0db060 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007f36ae0db124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007f36b335c8bf in QEventDispatcherGlib::processEvents (this=0x1ab7ad0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#29 0x00007f36b24d9cde in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#30 0x00007f36b332be62 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#31 0x00007f36b332c0b7 in QEventLoop::exec (this=0x7fffd7b1afa0, flags=...) at kernel/qeventloop.cpp:204
#32 0x00007f36b2901f86 in QDialog::exec (this=0x2277e60) at dialogs/qdialog.cpp:554
#33 0x00007f36b290271a in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at .moc/release-shared/moc_qdialog.cpp:70
#34 QDialog::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at .moc/release-shared/moc_qdialog.cpp:60
#35 0x00007f36b3346946 in QObject::event (this=0x2277e60, e=<optimized out>) at kernel/qobject.cpp:1195
#36 0x00007f36b24819eb in QWidget::event (this=0x2277e60, event=0x2284fe0) at kernel/qwidget.cpp:8830
#37 0x00007f36b24317b4 in notify_helper (e=0x2284fe0, receiver=0x2277e60, this=0x1b66d20) at kernel/qapplication.cpp:4556
#38 QApplicationPrivate::notify_helper (this=0x1b66d20, receiver=0x2277e60, e=0x2284fe0) at kernel/qapplication.cpp:4528
#39 0x00007f36b2436583 in QApplication::notify (this=0x7fffd7b1bbe0, receiver=0x2277e60, e=0x2284fe0) at kernel/qapplication.cpp:4417
#40 0x00007f36b3d96376 in KApplication::notify (this=0x7fffd7b1bbe0, receiver=0x2277e60, event=0x2284fe0) at ../../kdeui/kernel/kapplication.cpp:311
#41 0x00007f36b332d32c in QCoreApplication::notifyInternal (this=0x7fffd7b1bbe0, receiver=0x2277e60, event=0x2284fe0) at kernel/qcoreapplication.cpp:915
#42 0x00007f36b333110a in sendEvent (event=0x2284fe0, receiver=0x2277e60) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#43 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1ab61f0) at kernel/qcoreapplication.cpp:1539
#44 0x00007f36b335c493 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#45 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#46 0x00007f36ae0dad13 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#47 0x00007f36ae0db060 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#48 0x00007f36ae0db124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#49 0x00007f36b335c8bf in QEventDispatcherGlib::processEvents (this=0x1ab7ad0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#50 0x00007f36b24d9cde in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#51 0x00007f36b332be62 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#52 0x00007f36b332c0b7 in QEventLoop::exec (this=0x7fffd7b1bb70, flags=...) at kernel/qeventloop.cpp:204
#53 0x00007f36b3331407 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#54 0x00000000004434d6 in main (argc=1, argv=0x7fffd7b1c828) at /build/buildd/k3b-2.0.2/src/main.cpp:165

Possible duplicates by query: bug 336837, bug 335697, bug 332174, bug 332000, bug 331780.

Report to https://bugs.kde.org/
Comment 1 meteorrock 2014-12-17 01:23:39 UTC
Submitting a bug with K3b (2.0.2). Adding audio files by dragging and dropping them into project box. Segment faults.  Trying to burn some audio files onto a cd for family for xmas. Crashes every-time. They were .mp3 tracks.

Also, k3b sometimes crashes when right clicking on a directory to add audio files that way, also in the dialog box to "add to project" within K3b.  Hope that helps. 

I downloaded all of the backtrace tools to generate a full report. That backtrace tool is not working well connecting to the internet. Same username and password that works at the above link gives me an error that it is the incorrect one with the on-board backtrace tools and debugging symbols it downloaded onto my distro. 

Hope that helps. There were some bugs listed that could of been duplicates, someone had the same issue with wav files. 

Yeah, it scans the files in really fast and hangs up and crashes on my system and distro. Using Kubuntu 12.04.5 x64 bit.  Forgetting to pull the cover art out or other non relevant files trips up that analyzing engine within K3b too if they are in the same directory as the audio files.  That workaround keeps this bug from crashing K3b.
Comment 2 Johannes Obermayr 2015-01-14 17:02:54 UTC
We don't accept bugs against "Application: k3b (2.0.2)".