[Rseding91] [0.16.30] Crash: "Surface::getAdvancedTile"

Bugs that we were not able to reproduce, and/or are waiting for more detailed info.
Post Reply
Allaizn
Former Staff
Former Staff
Posts: 90
Joined: Sat Mar 03, 2018 12:07 pm
Contact:

[Rseding91] [0.16.30] Crash: "Surface::getAdvancedTile"

Post by Allaizn »

Hi everyone!

Since about 2-3 weeks ago I started getting random crashes on Factorio (which never happened before btw). Since I'm currently heavily working with cars, I suspect that its something with them, although I can't yet confirm to crash with no cars present. I hope the logfile and save will help, but please don't nerf cars (at least not yet :D ).
I'm running some mods, which should be their most current version, but I attached them anyway.

Have fun hunting bugs!

Edit: changed title version to 16.30 (logs for that version are in the later posts)
Attachments
mods.zip
My mod folder
(3.79 MiB) Downloaded 99 times
Iron Test.zip
Map that crashed
(4.16 MiB) Downloaded 107 times
factorio-current.log
Logfile
(14.63 KiB) Downloaded 109 times
Last edited by Allaizn on Tue Mar 13, 2018 2:19 pm, edited 1 time in total.

Rseding91
Factorio Staff
Factorio Staff
Posts: 13171
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [16.28] Crash: "Surface::getAdvancedTile"

Post by Rseding91 »

Thanks for the report. Do you have the minidump file that's created during crashing still? If so, can you please upload that?

Also, is the issue reproducible or does it happen randomly?
If you want to get ahold of me I'm almost always on Discord.

Allaizn
Former Staff
Former Staff
Posts: 90
Joined: Sat Mar 03, 2018 12:07 pm
Contact:

Re: [Rseding91] [16.28] Crash: "Surface::getAdvancedTile"

Post by Allaizn »

I tried reproducing, but sadly to no avail. It happened to me once again since posting, and I think the dump in the attachment is from the second time. I didn't even realize that the dump existed :shock: I added the log of the second crash as well.
It's somewhat mysterious to me what could cause them (I also have experience in debugging since I learned programming long ago). This new crash happened within 15sec of me loading the save attached in the first post. I simply started running to the top of the contraption, and then crashed while running :( .
The next crash will definitely have its dump saved, and thank you very much for looking into it!
Attachments
factorio-current.log
Newer Crash
(10.9 KiB) Downloaded 98 times
factorio-dump-previous.dmp
Dump
(507.79 KiB) Downloaded 100 times

Allaizn
Former Staff
Former Staff
Posts: 90
Joined: Sat Mar 03, 2018 12:07 pm
Contact:

Re: [Rseding91] [16.28] Crash: "Surface::getAdvancedTile"

Post by Allaizn »

And I just crashed again, this time while moving the camera through map view to place some circuit connections. I attached (the slighty further built) save, (the now indeed most recent versions of) all mods, and the dump as well as the log :)
While checking the times I noticed that the auto-save should have been very near: last auto-save file was written at 21:41, while the crash dump at 21:55. My auto-save interval is set at 10min, which was stretched by me hanging around <=40 FPS/ UPS. Maybe some access rights conflict? This would at least explain the random part about the crashes... I will try to let Factorio run on that map for a few auto-save cycles to test that hypothesis, and then report here.
Attachments
_autosave1.zip
Save file (autosave to be as recent as possible)
(4.05 MiB) Downloaded 109 times
mods.zip
Mods (Attach Notes and Helmod were updated)
(3.79 MiB) Downloaded 98 times
factorio-dump-current.dmp
Dump file
(486.56 KiB) Downloaded 94 times
factorio-current.log
Log file
(11.01 KiB) Downloaded 97 times

Allaizn
Former Staff
Former Staff
Posts: 90
Joined: Sat Mar 03, 2018 12:07 pm
Contact:

Re: [Rseding91] [16.28] Crash: "Surface::getAdvancedTile"

