Fixed Server Crashes Since 1.7: address not mapped to object

Posts
39
Likes
28
Hey guys,

I don't know if other servers are running into this too, but I've been seeing an uptick in server crashes with the message "address not mapped to object." I haven't seen it tied to any particular player activity or map, the only pattern I've noticed is that it'll happen approximately 1 minute after changing to a new map. It's not every map change but happens at least a couple times a day. Below is an example of a crash log from this. If there's any other info I can provide, just let me know!

Thanks!


===================================
JKA Movie Battles II Crash Log
===================================
Process File Name: openjkded.i386
Process ID: 18638
Signal Code: 0x0000000B
Signal Reason: address not mapped to object
Exception Address: 0xFFFFFB40

-----------------------------------
Register Dump
-----------------------------------
General Purpose & Control Registers:
EAX: 0xFFFFFB40, EBX: 0xFFFFFB40, ECX: 0xFFFFFB40
EDX: 0x00800000, EBP: 0xFFE57EB8, EDI: 0xFFFFFB44
EIP: 0xEC153036, ESI: 0xFF800000, ESP: 0xFFE57E30

-----------------------------------
Call Stack Trace
-----------------------------------
./MBII/jampgamei386.so(signal_backtrace+0x2a) [0xec7d300a]
./MBII/jampgamei386.so(Linux_PrintCallStack+0xb7) [0xec7d30e7]
./MBII/jampgamei386.so(Linux_Handler+0x2e0) [0xec7d3740]
/lib/i386-linux-gnu/libpthread.so.0(pthread_create+0x986) [0xec153036]
/lib/i386-linux-gnu/libpthread.so.0(pthread_create+0x986) [0xec153036]
/lib/i386-linux-gnu/libpthread.so.0(pthread_create+0x7c) [0xec15353c]
./MBII/jampgamei386.so(G_SendGameReport+0xd2) [0xec802302]
./MBII/jampgamei386.so(SiegeBeginRound+0x1a) [0xec756eaa]
./MBII/jampgamei386.so(SiegeCheckTimers+0x8c1) [0xec757b91]
./MBII/jampgamei386.so(G_RunFrame+0x2c5) [0xec73a395]
./MBII/jampgamei386.so(vmMain+0x50b) [0xec73d0eb]
.(+0x4cb6a) [0x565e2b6a]
.(+0x8eac6) [0x56624ac6]
.(+0x83243) [0x56619243]
.(+0x1ec82) [0x565b4c82]
.(+0x5c75) [0x5659bc75]
/lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf1) [0xf7a7ae91]
.(+0x5d01) [0x5659bd01]

-----------------------------------
JKA Information
-----------------------------------
Map: mb2_alderaan
Gametype: 7
Server Time: 104775 ms
Map Time: 104775 ms
Scores: 0 0 (Red,Blue)

Players Count: 3/32
 

Defiant

Nerd
Project Leader
Movie Battles II Team
Code Leader
Posts
1,007
Likes
1,451
Do you run RTV, if so how is it configured?
 

Defiant

Nerd
Project Leader
Movie Battles II Team
Code Leader
Posts
1,007
Likes
1,451
What is your rotation and how is it configured?
 
Posts
39
Likes
28
Oh, sure:

// Map rotation:

// Old Republic
set or1 "map mb2_enclave;set nextmap vstr or2"
set or2 "map mb2_ps_korriban;set nextmap vstr or3"
set or3 "map mb2_korriban;set nextmap vstr or4"
set or4 "map mb2_republiccruiser;set nextmap vstr or5"
set or5 "map mb2_dxun;set nextmap vstr or6"
set or6 "map mb2_corellia;set nextmap vstr or7"
set or7 "map mb2_alderaan;set nextmap vstr e11"

// Episode 1
set e11 "map mb2_tradefed;set nextmap vstr e12"
set e12 "map mb2_theed;set nextmap vstr e13"
set e13 "map mb2_dotf;set nextmap vstr e14"
set e14 "map mb2_dotf_classicb;set nextmap vstr e21"

