game hangs when exiting or restarting since 1.1.63

Things that has been reported already before.
Post Reply
fctrusr
Manual Inserter
Manual Inserter
Posts: 4
Joined: Wed Jun 08, 2022 10:08 pm
Contact:

game hangs when exiting or restarting since 1.1.63

Post by fctrusr »

When i want to exit the game or the game wants to restart after mod changes it just hangs after it prints Messages like "User exit" to the console.

I need to kill the process or hit ctrl-c twice on the command line.
2635.545 Quitting: user-quit.
^C2645.843 Received SIGINT, shutting down
^C2648.155 Received second SIGINT, terminating immediately

Illiander42
Filter Inserter
Filter Inserter
Posts: 412
Joined: Mon Feb 05, 2018 10:01 am
Contact:

[1.1.65] Crash on game exit

Post by Illiander42 »

Linux, latest experimental.

Any exit of the game (exit button in main menu, confirm on mod changes) causes factorio to freeze instead of exit.

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

Re: game hangs when exiting or restarting since 1.1.63

Post by Loewchen »

Post the complete log after session with the issue.
Duplicate of viewtopic.php?f=182&t=102982

SnelleSjonnie
Burner Inserter
Burner Inserter
Posts: 8
Joined: Mon Jan 22, 2018 8:41 pm
Contact:

[1.1.65] Menu quit does not work

Post by SnelleSjonnie »

I play on Linux, with SpaceExploration mod. Just updated to latest experimental today.

When pressing quit, a line is written to the log file, but then the application just hangs.

Tail of the log file, before I had to 'force quit':

Code: Select all

  48.262 Script @__resourceMarker__/control.lua:42: The english.lua table missing `se-holmium-ore`
  59.359 Script @__resourceMarker__/control.lua:42: The english.lua table missing `se-cryonite`
 138.954 Quitting: user-quit.
Killed

fctrusr
Manual Inserter
Manual Inserter
Posts: 4
Joined: Wed Jun 08, 2022 10:08 pm
Contact:

Re: game hangs when exiting or restarting since 1.1.63

Post by fctrusr »

just verified the issue with 1.1.62, 1.1.63 and 1.1.65.
1.1.62 works as expected when selecting Exit in the Main Menu:

Code: Select all

 292.776 Quitting: user-quit.
 294.412 Goodbye
 
while doing the same in 1.1.63 or 1.1.65 i need to force the program to quit by hitting ctrl-c twice

Code: Select all

  13.031 Quitting: user-quit.
^C  17.581 Received SIGINT, shutting down
^C  21.533 Received second SIGINT, terminating immediately
i also disabled all mods, nothing changed, no need to start a game or load a save, just execute 'bin/x64/factorio'.

According to the timestamps the verification just took less than 30 seconds.

complete factorio-current.log https://paste.debian.net/hidden/a648ab7c/

Donion
Factorio Staff
Factorio Staff
Posts: 173
Joined: Sun Aug 22, 2021 9:18 am
Contact:

Re: game hangs when exiting or restarting since 1.1.63

Post by Donion »

fctrusr wrote:
Sun Aug 07, 2022 3:42 am
1.1.62 works as expected when selecting Exit in the Main Menu:

while doing the same in 1.1.63 or 1.1.65 i need to force the program to quit by hitting ctrl-c twice
1.1.62 uses the ALSA driver, 1.1.63 and newer also has PulseAudio driver, which is used by default.
You should be able to force the ALSA driver by setting an environment variable:

Code: Select all

SDL_AUDIODRIVER=alsa
Could you also try using the Allegro audio backend (it also has both PulseAudio and ALSA driver) on 1.1.63 or newer and check how Factorio shows up in your sound settings (or in pavucontrol if you have it installed).

Illiander42
Filter Inserter
Filter Inserter
Posts: 412
Joined: Mon Feb 05, 2018 10:01 am
Contact:

Re: game hangs when exiting or restarting since 1.1.63

Post by Illiander42 »

Tried with ALSA launch option, no change.

Additional info: I have to delete the .lock file before starting Factorio again.

Allegro backend setting change in config file solves issue.

Post Reply

Return to “Duplicates”