Bug 246849 - Crash at Video DVD project
Summary: Crash at Video DVD project
Status: RESOLVED FIXED
Alias: None
Product: k3b
Classification: Applications
Component: general (show other bugs)
Version: 2.0.0
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Michał Małek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-05 23:22 UTC by jamundso
Modified: 2010-09-04 23:05 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 2.0.2


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jamundso 2010-08-05 23:22:07 UTC
Application: k3b (2.0.0)
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.3
Operating System: Linux 2.6.32.14-1.2.107.xendom0.fc12.x86_64 x86_64
Distribution: "Fedora release 13 (Goddard)"

-- Information about the crash:
Attempted to start Video DVD project, transcode is installed, but no writer is present.

 -- Backtrace:
Application: K3b (k3b), signal: Segmentation fault
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7fa740a9b820 (LWP 2511))]

Thread 2 (Thread 0x7fa732d6b710 (LWP 2532)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:212
#1  0x0000003013670b15 in thread_sleep (ti=0x7fa732d6acc0) at thread/qthread_unix.cpp:398
#2  0x0000003013670cc6 in QThread::sleep (secs=<value optimized out>) at thread/qthread_unix.cpp:412
#3  0x0000003fb10ac545 in K3b::MediaCache::PollThread::run (this=0x2068340) at /usr/src/debug/k3b-2.0.0/libk3b/tools/k3bmediacache.cpp:106
#4  0x00000030136711a5 in QThreadPrivate::start (arg=0x2068340) at thread/qthread_unix.cpp:248
#5  0x0000003009e07761 in start_thread (arg=0x7fa732d6b710) at pthread_create.c:301
#6  0x00000030092e14ed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7fa740a9b820 (LWP 2511)):
[KCrash Handler]
#5  QObject::~QObject (this=0x28ff450, __in_chrg=<value optimized out>) at kernel/qobject.cpp:847
#6  0x0000003fb10af2d9 in K3b::Process::~Process (this=0x28ff450, __in_chrg=<value optimized out>) at /usr/src/debug/k3b-2.0.0/libk3b/tools/k3bprocess.cpp:119
#7  0x0000000000558ff0 in K3b::VideoDVDRippingPreview::generatePreview (this=0x23c1920, dvd=..., title=1, chapter=0) at /usr/src/debug/k3b-2.0.0/src/rip/videodvd/k3bvideodvdrippingpreview.cpp:49
#8  0x000000000055c322 in K3b::VideoDVDTitleModel::setVideoDVD (this=0x23c1190, dvd=<value optimized out>) at /usr/src/debug/k3b-2.0.0/src/rip/videodvd/k3bvideodvdtitlemodel.cpp:186
#9  0x000000000054bc20 in K3b::VideoDVDRippingView::reloadMedium (this=0x23bbb60) at /usr/src/debug/k3b-2.0.0/src/rip/videodvd/k3bvideodvdrippingview.cpp:220
#10 0x000000000050a718 in K3b::DirView::showMediumInfo (this=0x2330320, medium=...) at /usr/src/debug/k3b-2.0.0/src/k3bdirview.cpp:193
#11 0x000000000050a92f in K3b::DirView::showDevice (this=0x2330320, dev=0x2215760) at /usr/src/debug/k3b-2.0.0/src/k3bdirview.cpp:167
#12 0x0000000000512f22 in K3b::MainWindow::videoDvdRip (this=0x2240ad0, dev=0x2215760) at /usr/src/debug/k3b-2.0.0/src/k3b.cpp:1603
#13 0x0000000000514ad6 in K3b::MainWindow::qt_metacall (this=0x2240ad0, _c=QMetaObject::InvokeMetaMethod, _id=19, _a=0x7fffa731a260)
    at /usr/src/debug/k3b-2.0.0/x86_64-redhat-linux-gnu/src/k3b.moc:185
#14 0x0000003013766a36 in QMetaObject::activate (sender=0x224ae40, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fffa731a260) at kernel/qobject.cpp:3295
#15 0x0000003fabfa6422 in QAction::triggered (this=<value optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#16 0x0000003fabfa7b5b in QAction::activate (this=0x224ae40, event=<value optimized out>) at kernel/qaction.cpp:1255
#17 0x0000003fac3ac9e9 in QMenuPrivate::activateCausedStack (this=0x2984f70, causedStack=..., action=0x224ae40, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1002
#18 0x0000003fac3b1dda in QMenuPrivate::activateAction (this=0x2984f70, action=0x224ae40, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1094
#19 0x0000003faced09fe in KMenu::mouseReleaseEvent (this=0x7fffa731bb60, e=<value optimized out>) at /usr/src/debug/kdelibs-4.4.5/kdeui/widgets/kmenu.cpp:471
#20 0x0000003fabff648a in QWidget::event (this=0x7fffa731bb60, event=0x7fffa731aeb0) at kernel/qwidget.cpp:8044
#21 0x0000003fac3b3ddb in QMenu::event (this=0x7fffa731bb60, e=0x7fffa731aeb0) at widgets/qmenu.cpp:2421
#22 0x0000003fabfab39c in QApplicationPrivate::notify_helper (this=0x1f9beb0, receiver=0x7fffa731bb60, e=0x7fffa731aeb0) at kernel/qapplication.cpp:4306
#23 0x0000003fabfb1e2d in QApplication::notify (this=<value optimized out>, receiver=0x7fffa731bb60, e=0x7fffa731aeb0) at kernel/qapplication.cpp:3871
#24 0x0000003face07016 in KApplication::notify (this=0x7fffa731d2f0, receiver=0x7fffa731bb60, event=0x7fffa731aeb0) at /usr/src/debug/kdelibs-4.4.5/kdeui/kernel/kapplication.cpp:302
#25 0x0000003013753ddc in QCoreApplication::notifyInternal (this=0x7fffa731d2f0, receiver=0x7fffa731bb60, event=0x7fffa731aeb0) at kernel/qcoreapplication.cpp:726
#26 0x0000003fabfb101e in sendEvent (receiver=0x7fffa731bb60, event=0x7fffa731aeb0, alienWidget=0x0, nativeWidget=0x7fffa731bb60, buttonDown=0x3faca2f088, lastMouseReceiver=..., spontaneous=true)
    at ../../src/corelib/kernel/qcoreapplication.h:215
#27 QApplicationPrivate::sendMouseEvent (receiver=0x7fffa731bb60, event=0x7fffa731aeb0, alienWidget=0x0, nativeWidget=0x7fffa731bb60, buttonDown=0x3faca2f088, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:2971
#28 0x0000003fac0235cd in QETWidget::translateMouseEvent (this=0x7fffa731bb60, event=<value optimized out>) at kernel/qapplication_x11.cpp:4314
#29 0x0000003fac021acc in QApplication::x11ProcessEvent (this=0x7fffa731d2f0, event=0x7fffa731b7d0) at kernel/qapplication_x11.cpp:3513
#30 0x0000003fac04ab92 in x11EventSourceDispatch (s=0x1fa8ac0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#31 0x000000300d63bd02 in g_main_dispatch (context=0x1fa8400) at gmain.c:1960
#32 IA__g_main_context_dispatch (context=0x1fa8400) at gmain.c:2513
#33 0x000000300d63fae8 in g_main_context_iterate (context=0x1fa8400, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2591
#34 0x000000300d63fc9c in IA__g_main_context_iteration (context=0x1fa8400, may_block=1) at gmain.c:2654
#35 0x0000003013779863 in QEventDispatcherGlib::processEvents (this=0x1f69a60, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#36 0x0000003fac04a84e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#37 0x0000003013752822 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#38 0x0000003013752aec in QEventLoop::exec (this=0x7fffa731bb00, flags=...) at kernel/qeventloop.cpp:201
#39 0x0000003fac3af515 in QMenu::exec (this=0x7fffa731bb60, p=<value optimized out>, action=0x0) at widgets/qmenu.cpp:2063
#40 0x00000000004f7a3f in K3b::WelcomeWidget::slotMoreActions (this=0x2265c00) at /usr/src/debug/k3b-2.0.0/src/k3bwelcomewidget.cpp:285
#41 0x00000000004f8211 in K3b::WelcomeWidget::qt_metacall (this=0x2265c00, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=<value optimized out>)
    at /usr/src/debug/k3b-2.0.0/x86_64-redhat-linux-gnu/src/k3bwelcomewidget.moc:75
#42 0x0000003013766a36 in QMetaObject::activate (sender=0x2269c80, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3295
#43 0x0000003fac330c9e in QAbstractButtonPrivate::emitPressed (this=<value optimized out>) at widgets/qabstractbutton.cpp:560
#44 0x0000003fac330e7c in QAbstractButton::mousePressEvent (this=0x2269c80, e=0x7fffa731c5f0) at widgets/qabstractbutton.cpp:1096
#45 0x0000003fabff6471 in QWidget::event (this=0x2269c80, event=0x7fffa731c5f0) at kernel/qwidget.cpp:8040
#46 0x0000003fabfab39c in QApplicationPrivate::notify_helper (this=0x1f9beb0, receiver=0x2269c80, e=0x7fffa731c5f0) at kernel/qapplication.cpp:4306
#47 0x0000003fabfb1e2d in QApplication::notify (this=<value optimized out>, receiver=0x2269c80, e=0x7fffa731c5f0) at kernel/qapplication.cpp:3871
#48 0x0000003face07016 in KApplication::notify (this=0x7fffa731d2f0, receiver=0x2269c80, event=0x7fffa731c5f0) at /usr/src/debug/kdelibs-4.4.5/kdeui/kernel/kapplication.cpp:302
#49 0x0000003013753ddc in QCoreApplication::notifyInternal (this=0x7fffa731d2f0, receiver=0x2269c80, event=0x7fffa731c5f0) at kernel/qcoreapplication.cpp:726
#50 0x0000003fabfb101e in sendEvent (receiver=0x2269c80, event=0x7fffa731c5f0, alienWidget=0x2269c80, nativeWidget=0x2222350, buttonDown=0x3faca2f088, lastMouseReceiver=..., spontaneous=true)
    at ../../src/corelib/kernel/qcoreapplication.h:215
#51 QApplicationPrivate::sendMouseEvent (receiver=0x2269c80, event=0x7fffa731c5f0, alienWidget=0x2269c80, nativeWidget=0x2222350, buttonDown=0x3faca2f088, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:2971
#52 0x0000003fac023155 in QETWidget::translateMouseEvent (this=0x2222350, event=<value optimized out>) at kernel/qapplication_x11.cpp:4380
#53 0x0000003fac021acc in QApplication::x11ProcessEvent (this=0x7fffa731d2f0, event=0x7fffa731cf10) at kernel/qapplication_x11.cpp:3513
#54 0x0000003fac04ab92 in x11EventSourceDispatch (s=0x1fa8ac0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#55 0x000000300d63bd02 in g_main_dispatch (context=0x1fa8400) at gmain.c:1960
#56 IA__g_main_context_dispatch (context=0x1fa8400) at gmain.c:2513
#57 0x000000300d63fae8 in g_main_context_iterate (context=0x1fa8400, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2591
#58 0x000000300d63fc9c in IA__g_main_context_iteration (context=0x1fa8400, may_block=1) at gmain.c:2654
#59 0x0000003013779863 in QEventDispatcherGlib::processEvents (this=0x1f69a60, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#60 0x0000003fac04a84e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#61 0x0000003013752822 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#62 0x0000003013752aec in QEventLoop::exec (this=0x7fffa731d240, flags=...) at kernel/qeventloop.cpp:201
#63 0x00000030137561bb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#64 0x0000000000516ce4 in main (argc=1, argv=0x7fffa731dec8) at /usr/src/debug/k3b-2.0.0/src/main.cpp:151

Reported using DrKonqi
Comment 1 jamundso 2010-09-02 21:52:44 UTC
*** Bug 249941 has been marked as a duplicate of this bug. ***
Comment 2 Michał Małek 2010-09-04 23:05:02 UTC
SVN commit 1171692 by mmalek:

Fixed GPF: prevent double-delete by using QObject::deleteLater() on process
object
BUG: 249941


 M  +1 -0      ChangeLog  
 M  +7 -6      src/rip/videodvd/k3bvideodvdrippingpreview.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1171692
Comment 3 Michał Małek 2010-09-04 23:05:39 UTC
SVN commit 1171693 by mmalek:

Fixed GPF: prevent double-delete by using QObject::deleteLater() on process
object
BUG: 249941

 M  +1 -0      ChangeLog  
 M  +10 -11    src/rip/videodvd/k3bvideodvdrippingpreview.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1171693