[Bf-committers] Skategirl crash

Ton Roosendaal bf-committers@blender.org
Sat, 31 Jul 2004 11:12:41 +0200


Hi,

<blush> yes it was the DUSE_SUMO_SOLID :)

My nan.compile.mk looked like this;

# Uncomment next line to enable integrated game engine
CFLAGS  += -DGAMEBLENDER=1
#CFLAGS  += -DUSE_SUMO_SOLID
#CCFLAGS += -DUSE_SUMO_SOLID

Got confused by the comment... ;)

Now skategirl runs again, but she's still not in full motion. Compare  
it to the 2.25 version, where she also swings around her arms. This is  
confirmed by Jean-Luc. :)

-Ton-


On Saturday, Jul 31, 2004, at 03:53 Europe/Amsterdam, Kester Maddock  
wrote:

> Hi Ton,
>
> This is strange - are you sure -DUSE_SUMO_SOLID is used when  
> compiling?  It's
> at the top of nan_compile.mk so it should be there.
>
> It should only crash there if the physics environment doesn't exist,  
> or isn't
> a sumo environment, which is supposed to be impossible.
>
> Kester
>
> PS: I'm going skiing - I'll be back Sunday night.
>
> On Saturday 31 July 2004 05:17, Ton Roosendaal wrote:
>> Hi,
>>
>> Since Solid was changed (I think, it has 4 libs now?!) I can't get it
>> to work anymore... physics demos all crash. For skategirl here's the
>> gdb output on a debug compiled KX_RaySensor.cpp, where the crash
>> happened.
>>
>> Just today, to make sure, make clean in engine and extern dirs...
>> OSX 10.2
>>
>> Program received signal EXC_BAD_ACCESS, Could not access memory.
>> KX_RaySensor::Evaluate(CValue*) (this=0x772deb0, event=0x646fac) at
>> /bl/source/gameengine/Physics/Sumo/SumoPhysicsEnvironment.h:65
>> 65              {
>> (gdb) where
>> #0  KX_RaySensor::Evaluate(CValue*) (this=0x772deb0, event=0x646fac)  
>> at
>> /bl/source/gameengine/Physics/Sumo/SumoPhysicsEnvironment.h:65
>> #1  0x00325cb0 in SCA_ISensor::Activate(SCA_LogicManager*, CValue*) ()
>> #2  0x002d455c in KX_RayEventManager::NextFrame(double, double) ()
>> #3  0x003241b4 in SCA_LogicManager::BeginFrame(double, double) ()
>> #4  0x002c053c in KX_Scene::LogicBeginFrame(double, double) ()
>> #5  0x002bb618 in KX_KetsjiEngine::NextFrame() ()
>> #6  0x002a2ad4 in StartKetsjiShell ()
>> #7  0x0007a288 in start_game ()
>> #8  0x0007bc7c in winqreadview3dspace ()
>> #9  0x0000547c in scrarea_dispatch_events ()
>> #10 0x00006218 in screen_dispatch_events ()
>> #11 0x000068a0 in screenmain ()
>> #12 0x00003840 in main ()
>>
>> -Ton-
>>
>> ---------------------------------------------------------------------- 
>> --
>> --
>> Ton Roosendaal  Blender Foundation ton@blender.org
>> http://www.blender.org
>>
>> _______________________________________________
>> Bf-committers mailing list
>> Bf-committers@blender.org
>> http://www.blender.org/mailman/listinfo/bf-committers
>>
>>
>>
>> !DSPAM:410af71d40992110538512!
> _______________________________________________
> Bf-committers mailing list
> Bf-committers@blender.org
> http://www.blender.org/mailman/listinfo/bf-committers
>
>
------------------------------------------------------------------------ 
--
Ton Roosendaal  Blender Foundation ton@blender.org  
http://www.blender.org