<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Message</TITLE>

<META content="MSHTML 6.00.2800.1601" name=GENERATOR></HEAD>
<BODY>
<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>&nbsp;</DIV>
<DIV><SPAN class=783502803-16102007></SPAN>&nbsp;</DIV>
<DIV><SPAN class=783502803-16102007><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</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])&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
= 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)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
= 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])&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
= 0<BR>open("/etc/hosts", 
O_RDONLY)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 
23<BR>fcntl64(23, 
F_GETFD)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
= 0<BR>fcntl64(23, F_SETFD, 
FD_CLOEXEC)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 0<BR>fstat64(0x17, 
0xffd7e0c8)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
= 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)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 

0<BR>close(23)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
= 0<BR>munmap(0xf7ff7000, 
4096)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
= 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)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
= 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])&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
= 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)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
= 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>&nbsp;</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>&nbsp;</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>&nbsp;</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>&lt;somepassword&gt;</SPAN> -nohomedir 
  -login=DisastrousConsequences.com -password=<SPAN 
  class=380182202-16102007>&lt;somepassword&gt;</SPAN> -unattended</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</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>&nbsp;</DIV>
  <DIV><SPAN class=380182202-16102007><FONT face=Arial size=2>&gt; SpeedTreeRT 
  Error: CSpeedTreeRT::LoadTree(Memory block) - threw an unknown system 
  exception</FONT></SPAN></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial><FONT size=2><SPAN class=380182202-16102007>&gt; 
  </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>&gt; </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>&gt; 
  </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>&gt; </SPAN>PerfWarning: NxActor 
  Creation: 94.458090 ms</FONT></FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</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>&gt; </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>&nbsp;</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>&gt; 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>&nbsp;</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>&nbsp;</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>&nbsp;</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>&nbsp;</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.disastrousconsequences.com</A></SPAN></FONT><FONT 
  size=+0></DIV></BLOCKQUOTE></FONT></BODY></HTML>