Bug 249946

Summary: k3b crash when put files to project
Product: [Unmaintained] kdelibs Reporter: Martin Naď <martin.nad89>
Component: generalAssignee: kdelibs bugs <kdelibs-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: michalm, trueg
Priority: NOR    
Version: 4.4   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Martin Naď 2010-09-02 22:35:19 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.34.6-47.fc13.x86_64 x86_64
Distribution (Platform): Fedora RPMs

-- Information about the crash:
k3b crash when put files to data project.

step to reproduce:

1. run k3b
2. click new data project
3. put some files to project
4. k3b sometimes crash

The crash can be reproduced some of the time.

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

Thread 2 (Thread 0x7f7c8a519710 (LWP 27996)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:212
#1  0x00000032cea70b15 in thread_sleep (ti=0x7f7c8a518cc0) at thread/qthread_unix.cpp:398
#2  0x00000032cea70cc6 in QThread::sleep (secs=<value optimized out>) at thread/qthread_unix.cpp:412
#3  0x00007f7c9bd99545 in K3b::MediaCache::PollThread::run (this=0x2142a60) at /usr/src/debug/k3b-2.0.0/libk3b/tools/k3bmediacache.cpp:106
#4  0x00000032cea711a5 in QThreadPrivate::start (arg=0x2142a60) at thread/qthread_unix.cpp:248
#5  0x00000032c5e07761 in start_thread (arg=0x7f7c8a519710) at pthread_create.c:301
#6  0x00000032c56e14ed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f7c9b890820 (LWP 27979)):
[KCrash Handler]
#5  0x00000032d4d43ffb in KFileItemDelegate::Private::transition (this=<value optimized out>, from=..., to=..., amount=0.99607843137254903)
    at /usr/src/debug/kdelibs-4.4.5/kio/kio/kfileitemdelegate.cpp:582
#6  0x00000032d4d49025 in KFileItemDelegate::paint (this=0x2237df0, painter=0x7fff099ca220, option=..., index=<value optimized out>) at /usr/src/debug/kdelibs-4.4.5/kio/kio/kfileitemdelegate.cpp:1288
#7  0x00000000004fb959 in K3b::DeviceDelegate::paint (this=0x2237df0, painter=0x7fff099ca220, optionOrig=..., index=...) at /usr/src/debug/k3b-2.0.0/src/k3bdevicedelegate.cpp:179
#8  0x00000032d28be137 in QTreeView::drawRow (this=0x2229050, painter=0x7fff099ca220, option=..., index=...) at itemviews/qtreeview.cpp:1670
#9  0x00000032d28c7e76 in QTreeView::drawTree (this=0x2229050, painter=0x7fff099ca220, region=<value optimized out>) at itemviews/qtreeview.cpp:1433
#10 0x00000032d28cad33 in QTreeView::paintEvent (this=0x2229050, event=0x7fff099caec0) at itemviews/qtreeview.cpp:1266
#11 0x00000032d23f606a in QWidget::event (this=0x2229050, event=0x7fff099caec0) at kernel/qwidget.cpp:8190
#12 0x00000032d27730c6 in QFrame::event (this=0x2229050, e=0x7fff099caec0) at widgets/qframe.cpp:557
#13 0x00000032d28892bb in QAbstractItemView::viewportEvent (this=0x2229050, event=0x7fff099caec0) at itemviews/qabstractitemview.cpp:1615
#14 0x00000032d28c4db2 in QTreeView::viewportEvent (this=0x2229050, event=0x7fff099caec0) at itemviews/qtreeview.cpp:1248
#15 0x00000032ceb531f7 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x222b810, event=0x7fff099caec0) at kernel/qcoreapplication.cpp:841
#16 0x00000032d23ab36c in QApplicationPrivate::notify_helper (this=0x1e78a30, receiver=0x222b810, e=0x7fff099caec0) at kernel/qapplication.cpp:4302
#17 0x00000032d23b165b in QApplication::notify (this=<value optimized out>, receiver=0x222b810, e=0x7fff099caec0) at kernel/qapplication.cpp:4189
#18 0x00000032d3a07016 in KApplication::notify (this=0x7fff099cc0c0, receiver=0x222b810, event=0x7fff099caec0) at /usr/src/debug/kdelibs-4.4.5/kdeui/kernel/kapplication.cpp:302
#19 0x00000032ceb53ddc in QCoreApplication::notifyInternal (this=0x7fff099cc0c0, receiver=0x222b810, event=0x7fff099caec0) at kernel/qcoreapplication.cpp:726
#20 0x00000032d23fdcbc in sendSpontaneousEvent (this=0x2229750, pdev=0x2263938, rgn=..., offset=..., flags=68, sharedPainter=0x0, backingStore=0x23b3d40)
    at ../../src/corelib/kernel/qcoreapplication.h:218
#21 QWidgetPrivate::drawWidget (this=0x2229750, pdev=0x2263938, rgn=..., offset=..., flags=68, sharedPainter=0x0, backingStore=0x23b3d40) at kernel/qwidget.cpp:5363
#22 0x00000032d25a2846 in QWidgetBackingStore::sync (this=0x23b3d40) at painting/qbackingstore.cpp:1292
#23 0x00000032d23efae0 in QWidgetPrivate::syncBackingStore (this=0x2177060) at kernel/qwidget.cpp:1688
#24 0x00000032d23f6773 in QWidget::event (this=0x2136c90, event=0x27838b0) at kernel/qwidget.cpp:8337
#25 0x00000032d278c55b in QMainWindow::event (this=0x2136c90, event=0x27838b0) at widgets/qmainwindow.cpp:1414
#26 0x00000032d3b04763 in KXmlGuiWindow::event (this=0x2136c90, ev=0x27838b0) at /usr/src/debug/kdelibs-4.4.5/kdeui/xmlgui/kxmlguiwindow.cpp:131
#27 0x00000032d23ab39c in QApplicationPrivate::notify_helper (this=0x1e78a30, receiver=0x2136c90, e=0x27838b0) at kernel/qapplication.cpp:4306
#28 0x00000032d23b165b in QApplication::notify (this=<value optimized out>, receiver=0x2136c90, e=0x27838b0) at kernel/qapplication.cpp:4189
#29 0x00000032d3a07016 in KApplication::notify (this=0x7fff099cc0c0, receiver=0x2136c90, event=0x27838b0) at /usr/src/debug/kdelibs-4.4.5/kdeui/kernel/kapplication.cpp:302
#30 0x00000032ceb53ddc in QCoreApplication::notifyInternal (this=0x7fff099cc0c0, receiver=0x2136c90, event=0x27838b0) at kernel/qcoreapplication.cpp:726
#31 0x00000032ceb55ed4 in sendEvent (receiver=0x0, event_type=0, data=0x1e4a370) at kernel/qcoreapplication.h:215
#32 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1e4a370) at kernel/qcoreapplication.cpp:1367
#33 0x00000032ceb79d23 in sendPostedEvents (s=<value optimized out>) at kernel/qcoreapplication.h:220
#34 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#35 0x00000032c723bd02 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#36 0x00000032c723fae8 in ?? () from /lib64/libglib-2.0.so.0
#37 0x00000032c723fc9c in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#38 0x00000032ceb79863 in QEventDispatcherGlib::processEvents (this=0x1e49a60, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#39 0x00000032d244a84e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#40 0x00000032ceb52822 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#41 0x00000032ceb52aec in QEventLoop::exec (this=0x7fff099cc010, flags=...) at kernel/qeventloop.cpp:201
#42 0x00000032ceb561bb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#43 0x0000000000516ce4 in main (argc=1, argv=0x7fff099ccc98) at /usr/src/debug/k3b-2.0.0/src/main.cpp:151

Reported using DrKonqi
Comment 1 Michał Małek 2010-09-08 22:28:01 UTC
Redirecting ot kdelibs. Looks like a KFileItemDelegate issue
Comment 2 Christoph Feck 2010-09-08 22:58:36 UTC

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