lfnetwork.com mark read register faq members calendar

Thread: Linux Server Crash (Segmentation Fault)
Thread Tools Display Modes
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Old 04-04-2007, 02:25 AM   #1
Mantis01
Rookie
 
Mantis01's Avatar
 
Join Date: Aug 2006
Location: Japan
Posts: 34
Linux Server Crash (Segmentation Fault)

This thread is branch from,
http://lucasforums.com/showthread.php?t=174838

And bug trac ticket is in,
https://opensvn.csie.org/traccgi/ojp/ticket/218

to Razor,
I had tracked this critical bug.
Following reporting,

Quote:
Originally Posted by razorace
I'm still working on getting the MeatGrinder to work. *shakes fist* Based on my qconsole.log output. It looks like there's a problem with the ROFF system and this is causing a system crash at game shutdown.

Are you getting something like a "Can't load ROFF file (null)" error?
I overlooked it.
In 0.0.9t(from compiled "LatestOJPEnhancedBeta.zip"), I'm getting spam error "Can't load ROFF file (null)" and finally crashed.
But that error occurs in only map mp/ffa4 and mp/ffa5.
Error does not occur in map mp/ffa1,2, and 3 without server crash.
Any idea?


________________
Mantis

Last edited by Mantis01; 04-04-2007 at 02:41 AM.
Mantis01 is offline   you may: quote & reply,
Old 04-04-2007, 02:43 AM   #2
razorace
Impressive, Terran!
 
razorace's Avatar
 
Join Date: May 2002
Posts: 9,172
Very interesting. Did you happen to get the qconsole.log of the resulting crash?


---Jedi Guardian of the Newbie Questions
---Masters of the Force Team Leader / Creator
---Open Jedi Project Lead Moderator / Co-Founder
razorace is offline   you may: quote & reply,
Old 04-04-2007, 03:16 AM   #3
Mantis01
Rookie
 
Mantis01's Avatar
 
Join Date: Aug 2006
Location: Japan
Posts: 34
Quote:
Originally Posted by razorace
Very interesting. Did you happen to get the qconsole.log of the resulting crash?
Very thanks for your quick reply.
This bug is always happen in my environment.
Following log is "g_log" output (I dunno "qconsole.log").

Quote:
5:16 InitGame: \version\JAmp: v1.0.1.1 linux-i386 Nov 10 2003\dmflags\0\fraglimit\40\timelimit\5\capturelim it\0\g_maxHolocronCarry\3\g_privateDuel\1\g_saberL ocking\1\g_maxForceRan
k\6\duel_fraglimit\10\g_forceBasedTeams\0\g_duelWe aponDisable\1\g_gametype\0\g_needpass\0\protocol\2 6\mapname\mp/ffa5\sv_privateClients\0\sv_hostname\Test Server\sv_maxclients\8\sv_
maxRate\10000\sv_minPing\0\sv_maxPing\0\sv_floodPr otect\1\sv_fps\20\sv_allowDownload\0\bot_minplayer s\8\g_MaxGameClients\16\g_debugMelee\0\g_stepSlide Fix\1\g_noSpecMove\0\gamename\O
JP Enhanced v0.0.9t\g_jediVmerc\0\g_allowNPC\1\g_saberDamageSc ale\1\g_saberanimspeed\1\g_forceRegenTime\500\g_do dgeRegenTime\1000\g_forcePowerDisable\0\g_weaponDi sable\0\g_siegeResp
awn\20\g_saberWallDamageScale\0.4\g_siegeTeamSwitc h\1\bg_fighterAltControl\0\g_siegeTeam1\none\g_sie geTeam2\none\g_showDuelHealths\0\g_minHumans\2\g_m axBots\1\g_allowBotLimit\0\ojp_
skipcutscenes\0\ojp_allowBodyDodge\1
5:16 ClientConnect: 0
5:16 *****Spawning Bot BrokenTrojan^7*****
5:16 ClientBegin: 0
5:16 ClientConnect: 1
5:16 *****Spawning Bot ^6Da^6Hack^7*****
5:16 ClientBegin: 1
5:16 ClientConnect: 2
5:16 *****Spawning Bot ^1Angry^6Woman^7*****
5:16 ClientBegin: 2
5:16 ClientConnect: 3
5:16 *****Spawning Bot ^1NeedySith^7*****
5:16 ClientBegin: 3
5:16 ClientConnect: 4
5:16 *****Spawning Bot ^5Jedi^5Battlemaster^7*****
5:16 ClientBegin: 4
5:16 ClientConnect: 5
5:16 *****Spawning Bot ^2Running^1Fist^7*****
5:16 ClientBegin: 5
5:16 ClientConnect: 6
5:16 *****Spawning Bot ^2Looser^6Attacker^7*****
5:16 ClientBegin: 6
5:16 ClientConnect: 7
5:16 *****Spawning Bot ^5MissRaven^7*****
5:16 ClientBegin: 7
5:34 -8<------- Crash Information ------->8-
5:34 Please forward to the OJP team.
5:34 ---------------------------------------
5:34 Version: OJP Enhanced v0.0.9t Linux
5:34 Build Date: Apr 1 2007 5:34 Build Time: 12:45:11 5:34 Map: mp/ffa5
5:34 Signal: Segmentation fault (11)
5:34 Siginfo: 0xbfd300cc
5:34 Code: 1
5:34 Faulting Memory Ref/Instruction: 0xc4c30f60
5:34 DSO Information:
5:34 0xb7f52000 /lib/libdl.so.2
5:34 0xb7f2d000 /lib/tls/libm.so.6
5:34 0xb7f25000 /usr/lib/libcxa.so.1
5:34 0xb7def000 /lib/tls/libc.so.6
5:34 0xb7f5b000 /lib/ld-linux.so.2
5:34 0xb7c8e000 /lib/libnss_files.so.2
5:34 0xb5e35000 /home/jampd/ojpenhanced/jampgamei386.so
5:34 Stack frames: 12 entries
5:34 Backtrace:
5:34 (1) /home/jampd/ojpenhanced/jampgamei386.so(Touch_PlatCenterTrigger+0x27) [0xb5f583d7]
5:34 (2) [0xb7f5a440]
5:34 (3) /home/jampd/ojpenhanced/jampgamei386.so(G_TouchTriggers+0x274) [0xb5f19824]
5:34 (4) /home/jampd/ojpenhanced/jampgamei386.so(ClientThink_real+0x1719) [0xb5f1d1e9]
5:34 (5) /home/jampd/ojpenhanced/jampgamei386.so(G_RunClient+0x48) [0xb5f1f548]
5:34 (6) /home/jampd/ojpenhanced/jampgamei386.so(G_RunFrame+0x89a) [0xb5f4bc7a]
5:34 (7) /home/jampd/ojpenhanced/jampgamei386.so(vmMain+0xc4) [0xb5f46b84]
5:34 (8) ./linuxjampded [0x8088d43]
5:34 (9) ./linuxjampded [0x80579f4]
5:34 (10) ./linuxjampded [0x8075047]
5:34 (11) ./linuxjampded [0x80c5abe]
5:34 (12) /lib/tls/libc.so.6(__libc_start_main+0xe7) [0xb7e03f47]
5:34 -8<--------------------------------->8-

