CBATeam / CBA_A3

Community Base Addons for Arma 3
https://github.com/CBATeam/CBA_A3/wiki
GNU General Public License v2.0
364 stars 151 forks source link

Game crashes at mission start #361

Closed BABACHORI closed 8 years ago

BABACHORI commented 8 years ago

Hi! We have on our server mission that are played about 5 hours and more, but we dont have crashes. Sorry, but i cant provide you RPT file from this mission(it was long ago) Can you please say what mission do you play and we can test them?

Killswitch00 commented 8 years ago

The CBA team itself is not having problems with long-running missions, but there were reports about this a few months ago. After doing some changes to CBA (and A3 having been updated a few times since then) no reports have come in. Thanks for the offer to help and we're glad to hear that you don't have crashes. :+1:

SPS6 commented 8 years ago

@Killswitch00 This seems to still be an issue. One of our developers has been submitting rpt's to you and it is still present in your list of known issues on the current release. Is there any update or further work being done on this. Our Altis Life mission on Tanoa map results in users crashing after only a short time when they attempt to join. This would appear to be something to do with CBA as the crashes occur when even only CBA is loaded but never when it isn't.

Excerpt of log from RC build of ArmA:

Mods: A3;curator;kart;heli;mark;expansion;dlcbundle;@CBA_A3;@Jonzie Mega Mod Pack;@I3lueVein Wheels
Extensions:
Distribution: 0
Version 1.62.137306
Fault time: 2016/07/08 02:13:19
Fault address:  01848DC3 01:00777DC3 D:\Steam\steamapps\common\Arma 3\arma3.exe
file:     __cur_mp (__CUR_MP)
world:    Tanoa
Prev. code bytes: 00 CC CC CC CC CC CC CC CC CC CC CC CC 53 8B D9
Fault code bytes: 83 7B 08 00 7F 09 B8 C4 78 83 02 5B C2 04 00 55

Registers:
EAX:028378C4 EBX:00000005
ECX:00000005 EDX:00FFA644
ESI:00000001 EDI:66E543A8
CS:EIP:0023:01848DC3
SS:ESP:002B:00FFA614  EBP:FFFFFFFF
DS:002B  ES:002B  FS:0053  GS:002B
Flags:00010202
=======================================================
commy2 commented 8 years ago

Please upload the full RPT file. This part about memory addresses doesn't help us,

SPS6 commented 8 years ago

of course, not a problem:

arma3_2016-07-08_02-11-10.rpt.txt

commy2 commented 8 years ago
 2:13:19 [10742,129.555,0,"XEH: PreInit started. v2.4.1.160606"]
 2:13:19 Error: Mismatched Begin/EndContexts
 2:13:19 Error: Mismatched Begin/EndContexts
 2:13:19 Error: Mismatched Begin/EndContexts
=======================================================
-------------------------------------------------------
 2:13:19 FileServerActObj::MaintainMainThread() - Called from non main thread!
 2:13:19 FileServerActObj::MaintainMainThread() - Called from non main thread!
Exception code: C0000005 ACCESS_VIOLATION at 01848DC3

Isn't related to this issue. It crashes at frame 0. Could be bad scripting too. Just because it happens with CBA, doesn't mean that CBA is the cause. It seems to happen during the preInit phase of XEH, and since that code won't be executed without CBA, it's obvious that the game won't crash (but the intended functions won't run either).

SPS6 commented 8 years ago

Thanks for your help with this!, if it happens when only CBA is loaded where should I be looking for issues? Nothing in the mission file is dependant on CBA or XEH so it will not be calling any of those functions or does CBA/XEH patch some of the BI functions?

I don't suppose that this could be related to #400 could it?

commy2 commented 8 years ago

Nothing in the mission file is dependant on CBA or XEH so it will not be calling any of those functions or does CBA/XEH patch some of the BI functions?

Can you upload that mission ? Does it happen with a different one?

I don't suppose that this could be related to #400 could it?

I don't think so

SPS6 commented 8 years ago

