Game Crash

Tournaments announces and results.

Moderators: FtXCommando, Stups

Game Crash

Postby MamaTLF » 28 Jul 2013, 11:07

Crash Log
==============================================================================================================================================
EXCEPTION_ACCESS_VIOLATION (0xc0000005) at address 0x005f5d3e
attempted to read memory at 0x00000008

Program : C:\ProgramData\FAForever\bin\ForgedAlliance.exe
Cmd line arguments : /ratingcolor 9d9d9d9d /numgames 38 /mean 1021.13 /deviation 153.363 /country HR /init init_faf.lua /log C:\ProgramData\FAForever\logs\game.log /savereplay gpgnet://localhost/1143062/MamaTLF.SCFAreplay /nobugreport /gpgnet 127.0.0.1:50338

Callstack:
Unknown symbol (address 0x005f5d3e)
Unknown symbol (address 0x1b6207fb)
Unknown symbol (address 0x29798a6b)
Unknown symbol (address 0x006a4bab)
Unknown symbol (address 0xccccccc7)

Last 100 lines of log...

debug: Loading module '\000/units/ues0103/ues0103_script.lua\000'
debug: Loading module '\000/units/uab0103/uab0103_script.lua\000'
debug: Loading module '\000/units/uab0203/uab0203_script.lua\000'
debug: Loading module '\000/units/uab5101/uab5101_script.lua\000'
debug: Loading module '\000/units/ueb0201/ueb0201_script.lua\000'
debug: Loading module '\000/units/ura0107/ura0107_script.lua\000'
debug: Loading module '\000/lua/sim/tasks/enhancetask.lua\000'
debug: Loading module '\000/lua/sim/scripttask.lua\000'
debug: Loading module '\000/units/urb2104/urb2104_script.lua\000'
debug: Loading module '\000/units/uab0302/uab0302_script.lua\000'
debug: Loading module '\000/projectiles/aaasonicpulse02/aaasonicpulse02_script.lua\000'
debug: Loading module '\000/units/ueb1302/ueb1302_script.lua\000'
debug: Loading module '\000/units/uel0208/uel0208_script.lua\000'
debug: Loading module '\000/units/urb3102/urb3102_script.lua\000'
debug: Loading module '\000/units/ueb0203/ueb0203_script.lua\000'
debug: Loading module '\000/units/url0208/url0208_script.lua\000'
debug: Loading module '\000/units/uab0201/uab0201_script.lua\000'
debug: Loading module '\000/units/urb1106/urb1106_script.lua\000'
debug: Loading module '\000/units/ueb1201/ueb1201_script.lua\000'
debug: Loading module '\000/units/urb2301/urb2301_script.lua\000'
debug: Loading module '\000/units/urb4202/urb4202_script.lua\000'
debug: Loading module '\000/units/ueb0202/ueb0202_script.lua\000'
debug: Loading module '\000/units/ueb4202/ueb4202_script.lua\000'
debug: Loading module '\000/units/urs0103/urs0103_script.lua\000'
debug: Loading module '\000/units/ues0201/ues0201_script.lua\000'
debug: Loading module '\000/units/urb1201/urb1201_script.lua\000'
debug: Loading module '\000/units/urb3201/urb3201_script.lua\000'
debug: Loading module '\000/projectiles/cdflaserheavy02/cdflaserheavy02_script.lua\000'
debug: Loading module '\000/units/drl0204/drl0204_script.lua\000'
debug: Loading module '\000/units/ueb2204/ueb2204_script.lua\000'
debug: Loading module '\000/projectiles/cdfrocketiridium02/cdfrocketiridium02_script.lua\000'
debug: Loading module '\000/units/ual0309/ual0309_script.lua\000'
debug: Loading module '\000/units/ueb2301/ueb2301_script.lua\000'
debug: Loading module '\000/units/ueb3104/ueb3104_script.lua\000'
debug: Loading module '\000/units/urb1104/urb1104_script.lua\000'
debug: Loading module '\000/units/uel0103/uel0103_script.lua\000'
debug: Loading module '\000/units/zab9501/zab9501_script.lua\000'
debug: Loading module '\000/units/uab1302/uab1302_script.lua\000'
debug: Loading module '\000/units/uab1301/uab1301_script.lua\000'
debug: Loading module '\000/units/uea0101/uea0101_script.lua\000'
debug: Loading module '\000/units/xeb0104/xeb0104_script.lua\000'
debug: Loading module '\000/units/url0111/url0111_script.lua\000'
debug: Loading module '\000/units/urb0203/urb0203_script.lua\000'
debug: Loading module '\000/units/uab1105/uab1105_script.lua\000'
debug: Loading module '\000/units/urb4201/urb4201_script.lua\000'
debug: Loading module '\000/units/ues0202/ues0202_script.lua\000'
debug: Loading module '\000/units/urb4204/urb4204_script.lua\000'
debug: Loading module '\000/units/uea0107/uea0107_script.lua\000'
debug: Loading module '\000/units/xaa0305/xaa0305_script.lua\000'
warning: Error running OnRelease script in <deleted object>: ...\gamedata\faforever.nxt\lua\ui\game\construction.lua(877): Game object has been destroyed
stack traceback:
[C]: in function `SetAlpha'
...\gamedata\faforever.nxt\lua\ui\game\construction.lua(877): in function `OnRolloverEvent'
...d alliance\gamedata\mohodata.scd\lua\maui\button.lua(131): in function <...d alliance\gamedata\mohodata.scd\lua\maui\button.lua:122>
debug: Loading module '\000/units/ual0202/ual0202_script.lua\000'
debug: Loading module '\000/units/ura0101/ura0101_script.lua\000'
debug: Loading module '\000/units/xea3204/xea3204_script.lua\000'
debug: Loading module '\000/units/urb2303/urb2303_script.lua\000'
debug: Loading module '\000/projectiles/cifmissiletactical01/cifmissiletactical01_script.lua\000'
debug: Loading module '\000/units/ual0307/ual0307_script.lua\000'
debug: Loading module '\000/projectiles/aaazealotmissile02/aaazealotmissile02_script.lua\000'
info: CWldSession::DoBeat() unknown entity id (0x2ff0023b) supplied in a pose update.
debug: Loading module '\000/projectiles/taarailgun01/taarailgun01_script.lua\000'
debug: Loading module '\000/lua/terranprojectiles.lua\000'
debug: Loading module '\000/units/uab0304/uab0304_script.lua\000'
debug: Loading module '\000/projectiles/caaautocannon01/caaautocannon01_script.lua\000'
debug: Loading module '\000/units/ueb4201/ueb4201_script.lua\000'
debug: Loading module '\000/projectiles/taalightfragmentationshell01/taalightfragmentationshell01_script.lua\000'
debug: Loading module '\000/units/urs0202/urs0202_script.lua\000'
debug: Loading module '\000/projectiles/cifmolecularresonanceshell01/cifmolecularresonanceshell01_script.lua\000'
debug: Loading module '\000/units/ual0205/ual0205_script.lua\000'
debug: Loading module '\000/units/ueb5102/ueb5102_script.lua\000'
debug: Loading module '\000/units/ual0111/ual0111_script.lua\000'
info: CWldSession::DoBeat() unknown entity id (0x2ff00655) supplied in a pose update.
debug: Loading module '\000/units/urb2108/urb2108_script.lua\000'
debug: Loading module '\000/units/urb0202/urb0202_script.lua\000'
info: CWldSession::DoBeat() unknown entity id (0x2ff008ba) supplied in a pose update.
debug: Loading module '\000/projectiles/cifmissiletacticalsplit01/cifmissiletacticalsplit01_script.lua\000'
debug: Loading module '\000/units/urb2204/urb2204_script.lua\000'
debug: Loading module '\000/units/ura0203/ura0203_script.lua\000'
debug: Loading module '\000/projectiles/aaafizz01/aaafizz01_script.lua\000'
debug: Loading module '\000/units/uas0201/uas0201_script.lua\000'
debug: Loading module '\000/units/xas0204/xas0204_script.lua\000'
debug: Loading module '\000/units/ual0301/ual0301_script.lua\000'
debug: Loading module '\000/units/uab3201/uab3201_script.lua\000'
debug: Loading module '\000/units/urb5202/urb5202_script.lua\000'
debug: Loading module '\000/units/urb1302/urb1302_script.lua\000'
debug: Loading module '\000/units/ueb2304/ueb2304_script.lua\000'
debug: Loading module '\000/units/xrb0104/xrb0104_script.lua\000'
debug: Loading module '\000/units/url0205/url0205_script.lua\000'
debug: Loading module '\000/units/uaa0303/uaa0303_script.lua\000'
debug: Loading module '\000/units/ueb0302/ueb0302_script.lua\000'
debug: Loading module '\000/units/ueb4203/ueb4203_script.lua\000'
debug: Loading module '\000/projectiles/adfquadlaserlight01/adfquadlaserlight01_script.lua\000'
debug: Loading module '\000/projectiles/cifmissiletactical03/cifmissiletactical03_script.lua\000'
debug: Loading module '\000/units/ueb1301/ueb1301_script.lua\000'
debug: Loading module '\000/projectiles/tifmissilecruise04/tifmissilecruise04_script.lua\000'
debug: Loading module '\000/units/uab4301/uab4301_script.lua\000'
debug: Loading module '\000/units/urb0302/urb0302_script.lua\000'
debug: Loading module '\000/units/ueb4301/ueb4301_script.lua\000'
debug: Loading module '\000/units/uea0303..
==============================================================================================================================================
I have no idea what this lines say or mean, and i am hoping that someone who does look at them, or explain it to me if they want.
The game reproduced the crash in the same way when i was looking at the replay (1h 10min aprox.)
Attachments
1142219-MamaTLF.fafreplay
(316.55 KiB) Downloaded 30 times
MamaTLF
 
