PDA

View Full Version : Compile/Link done .. now to deal with the segfault


cipherious
06-05-2003, 06:29 AM
Alright, got past one problem and stepped into anouther.

Got the world/zone servers compiled and booting. I can get as far as making a character, and when I try to Enter World, this happens:


Init: Loading zone lists, zone state or spawn list, player corpsesZonepoint
s loaded into memory
, timezone data - Done. ZoneID = 62; Time Offset = 0
Reading zhdr file './cfg/felwitheb.cfg'
Using database for safe coords.
Zone safe coords are x = -790; y = 320; z= -11
[Status] Loading Objects from DB...

[9] Segmentation fault ./zone . 10.10.10.10 7997 10.10.10.11


Now, I'm using the DB package I found on one of the other forums, Drawde's 1.1 final I believe, so I guess that could very well be one of the problems.

Seems like nothing but problems from me, heh.

Bigpull
06-05-2003, 02:39 PM
ulimit -c 99999
Run zone, crash zone..
gdb --core=core* ./zone
when it stops scrolling type "bt" and paste whats on screen.

As a small note make sure you "make clean" in zone after you'v built world or sharedmem lib and vv.