In AddWatcherToEntity, pEntity->CreateDataObject seems to return NULL,
causing a segfault on pList->Init.Set a breakpoint just in this line and
then go step by step until something bogus happens. Hopefully you can figure
it out - and if not you can at least pin-point the problem.

On Wed, Jul 15, 2009 at 5:24 AM, atomy <[email protected]> wrote:

> hey,
>
> i've ported over my mod from ep1 to orangebox, now i'm kinda stuck on a
> problem:
> After loading a map the linux server is crashing in 80% of the times, in
> some rare cases its starting up and working afterwards.
>
> That's the backtrace i got, sometimes its crashing in other locations
> but most of the crashes happen in physics_main_shared, anyone has an idea?
>
> thanks,
> atomy
>
>
> backtrace:
>
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 0xb7e6c950 (LWP 31791)]
> 0xb596719a in CWatcherList::Init (this=0x0)
>    at ../game/server/../shared/physics_main_shared.cpp:272
> 272     ../game/server/../shared/physics_main_shared.cpp: No such file
> or directory.
>        in ../game/server/../shared/physics_main_shared.cpp
> (gdb) bt
> #0  0xb596719a in CWatcherList::Init (this=0x0)
>    at ../game/server/../shared/physics_main_shared.cpp:272
> #1  0xb59675df in AddWatcherToEntity (pWatcher=0x938f478,
> pEntity=0x938f7e0,
>    watcherType=4) at ../game/server/../shared/physics_main_shared.cpp:382
> #2  0xb596764a in WatchPositionChanges (pWatcher=0x938f478,
>    pMovingEntity=0x938f7e0)
>    at ../game/server/../shared/physics_main_shared.cpp:399
> #3  0xb5832f4a in CRopeKeyframe::EndpointsChanged (this=0x938f478)
>    at ../game/server/rope.cpp:393
> #4  0xb583255f in CRopeKeyframe::SetAttachmentPoint (this=0x938f478,
>    houte...@0x938f7d0, ioutattachme...@0x938f7d6, pEnt=0x938f7e0,
>    iAttachment=0) at ../game/server/rope.cpp:149
> #5  0xb5832600 in CRopeKeyframe::SetEndPoint (this=0x938f478,
>    pEndPoint=0x938f7e0, attachment=0) at ../game/server/rope.cpp:160
> #6  0xb5832ddc in CRopeKeyframe::Activate (this=0x938f478)
>    at ../game/server/rope.cpp:350
> #7  0xb574240f in CServerGameDLL::ServerActivate (this=0xb5dde5e8,
>    pEdictList=0xb1ec4020, edictCount=1109, clientMax=16)
>    at ../game/server/gameinterface.cpp:1045
> #8  0xb76aa64d in CServerPlugin::ServerActivate ()
>   from /opt/hl2/orangebox/bin/engine_i486.so
> #9  0xb7690d04 in SV_ActivateServer ()
>   from /opt/hl2/orangebox/bin/engine_i486.so
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>
>
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to