Bug 237578

Summary: Crash related to the burning process [K3b::MetaItemModel::parent, QModelIndex::parent]
Product: [Applications] k3b Reporter: kai-schuermann
Component: generalAssignee: k3b developers <k3b>
Status: RESOLVED WORKSFORME    
Severity: crash CC: andresbajotierra, cigydd, cparg, mario.zimpel, rogerfang1, saneedham, trueg, youknowoliver
Priority: NOR    
Version: 1.91.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description kai-schuermann 2010-05-14 08:06:41 UTC
Application: k3b (1.91.0)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-22-generic i686
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
nach dem auswählen der zu brennenden dateien in k3b scrollte ich in der lister der ausgewählten dateien ohne auch nur einen klick in der liste zu tätigen. zuvor hatte ich lediglich die fenstergrenze zwischen auszuwählende und ausgewählte dateien verschoben (auszuwählende dateien listes verkleiniert - ausgewählte dateien vergrößert)

 -- Backtrace:
Application: K3b (k3b), signal: Segmentation fault
[Current thread is 1 (Thread 0xb76ef710 (LWP 1967))]

Thread 2 (Thread 0xb53deb70 (LWP 2000)):
#0  0x00959422 in __kernel_vsyscall ()
#1  0x001e2342 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x069adc1e in thread_sleep (ti=0x1) at thread/qthread_unix.cpp:398
#3  0x069addc0 in QThread::sleep (secs=2) at thread/qthread_unix.cpp:412
#4  0x002975d9 in K3b::MediaCache::PollThread::run (this=0x8b82eb0) at /build/buildd/k3b-1.91.0~rc2/libk3b/tools/k3bmediacache.cpp:106
#5  0x069ae32e in QThreadPrivate::start (arg=0x8b82eb0) at thread/qthread_unix.cpp:248
#6  0x001dd96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0x07876a0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb76ef710 (LWP 1967)):
[KCrash Handler]
#6  0x08162985 in K3b::MetaItemModel::parent (this=0x8d428b0, index=...) at /build/buildd/k3b-1.91.0~rc2/src/k3bmetaitemmodel.cpp:482
#7  0x024a50cd in QModelIndex::parent (this=0x8d3d918, painter=0xbfce93cc, option=..., index=...) at ../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:389
#8  QTreeView::drawRow (this=0x8d3d918, painter=0xbfce93cc, option=..., index=...) at itemviews/qtreeview.cpp:1471
#9  0x024b04a9 in QTreeView::drawTree (this=0x8d3d918, painter=0xbfce93cc, region=...) at itemviews/qtreeview.cpp:1433
#10 0x024b35bd in QTreeView::paintEvent (this=0x8d3d918, event=0xbfce9c84) at itemviews/qtreeview.cpp:1266
#11 0x01f206b6 in QWidget::event (this=0x8d3d918, event=0xbfce9c84) at kernel/qwidget.cpp:8144
#12 0x0231cfd3 in QFrame::event (this=0x8d3d918, e=0xbfce9c84) at widgets/qframe.cpp:557
#13 0x023b7382 in QAbstractScrollArea::viewportEvent (this=0x8f24ed0, e=0x7) at widgets/qabstractscrollarea.cpp:1036
#14 0x0246bbd7 in QAbstractItemView::viewportEvent (this=0x8d3d918, event=0xbfce9c84) at itemviews/qabstractitemview.cpp:1610
#15 0x024acf7c in QTreeView::viewportEvent (this=0x8d3d918, event=0xbfce9c84) at itemviews/qtreeview.cpp:1248
#16 0x023b9c65 in QAbstractScrollAreaPrivate::viewportEvent (this=0x8d40958, o=0x8d3db60, e=0xbfce9c84) at widgets/qabstractscrollarea_p.h:100
#17 QAbstractScrollAreaFilter::eventFilter (this=0x8d40958, o=0x8d3db60, e=0xbfce9c84) at widgets/qabstractscrollarea_p.h:116
#18 0x06aafcda in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x89a9ef8, receiver=0x8d3db60, event=0xbfce9c84) at kernel/qcoreapplication.cpp:819
#19 0x01ec24b9 in QApplicationPrivate::notify_helper (this=0x89a9ef8, receiver=0x8d3db60, e=0xbfce9c84) at kernel/qapplication.cpp:4296
#20 0x01ec90f9 in QApplication::notify (this=0xbfceaa20, receiver=0x8d3db60, e=0xbfce9c84) at kernel/qapplication.cpp:4265
#21 0x05eb1f2a in KApplication::notify (this=0xbfceaa20, receiver=0x8d3db60, event=0xbfce9c84) at ../../kdeui/kernel/kapplication.cpp:302
#22 0x06ab0a3b in QCoreApplication::notifyInternal (this=0xbfceaa20, receiver=0x8d3db60, event=0xbfce9c84) at kernel/qcoreapplication.cpp:704
#23 0x01f299d6 in QCoreApplication::sendSpontaneousEvent (this=0x8d3db78, pdev=0x8d605d4, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x8d605a0)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#24 QWidgetPrivate::drawWidget (this=0x8d3db78, pdev=0x8d605d4, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x8d605a0) at kernel/qwidget.cpp:5339
#25 0x021007d7 in QWidgetBackingStore::sync (this=0x8d605a0) at painting/qbackingstore.cpp:1283
#26 0x01f19b93 in QWidgetPrivate::syncBackingStore (this=0x8bb0ac0) at kernel/qwidget.cpp:1672
#27 0x01f20e76 in QWidget::event (this=0x8bd2de0, event=0x92b89c8) at kernel/qwidget.cpp:8291
#28 0x0233bbc7 in QMainWindow::event (this=0x8bd2de0, event=0x92b89c8) at widgets/qmainwindow.cpp:1433
#29 0x05fa3b04 in KMainWindow::event (this=0x8bd2de0, ev=0x92b89c8) at ../../kdeui/widgets/kmainwindow.cpp:1103
#30 0x05feb88f in KXmlGuiWindow::event (this=0x8bd2de0, ev=0x92b89c8) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:131
#31 0x01ec24dc in QApplicationPrivate::notify_helper (this=0x89a9ef8, receiver=0x8bd2de0, e=0x92b89c8) at kernel/qapplication.cpp:4300
#32 0x01ec90f9 in QApplication::notify (this=0xbfceaa20, receiver=0x8bd2de0, e=0x92b89c8) at kernel/qapplication.cpp:4265
#33 0x05eb1f2a in KApplication::notify (this=0xbfceaa20, receiver=0x8bd2de0, event=0x92b89c8) at ../../kdeui/kernel/kapplication.cpp:302
#34 0x06ab0a3b in QCoreApplication::notifyInternal (this=0xbfceaa20, receiver=0x8bd2de0, event=0x92b89c8) at kernel/qcoreapplication.cpp:704
#35 0x06ab3473 in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x8988ca0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#36 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8988ca0) at kernel/qcoreapplication.cpp:1345
#37 0x06ab35dd in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1238
#38 0x06adcadf in QCoreApplication::sendPostedEvents (s=0x89b0bc0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#39 postEventSourceDispatch (s=0x89b0bc0) at kernel/qeventdispatcher_glib.cpp:276
#40 0x02eeb5e5 in g_main_dispatch (context=0x89b0490) at /build/buildd/glib2.0-2.24.0/glib/gmain.c:1960
#41 IA__g_main_context_dispatch (context=0x89b0490) at /build/buildd/glib2.0-2.24.0/glib/gmain.c:2513
#42 0x02eef2d8 in g_main_context_iterate (context=0x89b0490, block=<value optimized out>, dispatch=1, self=0x89a9078) at /build/buildd/glib2.0-2.24.0/glib/gmain.c:2591
#43 0x02eef4b8 in IA__g_main_context_iteration (context=0x89b0490, may_block=1) at /build/buildd/glib2.0-2.24.0/glib/gmain.c:2654
#44 0x06adc5d5 in QEventDispatcherGlib::processEvents (this=0x89887c8, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#45 0x01f82135 in QGuiEventDispatcherGlib::processEvents (this=0x89887c8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#46 0x06aaf059 in QEventLoop::processEvents (this=0xbfcea974, flags=) at kernel/qeventloop.cpp:149
#47 0x06aaf4aa in QEventLoop::exec (this=0xbfcea974, flags=...) at kernel/qeventloop.cpp:201
#48 0x06ab369f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#49 0x01ec2577 in QApplication::exec () at kernel/qapplication.cpp:3579
#50 0x0817caf4 in main (argc=1, argv=0xbfceade4) at /build/buildd/k3b-1.91.0~rc2/src/main.cpp:165

