Review Request 108688: Fix crash in OutputModel::flushLineBuffer()
Commit Hook
null at kde.org
Thu Jan 31 20:15:57 UTC 2013
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/108688/#review26469
-----------------------------------------------------------
This review has been submitted with commit e7b7cefa808cab24edf583eb9de4ae01a562b025 by Kevin Funk to branch master.
- Commit Hook
On Jan. 31, 2013, 7:35 p.m., Kevin Funk wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/108688/
> -----------------------------------------------------------
>
> (Updated Jan. 31, 2013, 7:35 p.m.)
>
>
> Review request for KDevelop.
>
>
> Description
> -------
>
> Fix crash in OutputModel::flushLineBuffer()
>
> In case we try to call beginInsertRows() with invalid indices we will
> trigger an assert in qabstractitemmodel.cpp.
>
> Backtrace (reduced):
> 5 0x00007ffff5a7caac in qt_assert (assertion=0x7ffff5ccce63 "last >=
> first", file=0x7ffff5cccbe0
> "/home/krf/devel/src/qt/src/corelib/kernel/qabstractitemmodel.cpp",
> line=2413) at /home/krf/devel/src/qt/src/corelib/global/qglobal.cpp:2018
> 6 0x00007ffff5bba5d6 in QAbstractItemModel::beginInsertRows
> (this=0x72226b0, parent=..., first=35, last=34) at
> /home/krf/devel/src/qt/src/corelib/kernel/qabstractitemmodel.cpp:2413
> 7 0x00007fffec45136f in KDevelop::OutputModel::flushLineBuffer
> (this=0x72226b0) at
> /home/krf/devel/src/kdevplatform/outputview/outputmodel.cpp:284
> 8 0x00007fffc079c6fa in CTestRunJob::processFinished (this=0x703a240,
> job=0x7212ce0) at
> /home/krf/devel/src/kdevelop/projectmanagers/cmake/testing/ctestrunjob.cpp:140
>
> (gdb) p d->m_lineBuffer.size()
> $1 = 0
>
>
> Diffs
> -----
>
> outputview/outputmodel.cpp c4dd9c9d057aa2de92fb25ee6929acc16ef6e7af
>
> Diff: http://git.reviewboard.kde.org/r/108688/diff/
>
>
> Testing
> -------
>
>
> Thanks,
>
> Kevin Funk
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20130131/39f1fb65/attachment.html>
More information about the KDevelop-devel
mailing list