[0.17.67] Running at certain high speed causes cpu hang or crash

Things that we don't consider worth fixing at this moment.
User avatar
Jon8RFC
Filter Inserter
Filter Inserter
Posts: 554
Joined: Tue May 10, 2016 3:39 pm
Contact:

[0.17.67] Running at certain high speed causes cpu hang or crash

Post by Jon8RFC »

This is reproducible.

Running at game.player.character_running_speed_modifier =
100000 causes very short cpu hang
1000000 causes a long cpu hang
10000000 has minimal impact, only noticeable by watching the debug numbers
100000000 causes a crash

https://youtu.be/u5kg-NEeuGI

I was trying to test something else out, and happened up on this.
I'm more interested in why it hangs at one high speed and not another.

The crash, I'm guessing, is just because it was making a map larger than the game is coded to handle, so no big deal. Is that correct?
Attachments
running_fast_cpu_pegged.zip
(2.34 MiB) Downloaded 112 times
factorio-dump-current.dmp
(767.3 KiB) Downloaded 91 times
factorio-current.log
(14.52 KiB) Downloaded 107 times
Last edited by Jon8RFC on Wed Sep 04, 2019 1:23 pm, edited 1 time in total.
Image
posila
Factorio Staff
Factorio Staff
Posts: 5408
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [0.17.67] Running at certain high speed causes cpu hang or crash

Post by posila »

Don't do that
User avatar
Jon8RFC
Filter Inserter
Filter Inserter
Posts: 554
Joined: Tue May 10, 2016 3:39 pm
Contact:

Re: [0.17.67] Running at certain high speed causes cpu hang or crash

Post by Jon8RFC »

HA! Thanks. So what's the madness behind one speed causing a major, long hang, but the higher speed seemingly having no impact?
Image
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 3290
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [0.17.67] Running at certain high speed causes cpu hang or crash

Post by boskid »

100 000 000 == 1e8? Why so slow? You need at least 1e308! 74542
User avatar
Jon8RFC
Filter Inserter
Filter Inserter
Posts: 554
Joined: Tue May 10, 2016 3:39 pm
Contact:

Re: [0.17.67] Running at certain high speed causes cpu hang or crash

Post by Jon8RFC »

Looks like they're related in 1/0 magic:
viewtopic.php?f=35&t=54346
Image
Post Reply

Return to “Won't fix.”