Posts: 3
Joined: 28 Jul 2013, 00:16
Has liked: 0 time
Been liked: 0 time
FAF User Name: MamaTLF

Re: Game Crash

Postby Ze_PilOt » 28 Jul 2013, 11:09

This is a crash log.

I need a full log.

Read the red wall of text (ie. How to get proper log/error report : viewtopic.php?f=3&t=192)
Nossa wrote:I've never played GPG or even heard of FA until FAF started blowing up.
User avatar
Ze_PilOt
Supreme Commander
 
Posts: 8985
Joined: 24 Aug 2011, 18:41
Location: fafland
Has liked: 18 times
Been liked: 376 times
FAF User Name: Ze_PilOt

Re: Game Crash

Postby MamaTLF » 28 Jul 2013, 11:27

here is first 3/4 (3 is maximum attachments)
Attachments
replay.log
(92.62 KiB) Downloaded 33 times
game.log
(113.78 KiB) Downloaded 33 times
forever.log
(91.02 KiB) Downloaded 31 times
MamaTLF
 
Posts: 3
Joined: 28 Jul 2013, 00:16
Has liked: 0 time
Been liked: 0 time
FAF User Name: MamaTLF

Re: Game Crash

Postby MamaTLF » 28 Jul 2013, 11:28

4/4
Attachments
uid.log
(312 Bytes) Downloaded 23 times
MamaTLF
 