Post by Allaizn »

Well, it doesn't seem to correlate with the auto-save to strongly. Setting the saving interval to 1min and then afking for about 30min didn't crash. But after setting it back up to 10 min and playing for a while I again crashed, this time immediately after an autosave. I simply ran upwards and removed the lower last stack inserter from each row (the unnecessary ones) to then crash after about 15 of them.
Attachments
_autosave2.zip
Map
(4.27 MiB) Downloaded 100 times
factorio-dump-current.dmp
Dump
(514.7 KiB) Downloaded 97 times
factorio-current.log
Log
(10.16 KiB) Downloaded 101 times

Allaizn
Former Staff
Former Staff
Posts: 90
Joined: Sat Mar 03, 2018 12:07 pm
Contact:

Re: [Rseding91] [16.28] Crash: "Surface::getAdvancedTile"

Post by Allaizn »

After doing other stuff for an hour, I decided to finish up for tonight with a little more cablework... Only to crash 1min after loading the autosave2 attached in my last post :shock: Log and Dump are attached, and I am deeply puzzled as to what may cause these crashes since I didn't do more than removing a few inserters and placing a blueprint twice.
Attachments
factorio-dump-current.dmp
Dump
(523.73 KiB) Downloaded 97 times
factorio-current.log
Log
(9.68 KiB) Downloaded 104 times

Allaizn
Former Staff
Former Staff
Posts: 90
Joined: Sat Mar 03, 2018 12:07 pm
Contact:

Re: [Rseding91] [16.28] Crash: "Surface::getAdvancedTile"

Post by Allaizn »

I got a few more crashes and crash logs:
- First a crash with the same setup as before :
factorio-current.log
Log1
(10.02 KiB) Downloaded 103 times
&
factorio-dump-current.dmp
Dump1
(521.14 KiB) Downloaded 99 times
- After that I tried removing all unused mods by toggling all mods but creative mode and progressive running, to crash again :
factorio-current.log
Log2
(8.41 KiB) Downloaded 105 times
,
factorio-dump-current.dmp
Dump2
(514.43 KiB) Downloaded 103 times
as well as
mods.zip
Mods
(3.79 MiB) Downloaded 109 times
- I then kept on trying for good measure to crash again, this time while having the furnace array running:
factorio-current.log
Log3
(9.76 KiB) Downloaded 100 times
,
factorio-dump-current.dmp
Dump3
(514.56 KiB) Downloaded 103 times
and
SmelterTest2.zip
save
(4.24 MiB) Downloaded 99 times
Having done all this made me suspicious of the progressive running mod, since I mostly (if not everytime?) crashed while running. This would explain why I didn't crash while afking for the auto-save test, as well as the randomness part of the crashes. It would also fit the time frame of my crashes, since I only got that particular mod quite recently (with the mod file currently in my directory last "edited" on February the 22nd). My only guess would be that the mod either doesn't like the sheer amount of cars (I think its about 3.5k of them), or that it has problems with my 10-exoframes power armor made possible by the creative mode fusion reactor :?: I disabled it for now and will report once I have played a few hours, either to confirm the cause, or with more crash reports :)
Happy weekend for everyone reading this!

Allaizn
Former Staff
Former Staff
Posts: 90
Joined: Sat Mar 03, 2018 12:07 pm
Contact:

Re: [Rseding91] [0.16.28] Crash: "Surface::getAdvancedTile"

Post by Allaizn »

