Summary: | Palapeli crash on load | ||
---|---|---|---|
Product: | [Applications] palapeli | Reporter: | Sean Porterfield <bgzkde> |
Component: | general | Assignee: | Stefan Majewsky <majewsky> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | blagozlatev, cfeck, kde-games-bugs, myriam |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Sean Porterfield
2011-12-05 20:36:39 UTC
The bug is reproducible and not a duplicate! But the bug doesn't reproduce after the first time (at least on my system). I only had the one crash as well. Sure thing the bug only occurs once. It's a race condition in the code that unpacks the default puzzles which are shipped in a compressed format. This can probably be fixed by mutex-protecting puzzle.cpp:121. Will do this when I'm at home. Are you at home? :) SVN commit 1271914 by majewsky: Secure Palapeli::Puzzle::m_allFutures with a mutex. Thanks for the reminder, Christoph. This got off my radar somehow. M +3 -0 puzzle.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1271914 SVN commit 1271918 by majewsky: Backport revision 1271914 from trunk. M +3 -0 puzzle.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1271918 |