Bug 111073 - Segfault when saving a game
Summary: Segfault when saving a game
Status: RESOLVED FIXED
Alias: None
Product: boson
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: The Boson Team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-19 12:34 UTC by Felix Seeger
Modified: 2005-09-02 06:44 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Seeger 2005-08-19 12:34:09 UTC
Version:           unknown (using KDE 3.4.89 (>= 20050508), compiled sources)
Compiler:          gcc version 3.4.4 20050314 (prerelease) (Debian 3.4.3-13)
OS:                Linux (i686) release 2.6.13-rc5

Saving a game crashes boson.

I had to comment out all boDebug() lines from PythonScript::saveModule(PyObject* module) because it the console output slowed it down even more.

Than I get a Segmentation fault, running with gdb it looks like this:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1208523072 (LWP 2014)]
0x430cfbcf in mALLOc () from /opt/kde31/lib/libkdecore.so.4
(gdb) bt
#0  0x430cfbcf in mALLOc () from /opt/kde31/lib/libkdecore.so.4
#1  0x430d039a in malloc () from /opt/kde31/lib/libkdecore.so.4
#2  0x43e31b1a in PyDict_DelItemString () from /usr/lib/libpython2.3.so.1.0
#3  0x0839e579 in PythonScript::saveModule (this=0x91c1108, module=0x133f) at pythonscript.cpp:662
#4  0x0839e550 in PythonScript::saveModule (this=0x91c1108, module=0x133f) at pythonscript.cpp:652
#5  0x0839e550 in PythonScript::saveModule (this=0x91c1108, module=0x133f) at pythonscript.cpp:652
#6  0x0839e550 in PythonScript::saveModule (this=0x91c1108, module=0x133f) at pythonscript.cpp:652
#7  0x0839e550 in PythonScript::saveModule (this=0x91c1108, module=0x133f) at pythonscript.cpp:652
...
Comment 1 Andreas Beckermann 2005-09-02 06:44:51 UTC
Should be fixed

CU
Andi