Forged Alliance Forever Forged Alliance Forever Forums 2020-04-10T05:07:16+02:00 /feed.php?f=3&t=18934 2020-04-10T05:07:16+02:00 2020-04-10T05:07:16+02:00 /viewtopic.php?t=18934&p=183230#p183230 <![CDATA[Re: Unhandled Exception @ Random Times in Game]]>
1. https://www.youtube.com/watch?v=7ptSxGtYKK8 - How to Fix the ‘Unhandled Exception Has Occurred’ Error In Windows 10/8/7 [Tutorial
a. Windows Features & .Net Framework
Found that both the .net frameworks were enabled, but wondered in there was an install error. So unclicked the one he had in the video (.Netframework 3.5) and restarted. Then I tried the replay and there was a crash but without the unhandled exception, it was just- boom- desktop.

Re-clicked the .Netframework 3.5, let the files download, install, and restarted. Upon testing using the same replay at 10x speed- zooming in as I remembered- and it did not crash. This was good but I wanted to be sure.

So watched it again at 10x speed and clicked more wildly around. Near the 3/4 mark, it crashed but with a different error: "Deserialized nil table value."

This occurred as I was clicking on a units icon and hovering over the unit description. Wondering- though if this is just because I was stressing things.

b. Windows Resource Protection Found Corrupt Files...
The second thing he did was to go to the admin CMD prompt and using "sfc /scannow" . It found corrupt files but couldn't repair. Fortunately, the same guy had another video for that scenario, and after running the "Dism /Online / Cleanup-Image /RestoreHealth" operation (seemed to hang at 100% for a while), re-ran the SFC Scan, and this times window's reported corrupt files found but was able to repair them

I'm going to continue testing, but I was encouraged to make some progress. Nevertheless, I've attached the error information regarding the "Deserialized Nil Table Value", incase there's something else there...

Statistics: Posted by Printer — 10 Apr 2020, 05:07


]]>
2020-04-10T01:18:03+02:00 2020-04-10T01:18:03+02:00 /viewtopic.php?t=18934&p=183226#p183226 <![CDATA[Re: Unhandled Exception @ Random Times in Game]]> Statistics: Posted by Printer — 10 Apr 2020, 01:18


]]>
2020-04-10T01:15:40+02:00 2020-04-10T01:15:40+02:00 /viewtopic.php?t=18934&p=183225#p183225 <![CDATA[Re: Unhandled Exception @ Random Times in Game]]>
Only mod I had on was Supreme Scoreboard.

Statistics: Posted by Printer — 10 Apr 2020, 01:15


]]>
2020-04-09T15:24:47+02:00 2020-04-09T15:24:47+02:00 /viewtopic.php?t=18934&p=183201#p183201 <![CDATA[Re: Unhandled Exception @ Random Times in Game]]>
Code:
EXCEPTION_ACCESS_VIOLATION (0xc0000005) at address 0x007af258
EXCEPTION_ACCESS_VIOLATION (0xc0000005) at address 0x00000000
EXCEPTION_ACCESS_VIOLATION (0xc0000005) at address 0x008b83b4
EXCEPTION_ACCESS_VIOLATION (0xc0000005) at address 0x005bd65e
EXCEPTION_ACCESS_VIOLATION (0xc0000005) at address 0x0000e424


The game is crashing on different memoryaddresses.
I don't think the error can be solved by reinstalling the game.

I am sorry but i am out of options :(

Statistics: Posted by Uveso — 09 Apr 2020, 15:24


]]>
2020-04-09T07:04:22+02:00 2020-04-09T07:04:22+02:00 /viewtopic.php?t=18934&p=183194#p183194 <![CDATA[Re: Unhandled Exception @ Random Times in Game]]>
Using replay https://content.faforever.com/faf/vault/replay_vault/replay.php?id=11414435, had it crash (5) times. It seemed the crashs occured sooner in the game when increasing game speed, but would still occur later in the game at regular speed.

I've attached the log files from several of the crashes in a .7zip file. I might try and re-install everything again sometime this week and try that as well.

Statistics: Posted by Printer — 09 Apr 2020, 07:04


]]>
2020-04-09T00:30:59+02:00 2020-04-09T00:30:59+02:00 /viewtopic.php?t=18934&p=183191#p183191 <![CDATA[Re: Unhandled Exception @ Random Times in Game]]>
I'll post again after a week or so if there's no issues.

Statistics: Posted by Printer — 09 Apr 2020, 00:30


]]>
2020-04-05T19:41:40+02:00 2020-04-05T19:41:40+02:00 /viewtopic.php?t=18934&p=183093#p183093 <![CDATA[Re: Unhandled Exception @ Random Times in Game]]>
i don't see any of the errors i mentioned before in your last log.
Looks like the game files and soundsettings are fixed.

