Jump to content

Home

Linux Server Crash (Segmentation Fault)


Mantis01

Recommended Posts

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,

 

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?

Link to comment
Share on other sites

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").

 

5:16 InitGame: \version\JAmp: v1.0.1.1 linux-i386 Nov 10 2003\dmflags\0\fraglimit\40\timelimit\5\capturelimit\0\g_maxHolocronCarry\3\g_privateDuel\1\g_saberLocking\1\g_maxForceRan

k\6\duel_fraglimit\10\g_forceBasedTeams\0\g_duelWeaponDisable\1\g_gametype\0\g_needpass\0\protocol\26\mapname\mp/ffa5\sv_privateClients\0\sv_hostname\Test Server\sv_maxclients\8\sv_

maxRate\10000\sv_minPing\0\sv_maxPing\0\sv_floodProtect\1\sv_fps\20\sv_allowDownload\0\bot_minplayers\8\g_MaxGameClients\16\g_debugMelee\0\g_stepSlideFix\1\g_noSpecMove\0\gamename\O

JP Enhanced v0.0.9t\g_jediVmerc\0\g_allowNPC\1\g_saberDamageScale\1\g_saberanimspeed\1\g_forceRegenTime\500\g_dodgeRegenTime\1000\g_forcePowerDisable\0\g_weaponDisable\0\g_siegeResp

awn\20\g_saberWallDamageScale\0.4\g_siegeTeamSwitch\1\bg_fighterAltControl\0\g_siegeTeam1\none\g_siegeTeam2\none\g_showDuelHealths\0\g_minHumans\2\g_maxBots\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 ------------------------------------------------------------

Link to comment
Share on other sites

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 ?).

Link to comment
Share on other sites

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)

Link to comment
Share on other sites

  • 6 years later...
  • 6 months later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...