5:34 Attempting to clean up.
5:34 ShutdownGame:
5:34 ------------------------------------------------------------


________________
Mantis
Mantis01 is offline   you may: quote & reply,
Old 04-04-2007, 03:33 AM   #4
ensiform
The Stig
 
ensiform's Avatar
 
Join Date: Nov 2004
Location: Sawtooth Cauldron
Posts: 1,241
Current Game: Borderlands 2
What ver of glibc does ur server use?


iojamp project lead / coder
ensiform is offline   you may: quote & reply,
Old 04-04-2007, 03:47 AM   #5
Mantis01
Rookie
 
Mantis01's Avatar
 
Join Date: Aug 2006
Location: Japan
Posts: 34
Quote:
Originally Posted by ensiform
What ver of glibc does ur server use?
I have two or more environments.
gcc is v.3.4.6 in present server, but I have never built the binary due to this bug,
Quote:
Originally Posted by Mantis01
In 0.0.9t(from compiled "LatestOJPEnhancedBeta.zip"),


________________
Mantis
Mantis01 is offline   you may: quote & reply,
Old 04-04-2007, 12:10 PM   #6
razorace
Impressive, Terran!
 
razorace's Avatar
 
Join Date: May 2002
Posts: 9,172
Well, that last backtrace appears to have crashed in a different place than last time. I hate linux bugs!

For now, try running the game without TABBots on the same maps.


---Jedi Guardian of the Newbie Questions
---Masters of the Force Team Leader / Creator
---Open Jedi Project Lead Moderator / Co-Founder
razorace is offline   you may: quote & reply,
Old 04-04-2007, 11:18 PM   #7
Mantis01
Rookie
 
Mantis01's Avatar
 
Join Date: Aug 2006
Location: Japan
Posts: 34
Quote:
Originally Posted by razorace
Well, that last backtrace appears to have crashed in a different place than last time. I hate linux bugs!

For now, try running the game without TABBots on the same maps.
I don't know the reason that server crash is linux bugs or OJP code.
Isn't there problem in C++ pointer ?

Okay, I will try running without TABBots.
Let me know how to disable TABBots (in cvar ?).


________________
Mantis
Mantis01 is offline   you may: quote & reply,
Old 04-04-2007, 11:44 PM   #8
Mantis01
Rookie
 