Having a bluescreen means there is maybe no problem with the game but with your windows/drivers or hardware.
Also if the crash occurs when something change the windows priority (windows popup) you could try to switch the fullscreen/windowed mode in the game.

And a last guess:
in case you mave more then 1 RAM memory module installed, unplug them and reinstall the RAM in a different order.
(just to be sure its not a bad RAM module)

Statistics: Posted by Uveso — 05 Apr 2020, 19:41


]]>
2020-04-04T20:02:50+02:00 2020-04-04T20:02:50+02:00 /viewtopic.php?t=18934&p=183073#p183073 <![CDATA[Re: Unhandled Exception @ Random Times in Game]]>
Thanks for your help! I'll continue testing.

Statistics: Posted by Printer — 04 Apr 2020, 20:02


]]>
2020-03-30T08:46:31+02:00 2020-03-30T08:46:31+02:00 /viewtopic.php?t=18934&p=182945#p182945 <![CDATA[Re: Unhandled Exception @ Random Times in Game]]> Statistics: Posted by Uveso — 30 Mar 2020, 08:46


]]>
2020-03-30T02:48:32+02:00 2020-03-30T02:48:32+02:00 /viewtopic.php?t=18934&p=182938#p182938 <![CDATA[Re: Unhandled Exception @ Random Times in Game]]>
1. Occured when I was messing around making templates not during regular play.
2. Occured when a pop-up from Window's defender notified me it had just finished a scan and make (1) correction. I don't know what it is though because the history in Window's defender didn't say anything except that it had scanned.

Thanks for the fixes so far, and the most recent crash files are attached. (not #1, forgot to get the game files for that before starting a new one). I am hoping these help.

Statistics: Posted by Printer — 30 Mar 2020, 02:48


]]>
2020-03-28T02:59:58+02:00 2020-03-28T02:59:58+02:00 /viewtopic.php?t=18934&p=182895#p182895 <![CDATA[Re: Unhandled Exception @ Random Times in Game]]>
Avoiding Adaptive maps, playing on wired lan, and Validated Steam files. Found windows was doing system sounds on monitor and game sounds on headphones. I was able to ensure the monitor is set to stereo, but just to be safe disabled it anyways. Made sure spacial sound was off for the headphones. Is that the sound surround option you mentioned?

Applied 4-6 and will be testing again.

Statistics: Posted by Printer — 28 Mar 2020, 02:59


]]>
2020-03-27T15:47:01+02:00 2020-03-27T15:47:01+02:00 /viewtopic.php?t=18934&p=182876#p182876 <![CDATA[Re: Unhandled Exception @ Random Times in Game]]> Fist log was on map:
Code:
info: Loading script file: \000/maps/dualgap_adaptive.v0003/DualGap_Adaptive_script.lua


Errors:
Code:
warning: Error running DataReceived script in CScriptObject at 11660000: ...ta\faforever\gamedata\lua.nx2\lua\ui\lobby\lobby.lua(4789): attempt to concatenate a nil value
         stack traceback:
            ...ta\faforever\gamedata\lua.nx2\lua\ui\lobby\lobby.lua(4789): in function <...ta\faforever\gamedata\lua.nx2\lua\ui\lobby\lobby.lua:4777>

Code:
warning: Invalid args to yield(); tick count must be >=0
         stack traceback:
            [C]: in function `WaitTicks'
            ...ogramdata\faforever\gamedata\lua.nx2\lua\siminit.lua(30): in function `WaitSeconds'
            ...s\dualgap_adaptive.v0003\dualgap_adaptive_script.lua(92): in function <...s\dualgap_adaptive.v0003\dualgap_adaptive_script.lua:91>

Code:
warning: Error running sim lua callback function 'CapMex':
         ...data\faforever\gamedata\lua.nx2\lua\simcallbacks.lua(90): attempt to call method `GetCurrentLayer' (a nil value)
         stack traceback:
            ...data\faforever\gamedata\lua.nx2\lua\simcallbacks.lua(90): in function `fn'
            ...data\faforever\gamedata\lua.nx2\lua\simcallbacks.lua(16): in function <...data\faforever\gamedata\lua.nx2\lua\simcallbacks.lua:13>


2:
Second Log was on map:
Code:
info: Loading script file: \000/maps/dual_gap_fix.v0004.v0004/Dual_Gap_fix_script.lua


Errors:
Code:
warning: Unknown DirectSound speaker configuration 8. Defaulting to Stereo.

