Author Topic: Client won't start  (Read 814 times)

champi

  • Wayfarer
  • *
  • Posts: 4
    • View Profile
Client won't start
« on: January 08, 2005, 10:53:21 pm »
I updated my linux client from CVS, in order to reconfigure the game to use the new renderer. Everything compiled fine.
But when I start the client I get the loading screen the it crashe after about 1 second.
The output is (with GDB infos):

ParseFile:
  Could not find file: /this/data/options/entityinter.xml

planeshift.application.client:
  psEngine initialized.
Creating psnetconnection 85d7b48!
plugins/stdphyslayer/pl.cpp:654: failed assertion \'(idx != csArrayItemNotFound) && idx < bl_list.Length ()\'

Program received signal SIGTRAP, Trace/breakpoint trap.
[Switching to Thread 1076360800 (LWP 27751)]
celPlLayer::GetBehaviourLayer (this=0x453128c0, idx=141856704)
    at plugins/stdphyslayer/pl.cpp:655
655       iCelBlLayer* bl = bl_list[idx];

tangerine

  • Hydlaa Resident
  • *
  • Posts: 192
    • View Profile
(No subject)
« Reply #1 on: January 08, 2005, 11:10:00 pm »
the ParseFile thing is harmless

try to post output of \"bt full\" in gdb

champi

  • Wayfarer
  • *
  • Posts: 4
    • View Profile
(No subject)
« Reply #2 on: January 08, 2005, 11:29:55 pm »
I hope this helps (\"bt full\" output after client crash):

(gdb) bt full
#0  celPlLayer::GetBehaviourLayer (this=0x44612770, idx=141629184)
    at plugins/stdphyslayer/pl.cpp:655
        bl = (struct iCelBlLayer *) 0x841b390
#1  0x08218b05 in CelBase::LoadTexture (this=0x860f750,
    txtName=0x87333ec \"broadsword01a.png\",
    fileName=0x87305e8 \"/planeshift/weapons/broadsword01a.png\")
    at src/common/engine/celbase.cpp:163
        g3d = {obj = 0x83cf4b0}
        tm = (class iTextureManager *) 0x84e38e0
        txt = (class iTextureWrapper *) 0x8711700
        mat = (class iMaterialWrapper *) 0x83b56b0
#2  0x08218f0e in CelBase::LoadTextureDir (this=0x860f750,
    dir=0x834025f \"/planeshift/weapons/\") at src/common/engine/celbase.cpp:198
        filename = 0x87305e8 \"/planeshift/weapons/broadsword01a.png\"
        name = 0x87333d8 \"/planeshift/weapons/broadsword01a.png\"
        onlyname = 0x87333ec \"broadsword01a.png\"
        i = 0
        vfs = {obj = 0x83d9c38}
        xpath = {obj = 0x87306c8}
        files = {obj = 0x8725300}
#3  0x08219051 in CelBase::LoadTextures (this=0x860f750)
    at src/common/engine/celbase.cpp:215
No locals.
#4  0x08160a3a in psCelClient::Initialize (this=0x860f750, object_reg=0x83ba1c8,
    newmsghandler=0x85d7590, modehndlr=0x860f7e8, zonehndlr=0x44665680)
    at src/client/pscelclient.cpp:160
No locals.
#5  0x08122ce9 in psEngine::Initialize (this=0x852b488, level=1)
    at src/client/psengine.cpp:440
        __FUNCTION__ = \"Initialize\"
#6  0x081d84af in pawsSplashWindow::Draw (this=0x857cc48)
    at src/client/gui/pawssplashwindow.cpp:64
        soundmanager = {obj = 0x841f6b0}
#7  0x082559cd in pawsWidget::DrawChildren (this=0x855d048)
    at src/common/paws/pawswidget.cpp:1064
        x = 0
#8  0x0822c344 in PawsManager::Draw (this=0x852eb28)
    at src/common/paws/pawsmanager.cpp:385
No locals.
#9  0x081248d7 in psEngine::HandleEvent (this=0x852b488, ev=@0x83d6520)
    at src/client/psengine.cpp:682
        loading = (class pawsWidget *) 0x0
---Type to continue, or q to quit---
        count = 407
        drawFrame = true
#10 0x08130b94 in psEngine::EventHandler::HandleEvent (this=0x852fc38, ev=@0x83d6520)
    at psengine.h:195
No locals.
#11 0x082fef0c in csEventQueue::Notify (this=0x83e81b0, pseudo_event=9)
    at libs/csutil/cseventq.cpp:219
        listener = (const csEventQueue::Listener &) @0x83d8c68: {object = 0x852fc38,
  trigger = 3103}
        i = 12
        e = {obj = 0x83d6520}
#12 0x082ff028 in csEventQueue::Process (this=0x83e81b0) at libs/csutil/cseventq.cpp:235
        ev = {obj = 0x0}
#13 0x08313c11 in csDefaultRunLoop (r=0x83ba1c8) at libs/csutil/generic/runloop.cpp:81
        q = {obj = 0x83e81b0}
        vc = {obj = 0x83bb780}
        eh = { = { = {_vptr.iBase = 0x83b4cc8}, },
  shutdown = false, scfRefCount = 2, scfWeakRefOwners = 0x0, scfParent = 0x0}
#14 0x0812a433 in main (argc=1, argv=0xbffff4f4) at src/client/psengine.cpp:1640
        CSSetup = (psCSSetup *) 0x83b6008
        object_reg = (class iObjectRegistry *) 0x83ba1c8
« Last Edit: January 08, 2005, 11:33:59 pm by champi »

champi

  • Wayfarer
  • *
  • Posts: 4
    • View Profile
(No subject)
« Reply #3 on: January 08, 2005, 11:32:32 pm »
I noticed that file \"entityinter.xml\" doesn\'t exist on my installation, and isn\'t on the update server.

tangerine

  • Hydlaa Resident
  • *
  • Posts: 192
    • View Profile
(No subject)
« Reply #4 on: January 09, 2005, 12:41:08 am »
I added the file now, but it was not necessary.

Your bt is weird because CelBase::LoadTexture never calls celPlLayer::GetBehaviourLayer. This hints that you might be linking with outdated CEL binaries. I suggest that you rebuild CEL and PS from scratch i.e. issue \"jam clean\" and \"jam\" for both.

champi

  • Wayfarer
  • *
  • Posts: 4
    • View Profile
(No subject)
« Reply #5 on: January 09, 2005, 01:09:16 am »
Thanks a lot for your help :)

I made a \"jam clean\" on both and it now works !