[0.12.8] Crash when loading invalid mods in linux
[0.12.8] Crash when loading invalid mods in linux
When ever I am trying to start the linux (64bit, if it matters) version of factorio, with a faulty mod active, the program crashes without any message. I remember the Windows version showing a nice message, telling me which problem occurred and which mod/file caused it. Some of the causes for the crash are: Invalid mod folder name, syntax errors in the lua files, missing or no longer existing properties of prototypes, or invalid values given for a property, such as required_energy = 0.
Re: [0.12.8] Crash when loading invalid mods in linux
Factorio does not crash in these cases but prints a message explaining the problem to stdout and the log file.
Automatic Belt (and pipe) Planner—Automate yet another aspect of constructing your factory!
Re: [0.12.8] Crash when loading invalid mods in linux
I've tried introducing syntax errors into mods, but couldn't get it to crash.
How do I reproduce this?
How do I reproduce this?
Re: [0.12.8] Crash when loading invalid mods in linux
Yes, it writes a message in the log file. If you do not call this a crash, when the program exits without telling the user beforehand why it exits, I don't know what you would call a crash.
What annoys me is, that factorio quits without opening some Message Box saying what the problem is. And as far as I remember, the windows version/ an earlier version has done this. I don't care if it crashes during playing, but in this early phase I often do not notice that the programm has started at all, and start it a couple of times before I realise that it could be a good idea to have a look at the logfile.
Edit: As said in the initial post, it happens to me with any error, no matter if syntax error, wrong named mod folder or invalid/missing prototype elements. But I think it is an linux only problem, but not tested yet, I haven't played factorio on windows for a while (some early 0.11 version).
What annoys me is, that factorio quits without opening some Message Box saying what the problem is. And as far as I remember, the windows version/ an earlier version has done this. I don't care if it crashes during playing, but in this early phase I often do not notice that the programm has started at all, and start it a couple of times before I realise that it could be a good idea to have a look at the logfile.
Edit: As said in the initial post, it happens to me with any error, no matter if syntax error, wrong named mod folder or invalid/missing prototype elements. But I think it is an linux only problem, but not tested yet, I haven't played factorio on windows for a while (some early 0.11 version).
Re: [0.12.8] Crash when loading invalid mods in linux
If the game died with a segfault or unhandled exception, that would be a crash. In this case, a mod is doing something wrong which is detected and reported properly, just not in a way you'd expect. It is still working as intended. The game decides to exit on its own, which is not a crash.Kevin94 wrote:Yes, it writes a message in the log file. If you do not call this a crash, when the program exits without telling the user beforehand why it exits, I don't know what you would call a crash.
If the game used to display a message box and this is something that broke recently, that is worth a bug report. If no such box was ever displayed, it's a feature request.Kevin94 wrote:What annoys me is, that factorio quits without opening some Message Box saying what the problem is. And as far as I remember, the windows version/ an earlier version has done this. I don't care if it crashes during playing, but in this early phase I often do not notice that the programm has started at all, and start it a couple of times before I realise that it could be a good idea to have a look at the logfile.
Edit: As said in the initial post, it happens to me with any error, no matter if syntax error, wrong named mod folder or invalid/missing prototype elements. But I think it is an linux only problem, but not tested yet, I haven't played factorio on windows for a while (some early 0.11 version).
Automatic Belt (and pipe) Planner—Automate yet another aspect of constructing your factory!
Re: [0.12.8] Crash when loading invalid mods in linux
Tested it on windows, with the latest version (0.11.19) I played there before migrating to linux. So im stil unsure if it was genrally removed or it's just an linux thing. But it was implemented at some time, so this definitly not a feature request.
In opposition to my memories that it opens the same kind of dialog as a runtime error in the game, it opens a native Windows Message Box. My gues is, this function is not working on linux and fails silently.
In opposition to my memories that it opens the same kind of dialog as a runtime error in the game, it opens a native Windows Message Box. My gues is, this function is not working on linux and fails silently.