| Summary: | Crash while navigating | ||
|---|---|---|---|
| Product: | [Applications] dolphin | Reporter: | Aleix Pol <aleixpol> |
| Component: | general | Assignee: | Dolphin Bug Assignee <dolphin-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | crash | CC: | aleixpol, cordlandwehr, emmanuelpescosta099, lukasz, vvs170 |
| Priority: | NOR | Keywords: | drkonqi |
| Version First Reported In: | 15.12.1 | ||
| Target Milestone: | --- | ||
| Platform: | Compiled Sources | ||
| OS: | Linux | ||
| Latest Commit: | http://commits.kde.org/dolphin/5d6b5d882f5d2c8c26d30ac513ec6c35764c0e9d | Version Fixed/Implemented In: | 16.04.0 |
| Sentry Crash Report: | |||
| Attachments: | New crash information added by DrKonqi | ||
|
Description
Aleix Pol
2016-02-24 03:10:34 UTC
Thanks for the bug report.
Should be index+1 instead of index-1 in
if (m_cells.size() < index - 1)
m_cells.resize(childCount());
QAccessibleInterface* child = m_cells.at(index);
*** Bug 361535 has been marked as a duplicate of this bug. *** Git commit 5d6b5d882f5d2c8c26d30ac513ec6c35764c0e9d by Emmanuel Pescosta. Committed on 09/04/2016 at 12:08. Pushed by emmanuelp into branch 'Applications/16.04'. Fix crash caused by a out-of-bounds access in KItemListViewAccessible::cell FIXED-IN: 16.04.0 REVIEW: 127397 M +3 -1 src/kitemviews/kitemlistviewaccessible.cpp http://commits.kde.org/dolphin/5d6b5d882f5d2c8c26d30ac513ec6c35764c0e9d --- dolphin-15.12.3/src/kitemviews/kitemlistviewaccessible.cpp.old 2016-04-09 01:01:52.836017471 +0200
+++ dolphin-15.12.3/src/kitemviews/kitemlistviewaccessible.cpp 2016-04-09 01:19:10.477028173 +0200
Works like a charm
@@ -73,7 +73,7 @@
return 0;
}
- if (m_cells.size() < index - 1)
+ if (m_cells.size() < index + 1)
m_cells.resize(childCount());
QAccessibleInterface* child = m_cells.at(index);
*** Bug 363982 has been marked as a duplicate of this bug. *** *** Bug 386712 has been marked as a duplicate of this bug. *** Created attachment 159116 [details]
New crash information added by DrKonqi
dolphin (23.04.1) using Qt 5.15.9
Dolphin crashes when navigating with hotkeys
-- Backtrace (Reduced):
#6 0x00007f9d60eadc5e in __GI___libc_free (mem=0xa) at malloc.c:3344
#7 0x00007f9d61697374 in QVarLengthArray<char, 256>::~QVarLengthArray (this=<optimized out>, this=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qvarlengtharray.h:94
[...]
#9 0x00007f9d625bfe7f in QAccessibleWidget::addControllingSignal (this=0x563628c1aaa0, signal=...) at accessible/qaccessiblewidget.cpp:284
#10 0x00007f9d625cce10 in QAccessibleButton::QAccessibleButton (this=<optimized out>, w=<optimized out>, this=<optimized out>, w=<optimized out>) at accessible/simplewidgets.cpp:125
#11 0x00007f9d625c529a in qAccessibleFactory (classname=..., object=0x56361da2b300) at accessible/qaccessiblewidgetfactory.cpp:117
|