Posts: 3
Joined: 28 Jul 2013, 00:16
Has liked: 0 time
Been liked: 0 time
FAF User Name: MamaTLF

Re: Game Crash  Topic is solved

Postby Ze_PilOt » 28 Jul 2013, 13:42

Fixed, 3627 is online.

For info, a fix from the community patch (the base of FAF) that I didn't make in the first place was useless.

It was useless because it was calling a function that was already called indirectly.
But by doing that, it was introducing another bug.

I've fixed that bug, but in the long run, it create a memory overflow that crashed the game.

Removing my fix to the bug fix and the useless bug fix fixed everything.

https://bitbucket.org/thepilot/forged-a ... 2970e60817

Code: Select all
# added by brute51 - to make sure we use the proper consumption values. [132]
self:UpdateConsumptionValues()


Actually, self:UpdateConsumptionValues() is already called indirectly some lines later by :
Code: Select all
self:SetActiveConsumptionActive()


Also removed "CurrentBuildOrder" variable because I have no clue what it's supposed to be, and it's not used anywhere, and re-introduce

Code: Select all
      
if order == 'Repair' and unitBeingBuilt.WorkItem != self.WorkItem then
self:InheritWork(unitBeingBuilt)
end

Because I don't see any reason why it was removed.
If someone has a clue...
Nossa wrote:I've never played GPG or even heard of FA until FAF started blowing up.
User avatar
Ze_PilOt
Supreme Commander
 
Posts: 8985
Joined: 24 Aug 2011, 18:41
Location: fafland
Has liked: 18 times
Been liked: 376 times
FAF User Name: Ze_PilOt


Return to Tournaments

Who is online

Users browsing this forum: No registered users and 1 guest