﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	resolution	keywords	cc	phab_field
6125	Segfault in UM	Freagarach	wraitii	"{{{
Thread 1 ""main"" received signal SIGSEGV, Segmentation fault.
0x00007ffff6941703 in js::NewObjectWithGivenTaggedProto (cx=0x555556097e20, 
    clasp=0x555555ee68c0 <class_ICmpUnitMotion>, proto=..., allocKind=<optimised out>, 
    newKind=newKind@entry=js::GenericObject, initialShapeFlags=initialShapeFlags@entry=0)
    at /media/,,,/0AD/SVN/libraries/source/spidermonkey/mozjs-78.6.0/js/src/vm/JSObject.cpp:842
842	          cache.newObjectFromHit(cx, entry, GetInitialHeap(newKind, clasp));
(gdb) bt
#0  0x00007ffff6941703 in js::NewObjectWithGivenTaggedProto (cx=0x555556097e20, 
    clasp=0x555555ee68c0 <class_ICmpUnitMotion>, proto=..., allocKind=<optimised out>, 
    newKind=newKind@entry=js::GenericObject, initialShapeFlags=initialShapeFlags@entry=0)
    at /media/,,,/0AD/SVN/libraries/source/spidermonkey/mozjs-78.6.0/js/src/vm/JSObject.cpp:842
#1  0x00007ffff6b30dcb in js::NewObjectWithGivenTaggedProto<(js::NewObjectKind)0> (proto=..., clasp=<optimised out>, 
    cx=0x555556097e20)
    at /media/,,,/0AD/SVN/libraries/source/spidermonkey/mozjs-78.6.0/js/src/vm/JSObject-inl.h:416
#2  js::NewObjectWithGivenProto (proto=..., clasp=<optimised out>, cx=0x555556097e20)
    at /media/,,,/0AD/SVN/libraries/source/spidermonkey/mozjs-78.6.0/js/src/vm/JSObject-inl.h:455
#3  JS_NewObjectWithGivenProto (cx=cx@entry=0x555556097e20, clasp=<optimised out>, proto=..., proto@entry=...)
    at /media/,,,/0AD/SVN/libraries/source/spidermonkey/mozjs-78.6.0/js/src/jsapi.cpp:1915
#4  0x000055555576210f in ScriptInterface::CreateCustomObject (this=0x555559c2e208, typeName=""ICmpUnitMotion"")
    at ../../../source/scriptinterface/ScriptInterface.cpp:472
#5  0x000055555571680e in ICmpUnitMotion::NewJSObject (this=this@entry=0x55555cb95d10, scriptInterface=..., 
    out=out@entry=...) at ../../../source/simulation2/components/ICmpUnitMotion.cpp:44
#6  0x000055555574ba54 in ScriptInterface::ToJSVal<IComponent*> (rq=..., ret=ret@entry=..., 
    val=@0x7fffff7ff468: 0x55555cb95d10) at ../../../source/simulation2/scripting/EngineScriptConversions.cpp:56
#7  0x000055555563abd1 in ScriptFunction::ToJSNative<&(CComponentManager::QueryInterface(unsigned int, int) const), &ScriptFunction::ObjectFromCBData<CComponentManager> > (cx=<optimised out>, argc=<optimised out>, vp=0x7fffff7ff518)
    at ../../../source/scriptinterface/FunctionWrapper.h:277
#8  0x00003defc66d0921 in ?? ()
#9  0x0000000000000000 in ?? ()
}}}"	defect	assigned	Must Have	Alpha 25	Core engine				