Code:
warning: Invalid args to yield(); tick count must be >=0
         stack traceback:
            [C]: in function `WaitTicks'
            ...ogramdata\faforever\gamedata\lua.nx2\lua\siminit.lua(30): in function `WaitSeconds'
            ...aps\dual_gap_fix.v0004.v0004\dual_gap_fix_script.lua(92): in function <...aps\dual_gap_fix.v0004.v0004\dual_gap_fix_script.lua:91>

Code:
warning: SND: XACT3DApply failed.
         Invalid arg

Code:
info: CNetTCPBuf::Flush(): send() failed: WSAECONNRESET


3.
Third Log was on map:
Code:
info: Loading script file: \000/maps/dual_gap_fix.v0004.v0004/Dual_Gap_fix_script.lua


Errors:
Code:
warning: Unknown DirectSound speaker configuration 8. Defaulting to Stereo.

Code:
warning: Invalid args to yield(); tick count must be >=0
         stack traceback:
            [C]: in function `WaitTicks'
            ...ogramdata\faforever\gamedata\lua.nx2\lua\siminit.lua(30): in function `WaitSeconds'
            ...aps\dual_gap_fix.v0004.v0004\dual_gap_fix_script.lua(92): in function <...aps\dual_gap_fix.v0004.v0004\dual_gap_fix_script.lua:91>

Code:
warning: SND: XACT3DApply failed.
         Invalid arg

Code:
info: CNetTCPBuf::Flush(): send() failed: WSAECONNRESET




Looks like game log number 3 is the same as 2.

Error exception in fist game:
Code:
EXCEPTION_ACCESS_VIOLATION (0xc0000005) at address 0x007af258
    attempted to read memory at 0x00000007

Error exception on second game:
Code:
EXCEPTION_ACCESS_VIOLATION (0xc0000005) at address 0x0000e424
    attempted to read memory at 0x0000e424


So the game crashed on 2 different errors.

Info about the errors found in logs:

First and Second game has some script errors in DualGap_Adaptive_script.lua and Dual_Gap_fix_script.lua
(Don't use any adaptive map for testing/searching for errors. Those maps can hook system functions)

First game has a error in CapMex (function to build mass storage around mexes) That is strange since its a callback and simside.
(Should never happen, and code can only be changed by a sim mod. It's maybe the map ?)

Second game has errors because of soundsettings are not stereo
(Switch your soundcard to stereo, disable all sound enhancements.)

Second game got a disconnect.
(Could be the internetconnection or the client lost the serverconnection)

My suggestion:
1. Please use a non adaptive map and set your sound to stereo.
2. In case you are using Wireless lan, use a cable.
3. make a filecheck for the game via steam client
4. delete everything inside the folder "C:\ProgramData\FAForever\gamedata"
5. delete everything inside the folder "C:\ProgramData\FAForever\cache"
6. make a backup and delete the file "C:\Users\YOURNAME\AppData\Local\Gas Powered Games\Supreme Commander Forged Alliance\Game.prefs"

Then test again.

Statistics: Posted by Uveso — 27 Mar 2020, 15:47


]]>
2020-03-27T10:58:33+02:00 2020-03-27T10:58:33+02:00 /viewtopic.php?t=18934&p=182873#p182873 <![CDATA[Re: Unhandled Exception @ Random Times in Game]]> Statistics: Posted by Printer — 27 Mar 2020, 10:58


]]>
2020-03-27T05:29:43+02:00 2020-03-27T05:29:43+02:00 /viewtopic.php?t=18934&p=182868#p182868 <![CDATA[Re: Unhandled Exception @ Random Times in Game]]> Statistics: Posted by Printer — 27 Mar 2020, 05:29


]]>
2020-03-23T04:36:08+02:00 2020-03-23T04:36:08+02:00 /viewtopic.php?t=18934&p=182762#p182762 <![CDATA[Unhandled Exception @ Random Times in Game]]> 1. Updated all drivers, reinstalled Steam & FAF a few times,
2. Migrated Steam, archive, and FAF directory (except for the Program Data one) to a non-SSD,
3. Unloaded all mods and deleted user files a few times

Still the crashes occur~ probably 10/105 games. I've found they mostly occur playing GAP related maps (6-8 times), and only (1-2) on Seton.

I've also attached the unhandled exception text file.

Thanks for any help fixing this!

Card name: NVIDIA GeForce GTX 1070
Operating System: Windows 10 Home 64-bit (10.0, Build 18363) (18362.19h1_release.190318-1202)
Processor: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz (8 CPUs), ~4.0GHz

Statistics: Posted by Printer — 23 Mar 2020, 04:36


]]>