// Episode 2
set e21 "map mb2_coruscant_chase;set nextmap vstr e22"
set e22 "map mb2_kamino;set nextmap vstr e23"
set e23 "map mb2_cmp_arena;set nextmap vstr e24"
set e24 "map mb2_cmp_geocanyons;set nextmap vstr e31"

// Episode 3
set e31 "map mb2_boc;set nextmap vstr e32"
set e32 "map mb2_rc_hangarC;set nextmap vstr e34"
set e33 "map mb2_cmp_kashyyyk;set nextmap vstr e34"
set e34 "map mb2_jeditemple;set nextmap vstr e35"
set e35 "map mb2_mygeeto;set nextmap vstr e36"
set e36 "map mb2_mustafar;set nextmap vstr ro1"

// Rogue One
set ro1 "map mb2_tatooine;set nextmap vstr ro2"
set ro2 "map mb2_lunarbase;set nextmap vstr ro3"
set ro3 "map mb2_scarif;set nextmap vstr ro4"
set ro4 "map mb2_citadel;set nextmap vstr e41"

// Episode 4
set e41 "map mb2_tantiveIV;set nextmap vstr e42"
set e42 "map mb2_deathstar;set nextmap vstr e51"

// Episode 5
set e51 "map mb2_echobase;set nextmap vstr e52"
set e52 "map mb2_smuggler;set nextmap vstr e53"
set e53 "map mb2_cloudcity;set nextmap vstr e54"
set e54 "map mb2_SDestroyer;set nextmap vstr e61"

// Episode 6
set e61 "map mb2_jabba;set nextmap vstr e62"
set e62 "map mb2_sailbarge;set nextmap vstr e63"
set e63 "map uM_SarlaccBarge;set nextmap vstr e64"
set e64 "map mb2_cmp_endor;set nextmap vstr eu1"

// EU
set eu1 "map mb2_commtower;set nextmap vstr eu2"
set eu2 "map MB2_yavinassault;set nextmap vstr eu3"
set eu3 "map mb2_ps_desert;set nextmap vstr e71"

// Episode 7
set e71 "map mb2_jakku;set nextmap vstr e72"
set e72 "map mb2_eravana;set nextmap vstr e73"
set e73 "map mb2_starkiller_base;set nextmap vstr e74"
set e74 "map mb2_duel_starkiller_base;set nextmap vstr or1"

vstr or1 // Start the first map in the rotation

I haven't made any changes to the rotation since uM_SarlaccBarge was added, whichever patch that was, but it's been a minute.
 

Defiant

Nerd
Project Leader
Movie Battles II Team
Code Leader
Posts
1,007
Likes
1,451
And that execs after a map change?
 
Posts
39
Likes
28
I guess I'm not sure if that's how it works or not. That's the map rotation in my server config file (sorry should have mentioned that earlier). So I don't know if that execs everytime the map changes or if it just execs at server startup to setup the rotation. I assumed it was the latter, but I could be wrong. I'm not sure if that answers your question, but please let me know if there's other info I can provide.

I'm taking a stab in the dark here, but these crashes wouldn't possibly be related to the new server game stats functionality, would they? I only ask because I see "G_SendGameReport" referenced in the crash log, but I don't know if that's related to the new stats or if that's unrelated and was existing. Plus I'm not sure if the new stats are sent continuously or periodically (perhaps at map change and there's some kind of timeout which would correlate to the timing of the issues I'm seeing?). Again, just a stab in the dark but thought I'd mention it!
 

Defiant

Nerd
Project Leader
Movie Battles II Team
Code Leader
Posts
1,007
Likes
1,451
Yes, it is related to gamestats. Stats are sent at the start of a new round, things like RTV which issue map commands at inhuman speeds seem to be able to cause issues on new rounds. This should be fixed in the next release.
 
Posts
39
Likes
28
Ahhh, gotcha. Yea, nothing like that. I do have my own bot instead of RTV that can do some map commands, but I don't see any around these crashes. The only not action I think might have coincided with that time is a svsay command through rcon for server messages. Not sure if other commands could cause this too.

But in any case, glad you already had this on your radar! Thanks!
 
Top