FAForever Forums
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Login

    EXCEPTION_ACCESS_VIOLATION (0xc0000005) at address 0x0095854f

    Scheduled Pinned Locked Moved FAF support (client and account issues)
    11 Posts 6 Posters 3.4k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • AmethiA
      Amethi
      last edited by Amethi

      Hello! First off, thanks for FAF and all your hard work on it. My friends and I love it! I have an issue though and wondered if anyone could possibly help?

      Scenario:
      After some time, say an hour or two of a game with two friends, my game crashes with the following summary. This happens quite a lot. More times than it doesn't.

      faf EXCEPTION_ACCESS_VIOLATION (0xc0000005) at address 0x0095854f
      
      EXCEPTION_ACCESS_VIOLATION (0xc0000005) at address 0x0095854f
          attempted to write memory at 0x02c10000
      
      Program : C:\ProgramData\FAForever\bin\ForgedAlliance.exe
      Cmd line arguments : /init init.lua /nobugreport /log C:\ProgramData\FAForever\logs\game_14373415.log /gpgnet 127.0.0.1:6066 /mean 1500.0 /deviation 500.0 /savereplay gpgnet://127.0.0.1:58086/14373415/Amethi.SCFAreplay /country GB /numgames 0
      
      Callstack:
      	Unknown symbol (address 0x0095854f)
      

      Checks performed/info:

      • Steam validation of installation
      • CPU/GPU temps in game as expected
      • memtest86 ran overnight, not a single memory error
      • No other issues with the system. It's a new build.

      Log: game_14373415-censored.log

      Does anyone have any ideas for what could be up? I'm going to try re-installing the game via Steam and the FAF client.

      1 Reply Last reply Reply Quote 0
      • arma473A
        arma473
        last edited by

        If you want to play very long games against lots of AI, consider the LOUD project. It's similar to FAF, in that it's a client for FA, but it contains many optimizations to make big, big games run smoother.

        1 Reply Last reply Reply Quote 0
        • AmethiA
          Amethi
          last edited by

          Thank you @arma473. It looks interesting, we're going to give it a go.

          1 Reply Last reply Reply Quote 0
          • Z
            Zokora
            last edited by

            Double-check that your hardware is running right. Try a benchmark over for a few hours, especially for your RAM.

            1 Reply Last reply Reply Quote 0
            • UvesoU
              Uveso
              last edited by

              EXCEPTION_ACCESS_VIOLATION (0xc0000005) at address 0x0095854f

              is a known error and caused by full memory (or bad memory management from the game)

              We investigated the error here:
              https://github.com/FAForever/fa/issues/1445

              Only thing you can do; use less mods and be sure you have nothing else running in windows in the background.
              (as far as i know ^^)

              1 Reply Last reply Reply Quote 0
              • K
                Katharsas
                last edited by Katharsas

                On a 64 bit OS, each 32 bit application can use the full memory space (usually 2 GB, or 4GB if it supports LARGEADDRESSAWARE), so you don't need to close all apps, just have enough RAM.

                Btw, is the current exe used by FAF LARGEADDRESSAWARE? If not, changing that may increase the time until the game runs out of memory, it it simply runs out of memory.

                Edit:
                Somebody could try it if not: https://www.techpowerup.com/forums/threads/large-address-aware.112556/
                Btw, this flag cannot be used always, needs to be tested.

                1 Reply Last reply Reply Quote 0
                • UvesoU
                  Uveso
                  last edited by

                  Yes we tested it. (but we used a different programm)

                  But i don't see a reason to not test the tool described in the link.

                  Maybe Amethi could test it and report the results here ?

                  1 Reply Last reply Reply Quote 0
                  • K
                    Katharsas
                    last edited by

                    That tool just changes a flag inside the exe, we could patch our exe for all players if it works.

                    1 Reply Last reply Reply Quote 0
                    • UvesoU
                      Uveso
                      last edited by

                      This is the plan.

                      Does it work ?

                      1 Reply Last reply Reply Quote 0
                      • M
                        Medianl
                        last edited by

                        These fix work great for me https://appuals.com/exception_access_violation-error/

                        1 Reply Last reply Reply Quote 0
                        • UvesoU
                          Uveso
                          last edited by

                          @Medianl

                          did your game also crash on exact the same address at 0x0095854f ?

                          1 Reply Last reply Reply Quote 0
                          • maggeM magge referenced this topic on
                          • First post
                            Last post