| Summary: | kshisen sometimes segfaults at application quit | ||
|---|---|---|---|
| Product: | [Applications] kshisen | Reporter: | Tim Ruppel <tim.ruppel> |
| Component: | general | Assignee: | Dave Corrie <kde> |
| Status: | RESOLVED FIXED | ||
| Severity: | crash | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | RedHat Enterprise Linux | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Tim Ruppel
2004-12-09 00:35:59 UTC
I always get segfault when pressing Ctrl-Q. Selecting Game->Quit works OK. Same backtrace, Shisen-Sho 1.5.1 / KDE 3.4.1. This fixes the crash for me:
Index: app.cpp
===================================================================
--- app.cpp (revision 422109)
+++ app.cpp (working copy)
@@ -141,7 +141,6 @@
void App::quitGame()
{
- delete this;
kapp->quit();
}
SVN commit 443589 by davec:
Fix crash on exit (patch by Tommi Rantala)
BUG: 94718
M +0 -1 app.cpp
--- branches/KDE/3.4/kdegames/kshisen/app.cpp #443588:443589
@@ -141,7 +141,6 @@
void App::quitGame()
{
- delete this;
kapp->quit();
}
|