Also this did happen in an almost empty very basic mission when it was hosted Online, testing offline was fine, it started happening after a short time after 2 or 3 people had connected and disconnected (within 10 mins). I'll grab that small mission file quickly. Everything seems to work fine until you get it in to an online mp mission.

Tanoa_Fun.Tanoa.pbo.zip

and we were using:

https://steamcommunity.com/sharedfiles/filedetails/?id=450814997 - CBA https://steamcommunity.com/workshop/filedetails/?id=561566896 - Jonzie's mega pack https://steamcommunity.com/sharedfiles/filedetails/?id=637933098 - I3lueVein wheels

SPS6 commented 8 years ago

I can give details for our dev server also so you can see what happens on that mission. If I start the server you can join it for about 1 - 10mins before further attempts to join causes the player's client to crash at the end of the map load screen

image

This isn't specific to my machine everyone gets that error message or ACCESS VIOLATION.

commy2 commented 8 years ago

I don't see what anything about this has to do with CBA. Please reproduce it without any other mods in a empty mission or find out what addon / mission / script exactly is incompatible. We cannot do the debuging of unknown setups. We just don't have the resources to do that. Sorry. Also, I repeat, dev / sneak peak branches are not and cannot be supported by us. BI is updating these branches multiple times a day and who knows what they broke this time.

SPS6 commented 8 years ago

Wow, I am sorry, I simply provided what you asked "Can you upload that mission ? Does it happen with a different one?" ... I provided a mission that just has the VVS script on it and 4 or 5 placed objects, also FYI it's out of dev/sneek peak and now on Release Candidate to test mod/script compatibility and is not subject to daily updates. "and who knows what they broke" is exactly why the RC is available, to find out what they broke. Could you just clarify what was wrong with that barebones mission that I attached?

A blank mission with only CBA on it crashes player's clients when it is loaded as a multiplayer mission on a server. Remove CBA and no crashes... that is what makes me suspect that it may be CBA. Sorry to have prompted that angry response from you, I thought that I had been clear in my first post on here about the RC build being used and the fact that this has been happening on the Tanoa map. I am very grateful for your assistance up to now

SPS6 commented 8 years ago

"A blank mission with only CBA on it crashes player's clients when it is loaded as a multiplayer mission on a server. Remove CBA and no crashes... that is what makes me suspect that it may be CBA."

I have no shitty mods or any other type of mod loaded when it crashes, ONLY CBA.

SPS6 commented 8 years ago

Ok I have reloaded it with the enchanced logging pbo and have some extra lines printed. I would assume these are more informational than game breaking??

