[ut3] My linux server segfaults as soon as the world is loaded
Jason Wolfe
nitroxboost at hotmail.com
Mon Oct 15 23:42:44 EDT 2007
MessageLooks like it might have to do with your Gamespy ID.. Throw a bogus login and pass in with no special characters (just a few letters) and see if it starts up. You might need to do some quoting to get it working with the true ID. Is your server still advertised if you dont give a working login? BTW those devphysics errors are normal and don't seem to be related.
----- Original Message -----
From: Clint Goudie-Nice
To: ut3 at icculus.org
Sent: Monday, October 15, 2007 8:35 PM
Subject: RE: [ut3] My linux server segfaults as soon as the world is loaded
A couple more nuggets of info. I tried running with the NX bit turned off. Also, I straced the app (tail of log below)
write(2, "Log: Bringing World DM-ShangriLa"..., 82Log: Bringing World DM-ShangriLa.TheWorld up for play (30) at 2007.10.15-21.24.10
) = 82
gettimeofday({1192505050, 485658}, NULL) = 0
socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 21
ioctl(21, FIONBIO, [1]) = 0
bind(21, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16) = 0
listen(21, 128) = 0
getsockname(21, {sa_family=AF_INET, sin_port=htons(43112), sin_addr=inet_addr("0.0.0.0")}, [7541277584621830160]) = 0
socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 22
ioctl(22, FIONBIO, [1]) = 0
open("/etc/hosts", O_RDONLY) = 23
fcntl64(23, F_GETFD) = 0
fcntl64(23, F_SETFD, FD_CLOEXEC) = 0
fstat64(0x17, 0xffd7e0c8) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0x1000) = 0xfffffffff7ff7000
read(23, "# Do not remove the following li"..., 4096) = 180
read(23, "", 4096) = 0
close(23) = 0
munmap(0xf7ff7000, 4096) = 0
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 23
connect(23, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("127.0.0.1")}, 28) = 0
fcntl64(23, F_GETFL) = 0x2 (flags O_RDWR)
fcntl64(23, F_SETFL, O_RDWR|O_NONBLOCK) = 0
gettimeofday({1192505050, 496336}, NULL) = 0
poll([{fd=23, events=POLLOUT, revents=POLLOUT}], 1, 0) = 1
send(23, "\236y\1\0\0\1\0\0\0\0\0\0\4gpcm\7gamespy\3com\0\0\1"..., 34, MSG_NOSIGNAL) = 34
poll([{fd=23, events=POLLIN, revents=POLLIN}], 1, 5000) = 1
ioctl(23, FIONREAD, [345]) = 0
recvfrom(23, "\236y\201\200\0\1\0\1\0\6\0\7\4gpcm\7gamespy\3com\0\0\1"..., 1024, 0, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("127.0.0.1")}, [16]) = 345
close(23) = 0
connect(22, {sa_family=AF_INET, sin_port=htons(29900), sin_addr=inet_addr("207.38.11.34")}, 16) = -1 EINPROGRESS (Operation now in progress)
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
-----Original Message-----
From: Clint Goudie-Nice [mailto:clint at magicalspirits.net]
Sent: Monday, October 15, 2007 8:33 PM
To: ut3 at icculus.org
Subject: [ut3] My linux server segfaults as soon as the world is loaded
Heya all, no matter what tweaking I do, my server segfaults as soon as it starts up.
Here's a sample of the line I'm using to launch it:
./ut3demo Server DM-ShangriLa?GameMode=5?MaxPlayers=32?MinNetPlayers=1?bShouldAdvertise=True?bIsLanMatch=False?bIsDedicated=True?Port=7877?GoalScore=5?TimeLimit=10?AdminPassword=<somepassword> -nohomedir -login=DisastrousConsequences.com -password=<somepassword> -unattended
I do see a couple errors in the logs:
> SpeedTreeRT Error: CSpeedTreeRT::LoadTree(Memory block) - threw an unknown system exception
> DevPhysics: Error (1) in file /home/icculus/projects/novodex-Icculus/novodex/SDKs/Physics/src/NpScene.cpp, line 712: Scene::createCompartment(): desc.isValid() fails!
> DevPhysics: Error (1) in file /home/icculus/projects/novodex-Icculus/novodex/SDKs/Physics/src/NpScene.cpp, line 712: Scene::createCompartment(): desc.isValid() fails!
> PerfWarning: InstanceGeom: 24.971228 ms - 1229 Convex, Terrain 21.766181 ms, PerTriSM 3.091248 ms, InitArticulated 0.000000 ms, BodyInst Alloc 18.055916 ms, InitBody 165.000262 ms
> PerfWarning: NxActor Creation: 94.458090 ms
The last line I see before the server stops running is:
> Log: Bringing World DM-ShangriLa.TheWorld up for play (30) at 2007.10.15-20.25.36
I dont get any additional errors in the console. It just stops running. In my /var/log/messages I see this however:
> Oct 15 20:25:36 thalia kernel: ut3demo-bin[9260]: segfault at 000000006f632e77 rip 00000000f7eee01b rsp 00000000ffdacd00 error 4
This is on CentOS 5 -- Linux thalia.magicalspirits.net 2.6.18-8.1.14.el5 #1 SMP Thu Sep 27 19:05:32 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux
Am I missing some essential dependency?
Thanks for the help!
Clinton Goudie-Nice / TheDruidXpawX
www.disastrousconsequences.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://icculus.org/pipermail/ut3/attachments/20071015/a4633875/attachment.htm>
More information about the ut3
mailing list