Bug 207778

Summary: KGet crashes when finish a download [~LayoutData, ~QTextEngine, OxygenStyle::drawControl, QStyledItemDelegate::paint, TransfersViewDelegate::paint]
Product: [Plasma] Oxygen Reporter: FiNeX <finex>
Component: styleAssignee: KGet authors <kget>
Status: RESOLVED WAITINGFORINFO    
Severity: crash CC: hugo.pereira.da.costa
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description FiNeX 2009-09-18 13:10:55 UTC
Application: kget (2.3.68)
KDE Version: 4.3.68 (KDE 4.3.68 (KDE 4.4 >= 20090916)) (Compiled from sources)
Qt Version: 4.5.2
Operating System: Linux 2.6.30-ARCH x86_64
Distribution (Platform): Archlinux Packages

What I was doing when the application crashed:
I've added two iso on the donwload queue (from the same FTP server, ubuntu 9.10 alpha-6, i386 and 64bit versions) and I've started the two transfers, after about 30 minutes Kget crashed when it completed the download of the first file.

(using trunk r1025031)



 -- Backtrace:
Application: KGet (kget), signal: Segmentation fault
[KCrash Handler]
#5  0x00007f6944d96ce1 in mem2chunk_check () from /lib/libc.so.6
#6  0x00007f6944d989e0 in free_check () from /lib/libc.so.6
#7  0x00007f6945bc2b09 in QTextEngine::LayoutData::~LayoutData () from /usr/lib/libQtGui.so.4
#8  0x00007f6945bca9ce in QTextEngine::~QTextEngine () from /usr/lib/libQtGui.so.4
#9  0x00007f6945bcba62 in QTextLayout::~QTextLayout () from /usr/lib/libQtGui.so.4
#10 0x00007f6945c6f853 in ?? () from /usr/lib/libQtGui.so.4
#11 0x00007f6945c7039e in QCommonStyle::drawControl () from /usr/lib/libQtGui.so.4
#12 0x00007f6948e782a2 in KStyle::drawControl (this=0xe9e160, element=QStyle::CE_ItemViewItem, option=0x7fff4f690530, p=<value optimized out>, widget=0xf64700)
    at /mnt/archivio/KDE4/src/kdelibs/kdeui/kernel/kstyle.cpp:2503
#13 0x00007f69393c02b3 in OxygenStyle::drawControl (this=0xe9e160, element=QStyle::CE_PushButton, option=0x7fff4f690530, p=0x7fff4f6912f0, widget=0x1371ab0)
    at /mnt/archivio/KDE4/src/kdebase/runtime/kstyles/oxygen/oxygen.cpp:400
#14 0x00007f6945f39460 in QStyledItemDelegate::paint () from /usr/lib/libQtGui.so.4
#15 0x00007f6948e45a21 in KExtendableItemDelegate::paint (this=0xff0e30, painter=<value optimized out>, option=@0x7fff4f690d00, index=@0x7fff4f690e90)
    at /mnt/archivio/KDE4/src/kdelibs/kdeui/itemviews/kextendableitemdelegate.cpp:289
#16 0x0000000000437ba4 in TransfersViewDelegate::paint (this=0xff0e30, painter=0x7fff4f6912f0, option=@0x7fff4f690d00, index=@0x7fff4f690e90)
    at /mnt/archivio/KDE4/src/kdenetwork/kget/ui/transfersviewdelegate.cpp:331
#17 0x00007f6945eca529 in QTreeView::drawRow () from /usr/lib/libQtGui.so.4
#18 0x00007f6945ed20e4 in QTreeView::drawTree () from /usr/lib/libQtGui.so.4
#19 0x00007f6945ed2b93 in QTreeView::paintEvent () from /usr/lib/libQtGui.so.4
#20 0x00007f6945a0de60 in QWidget::event () from /usr/lib/libQtGui.so.4
#21 0x00007f6945d672a6 in QFrame::event () from /usr/lib/libQtGui.so.4
#22 0x00007f6945e9a0bb in QAbstractItemView::viewportEvent () from /usr/lib/libQtGui.so.4
#23 0x00007f6945ed1230 in QTreeView::viewportEvent () from /usr/lib/libQtGui.so.4
#24 0x00007f694672e007 in QCoreApplicationPrivate::sendThroughObjectEventFilters () from /usr/lib/libQtCore.so.4
#25 0x00007f69459bf66c in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#26 0x00007f69459c696e in QApplication::notify () from /usr/lib/libQtGui.so.4
#27 0x00007f6948e677b6 in KApplication::notify (this=0x7fff4f694270, receiver=0xfa1870, event=0x7fff4f691e20) at /mnt/archivio/KDE4/src/kdelibs/kdeui/kernel/kapplication.cpp:302
#28 0x00007f694672ecec in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#29 0x00007f6945a15253 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4
#30 0x00007f6945a159b0 in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4
#31 0x00007f6945a14ec3 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4
#32 0x00007f6945a159b0 in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4
#33 0x00007f6945a14ec3 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4
#34 0x00007f6945a159b0 in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4
#35 0x00007f6945a14ec3 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4
#36 0x00007f6945b853ae in ?? () from /usr/lib/libQtGui.so.4
#37 0x00007f6945a07690 in QWidgetPrivate::syncBackingStore () from /usr/lib/libQtGui.so.4
#38 0x00007f6945a0dc78 in QWidget::event () from /usr/lib/libQtGui.so.4
#39 0x00007f6945d8198b in QMainWindow::event () from /usr/lib/libQtGui.so.4
#40 0x00007f6948f79523 in KXmlGuiWindow::event (this=0x13714d0, ev=0x0) at /mnt/archivio/KDE4/src/kdelibs/kdeui/xmlgui/kxmlguiwindow.cpp:131
#41 0x00007f69459bf69c in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#42 0x00007f69459c696e in QApplication::notify () from /usr/lib/libQtGui.so.4
#43 0x00007f6948e677b6 in KApplication::notify (this=0x7fff4f694270, receiver=0xeb1020, event=0x7fff4f693370) at /mnt/archivio/KDE4/src/kdelibs/kdeui/kernel/kapplication.cpp:302
#44 0x00007f694672ecec in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#45 0x00007f6945b828c7 in ?? () from /usr/lib/libQtGui.so.4
#46 0x00007f6945b85a86 in ?? () from /usr/lib/libQtGui.so.4
#47 0x00007f6945a095db in QWidget::repaint () from /usr/lib/libQtGui.so.4
#48 0x00007f6945a096a3 in QWidget::repaint () from /usr/lib/libQtGui.so.4
#49 0x0000000000439123 in TransferDetails::slotTransferChanged (this=0x12e2d10, transfer=<value optimized out>, flags=4154) at /mnt/archivio/KDE4/src/kdenetwork/kget/ui/transferdetails.cpp:88
#50 0x00000000004395e5 in TransferDetails::qt_metacall (this=0x12e2d10, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff4f693780)
    at /mnt/archivio/KDE4/src/build/kdenetwork/kget/transferdetails.moc:67
#51 0x00007f6946743dec in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#52 0x00007f69482bf6fd in TransferHandler::transferChangedEvent (this=0x13714d0, _t1=0x127c590, _t2=4154) at /mnt/archivio/KDE4/src/build/kdenetwork/kget/moc_transferhandler.cpp:88
#53 0x00007f69482cea1f in TransferTreeModel::timerEvent (this=0xf2c1c0, event=<value optimized out>) at /mnt/archivio/KDE4/src/kdenetwork/kget/core/transfertreemodel.cpp:603
#54 0x00007f694673dd93 in QObject::event () from /usr/lib/libQtCore.so.4
#55 0x00007f69459bf69c in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#56 0x00007f69459c696e in QApplication::notify () from /usr/lib/libQtGui.so.4
#57 0x00007f6948e677b6 in KApplication::notify (this=0x7fff4f694270, receiver=0xf2c1c0, event=0x7fff4f693f30) at /mnt/archivio/KDE4/src/kdelibs/kdeui/kernel/kapplication.cpp:302
#58 0x00007f694672ecec in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#59 0x00007f694675a302 in ?? () from /usr/lib/libQtCore.so.4
#60 0x00007f694675726d in ?? () from /usr/lib/libQtCore.so.4
#61 0x00007f694447bdbe in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#62 0x00007f694447f568 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#63 0x00007f694447f690 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#64 0x00007f69467571b6 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#65 0x00007f6945a5264e in ?? () from /usr/lib/libQtGui.so.4
#66 0x00007f694672d5f2 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#67 0x00007f694672d9c4 in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#68 0x00007f694672fb79 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#69 0x00000000004862f8 in main (argc=<value optimized out>, argv=<value optimized out>) at /mnt/archivio/KDE4/src/kdenetwork/kget/main.cpp:181

Reported using DrKonqi
Comment 1 Lukas Appelhans 2009-12-01 20:46:13 UTC
I doubt this is related to KGet, but rather a crash in Oxygen/KDElibs or even Qt. What do you think?

Lukas
Comment 2 Lukas Appelhans 2009-12-20 17:26:45 UTC
So reassigning...

Lukas
Comment 3 Hugo Pereira Da Costa 2010-08-26 05:22:51 UTC
Was this ever reproduced with kde > 4.4.1 (notably 4.5.0) and Qt 4.7.0 ?