mixed mode: crash on "only write image" mode

"Kacper Wysocki" <[email protected]> Mon, 14 Jan 2008 04:01:38 +0100
Newsgroups gmane.comp.kde.k3b
Message-ID <[email protected]>
Hi,
I've hacked   K3bMixedBurnDialog not to m_checkOnlyCreateImage->hide();
but then doing the actual operation to only create the image results
in a SIGSEGV. I won't be finishing my project tonight, but I do have
to
1. create the image without burning to cd
2. keep all the metadata I've put into the project file
this is k3b 1.0.3 on amd64/ubuntu edgy - whats going wrong here?

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 47155520321040 (LWP 7454)]
0x00002ae33b553cb4 in QString::length () from /usr/lib/libqt-mt.so.3
(gdb) where

#0  0x00002ae33b553cb4 in QString::length () from /usr/lib/libqt-mt.so.3
#1  0x00002ae33b92a79d in ?? () from /usr/lib/libqt-mt.so.3
#2  0x00002ae33b92ac5a in QString::arg () from /usr/lib/libqt-mt.so.3
#3  0x00000000004930c0 in K3bEmptyDiscWaiter::waitForDisc (
    this=0x7fff72a66a80, mediaState=<value optimized out>,
    mediaType=<value optimized out>, message=@0x81ae20)
    at /home/kwy/MonkeyEatSpace/k3b-1.0.3/./src/k3bemptydiscwaiter.cpp:198
#4  0x0000000000493830 in K3bEmptyDiscWaiter::wait (
    device=<value optimized out>, mediaState=16, mediaType=393216,
    message=@0x81ae20, parent=<value optimized out>)
    at /home/kwy/MonkeyEatSpace/k3b-1.0.3/./src/k3bemptydiscwaiter.cpp:702
#5  0x00002ae3385c541d in K3bMixedJob::startWriting (this=0x161ab60)
    at /home/kwy/MonkeyEatSpace/k3b-1.0.3/./libk3b/projects/mixedcd/k3bmixedjob.cpp:1016
#6  0x00002ae3385c8bc1 in K3bMixedJob::slotAudioDecoderFinished (
    this=0x161ab60, success=<value optimized out>)
    at /home/kwy/MonkeyEatSpace/k3b-1.0.3/./libk3b/projects/mixedcd/k3bmixedjob.cpp:600
#7  0x00002ae3385c98af in K3bMixedJob::qt_invoke (this=0x161ab60, _id=13,
    _o=0x7fff72a66ee0) at ./k3bmixedjob.moc:166
#8  0x00002ae33b626ce2 in QObject::activate_signal ()
   from /usr/lib/libqt-mt.so.3
#9  0x00002ae33b62705b in QObject::activate_signal_bool ()
#10 0x00002ae33b62642f in QObject::event () from /usr/lib/libqt-mt.so.3
#11 0x00002ae33b5c21d6 in QApplication::internalNotify ()
   from /usr/lib/libqt-mt.so.3
#12 0x00002ae33b5c3f65 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#13 0x00002ae33a358378 in KApplication::notify () from /usr/lib/libkdecore.so.4
#14 0x00002ae33b554cc2 in QApplication::sendEvent ()
   from /usr/lib/libqt-mt.so.3
#15 0x00002ae33b5c31ed in QApplication::sendPostedEvents ()
   from /usr/lib/libqt-mt.so.3
#16 0x00002ae33b5c32e5 in QApplication::sendPostedEvents ()
   from /usr/lib/libqt-mt.so.3
#17 0x00002ae33b568338 in QEventLoop::processEvents ()
   from /usr/lib/libqt-mt.so.3
#18 0x00002ae33b5db70b in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#19 0x000000000047a99e in K3bJobProgressDialog::startJob (this=0x148b400,
    job=<value optimized out>)
    at /home/kwy/MonkeyEatSpace/k3b-1.0.3/./src/k3bjobprogressdialog.cpp:622
#20 0x000000000050d32a in K3bProjectBurnDialog::slotStartClicked (
    this=0x141eec0)
    at /home/kwy/MonkeyEatSpace/k3b-1.0.3/./src/projects/k3bprojectburndialog.cpp:239
#21 0x0000000000485d12 in K3bInteractionDialog::slotStartClickedInternal (
    at /home/kwy/MonkeyEatSpace/k3b-1.0.3/./src/k3binteractiondialog.cpp:346
#22 0x000000000048635a in K3bInteractionDialog::qt_invoke (this=0x141eec0,
    _id=79, _o=0x7fff72a67b30) at ./k3binteractiondialog.moc:254
#23 0x000000000050c0cd in K3bProjectBurnDialog::qt_invoke (this=0x141eec0,
    _id=79, _o=0x7fff72a67b30) at ./k3bprojectburndialog.moc:109
#24 0x000000000053445d in K3bMixedBurnDialog::qt_invoke (this=0x141eec0,
    _id=79, _o=0x7fff72a67b30) at ./k3bmixedburndialog.moc:102