Reported using DrKonqi
Comment 1 markuss 2010-05-21 21:46:24 UTC
Can't reproduce the error. / Ich kann den Fehler nicht reproduzieren.
Comment 2 Michał Małek 2010-06-03 16:42:21 UTC
*** Bug 240451 has been marked as a duplicate of this bug. ***
Comment 3 Michał Małek 2010-06-03 16:43:26 UTC
I'm reopenning this, looks like we've got another crash.
Comment 4 Michał Małek 2010-06-03 16:44:28 UTC
rogerfang1@yahoo.com: are you able to reproduce this crash? If so, could you write the steps to do that?
Comment 5 rogerfang1 2010-06-03 22:25:42 UTC
I submitted a couple of bug crashes this day - assuming the translation referred to selecting from the list to burn, I am providing more info (from memory) on my crash when trying to burn a disc from songs ripped from 2 discs:

Ubuntu 10.04 LTS 64-bit Desktop

I loaded source disk 1, dragged and dropped all songs to my project in the lower pane and ripped.
I loaded source disk 2 and dragged and dropped all songs to my project in the lower pane, then ripped.

The songs were showing up in my project as "CD tracks" instead of "Egg-vobs", and when I tried to burn to disc, nothing happened except clock time counter incrementing.  Nothing showed up on the progress bar after waiting for hours.