2016/07/08, 21:23:43 [8490,16.808,0,"XEH: PreInit started. v2.4.1.160606"]
2016/07/08, 21:23:43 Wrong init state
2016/07/08, 21:23:43 [XEH]: One or more children of class All do not support Extended Event Handlers. Fall back to loop.
2016/07/08, 21:23:43 [8490,16.904,0,"XEH: PreInit finished."]
2016/07/08, 21:23:50 [8492,23.563,0,"XEH: PostInit started. MISSIONINIT: missionName=TOD_TanoaLife_1000, missionVersion=52, worldName=Tanoa, isMultiplayer=true, isServer=true, isDedicated=true, CBA_isHeadlessClient=false, hasInterface=false, didJIP=false isLinux=false"]
2016/07/08, 21:23:50 String STR_CBA_FORMAT_NUMBER_DECIMAL_POINT not found
2016/07/08, 21:23:50 String STR_CBA_FORMAT_NUMBER_THOUSANDS_SEPARATOR not found
2016/07/08, 21:23:50 String STR_CBA_FORMAT_NUMBER_DECIMAL_POINT not found
2016/07/08, 21:23:50 String STR_CBA_FORMAT_NUMBER_THOUSANDS_SEPARATOR not found
2016/07/08, 21:23:50 String STR_CBA_FORMAT_NUMBER_DECIMAL_POINT not found
2016/07/08, 21:23:50 String STR_CBA_FORMAT_NUMBER_THOUSANDS_SEPARATOR not found
2016/07/08, 21:23:50 String STR_CBA_FORMAT_NUMBER_DECIMAL_POINT not found
2016/07/08, 21:23:50 String STR_CBA_FORMAT_NUMBER_THOUSANDS_SEPARATOR not found
2016/07/08, 21:23:50 [8492,23.572,0,"CBA_VERSIONING: cba=2.4.1.160606, "]
2016/07/08, 21:23:50 [8492,23.575,0,"XEH: PostInit finished."]
21:23:34 [0,6.994,0,"XEH: PreStart started."]
21:23:34 [0,7.021,0,"XEH: PreStart finished."]
21:23:34 [XEH]: Land_PowerLine_01_pole_junction_F does not support Extended Event Handlers! Addon: expansion
21:23:34 [XEH]: Land_PowerLine_01_pole_lamp_F does not support Extended Event Handlers! Addon: expansion
21:23:34 [XEH]: Land_PowerLine_01_pole_lamp_off_F does not support Extended Event Handlers! Addon: expansion
21:23:34 [XEH]: Land_PowerLine_01_pole_small_F does not support Extended Event Handlers! Addon: expansion
21:23:34 [XEH]: Land_PowerLine_01_pole_tall_F does not support Extended Event Handlers! Addon: expansion
21:23:34 [XEH]: Land_PowerLine_01_pole_transformer_F does not support Extended Event Handlers! Addon: expansion
21:23:34 [XEH]: Plane_Civil_01_base_F does not support Extended Event Handlers! Addon: expansion
21:23:34 [XEH]: B_CTRG_Miller_F does not support Extended Event Handlers! Addon: expansion
commy2 commented 8 years ago

Please upload a full RPT file. Fragments don't help us. The last one was using different mods.

commy2 commented 8 years ago

Also, RC builds aren't supported either.

Killswitch00 commented 8 years ago

Initially, it was the RC build and MP sessions with CBA and two other sets of addons and a RPT file was provided. Further down the comments it appears to be only the RC and CBA 2.4.1.

A blank mission with only CBA on it crashes player's clients when it is loaded as a multiplayer mission on a server. Remove CBA and no crashes... that is what makes me suspect that it may be CBA. I have no shitty mods or any other type of mod loaded when it crashes, ONLY CBA.

Question: when this happens, does the server have CBA loaded or is it only the clients? (Does the server and client have the exact same set of addons loaded when the crash occurs?).

Also, elaborate on what "a blank mission with only CBA on it" means. Is the provided mission file "Tanoa Fun" an example of "a blank mission with only CBA on it"? (Missions do not have "CBA on them")

commy2 commented 8 years ago

I edited the title so it matches the issue. Sorry BABACHORI , your thread has been hijacked.

devShit commented 8 years ago

i got the same problem how you fix that i run cba both side

commy2 commented 8 years ago

Hello, @devShit Please upload the RPT files (server and client). We cannot provide help without them.

devShit commented 8 years ago

i can't place on pastebin sorry here it is https://drive.google.com/open?id=0B3KT4NPa3I9FaDNicUJYN1h2bHM

commy2 commented 8 years ago

Your crash is not related to CBA. Also your game crashes at a completely different point as the one from SPS6. If you think there is a incompatibility with some other addon, then please find out which one it is. The crash is not reproducable for me with only CBA enabled.

devShit commented 8 years ago

excuse me what is sps6

commy2 commented 8 years ago

The guy with the furry and the british flag as avatar who posted in this issue.

devShit commented 8 years ago

so FileServerActObj::MaintainMainThread() - Called from non main thread! is not from cba right ?

commy2 commented 8 years ago

No.

commy2 commented 8 years ago

I'm closing this issue. It keeps getting hijacked.

Sorry but we don't have the time or ressources to debug crashes on your servers / with your mod repositories. Please try to reproduce issues with only CBA enabled first. If you find a incompatibility, find out which addon exactly causes it.