A day later, and my suspicion is somewhat confirmed: I didn't crash anymore after removing progressive running from my mods list. I then tried adding the mod again, and crashed just now, again while running. This crash happened on an entirely new map, which at least confirms that the crashes are not map bound. I played for quite some time before crashing, and only about an half an hour ago started to place down some cars. I therefore think that its indeed something between progressive running and cars that freaks out the game. It's a shame though that I'm not able to figure out how to reproduce this behavoir :(
I'll definitely keep on playing without progressive running anymore, and will report here if our beloved game crashes once again :) I leave it up to you to decide whether or not you want to mark this thread as fixed, or try and find out how to prevent such crashes in the future (maybe some easy check allows for a definitive error message)
Attachments
General 10k Smelter Test.zip
Map
(2.09 MiB) Downloaded 85 times
factorio-dump-current.dmp
Dump
(514.56 KiB) Downloaded 89 times
factorio-current.log
Log
(9.76 KiB) Downloaded 88 times

Allaizn
Former Staff
Former Staff
Posts: 90
Joined: Sat Mar 03, 2018 12:07 pm
Contact:

Re: [Rseding91] [0.16.28] Crash: "Surface::getAdvancedTile"

Post by Allaizn »

Well, blame on me, I crashed again :oops: Seems like progressive running was not at fault! I'm definitely confused now. Mods active are only creative mode and bottleneck, which are both quite popular (and it would therefore be quite the surprise to be the only one with crashes). My only other idea are the cars, but I don't know how to test that idea, since I *really* want to work with them :? .
Log, Dump and map, as well as the current mod folder are attached as always.
Attachments
_autosave2.zip
Latest save from 01:31, auto-save interval is set at 10min (UPS is about 30-40)
(3.04 MiB) Downloaded 87 times
mods.zip
Mod folder (I didn't delete all the mods, I simply toggled them)
(3.79 MiB) Downloaded 89 times
factorio-dump-current.dmp
Dump from crash at 01:44
(521.32 KiB) Downloaded 89 times
factorio-current.log
Log from crash at 01:44
(9.27 KiB) Downloaded 83 times

Allaizn
Former Staff
Former Staff
Posts: 90
Joined: Sat Mar 03, 2018 12:07 pm
Contact:

Re: [Rseding91] [0.16.28] Crash: "Surface::getAdvancedTile"

Post by Allaizn »

Progress Update: Progressive Running doesn't seem to be the culprit, since I crashed two more times. Once more with 0.16.28, and now once with 0.16.29. Should I edit the title to reflect the fact that the crash persisted into the newest version?
The first crash happened to me about 15 secs after I loaded the save, seemingly triggered by me right clicking onto the blank deconstruction planner in my upper left hotbar (I think slot 2 or 3?) to create its filter. I didn't see the filter menu before crashing.
The second crash happened while I was placing items into cars, by holding the left mouse button and running to the left (1 stack of iron ore, created by the creative mode requesting feature, per car). Once again I noticed that the auto-save should have been very near, since the last auto-save was at 18:31 and the crash was at 18:44 with an interval of 10 min and about 40 UPS.
Any ideas on what I could try in an effort to reproduce the crashing/ workaround? I have Visual Studio installed and have no problems following complex instructions, so feel free to order me around :)
I will get my new desktop PC on Saturday, which will replace my current laptop as my gaming rig, allowing me to test my builds on a far more powerful PC (i7 8700K & GTX 1080 Ti). I hope that the crashes won't happen there, but it would be nice to at least know why I keep getting them :?:
Attachments
General 10k Smelter Test.zip
Save file from second crash (about 10 UPSmin before the crash)
(3.3 MiB) Downloaded 81 times
factorio-dump-current.dmp
Dump from second crash
(515.7 KiB) Downloaded 86 times
factorio-current.log
Log from second crash, now in 0.16.29
(8.67 KiB) Downloaded 78 times
General 10k Smelter Test.zip
Save file loaded in the first crash
(3.3 MiB) Downloaded 73 times
factorio-dump-current.dmp
Dump from first crash
(524.52 KiB) Downloaded 84 times
factorio-current.log
Log from first crash
(8.29 KiB) Downloaded 82 times

Allaizn
Former Staff
Former Staff
Posts: 90
Joined: Sat Mar 03, 2018 12:07 pm
Contact:

Re: [Rseding91] [0.16.28] Crash: "Surface::getAdvancedTile"

