[1.1.49] Unexpected error occurred while preview map

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
nuhll
Filter Inserter
Filter Inserter
Posts: 922
Joined: Mon Apr 04, 2016 9:48 pm
Contact:

[1.1.49] Unexpected error occurred while preview map

Post by nuhll »

Hi,
i wanna start a new map, i got some bluescreens while tryin to preview maps in singleplayer so i decided to go to multiplayer to create a map...

then i got a "Unexpected error occurred"

Some QoL Mods, Krastorio 2, Space exploration
Attachments
factorio-dump-current.dmp
(852.49 KiB) Downloaded 95 times
factorio-current.log
(40.02 KiB) Downloaded 112 times

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

Re: [1.1.49] Unexpected error occurred while preview map

Post by Loewchen »

If you get bluescreens, then something is wrong with your system.

nuhll
Filter Inserter
Filter Inserter
Posts: 922
Joined: Mon Apr 04, 2016 9:48 pm
Contact:

Re: [1.1.49] Unexpected error occurred while preview map

Post by nuhll »

yeah, but it only happens in factorio. it said i should share it, so there you are.

And also not only in factorio, it also ONLY happens while creating a preview of a map.

orzelek
Smart Inserter
Smart Inserter
Posts: 3911
Joined: Fri Apr 03, 2015 10:20 am
Contact:

Re: [1.1.49] Unexpected error occurred while preview map

Post by orzelek »

nuhll wrote:
Fri Dec 17, 2021 8:39 pm
yeah, but it only happens in factorio. it said i should share it, so there you are.

And also not only in factorio, it also ONLY happens while creating a preview of a map.
I think that preview map generates using multiple threads so if it causes blue screens you could run some tests to load CPU and check if they will also cause problems.

nuhll
Filter Inserter
Filter Inserter
Posts: 922
Joined: Mon Apr 04, 2016 9:48 pm
Contact:

Re: [1.1.49] Unexpected error occurred while preview map

Post by nuhll »

Yeah again like 100 hours in a game without a single crash. I literally had to use a different computer to generate a map for me :P

Maybe a dev can tell what makes the preview method so special? Does it use different instructions?

Bilka
Factorio Staff
Factorio Staff
Posts: 3133
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: [1.1.49] Unexpected error occurred while preview map

Post by Bilka »

nuhll wrote:
Fri Dec 31, 2021 12:11 pm
Maybe a dev can tell what makes the preview method so special?
It eats CPU cores for breakfast :)


You can try reducing the used thread count: Main menu -> ctrl + alt click on settings -> the rest -> search for max-map-preview-threads -> decrease the number.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.

nuhll
Filter Inserter
Filter Inserter
Posts: 922
Joined: Mon Apr 04, 2016 9:48 pm
Contact:

Re: [1.1.49] Unexpected error occurred while preview map

Post by nuhll »

Bilka wrote:
Fri Dec 31, 2021 1:53 pm
nuhll wrote:
Fri Dec 31, 2021 12:11 pm
Maybe a dev can tell what makes the preview method so special?
It eats CPU cores for breakfast :)


You can try reducing the used thread count: Main menu -> ctrl + alt click on settings -> the rest -> search for max-map-preview-threads -> decrease the number.
Thanks, ill give it a try.

But i tested my OC with prime95, does it maybe use AVX (or what ever its called?) this special thing no program normal uses xD

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

Re: [1.1.49] Unexpected error occurred while preview map

Post by Rseding91 »

nuhll wrote:
Sat Jan 01, 2022 12:03 am
Thanks, ill give it a try.

But i tested my OC with prime95, does it maybe use AVX (or what ever its called?) this special thing no program normal uses xD
Virtually every program out there uses SIMD including the operating system and the browser you're using to post here.

The bottom line is: if you experience a BSOD then your hardware is unstable. That's caused by: bad overclocks, bad hardware, or bad drivers.
If you want to get ahold of me I'm almost always on Discord.

User avatar
ptx0
Smart Inserter
Smart Inserter
Posts: 1507
Joined: Wed Jan 01, 2020 7:16 pm
Contact:

Re: [1.1.49] Unexpected error occurred while preview map

Post by ptx0 »

Rseding91 wrote:
Sun Jan 02, 2022 1:10 am
The bottom line is: [...] hardware is unstable. That's caused by: [...] bad drivers.
that's software
Rseding91 wrote:
Sun Jan 02, 2022 1:10 am
Virtually every program out there uses SIMD including the operating system and the browser you're using to post here.
not all SIMD use is equivalent or Prime95 wouldn't be capable of such excessive power consumption. Furmark has its own nasty way with things.

either way, not helpful info since it's not even accurate

User avatar
ptx0
Smart Inserter
Smart Inserter
Posts: 1507
Joined: Wed Jan 01, 2020 7:16 pm
Contact:

Re: [1.1.49] Unexpected error occurred while preview map

Post by ptx0 »

https://stackoverflow.com/questions/171 ... 0005-in-vc


c05 error is accessing invalid memory, which means Factorio is doing something it shouldn't. probably a use-after-free in some threaded code.

User avatar
ptx0
Smart Inserter
Smart Inserter
Posts: 1507
Joined: Wed Jan 01, 2020 7:16 pm
Contact:

Re: [1.1.49] Unexpected error occurred while preview map

Post by ptx0 »

btw you have a really nice system and i'm kind of jealous 🥰

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

Re: [1.1.49] Unexpected error occurred while preview map

Post by Rseding91 »

ptx0 wrote:
Sun Jan 02, 2022 4:32 am
Rseding91 wrote:
Sun Jan 02, 2022 1:10 am
The bottom line is: [...] hardware is unstable. That's caused by: [...] bad drivers.
that's software
Drivers are kernal space software. User space software does not have access to anything that can cause a BSOD.
If you want to get ahold of me I'm almost always on Discord.

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

Re: [1.1.49] Unexpected error occurred while preview map

Post by Rseding91 »

ptx0 wrote:
Sun Jan 02, 2022 4:37 am
https://stackoverflow.com/questions/171 ... 0005-in-vc


c05 error is accessing invalid memory, which means Factorio is doing something it shouldn't. probably a use-after-free in some threaded code.
It's not. It's a unstable system executing code that has been corrupted by an unstable CPU overclock. I and multiple coworkers have that exact same CPU and have been running it for quite some time with zero issues. If there was any issue with the code that's running we would see it in the crash logs and they show there is no issues around that area of code.
If you want to get ahold of me I'm almost always on Discord.

Post Reply

Return to “Technical Help”