#25 0x00002ae33b626ce2 in QObject::activate_signal ()
   from /usr/lib/libqt-mt.so.3
#26 0x00002ae33b62787c in QObject::activate_signal ()
   from /usr/lib/libqt-mt.so.3
#27 0x00002ae33b99cf83 in QButton::clicked () from /usr/lib/libqt-mt.so.3
#28 0x00002ae33b6c18bf in QButton::mouseReleaseEvent ()
   from /usr/lib/libqt-mt.so.3
#29 0x00002ae33b65b410 in QWidget::event () from /usr/lib/libqt-mt.so.3
#30 0x00002ae33b5c21d6 in QApplication::internalNotify ()
   from /usr/lib/libqt-mt.so.3
#31 0x00002ae33b5c4334 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#32 0x00002ae33a358378 in KApplication::notify () from /usr/lib/libkdecore.so.4
#33 0x00002ae33b554d34 in QApplication::sendSpontaneousEvent ()
   from /usr/lib/libqt-mt.so.3
#34 0x00002ae33b55393e in QETWidget::translateMouseEvent ()
---Type <return> to controm /usr/lib/libqt-mt.so.3
#35 0x00002ae33b551b0a in QApplication::x11ProcessEvent ()
   from /usr/lib/libqt-mt.so.3
#36 0x00002ae33b5683ea in QEventLoop::processEvents ()
   from /usr/lib/libqt-mt.so.3
#37 0x00002ae33b5db70b in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#38 0x0000000000485b8c in K3bInteractionDialog::exec (this=0x141eec0,
    returnOnHide=<value optimized out>)
    at /home/kwy/MonkeyEatSpace/k3b-1.0.3/./src/k3binteractiondialog.cpp:592
#39 0x00000000004f19ba in K3bMixedView::slotBurn (this=0x144a820)
    at /home/kwy/MonkeyEatSpace/k3b-1.0.3/./src/projects/k3bmixedview.cpp:131
#40 0x000000000050af20 in K3bView::qt_invoke (this=0x144a820, _id=46,
    _o=0x7fff72a68ab0) at ./k3bview.moc:98
#41 0x00000000004f1124 in K3bMixedView::qt_invoke (this=0x144a820, _id=46,
    _o=0x7fff72a68ab0) at ./k3bmixedview.moc:96
#42 0x00002ae33b626ce2 in QObject::activate_signal ()
   from /usr/lib/libqt-mt.so.3
#43 0x00002ae33b62787c in QObject::activate_signal ()
   from /usr/lib/libqt-mt.so.3
#44 0x00002ae339a3715c in KAction::qt_invoke () from /usr/lib/libkdeui.so.4
#45 0x00002ae33b626ce2 in QObject::activate_signal ()
   from /usr/lib/libqt-mt.so.3
#46 0x00002ae33b62787c in QObject::activate_signal ()
inue, or q <return> to quit---
   from /usr/lib/libqt-mt.so.3
#47 0x00002ae33b99cf83 in QButton::clicked () from /usr/lib/libqt-mt.so.3
#48 0x00002ae33b6c18bf in QButton::mouseReleaseEvent ()
   from /usr/lib/libqt-mt.so.3
#49 0x00002ae33b65b410 in QWidget::event () from /usr/lib/libqt-mt.so.3
#50 0x00002ae33b5c21d6 in QApplication::internalNotify ()
   from /usr/lib/libqt-mt.so.3
#51 0x00002ae33b5c4334 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#52 0x00002ae33a358378 in KApplication::notify () from /usr/lib/libkdecore.so.4
#53 0x00002ae33b554d34 in QApplication::sendSpontaneousEvent ()
   from /usr/lib/libqt-mt.so.3
#54 0x00002ae33b55393e in QETWidget::translateMouseEvent ()
   from /usr/lib/libqt-mt.so.3
#55 0x00002ae33b551b0a in QApplication::x11ProcessEvent ()
   from /usr/lib/libqt-mt.so.3
#56 0x00002ae33b5683ea in QEventLoop::processEvents ()
   from /usr/lib/libqt-mt.so.3
#57 0x00002ae33b5db70b in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#58 0x00002ae33b5db513 in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#59 0x00002ae33b5c3c9c in QApplication::exec () from /usr/lib/libqt-mt.so.3
#60 0x000000000046bc5b in main (argc=<value optimized out>,
    argv=<value optimized out>)
    at /home/kwy/MonkeyEatSpace/k3b-1.0.3/./src/main.cpp:150
(gdb)

http://kacper.doesntexist.org
http://windows.dontexist.net
There is symmetry in chaos, and chaos in excessive order.
Though you may see heaven or hell,  remember that it is your mind
which creates them. Avoid grasping the one or fleeing the other.



-- 
http://kacper.doesntexist.org
http://windows.dontexist.net
There is symmetry in chaos, and chaos in excessive order.
Though you may see heaven or hell,  remember that it is your mind
which creates them. Avoid grasping the one or fleeing the other.

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace