Summary: | Crash with segmentation fault | ||
---|---|---|---|
Product: | [Applications] ktorrent | Reporter: | Borislav Ivanov <borislavgi> |
Component: | general | Assignee: | Joris Guisson <joris.guisson> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | andreaswuest, bugs, computerpro, email.xenophon, juliano.timm, kedgedev, kevin.kofler, layranos.stylianos, psiberstorm, simta, tuju, zabivator, zeus |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | dump |
Description
Borislav Ivanov
2008-10-05 13:45:36 UTC
Which Qt version are you using ? (In reply to comment #1) > Which Qt version are you using ? > I use Qt 4.4.1 from the Fedora distribution: qt-4.4.1-2.fc9.i386 SVN commit 877351 by guisson: Work around Qt bug by making sure executeDelayedItemsLayout is called in viewportEvent, the bug caused crashes in QTreeView's with a QSortFilterProxyModel BUG: 172198 M +7 -0 ktorrent/view.cpp M +3 -0 ktorrent/view.h M +1 -0 plugins/infowidget/CMakeLists.txt A plugins/infowidget/chunkdownloadtreeview.cpp [License: GPL (v2+)] A plugins/infowidget/chunkdownloadtreeview.h [License: GPL (v2+)] M +9 -2 plugins/infowidget/chunkdownloadview.ui M +6 -0 plugins/infowidget/fileview.cpp M +1 -0 plugins/infowidget/fileview.h M +6 -0 plugins/infowidget/peerview.cpp M +3 -0 plugins/infowidget/peerview.h WebSVN link: http://websvn.kde.org/?view=rev&revision=877351 *** Bug 174462 has been marked as a duplicate of this bug. *** Name : ktorrent Relocations: (not relocatable) Version : 3.1.4 Vendor: Fedora Project Release : 1.fc9 Build Date: Thu 23 Oct 2008 08:35:02 PM EEST Install Date: Sat 25 Oct 2008 02:38:45 PM EEST Build Host: xenbuilder2.fedora.redhat.com Group : Applications/Internet Source RPM: ktorrent-3.1.4-1.fc9.src.rpm and it still crashed. Is that really fixed? The fix will be in 3.1.5 *** Bug 174812 has been marked as a duplicate of this bug. *** *** Bug 174588 has been marked as a duplicate of this bug. *** *** Bug 177081 has been marked as a duplicate of this bug. *** *** Bug 177429 has been marked as a duplicate of this bug. *** *** Bug 178080 has been marked as a duplicate of this bug. *** *** Bug 179013 has been marked as a duplicate of this bug. *** *** Bug 179487 has been marked as a duplicate of this bug. *** Looks like this still happens with 3.1.5: https://bugzilla.redhat.com/show_bug.cgi?id=479146 *** Bug 181074 has been marked as a duplicate of this bug. *** This was permanently fixed a couple of weeks ago in trunk, so closed. Created attachment 31375 [details]
dump
dump after crash
KTorrent 3.1.2 from KDE 4.2.0 crash during some hours on seeding many torrents and leeching one torrent. $uname -a Linux zabivator 2.6.27-11-generic #1 SMP Thu Jan 29 19:28:32 UTC 2009 x86_64 GNU/Linux dump in attachment KTorrent 3.1.2 from KDE 4.2.0 crash during some hours on seeding many torrents and leeching one torrent. $uname -a Linux zabivator 2.6.27-11-generic #1 SMP Thu Jan 29 19:28:32 UTC 2009 x86_64 GNU/Linux dump in attachment If it's Qt bug was this reported to TT? I can easily reproduce this crash in Kopete (with Qt 4.5). The executeDelayedItemsLayout workaround works. But does the Kopete issue also happen with Qt 4.4? The KTorrent one does. These may actually be different bugs. Digging through my mail I found this on a kde-devel thread : http://www.qtsoftware.com/developer/task-tracker/index_html?id=245352&method=entry So it looks like this is fixed in Qt 4.5 Note, that the workaround above didn't completely fix it, I have now resolved it by ditching QSortFilterProxyModel, and doing the sorting myself. Kevin, I can't test right now with Qt 4.4, because I don't have Qt compiled. Joris, the TT looks like different bug, the backtrace of Kopete crash goes through viewportEvent #5 QSortFilterProxyModelPrivate::source_to_proxy (this=0x7cac10, source_index=@0x7fff586ba0d0) at ../../include/QtCore/../../src/corelib/ke rnel/qabstractitemmodel.h:369 #6 0x00007f404bd8431d in QSortFilterProxyModel::mapFromSource (this=<value optimized out>, sourceIndex=@0x7fff586ba0d0) at itemviews/qsortf ilterproxymodel.cpp:2358 #7 0x00007f404bd7f1a9 in QSortFilterProxyModel::parent (this=0x90, child=<value optimized out>) at itemviews/qsortfilterproxymodel.cpp:1522 #8 0x00007f404bd419b6 in QTreeViewPrivate::itemDecorationRect (this=0x66dbc0, index=@0x7fff586ba1e0) at ../../include/QtCore/../../src/core lib/kernel/qabstractitemmodel.h:369 #9 0x00007f404bd41c4a in QTreeViewPrivate::itemDecorationAt (this=0x66dbc0, pos=@0x7fff586ba424) at itemviews/qtreeview.cpp:3476 #10 0x00007f404bd41d7a in QTreeView::viewportEvent (this=0x800b60, event=0x7fff586ba410) at itemviews/qtreeview.cpp:1240 #11 0x00007f404c775548 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x81f720, event=0x7ff f586ba410) at kernel/qcoreapplication.cpp:718 #12 0x00007f404b8654fc in QApplicationPrivate::notify_helper (this=0x673870, receiver=0x81f720, e=0x7fff586ba410) at kernel/qapplication.cpp :4080 #13 0x00007f404b86e791 in QApplicationPrivate::dispatchEnterLeave (enter=0x81f720, leave=<value optimized out>) at kernel/qapplication.cpp:2 618 #14 0x00007f404b86edf5 in QApplicationPrivate::sendMouseEvent (receiver=0x81f720, event=0x7fff586ba820, alienWidget=0x81f720, nativeWidget=0 x7a2ad0, buttonDown=0x7f404c1cbe28, lastMouseReceiver=@0x7f404c1cbe30) at kernel/qapplication.cpp:2924 like the backtrace here http://ktorrent.org/forum/viewtopic.php?t=2638&start=0&postdays=0&postorder=asc&highlight=&sid=903f358861959283180237847568603d and as I said the workaround works for Qt 4.5, I didn't saw any other crashes yet, but we don't use model/view in Kopete for a long time. So it looks like it wasn't reported if so I'll report it. |