Bug 111073

Summary: Segfault when saving a game
Product: [Applications] boson Reporter: Felix Seeger <felix.seeger>
Component: generalAssignee: The Boson Team <boson-bugs>
Status: RESOLVED FIXED    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

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