#0 0x7ffff4afba0b raise() (/lib/libpthread.so.0:??) #1 0x7ffff69a9a38 JS_Assert(s=0x7ffff6afa5b4 "compartment mismatched", file=0x7ffff6afa441 "../jscntxtinlines.h", ln=545) (../jsutil.cpp:83) #2 0x7ffff6816b4d js::CompartmentChecker::fail(c1=0x44515e0, c2=0xf7ec20) (../jscntxtinlines.h:545) #3 0x7ffff6816c39 js::CompartmentChecker::check(this=0x7fffffffc010, c=0xf7ec20) (../jscntxtinlines.h:561) #4 0x7ffff6816c7f js::CompartmentChecker::check(this=0x7fffffffc010, obj=0x7fffbe91df08) (../jscntxtinlines.h:569) #5 0x7ffff6816d2e js::CompartmentChecker::check(this=0x7fffffffc010, v=...) (../jscntxtinlines.h:579) #6 0x7ffff681bc8d js::assertSameCompartment(cx=0x44511e0, t1=0x7fffbeea01a0, t2=..., t3=..., t4=0x0, t5=0x0) (../jscntxtinlines.h:685) #7 0x7ffff6809b88 DefinePropertyById(cx=0x44511e0, obj=0x7fffbeea01a0, id=..., value=..., getter=0, setter=0, attrs=1, flags=0, tinyid=0) (../jsapi.cpp:3413) #8 0x7ffff6809e88 DefineProperty(cx=0x44511e0, obj=0x7fffbeea01a0, name=0xb4bad1 "gui", value=..., getter=0, setter=0, attrs=1, flags=0, tinyid=0) (../jsapi.cpp:3457) #9 0x7ffff6809f14 JS_DefineProperty(cx=0x44511e0, obj=0x7fffbeea01a0, name=0xb4bad1 "gui", value=..., getter=0, setter=0, attrs=1) (../jsapi.cpp:3465) #10 0x7764d1 ScriptInterface::SetProperty_(this=0x43c06f8, obj=..., name=0xb4bad1 "gui", value=..., constant=false, enumerate=true) (/home/yves/Projekte/0ad/source/scriptinterface/ScriptInterface.cpp:736) #11 0x6d6662 ScriptInterface::SetProperty(this=0x43c06f8, obj=..., name=0xb4bad1 "gui", value=..., readonly=false, enumerate=true) (../../../source/scriptinterface/ScriptInterface.h:458) #12 0xa5ee1d SavedGames::Save(prefix=..., simulation=..., gui=0x7fffc84eb330, playerID=1) (/home/yves/Projekte/0ad/source/ps/SavedGame.cpp:94) #13 0x9b39cb (anonymous namespace)::SaveGame(cbdata=0x7fffc84eb330) (/home/yves/Projekte/0ad/source/gui/scripting/ScriptFunctions.cpp:239) #14 0x8a6c2b ScriptInterface_NativeWrapper::call::SaveGame>(JSContext *, uintN, jsval *) (cx=0xf0fe70, argc=0, vp=0x7fffcd55f0a8) (../../../source/scriptinterface/NativeWrapperDefns.h:104) #16 ( 0x00007ffff68d9c6e in js::CallJSNative(cx=0xf0fe70, native=0x9b8bae ::SaveGame>(JSContext *, uintN, jsval *) (../jscntxtinlines.h:701) #17 0x7ffff68c8eec js::Interpret(cx=0xf0fe70, entryFrame=0x7fffcd55f050, inlineCallCount=0, interpMode=JSINTERP_NORMAL) (../jsinterp.cpp:4799) #18 0x7ffff68dd8f2 js::RunScript(cx=0xf0fe70, script=0x7fffc9bd3640, fp=0x7fffcd55f050) (../jsinterp.cpp:653) #19 0x7ffff68dde55 js::Invoke(cx=0xf0fe70, argsRef=..., flags=0) (../jsinterp.cpp:740) #20 0x7ffff68de488 js::ExternalInvoke(cx=0xf0fe70, thisv=..., fval=..., argc=1, argv=0x7fffffffde40, rval=0x7fffffffde30) (../jsinterp.cpp:863) #21 0x7ffff680ed1a JS_CallFunctionValue(cx=0xf0fe70, obj=0x7fffbe906630, fval=..., argc=1, argv=0x7fffffffde40, rval=0x7fffffffde30) (../jsapi.cpp:5145) #22 0x9a2714 IGUIObject::ScriptEvent(this=0x7fffc9bd23f0, Action=...) (/home/yves/Projekte/0ad/source/gui/IGUIObject.cpp:527) #23 0x9a24e7 IGUIObject::SendEvent(this=0x7fffc9bd23f0, type=GUIM_PRESSED, EventName=...) (/home/yves/Projekte/0ad/source/gui/IGUIObject.cpp:506) #24 0x99e2e3 IGUIButtonBehavior::HandleMessage(this=0x7fffc9bd23b0, Message=...) (/home/yves/Projekte/0ad/source/gui/IGUIButtonBehavior.cpp:71) #25 0x9bec81 CButton::HandleMessage(this=0x7fffc9bd23b0, Message=...) (/home/yves/Projekte/0ad/source/gui/CButton.cpp:85) #26 0x9a24d4 IGUIObject::SendEvent(this=0x7fffc9bd23f0, type=GUIM_MOUSE_RELEASE_LEFT, EventName=...) (/home/yves/Projekte/0ad/source/gui/IGUIObject.cpp:504) #27 0x94f898 CGUI::HandleEvent(this=0x7fffc9ad5a10, ev=0x7fffffffe260) (/home/yves/Projekte/0ad/source/gui/CGUI.cpp:208) #28 0x9884e1 CGUIManager::HandleEvent(this=0x7fffc84eb330, ev=0x7fffffffe260) (/home/yves/Projekte/0ad/source/gui/GUIManager.cpp:224) #29 0x987178 gui_handler(ev=0x7fffffffe260) (/home/yves/Projekte/0ad/source/gui/GUIManager.cpp:48)