Summary: | Patience crash on selection of "New Game" | ||
---|---|---|---|
Product: | [Unmaintained] kdelibs | Reporter: | Peter Hillier-Brook <phb> |
Component: | kshareddatacache | Assignee: | kdelibs bugs <kdelibs-bugs> |
Status: | RESOLVED WORKSFORME | ||
Severity: | crash | CC: | cfeck, kde-games-bugs, mpyne |
Priority: | NOR | ||
Version: | 4.8.5 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Peter Hillier-Brook
2012-09-24 16:53:49 UTC
This should (hopefully) be fixed in KDE Platform 4.9, where KSharedDataCache takes a lot of extra pain to verify the data being used is mapped to a valid region of memory (this change was too intrusive to backport for 4.8 series). In the meantime a good workaround would be to find your KDE cache directory by running "kde4-config --path cache". In that directory will be a bunch of kgamerenderer* directories, each containing *.kcache files. Remove those files (using Dolphin or the 'rm' command) and restart KPat and it should work. You may also have to do the same thing with the libkcardgame-themes directory. If you just want to run a single command, try "find $(kde4-config --path cache) -name '*.kcache' -exec rm -i {} + \;" (all characters in the double-quotes are significant, you would want to copy-paste to Konsole). This command runs the "find" program under the KDE cache directory to find all "*.kcache" files, and run the "rm -i" command on them all. The -i option to "rm" makes it prompt for each file being removed. If you find that you still experience crashes in a KDE 4.9 (or later) release please re-open if it is this bug, or open a separate bug otherwise. Thanks! On 25/09/12 03:34, Michael Pyne wrote:
> find $(kde4-config --path cache) -name '*.kcache' -exec rm -i {} + \;
Well that didn't work so I'm working my way through the "find" syntax to
get it right. This is not a major problem for me and I'm just interested
in getting the command correctly expressed. As for the bug, it's only a
game and it still works most of the time. ;-)
phb@Caesar:~$ find $(kde4-config --path cache) -name '*.kcache' -exec rm
-i {} + \;
find: paths must precede expression: ;
Usage: find [-H] [-L] [-P] [-Olevel] [-D
help|tree|search|stat|rates|opt|exec] [path...] [expression]
Remove the '+' near the end: find $(kde4-config --path cache) -name '*.kcache' -exec rm -i {} \; On 25/09/12 20:16, Christoph Feck wrote:
> find $(kde4-config --path cache) -name '*.kcache' -exec rm -i {} \;
Thanks for that. I was hoping to work it out for myself, but you've
saved me the time and effort.
Peter HB
|