Summary: | Crash viewing a inline opengpg signed message | ||
---|---|---|---|
Product: | [Applications] kdepim | Reporter: | Olivier Trichet <nive> |
Component: | libkpgp | Assignee: | Volker Krause <vkrause> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | amantia, kdepim-bugs, vkrause |
Priority: | NOR | Keywords: | akonadi-ports-regression |
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Bug Depends on: | |||
Bug Blocks: | 223438 | ||
Attachments: | message that causes the crash |
Description
Olivier Trichet
2010-05-24 18:32:36 UTC
Created attachment 43851 [details]
message that causes the crash
Indeed, any inline openpgp signed message seems to crash the message viewer. Volker, could this be a result of the recent Qt4 porting of Kpgp? Also CC'ing Andras just in case. SVN commit 1131243 by tilladam: Fix porting bug to make Comparator actually compare correctly. This was crashing std::sort which apparenty for optimization reasons requires a < b to imply !(b < a). qSort, on the other hand, avoids the problem. The crash only showed up with sufficiently large keyrings, as apparently std::sort, likely again for optimization reasons, uses a simpler sort for shorter containers, which doesn't run into this issue. Fun bug, took Volker and me most of the train ride from Osnabrueck to Berlin to figure out why and how this happens, boring our travel companion to tears in the process. Geek out! BUG: 238708 M +2 -1 kpgpkey.h WebSVN link: http://websvn.kde.org/?view=rev&revision=1131243 |