<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16525" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Looks 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.</FONT></DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=clint@magicalspirits.net href="mailto:clint@magicalspirits.net">Clint
Goudie-Nice</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=ut3@icculus.org
href="mailto:ut3@icculus.org">ut3@icculus.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, October 15, 2007 8:35
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> RE: [ut3] My linux server
segfaults as soon as the world is loaded</DIV>
<DIV><BR></DIV>
<DIV><SPAN class=783502803-16102007><FONT face=Arial color=#0000ff size=2>A
couple more nuggets of info. I tried running with the NX bit turned off. Also,
I straced the app (tail of log below)</FONT></SPAN></DIV>
<DIV><SPAN class=783502803-16102007><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=783502803-16102007></SPAN> </DIV>
<DIV><SPAN class=783502803-16102007><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=783502803-16102007><FONT face=Arial color=#0000ff
size=2>write(2, "Log: Bringing World DM-ShangriLa"..., 82Log: Bringing World
DM-ShangriLa.TheWorld up for play (30) at 2007.10.15-21.24.10<BR>) =
82<BR>gettimeofday({1192505050, 485658}, NULL) = 0<BR>socket(PF_INET,
SOCK_STREAM, IPPROTO_IP) = 21<BR>ioctl(21, FIONBIO,
[1])
= 0<BR>bind(21, {sa_family=AF_INET, sin_port=htons(0),
sin_addr=inet_addr("0.0.0.0")}, 16) = 0<BR>listen(21,
128)
= 0<BR>getsockname(21, {sa_family=AF_INET, sin_port=htons(43112),
sin_addr=inet_addr("0.0.0.0")}, [7541277584621830160]) = 0<BR>socket(PF_INET,
SOCK_STREAM, IPPROTO_IP) = 22<BR>ioctl(22, FIONBIO,
[1])
= 0<BR>open("/etc/hosts",
O_RDONLY) =
23<BR>fcntl64(23,
F_GETFD)
= 0<BR>fcntl64(23, F_SETFD,
FD_CLOEXEC) = 0<BR>fstat64(0x17,
0xffd7e0c8)
= 0<BR>mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0x1000) = 0xfffffffff7ff7000<BR>read(23, "# Do not remove the following
li"..., 4096) = 180<BR>read(23, "",
4096)
=
0<BR>close(23)
= 0<BR>munmap(0xf7ff7000,
4096)
= 0<BR>socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 23<BR>connect(23,
{sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("127.0.0.1")}, 28)
= 0<BR>fcntl64(23,
F_GETFL)
= 0x2 (flags O_RDWR)<BR>fcntl64(23, F_SETFL, O_RDWR|O_NONBLOCK) =
0<BR>gettimeofday({1192505050, 496336}, NULL) = 0<BR>poll([{fd=23,
events=POLLOUT, revents=POLLOUT}], 1, 0) = 1<BR>send(23,
"\236y\1\0\0\1\0\0\0\0\0\0\4gpcm\7gamespy\3com\0\0\1"..., 34, MSG_NOSIGNAL) =
34<BR>poll([{fd=23, events=POLLIN, revents=POLLIN}], 1, 5000) = 1<BR>ioctl(23,
FIONREAD,
[345])
= 0<BR>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<BR>close(23)
= 0<BR>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)<BR>--- SIGSEGV (Segmentation fault) @ 0 (0) ---<BR>+++ killed by
SIGSEGV +++<BR></FONT></SPAN></DIV>
<DIV><SPAN class=783502803-16102007><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT
face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> Clint
Goudie-Nice [mailto:clint@magicalspirits.net] <BR><B>Sent:</B> Monday,
October 15, 2007 8:33 PM<BR><B>To:</B> ut3@icculus.org<BR><B>Subject:</B>
[ut3] My linux server segfaults as soon as the world is
loaded<BR><BR></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=380182202-16102007>Heya all, no
matter what tweaking I do, my server segfaults as soon as it starts
up.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=380182202-16102007></SPAN></FONT><FONT face=Arial
size=2></FONT> </DIV>
<DIV><SPAN class=380182202-16102007><FONT face=Arial size=2>Here's a sample
of the line I'm using to launch it:</FONT></SPAN></DIV>
<DIV><SPAN class=380182202-16102007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><FONT face=Arial size=2>./ut3demo Server
DM-ShangriLa?GameMode=5?MaxPlayers=32?MinNetPlayers=1?bShouldAdvertise=True?bIsLanMatch=False?bIsDedicated=True?Port=7877?GoalScore=5?TimeLimit=10?AdminPassword=<SPAN
class=380182202-16102007><somepassword></SPAN> -nohomedir
-login=DisastrousConsequences.com -password=<SPAN
class=380182202-16102007><somepassword></SPAN>
-unattended</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><SPAN class=380182202-16102007><FONT face=Arial size=2>I do see a
couple errors in the logs:</FONT></SPAN></DIV>
<DIV><SPAN class=380182202-16102007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=380182202-16102007><FONT face=Arial size=2>> SpeedTreeRT
Error: CSpeedTreeRT::LoadTree(Memory block) - threw an unknown system
exception</FONT></SPAN></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN class=380182202-16102007>>
</SPAN>DevPhysics: Error (1) in file
/home/icculus/projects/novodex-Icculus/novodex/SDKs/Physics/src/NpScene.cpp,
line 712: Scene::createCompartment(): desc.isValid() fails!<BR><SPAN
class=380182202-16102007>> </SPAN>DevPhysics: Error (1) in file
/home/icculus/projects/novodex-Icculus/novodex/SDKs/Physics/src/NpScene.cpp,
line 712: Scene::createCompartment(): desc.isValid()
fails!<BR></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN class=380182202-16102007>>
</SPAN>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<SPAN class=380182202-16102007>
</SPAN>165.000262 ms<BR><SPAN class=380182202-16102007>>
</SPAN>PerfWarning: NxActor Creation: 94.458090 ms</FONT></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><SPAN class=380182202-16102007><FONT face=Arial size=2>The last line I
see before the server stops running is:</FONT></SPAN><BR><FONT
face=Arial><FONT size=2><SPAN class=380182202-16102007>> </SPAN>Log:
Bringing World DM-ShangriLa.TheWorld up for play (30) at
2007.10.15-20.25.36</FONT></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT size=+0><SPAN class=380182202-16102007><FONT face=Arial size=2>I
dont get any additional errors in the console. It just stops running. In my
/var/log/messages I see this however:</FONT></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=380182202-16102007>> Oct 15
20:25:36 thalia kernel: ut3demo-bin[9260]: segfault at 000000006f632e77 rip
00000000f7eee01b rsp 00000000ffdacd00 error 4</SPAN></FONT></DIV>
<DIV><FONT size=+0><SPAN class=380182202-16102007><FONT face=Arial
size=2></FONT></SPAN></FONT> </DIV>
<DIV><FONT size=+0><SPAN class=380182202-16102007><FONT face=Arial
size=2>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</FONT></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=380182202-16102007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=380182202-16102007>Am I missing
some essential dependency?</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=380182202-16102007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=380182202-16102007>Thanks for the
help!</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=380182202-16102007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=380182202-16102007>Clinton
Goudie-Nice / TheDruidXpawX</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=380182202-16102007><A
href="http://www.disastrousconsequences.com">www.disastrousconsequencescom</A></SPAN></FONT><FONT
size=+0></DIV></BLOCKQUOTE></BLOCKQUOTE></FONT></BODY></HTML>