I re-tried burning a few times with the same result.

I then re-tried by deleting all songs from the project, re-dragging all songs already ripped from disc 1, reinserting disc 2, dragging and dropping all songs and ripping again.  I think this is the sequence that caused the crash.

I was able to successfully burn by ripping each disc and making sure they were "Egg-vob" type instead of "CD track" type, then dragging and dropping in my project, then burning.  I think trying to drag and drop to my project before ripping caused them to show up as "CD-track" and is why it wouldn't burn.
Comment 6 Michał Małek 2010-06-08 22:15:23 UTC
*** Bug 241068 has been marked as a duplicate of this bug. ***
Comment 7 Michał Małek 2010-07-13 20:10:05 UTC
*** Bug 244486 has been marked as a duplicate of this bug. ***
Comment 8 Michał Małek 2010-09-11 21:40:29 UTC
*** Bug 244495 has been marked as a duplicate of this bug. ***
Comment 9 Mario Zimpel 2010-10-21 20:10:47 UTC
Created attachment 52725 [details]
New crash information added by DrKonqi

k3b nach "apt-get update && apt-get dist-upgrade" mit "konsole"(im root-Modus), in anderer virtueller Arbeitsfläche abgestürzt...
Comment 10 Dario Andres 2010-11-19 13:18:08 UTC
[Comment from a bug triager]
I would like to add that the original backtrace was related to a viewport change on the TreeView that triggered and update, while in the latest duplicates (and bug 254570 and bug 257292) the crash was caused because some file changed externally, KIO detected that change and the TreeView data was updated. I can't really say if both crashes have the same root cause, but they sure crash in the same first line (K3b::MetaItemModel::parent)
In any case I would suggest to rename this bug report so it has a better title in english.
Regards
Comment 11 Dario Andres 2010-12-11 17:52:39 UTC
[Comment from a bug triager]
Also note that "K3b::JobProgressDialog::startJob" appears on some backtraces so it could be related to some error caused by nested event loops.
Comment 12 Dario Andres 2010-12-11 17:52:49 UTC
*** Bug 259462 has been marked as a duplicate of this bug. ***
Comment 13 Christoph Feck 2012-01-09 23:38:25 UTC
*** Bug 283001 has been marked as a duplicate of this bug. ***
Comment 14 Andrew Crouthamel 2018-10-31 04:08:50 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 15 Bug Janitor Service 2018-11-15 10:33:20 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 16 Bug Janitor Service 2018-11-30 03:47:22 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!