Page 1 of 1

[1.1.59] Crash: "Attempting to create notice box in headless mode. Message: 'basic_string::_M_create'"

Posted: Fri May 13, 2022 2:31 pm
by ptx0
37.757 Info ServerMultiplayerManager.cpp:794: updateTick(193336926) changing state from(CreatingGame) to(InGame)
37.956 Info ServerRouter.cpp:657: Asking pingpong servers (pingpong1.factorio.com:34197, pingpong2.factorio.com:34197, pingpong3.factorio.com:34197, pingpong4.factorio.com:34197) for own address
37.956 Info CommandLineMultiplayer.cpp:292: Maximum segment size = 100; minimum segment size = 25; maximum-segment-size peer count = 10; minimum-segment-size peer count = 20
37.992 Info ServerRouter.cpp:540: Own address is IP ADDR:({54.39.16.6:34197}) (confirmed by pingpong3)
38.058 Info ServerRouter.cpp:540: Own address is IP ADDR:({54.39.16.6:34197}) (confirmed by pingpong2)
38.138 Info MatchingServer.cpp:114: Matching server game `12568351` has been created.
38.140 Info ServerMultiplayerManager.cpp:726: Matching server connection resumed
38.209 Info ServerRouter.cpp:540: Own address is IP ADDR:({54.39.16.6:34197}) (confirmed by pingpong4)
355.890 Info AppManager.cpp:286: Saving to _autosave1 (non-blocking).
355.928 Info AsyncScenarioSaver.cpp:156: Saving process PID: 31660
356.942 Info ChildProcessAgent.cpp:60: Child 31660 exited with return value 0
356.947 Error Util.cpp:83: Attempting to create notice box in headless mode. Message: 'basic_string::_M_create'


full log: http://ix.io/3XFX

Re: [1.1.59] Crash: "Attempting to create notice box in headless mode. Message: 'basic_string::_M_create'"

Posted: Fri May 13, 2022 2:42 pm
by Loewchen
Can you reproduce this?

Re: [1.1.59] Crash: "Attempting to create notice box in headless mode. Message: 'basic_string::_M_create'"

Posted: Sat May 14, 2022 5:33 am
by ptx0
Loewchen wrote:
Fri May 13, 2022 2:42 pm
Can you reproduce this?
all the time, at least with the same save file.

Re: [1.1.59] Crash: "Attempting to create notice box in headless mode. Message: 'basic_string::_M_create'"

Posted: Sat May 14, 2022 5:35 am
by ptx0

Re: [1.1.59] Crash: "Attempting to create notice box in headless mode. Message: 'basic_string::_M_create'"

Posted: Sun May 29, 2022 3:35 pm
by Rseding91
Do you have some steps to reproduce it? Does it specifically rely on async saving?

When I host it locally as a headless instance it seems to run fine with no errors. It also seems to work fine in single player with no errors.

Re: [1.1.59] Crash: "Attempting to create notice box in headless mode. Message: 'basic_string::_M_create'"

Posted: Mon May 30, 2022 4:20 pm
by ptx0
Rseding91 wrote:
Sun May 29, 2022 3:35 pm
Do you have some steps to reproduce it? Does it specifically rely on async saving?

When I host it locally as a headless instance it seems to run fine with no errors. It also seems to work fine in single player with no errors.
i haven't tried without async, i shall give that a whirl

Re: [1.1.59] Crash: "Attempting to create notice box in headless mode. Message: 'basic_string::_M_create'"

Posted: Mon May 30, 2022 4:23 pm
by ptx0
unfortunately it just exits around the time it saves and there's usually no one logged in when it happens

Re: [1.1.59] Crash: "Attempting to create notice box in headless mode. Message: 'basic_string::_M_create'"

Posted: Mon May 30, 2022 4:33 pm
by ptx0
/save
Saving map to ~/factorio/2022-March/saves/2022-March.zip
621.386 Info AppManager.cpp:420: Saving game as ~/factorio/2022-March/saves/2022-March.zip
621.405 Info AsyncScenarioSaver.cpp:156: Saving process PID: 12389
622.464 Info ChildProcessAgent.cpp:60: Child 12389 exited with return value 0
622.493 Error Util.cpp:83: Attempting to create notice box in headless mode. Message: 'basic_string::_M_create'
623.106 Info ServerMultiplayerManager.cpp:113: Disconnecting multiplayer connection.
623.106 Info ServerMultiplayerManager.cpp:794: updateTick(4294967295) changing state from(InGame) to(DisconnectingScheduled)
623.138 Info ServerMultiplayerManager.cpp:140: Quitting multiplayer connection.
623.139 Info ServerMultiplayerManager.cpp:794: updateTick(4294967295) changing state from(DisconnectingScheduled) to(Closed)
623.151 Info HttpSharedState.cpp:54: Downloading https://multiplayer.factorio.com/remove-game/12692730
623.361 Info UDPSocket.cpp:218: Closing socket
623.361 Info UDPSocket.cpp:248: Socket closed
623.385 Goodbye
only occurs with async

Re: [1.1.59] Crash: "Attempting to create notice box in headless mode. Message: 'basic_string::_M_create'"

Posted: Sat Jun 11, 2022 7:29 pm
by ptx0
Screenshot_20220611_122726.png
Screenshot_20220611_122726.png (890.66 KiB) Viewed 1941 times
After running the save long enough in singleplayer, once an autosave occurs, it pops this notice up.

Re: [1.1.59] Crash: "Attempting to create notice box in headless mode. Message: 'basic_string::_M_create'"

Posted: Sat Jun 11, 2022 7:44 pm
by Rseding91
ptx0 wrote:
Sat Jun 11, 2022 7:29 pm
After running the save long enough in singleplayer, once an autosave occurs, it pops this notice up.
Does it require that async saving be enabled and if no, how long do i need to run it in single player before it happens?

Re: [1.1.59] Crash: "Attempting to create notice box in headless mode. Message: 'basic_string::_M_create'"

Posted: Sat Jun 11, 2022 10:06 pm
by ptx0
Rseding91 wrote:
Sat Jun 11, 2022 7:44 pm
ptx0 wrote:
Sat Jun 11, 2022 7:29 pm
After running the save long enough in singleplayer, once an autosave occurs, it pops this notice up.
Does it require that async saving be enabled and if no, how long do i need to run it in single player before it happens?
it does still require async be enabled. i just had not tried it in singleplayer yet and didn't realise i would actually get to see the Notice box there.

I suppose if you increase the save frequency it would happen pretty soon