[1.1.59] "Unexpected error occurred"

Anything that prevents you from playing the game properly. Do you have issues playing for the game, downloading it or successfully running it on your computer? Let us know here.
Post Reply
Boogieman14
Filter Inserter
Filter Inserter
Posts: 770
Joined: Sun Sep 07, 2014 12:59 pm
Contact:

[1.1.59] "Unexpected error occurred"

Post by Boogieman14 »

I'm running a heavily modded game (Krastorio + Space Exploration), with a headless server and the client running on the same PC (with 32GB ram). Both server and client crashed at the same time and the error message suggests I upload the logs. I wouldn't be surprised if this was just an issue allocating memory, but just in case it isn't, here you go.

The server's factorio-current.log (just the first few lines and the crash report starting just after the last autosave)

Code: Select all

0.000 2022-05-25 11:40:24; Factorio 1.1.59 (build 59719, win64, full)
   0.000 Operating system: Windows 10 (build 19044) 
   0.000 Program arguments: ".\bin\x64\factorio.exe" "--start-server" ".\saves\game.zip" "--server-settings" ".\data\server-settings.json" 
   0.001 Read data path: D:/Games/Factorio/Factorio_1.1-K2+Space-Server/data
   0.001 Write data path: D:/Games/Factorio/Factorio_1.1-K2+Space-Server [245193/803867MB]
   0.001 Binaries path: D:/Games/Factorio/Factorio_1.1-K2+Space-Server/bin
   0.014 System info: [CPU: AMD Ryzen 7 5800X 8-Core Processor, 16 cores, RAM: 10584/32714 MB, page: 22316/34762 MB, virtual: 4247/134217727 MB, extended virtual: 0 MB]
   0.014 Running in headless mode
   ....
   3056.783 Info AppManager.cpp:306: Saving to _autosave17 (blocking).
   3059.365 Info AppManagerStates.cpp:1937: Saving finished
   3353.043 Error CrashHandler.cpp:494: Exception Code: e06d7363, Address: 0x00007ff8e71b4fd9
ModuleBase: 0x00007ff75c150000, ImageSize: 01dbc000, RelativeAddress: 8b064fd9
3353.044 Error CrashHandler.cpp:514: Exception Context:
rax=0000028056bc5410, rbx=00007ff75dcec790, rcx=0000000000000000,
rdx=0000000000000000, rsi=000000b1cfeffae0, rdi=000000b1cfeff860,
rip=00007ff8e71b4fd9, rsp=000000b1cfeff6f0, rbp=000000b1cfeff830,
 r8=0000028056ba0000,  r9=000000000000003f, r10=0000028027c26010,
r11=000000b1cfeff140, r12=0000000000000000, r13=0000000000000000,
r14=0000000000000030, r15=0000000000000000
3353.044 Crashed in C:\Windows\System32\KERNELBASE.dll (0x00007ff8e7180000 - 0x00007ff8e744d000)
Factorio crashed. Generating symbolized stacktrace, please wait ...
ERROR: Error while initializing dbghelp.dll, GetLastError: 0 (Address: 0000000000000000)
Stack trace logging done
3353.045 Include minidump in crash report.
3353.046 Error CrashHandler.cpp:191: Map tick at moment of crash: 192329622
3353.093 Info CrashHandler.cpp:311: Executable CRC: 3623699870
3353.094 Error Util.cpp:97: Unexpected error occurred. If you're running the latest version of the game you can help us solve the problem by posting the contents of the log file on the Factorio forums.
Please also include the save file(s), any mods you may be using, and any steps you know of to reproduce the crash.
3353.095 Uploading log file
3353.296 Error CrashHandler.cpp:262: Heap validation: success.
3353.296 Creating crash dump.
3353.401 CrashDump success
3353.402 Error CrashHandler.cpp:414: Unhandled exception type: .?AVBadAllocation@@
3353.402 Error CrashHandler.cpp:428: Unhandled exception: memory allocation of 2441216 bytes failed! RAM: 16476/32714, Page: 34762/34762.
3353.402 ProcessMemoryCounters: PageFaultCount=8850797, PeakWorkingSetSize=3283910656, WorkingSetSize=3102126080, QuotaPeakPagedPoolUsage=343488, QuotaPagedPoolUsage=286496, QuotaPeakNonPagedPoolUsage=16918312, QuotaNonPagedPoolUsage=65600, PagefileUsage=3500781568, PeakPagefileUsage=3520790528
3353.409 PerformanceInformation: CommitTotal=8818911, CommitLimit=8899136, CommitPeak=8899136, PhysicalTotal=8374848, PhysicalAvailable=4180806, SystemCache=3627614, KernelTotal=388675, KernelPaged=199263, KernelNonpaged=189412, PageSize=4096, HandleCount=151613, ProcessCount=293, ThreadCount=4746
   

Full logs, dumps and save available here: https://www.dropbox.com/sh/t8ikipp97nxo ... OJyta?dl=0
All but one mod are from mod portal, the last one is in the dropbox link. The crash happened about 5 minutes after the autosave. Most importantly, Space Exploration was running a surface scan on a new planet, I was just running around in a spidertron (may or may not have just reached a biter nest to clear, not entirely sure)
I don't have OCD, I have CDO. It's the same, but with the letters in the correct order.

Loewchen
Global Moderator
Global Moderator
Posts: 8302
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [1.1.59] "Unexpected error occurred"

Post by Loewchen »

This is indeed a memory allocation problem.

Post Reply

Return to “Technical Help”