Post by Allaizn »

Progress Update: The culprit seems to be either creative mode or tons of cars in vanilla.
The steps taken to reach this conclusion:
1. Toggle all mods but creative mode off
2. Create brand new map, size 150x150, grass only (everything else set to "None"), no ore, no enemys, no pollution
3. Pave everything with refined concrete for faster walking
4. Place one giant loop of blue belt
5. Place just shy of 10k cars on said belt
6. Simulate factory by using a few stack inserters on top feeding from and to infinity chests
7. Wait a while and crash (no movement necessary)
All this was done in 0.16.30, crash log, dump and map file are attached. I crashed once so far, but I will continue to stress test this thing, until either you or me finds out whats happening.
My current suspicion is that the inserters don't perfectly check for the inventory they're interacting with, leading to read and writes to invalid memory. That's purely speculation on my part though.
I also attached a crash on the smelter map for good measure (Happened shortly after I placed a belt so that cars started moving again)
Attachments
_autosave3.zip
Latest save of the stress test
(766.49 KiB) Downloaded 78 times
factorio-dump-current.dmp
Dump from the stress test
(466.79 KiB) Downloaded 80 times
factorio-current.log
Log from the stress test
(9.66 KiB) Downloaded 81 times
General 10k Smelter Test.zip
smelter map
(2.86 MiB) Downloaded 81 times
factorio-dump-current.dmp
Dump from smelter map
(511.48 KiB) Downloaded 77 times
factorio-current.log
Log from smelter map
(8.45 KiB) Downloaded 86 times

Allaizn
Former Staff
Former Staff
Posts: 90
Joined: Sat Mar 03, 2018 12:07 pm
Contact:

Re: [Rseding91] [0.16.30] Crash: "Surface::getAdvancedTile"

Post by Allaizn »

It seems that my crashing is vanilla behavoir: Disabling all mods seemed to solve my problem, but I just crashed again. The auto-save was about 1 sec before, which leads me to believe that the saving doesn't correlate to the crashing, which in turn rules out causation.
Its not pure vanilla though, since the map was created when creative mode was installed, and therefore things like reach distance and no need for crafting materials didn't revert back after disabling the mod.
map, log and dump are attached as always, and I am as clueless as ever with regards to the source of these crashes :(
Edit: As to what I was doing as I crashed: I built a single furnace and some inserters feeding and emptying it to test some timings. After that I literally just stood there with my mouse not hovering over anything (I think) and observed the furnace while thinking what to do next, just to be interrupted by the crash notification.
Attachments
factorio-dump-current.dmp
Dump
(466.79 KiB) Downloaded 82 times
factorio-current.log
Log
(9.66 KiB) Downloaded 79 times
_autosave3.zip
autosave from seconds before the crash
(766.49 KiB) Downloaded 85 times

posila
Factorio Staff
Factorio Staff
Posts: 5201
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [Rseding91] [0.16.30] Crash: "Surface::getAdvancedTile"

Post by posila »

Hi, what kind of computer do you have? Based on your low-voltage model of CPU I assume you have a laptop. My bet is on overheating. Does the laptop have any fans? Can you install some software monitoring CPU temperature (for example http://openhardwaremonitor.org/)?

Allaizn
Former Staff
Former Staff
Posts: 90
Joined: Sat Mar 03, 2018 12:07 pm
Contact:

Re: [Rseding91] [0.16.30] Crash: "Surface::getAdvancedTile"

Post by Allaizn »

Sorry for the late answer, but stuff was happening IRL, causing me to forget about the bug report :oops: sorry for the delay.
I ultimately wasn't able to figure out what the core problem was, so overheating could be possible, though unlikely, since the laptop was comfortably sitting on my lap.
I now upgraded to a much more beastly desktop, and not once in all of my car development has factorio crashed again, so I'd say it's safe to assume that there was some kind of non obvious hardware problem, and hence case closed for this bug report.

Post Reply

Return to “Pending”