Mantis01's Avatar
 
Join Date: Aug 2006
Location: Japan
Posts: 34
And I noticed my server don't output Warning Message with 0.0.9t official beta binary.
Warning message is "Crap! The last entry scanner in RemoveFirstOpenList?() totally failed."
https://opensvn.csie.org/traccgi/ojp/ticket/202


________________
Mantis
Mantis01 is offline   you may: quote & reply,
Old 04-05-2007, 12:02 PM   #9
razorace
Impressive, Terran!
 
razorace's Avatar
 
Join Date: May 2002
Posts: 9,172
Since that bug is nearly impossible to get you probably got that bug during a bad compile. Linux seems to screw up .so compiles sometimes.


---Jedi Guardian of the Newbie Questions
---Masters of the Force Team Leader / Creator
---Open Jedi Project Lead Moderator / Co-Founder
razorace is offline   you may: quote & reply,
Old 04-07-2007, 09:51 PM   #10
ensiform
The Stig
 
ensiform's Avatar
 
Join Date: Nov 2004
Location: Sawtooth Cauldron
Posts: 1,241
Current Game: Borderlands 2
Btw Mantis, gcc and glibc are not the same thing. glibc is a set of shared libraries and gcc is ur compiler.

Actually razor, that bug would occur for dumbledore quite often when he compiled my mod with TABBots, so we just commented it out... And it was all latest same code of TAB. I don't know if it occurs anymore though. And the TABBots spam all hell when a map doesn't have any waypoints. Such as most custom siege maps. (Different message though as I recall; but I don't remember what it was.) I don't see it mostly now though because I changed most of my bot messages to G_DPrintf (G_Printf but only when developer is set to 1 on server)


iojamp project lead / coder
ensiform is offline   you may: quote & reply,
Old 04-07-2007, 10:18 PM   #11
razorace
Impressive, Terran!
 
razorace's Avatar
 
Join Date: May 2002
Posts: 9,172
Yeah, the cause seems to have been one of the changes in the TABBot code. Still trying to figure it out.


---Jedi Guardian of the Newbie Questions
---Masters of the Force Team Leader / Creator
---Open Jedi Project Lead Moderator / Co-Founder
razorace is offline   you may: quote & reply,
Old 04-08-2007, 07:05 AM   #12
Mantis01
Rookie
 
Mantis01's Avatar
 
Join Date: Aug 2006
Location: Japan
Posts: 34
Quote:
Originally Posted by ensiform
Btw Mantis, gcc and glibc are not the same thing. glibc is a set of shared libraries and gcc is ur compiler.
Oops, you right.
Glibc version is 2.3.6 in my present environment.


________________
Mantis
Mantis01 is offline   you may: quote & reply,
Old 04-11-2007, 12:06 AM   #13
razorace
Impressive, Terran!
 
razorace's Avatar
 
Join Date: May 2002
Posts: 9,172
It looks like Linux instability is due to the use of TABBots. If you want to improve your stability, turn off the TABBots until I can figure out a fix.


---Jedi Guardian of the Newbie Questions
---Masters of the Force Team Leader / Creator
---Open Jedi Project Lead Moderator / Co-Founder
razorace is offline   you may: quote & reply,
Old 04-11-2007, 06:48 AM   #14
Mantis01
Rookie
 
Mantis01's Avatar
 
Join Date: Aug 2006
Location: Japan
Posts: 34
Quote:
Originally Posted by razorace
It looks like Linux instability is due to the use of TABBots. If you want to improve your stability, turn off the TABBots until I can figure out a fix.
Good.
I'll do it, my master.
I can't wait the fix.


________________
Mantis
Mantis01 is offline   you may: quote & reply,
Old 08-01-2013, 07:37 PM   #15
Sr. Canseco
Lurker
 
Join Date: Aug 2013
Posts: 5
Hello, i make a tutorial to fix this.

http://jkhub.org/tutorials/article/1...-linux-server/

This forum lives?
Sr. Canseco is offline   you may: quote & reply,
Old 02-05-2014, 07:59 PM   #16
razorace
Impressive, Terran!
 
razorace's Avatar
 
Join Date: May 2002
Posts: 9,172
The forum lives (kind of). I still lurk here if my email spam filter doesn't kill my subscription emails.


---Jedi Guardian of the Newbie Questions
---Masters of the Force Team Leader / Creator
---Open Jedi Project Lead Moderator / Co-Founder
razorace is offline   you may: quote & reply,
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Go Back   LucasForums > Network > JediKnight Series > Community > Hosted Forums > Open Jedi Project (OJP) > Linux Server Crash (Segmentation Fault)

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 03:30 PM.

LFNetwork, LLC ©2002-2011 - All rights reserved.
Powered by vBulletin®
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.