Summary: | Clicking Open Log Viewer... on a contact crashes ktp-log-viewer every time | ||
---|---|---|---|
Product: | [Unmaintained] telepathy | Reporter: | Matěj Laitl <matej> |
Component: | log-viewer | Assignee: | Telepathy Bugs <kde-telepathy-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | dvratil, kde, matej, Tanktalus, tcberner |
Priority: | NOR | Keywords: | drkonqi |
Version: | 0.8.0 | ||
Target Milestone: | Future | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/telepathy-text-ui/9953f40919c88c13cfbd4d04e3c1fec37983f8e8 | Version Fixed In: | 0.8.1 |
Sentry Crash Report: | |||
Attachments: | New crash information added by DrKonqi |
Description
Matěj Laitl
2013-12-18 15:52:17 UTC
I'm also replicating this on Gentoo with 0.7.1 I can't reproduce this on git latest. Can you try with 0.7.80 or higher? There have been some changes in this area. Created attachment 85643 [details]
New crash information added by DrKonqi
ktp-log-viewer (0.8.0) on KDE Platform 4.12.3 using Qt 4.8.5
Hi, I can reproduce this with ktp-text-ui 0.8.0.1.
I should also note that I use Qt buld with debugging assertions enabled. (however this does not look like it, normally it is clear from the backtrace that the assert has been hit)
I'm attaching updated backtrace.
-- Backtrace (Reduced):
#6 0x000000000041e5d5 in DatesModel::parent (this=0x90e4a0, child=...) at /var/tmp/portage/net-im/ktp-text-ui-0.8.0.1/work/ktp-text-ui-0.8.0.1/logviewer/dates-model.cpp:399
#7 0x00007f830f4eed76 in parent (this=0x7fffa7f95750) at ../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:393
#8 QAbstractItemView::setModel (this=0xa4c270, model=<optimized out>) at itemviews/qabstractitemview.cpp:668
#9 0x00007f830f509660 in QHeaderView::setModel (this=0xa4c270, model=0x90e4a0) at itemviews/qheaderview.cpp:410
#10 0x00007f830f544189 in QTreeView::setModel (this=0xae7b60, model=0x90e4a0) at itemviews/qtreeview.cpp:236
Reopening based on provided info. Thanks for the great software, by the way, KTp otherwise rocks for me. Fixed in 0.8.1 There's an assert in QAbstractItemView that asks the model for data that the model does not have and that lead to a crash in our model (or in Matej's case it lead to QModelIndex having an invalid internal pointer). commit 9953f40919c88c13cfbd4d04e3c1fec37983f8e8 Author: Dan Vrátil <dvratil@redhat.com> Date: Thu Apr 10 18:19:17 2014 +0200 Fix crash in DatesModel when View asks for a non-existent item Approved-By: Alex Fiestas |