Mantis01 Posted April 4, 2007 Share Posted April 4, 2007 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 More sharing options...
razorace Posted April 4, 2007 Share Posted April 4, 2007 Very interesting. Did you happen to get the qconsole.log of the resulting crash? Link to comment Share on other sites More sharing options...
Mantis01 Posted April 4, 2007 Author Share Posted April 4, 2007 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 More sharing options...
ensiform Posted April 4, 2007 Share Posted April 4, 2007 What ver of glibc does ur server use? Link to comment Share on other sites More sharing options...
Mantis01 Posted April 4, 2007 Author Share Posted April 4, 2007 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, In 0.0.9t(from compiled "LatestOJPEnhancedBeta.zip"), Link to comment Share on other sites More sharing options...
razorace Posted April 4, 2007 Share Posted April 4, 2007 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. Link to comment Share on other sites More sharing options...
Mantis01 Posted April 5, 2007 Author Share Posted April 5, 2007 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 More sharing options...
Mantis01 Posted April 5, 2007 Author Share Posted April 5, 2007 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 Link to comment Share on other sites More sharing options...
razorace Posted April 5, 2007 Share Posted April 5, 2007 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. Link to comment Share on other sites More sharing options...
ensiform Posted April 8, 2007 Share Posted April 8, 2007 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 More sharing options...
razorace Posted April 8, 2007 Share Posted April 8, 2007 Yeah, the cause seems to have been one of the changes in the TABBot code. Still trying to figure it out. Link to comment Share on other sites More sharing options...
Mantis01 Posted April 8, 2007 Author Share Posted April 8, 2007 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. Link to comment Share on other sites More sharing options...
razorace Posted April 11, 2007 Share Posted April 11, 2007 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. Link to comment Share on other sites More sharing options...
Mantis01 Posted April 11, 2007 Author Share Posted April 11, 2007 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. Link to comment Share on other sites More sharing options...
Sr. Canseco Posted August 1, 2013 Share Posted August 1, 2013 Hello, i make a tutorial to fix this. http://jkhub.org/tutorials/article/136-how-to-solve-the-segmentation-fault-with-jk2-linux-server/ This forum lives? Link to comment Share on other sites More sharing options...
razorace Posted February 6, 2014 Share Posted February 6, 2014 The forum lives (kind of). I still lurk here if my email spam filter doesn't kill my subscription emails. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.