Summary: | Crash when removing a custom presence | ||
---|---|---|---|
Product: | [Unmaintained] telepathy | Reporter: | Daniele E. Domenichelli <ddomenichelli> |
Component: | contactlist | Assignee: | Telepathy Bugs <kde-telepathy-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | adaptee, d.cermak, kde |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | 0.4.0 | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Daniele E. Domenichelli
2012-01-18 00:26:59 UTC
"The crash can be reproduced every time." Can this crash actually be reproduced every time (I can't, I may be missing some steps) It can be reproduced every time here... Steps to reproduce - Open contact list - Click on "Available" and type "Test" - Hit enter - Click on the dropdown menu and choose "Available" again - Click on the dropdown menu and choose "Configure Custom Preferences" - Select "Test" - Click on "Remove Presence" Just tried multiple times with your steps and no crash for me. Strange. Ok, well it's an array out of bounds exception in PresenceModel::data() should be very easy to fix here. Though would still be nice to see why someone is calling going out of bounds. Will commit a patch that checks, and then could people re-test. Git commit 0f8fc440c2533716bfc51ed1c65615adf191c889 by David Edmundson. Committed on 19/01/2012 at 13:47. Pushed by davidedmundson into branch 'master'. Check index validity in PresenceModel::data() M +7 -0 presence-model.cpp http://commits.kde.org/telepathy-contact-list/0f8fc440c2533716bfc51ed1c65615adf191c889 I can confirm that the fix works, thanks |