Author Topic: Segfault (trying to use custom map!)  (Read 830 times)

DraconumPB

  • Wayfarer
  • *
  • Posts: 1
    • View Profile
Segfault (trying to use custom map!)
« on: May 11, 2005, 06:34:30 am »
I\'m trying to use room.zip, a custom map i made in hammer and exported via map2cs.
It runs fine in walktest.

The database has been updated so that our test character exists inside the sector room, with valid coordinates from walktest. the sector is listed in the sectors table.

Zoneinfo.xml has data for our new map/sector.

The world file carries the label \'room\' for the sector. (where ... is defined).

Loading a character into this sector causes this error:

#0  0x0815e5c0 in psAuthenticationServer::SendDisconnect (this=0x849b5a8, client=0x84a7178,
    reason=0x832e4a0 \"The server could not create your character entity. (new gemActor() failed)  Please contact tech support about this.\")
    at src/server/authentserver.cpp:462
        msg = { = {static msghandler = 0x842d910, msg = 0x402b12e0, valid = 60}, actor = 1075739572,
  msgReason = {> = { = {_vptr.csStringBase = 0xbf5ff620, Data = 0x0, Size = 1076564704, MaxSize = 1,
        GrowBy = 1073938624}, minibuff = \"à\\022+@\\001\\000\\000\\000<ö_¿´ó\\031\\bèVK\\b\\000\\000\\000\\000\\\\ö_¿\\227\\020\\027\\bàUK\\b\",
      miniused = 3210737260}, }}
#1  0x081cf57e in psServer::RemovePlayer (this=0x8410140, clientnum=2923544,
    reason=0x832e4a0 \"The server could not create your character entity. (new gemActor() failed)  Please contact tech support about this.\")
    at src/server/psserver.cpp:486
        client = (Client *) 0x84a7178
        ipaddr = \"192.168.0.6\\000þR\\023@ü\\001\\000\"
        status = {> = { = {_vptr.csStringBase = 0x8322f68,
      Data = 0x846d798 \"192.168.0.6, 2923544, Client (Vengeance) removed\", Size = 48, MaxSize = 64, GrowBy = 64},
    minibuff = \"192.168.0.6, 2923544, Client (Venge\", miniused = 36}, }
#2  0x0818a75a in EntityManager::CreatePlayer (this=0x844a0f0, client=0x84a7178) at src/server/entitymanager.cpp:194
        filename = {> = { = {_vptr.csStringBase = 0x8322f68,
      Data = 0x853c0a8 \"/planeshift/models/stonebm/stonebm.cal3d\", Size = 40, MaxSize = 64, GrowBy = 64},
    minibuff = \"/planeshift/models/stonebm/stonebm.\", miniused = 36}, }
        chardata = (class psCharacter *) 0x4137800c
        raceinfo = (psRaceInfo *) 0x8421720
        pos = {x = 7.21999979, y = -14.5100002, z = -27.5}
        yrot = 1.27999997
        sectorinfo = (psSectorInfo *) 0x841a0f0
        sector = (class iSector *) 0x84986d4
        actor = (class gemActor *) 0x84b55e0
#3  0x0818b823 in EntityManager::HandleWorld (this=0x844a0f0, me=0x842a308) at src/server/entitymanager.cpp:507
        client = (Client *) 0x84a7178
        pos = {x = 5.81364608e-34, y = 5.91091824e-34, z = -0.874889135}
        yrot = 6.09205457e-34
        isector = (iSector *) 0xbf5ff87c
        mesg = { = {static msghandler = 0x842d910, msg = 0x84a7178, valid = 224},
  sector = {> = { = {_vptr.csStringBase = 0xbf5ff82c, Data = 0x81491b4 \"ÉÃU\\211å\\213E\\b\\213\",
        Size = 138592456, MaxSize = 138592304, GrowBy = 3210737788},
      minibuff = \"°;\\027\\bTø_¿\\210ø_¿Pø_¿\\204ø_¿`\\t\\003@°½\\002@xqJ\\b\\000\\000\\000\", miniused = 138592456}, }}
#4  0x0818b4e3 in EntityManager::HandleMessage (this=0x844a0f0, me=0x842a308, client=0x84a7178) at src/server/entitymanager.cpp:436
No locals.
#5  0x08266ab8 in MsgHandler::Publish (this=0x842d910, me=0x842a308) at src/common/net/msghandler.cpp:97
        client = (class Client *) 0x84a7178
        x = 25
        lock = {mutex = 0x842aa60}
        handled = false
#6  0x08272d78 in EventManager::Run (this=0x842d910) at src/common/util/eventmanager.cpp:154
        start = 62376
        timeTaken = 1
        now = 62267
        timeout = 250
        status = {> = { = {_vptr.csStringBase = 0x8322f68, Data = 0x0, Size = 0, MaxSize = 0, GrowBy = 64},
---Type to continue, or q to quit---
    minibuff = \'\\0\' , miniused = 0}, }
        eventtimes = {1, 103, 1, 1, 4294967295 , 0 }
        index = 4
        eventtimesTotal = 106
        logcsv = (LogCSV *) 0x8413090
        filled = false
        msg = {obj = 0x842a308}
        nextEvent = 62517
        lock = {mutex = 0xffffffff}
#7  0x082bf476 in csPosixThread::ThreadRun (param=0x84313f0) at libs/csutil/generic/cspthrd.cpp:476
        thread = (csPosixThread *) 0x84313f0
#8  0x4002ce51 in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
#9  0x4002cecf in pthread_start_thread_event () from /lib/libpthread.so.0
No symbol table info available.
#10 0x4025f92a in clone () from /lib/libc.so.6
No symbol table info available.

AryHann

  • Veteran
  • *
  • Posts: 1244
  • WonderWoman
    • View Profile
(No subject)
« Reply #1 on: May 11, 2005, 08:18:41 am »
Did you create a new character in the account of Vengeance?

If yes, you have to update the table with the race information and modifying the sector and position of the starting position.

If not, I have yet to understood that data ;-)

Ary
AryHann

http://www.reflex.lth.se/culture/annelov - Virtual Annelöv -
Engine Dep. - One of Talad's Angels - Aka ww & Ahrijani's Goddess

tangerine

  • Hydlaa Resident
  • *
  • Posts: 192
    • View Profile
(No subject)
« Reply #2 on: May 11, 2005, 07:39:31 pm »
put a breakpoint to constructor of gemActor class (in src/server/gem.cpp) and trace it to see where it fails