[wheybags][0.15.37] Crash when installing mod [Linux]

This subforum contains all the issues which we already resolved.
Post Reply
anstow
Burner Inserter
Burner Inserter
Posts: 10
Joined: Mon Mar 16, 2015 10:34 am
Contact:

[wheybags][0.15.37] Crash when installing mod [Linux]

Post by anstow »

I just tried to install the Sea Block mod and after selecting the mod from the menu and clicking install the game crashed. actually the crash seems to happen after I click back after clicking install. (I'm getting the same crash with installing other mods as well.)

Here is the factorio-current:

Code: Select all

   0.000 2017-10-28 10:38:32; Factorio 0.15.37 (build 30927, linux64, alpha)
   0.000 Operating system: Linux
   0.000 Program arguments: "factorio" 
   0.000 Read data path: /usr/share/factorio
   0.000 Write data path: /home/david/.factorio
   0.000 Binaries path: /home/david/aurPackages
   0.014 System info: [CPU: Intel(R) Core(TM) i7-6560U CPU @ 2.20GHz, 4 cores, RAM: 7833MB]
   0.017 Display options: [FullScreen: 1] [VSync: 0] [UIScale: 180.8%] [MultiSampling: OFF] [Screen: 255] [Lang: en]
   0.020 Available display adapters: 1
   0.020  [0]: resolution 3200x1800px at [0,0]
   0.020 Create display on adapter 0. Size 2314x1301 at position [433, 232].
   0.485 Initialised OpenGL:[0] Mesa DRI Intel(R) Iris Graphics 540 (Skylake GT3e) ; driver: 3.0 Mesa 17.2.2
   0.563 Graphics settings preset: medium
   0.563 Graphics options: [Graphics quality: low] [Video memory usage: low] [Light scale: 25%] [DXT: false] [Shader: 1]
   0.835 Loading mod settings rso-mod 3.3.2 (settings.lua)
   0.836 Loading mod settings angelsinfiniteores 0.6.10 (settings.lua)
   0.839 Loading mod core 0.0.0 (data.lua)
   0.858 Loading mod base 0.15.37 (data.lua)
   1.003 Loading mod rso-mod 3.3.2 (data.lua)
   1.037 Loading mod angelsinfiniteores 0.6.10 (data.lua)
   1.090 Loading mod base 0.15.37 (data-updates.lua)
   1.131 Loading mod rso-mod 3.3.2 (data-updates.lua)
   1.177 Loading mod angelsinfiniteores 0.6.10 (data-final-fixes.lua)
   1.228 Checksum for core: 2904504744
   1.228 Checksum of base: 1503927233
   1.228 Checksum of rso-mod: 2474247793
   1.229 Checksum of angelsinfiniteores: 3760711546
   1.559 Info PlayerData.cpp:58: Local player-data.json available, timestamp 1498309670
   1.559 Info PlayerData.cpp:65: Cloud player-data.json unavailable
   1.737 Loaded shader file /usr/share/factorio/core/graphics/shaders/game.glsl
   1.746 Loaded shader file /usr/share/factorio/core/graphics/shaders/zoom-to-world.glsl
   1.765 Crop bitmaps.
  13.319 Initial atlas bitmap size is 2048
  13.319 Created atlas bitmap 2048x162
  13.326 Created atlas bitmap 2048x2036
  13.340 Created atlas bitmap 2048x2044
  13.345 Created atlas bitmap 2048x1116
  13.349 Created atlas bitmap 2048x1984
  13.354 Created atlas bitmap 2048x1872
  51.808 Sprites loaded
  51.809 Convert atlas 2048x2036 to: mipmap 
  51.888 Convert atlas 2048x2044 to: mipmap 
  51.963 Convert atlas 2048x1116 to: mipmap 
  52.001 Convert atlas 2048x1984 to: trilinear-filtering 
  52.076 Convert atlas 2048x1872 to: trilinear-filtering 
  52.143 Loading sounds...
  55.670 Custom inputs active: 0
  55.721 Factorio initialised
  61.506 Info HttpSharedState.cpp:44: Downloading https://mods.factorio.com/api/mods?page_size=max
  83.683 Info HttpSharedState.cpp:111: Status code: 200
  94.207 Info HttpSharedState.cpp:44: Downloading https://mods.factorio.com/api/mods/SeaBlock
  94.990 Info HttpSharedState.cpp:111: Status code: 200
  99.623 Info ModPortal.cpp:194: Downloading /api/downloads/data/mods/1279/SeaBlock_0.1.9.zip?username=anstow&token=<private> to /home/david/.factorio/temp/SeaBlock_0.1.9.zip
  99.623 Info HttpSharedState.cpp:44: Downloading https://mods.factorio.com/api/downloads/data/mods/1279/SeaBlock_0.1.9.zip?username=anstow&token=<private>
 100.082 Info HttpSharedState.cpp:111: Status code: 200
 105.098 Info AppManager.cpp:769: Restarting Factorio
 105.098 Restarting for reason other than update. Setting execute permission skipped.
 106.594 Goodbye
   0.000 2017-10-28 10:38:32; Factorio 0.15.37 (build 30927, linux64, alpha)
   0.000 Operating system: Linux
   0.000 Program arguments: "factorio" 
   0.000 Read data path: /usr/share/factorio
   0.000 Write data path: /home/david/.factorio
   0.000 Binaries path: /home/david/aurPackages
   0.014 System info: [CPU: Intel(R) Core(TM) i7-6560U CPU @ 2.20GHz, 4 cores, RAM: 7833MB]
   0.017 Display options: [FullScreen: 1] [VSync: 0] [UIScale: 180.8%] [MultiSampling: OFF] [Screen: 255] [Lang: en]
   0.020 Available display adapters: 1
   0.020  [0]: resolution 3200x1800px at [0,0]
   0.020 Create display on adapter 0. Size 2314x1301 at position [433, 232].
   0.485 Initialised OpenGL:[0] Mesa DRI Intel(R) Iris Graphics 540 (Skylake GT3e) ; driver: 3.0 Mesa 17.2.2
   0.563 Graphics settings preset: medium
   0.563 Graphics options: [Graphics quality: low] [Video memory usage: low] [Light scale: 25%] [DXT: false] [Shader: 1]
   0.835 Loading mod settings rso-mod 3.3.2 (settings.lua)
   0.836 Loading mod settings angelsinfiniteores 0.6.10 (settings.lua)
   0.839 Loading mod core 0.0.0 (data.lua)
   0.858 Loading mod base 0.15.37 (data.lua)
   1.003 Loading mod rso-mod 3.3.2 (data.lua)
   1.037 Loading mod angelsinfiniteores 0.6.10 (data.lua)
   1.090 Loading mod base 0.15.37 (data-updates.lua)
   1.131 Loading mod rso-mod 3.3.2 (data-updates.lua)
   1.177 Loading mod angelsinfiniteores 0.6.10 (data-final-fixes.lua)
   1.228 Checksum for core: 2904504744
   1.228 Checksum of base: 1503927233
   1.228 Checksum of rso-mod: 2474247793
   1.229 Checksum of angelsinfiniteores: 3760711546
   1.559 Info PlayerData.cpp:58: Local player-data.json available, timestamp 1498309670
   1.559 Info PlayerData.cpp:65: Cloud player-data.json unavailable
   1.737 Loaded shader file /usr/share/factorio/core/graphics/shaders/game.glsl
   1.746 Loaded shader file /usr/share/factorio/core/graphics/shaders/zoom-to-world.glsl
   1.765 Crop bitmaps.
  13.319 Initial atlas bitmap size is 2048
  13.319 Created atlas bitmap 2048x162
  13.326 Created atlas bitmap 2048x2036
  13.340 Created atlas bitmap 2048x2044
  13.345 Created atlas bitmap 2048x1116
  13.349 Created atlas bitmap 2048x1984
  13.354 Created atlas bitmap 2048x1872
  51.808 Sprites loaded
  51.809 Convert atlas 2048x2036 to: mipmap 
  51.888 Convert atlas 2048x2044 to: mipmap 
  51.963 Convert atlas 2048x1116 to: mipmap 
  52.001 Convert atlas 2048x1984 to: trilinear-filtering 
  52.076 Convert atlas 2048x1872 to: trilinear-filtering 
  52.143 Loading sounds...
  55.670 Custom inputs active: 0
  55.721 Factorio initialised
  61.506 Info HttpSharedState.cpp:44: Downloading https://mods.factorio.com/api/mods?page_size=max
  83.683 Info HttpSharedState.cpp:111: Status code: 200
  94.207 Info HttpSharedState.cpp:44: Downloading https://mods.factorio.com/api/mods/SeaBlock
  94.990 Info HttpSharedState.cpp:111: Status code: 200
  99.623 Info ModPortal.cpp:194: Downloading /api/downloads/data/mods/1279/SeaBlock_0.1.9.zip?username=anstow&token=<private> to /home/david/.factorio/temp/SeaBlock_0.1.9.zip
  99.623 Info HttpSharedState.cpp:44: Downloading https://mods.factorio.com/api/downloads/data/mods/1279/SeaBlock_0.1.9.zip?username=anstow&token=<private>
 100.082 Info HttpSharedState.cpp:111: Status code: 200
 105.098 Info AppManager.cpp:769: Restarting Factorio
 105.098 Restarting for reason other than update. Setting execute permission skipped.
 106.594 Goodbye
In the terminal (that I started the game from) there is also the following:

Code: Select all

   0.000  Error CrashHandler.cpp:387: Received SIGSEGV
   0.000  Error Util.cpp:80: Unexpected error occurred. If you're running the latest version of the game you can help us solve the problem by posting the contents of the log file on the Factorio forums.
Please also include the save file(s), any mods you may be using, and any steps you know of to reproduce the crash.

------------- Error -------------
Unexpected error occurred. If you're running the latest version of the game you can help us solve the problem by posting the contents of the log file on the Factorio forums.
Please also include the save file(s), any mods you may be using, and any steps you know of to reproduce the crash.
---------------------------------

User avatar
mickael9
Fast Inserter
Fast Inserter
Posts: 112
Joined: Mon Mar 14, 2016 4:04 am
Contact:

Re: [0.15.37] Crash when installing mod [Linux]

Post by mickael9 »

Having this problem too, it seems factorio incorrectly uses the current working directory as the binaries path (as can be seen in OP's log).
When restarting, factorio tries to run $PWD/factorio (confirmed by using strace -f -e execve) instead of the actual executable path (/usr/bin/factorio in my case)

Edit: note that this only happens when factorio is started with an argv[0] that doesn't contain a full path, eg when writing "factorio" in a terminal as opposed to "/usr/bin/factorio"

Edit 2: this might help: https://stackoverflow.com/questions/933 ... table-in-c

User avatar
wheybags
Former Staff
Former Staff
Posts: 328
Joined: Fri Jun 02, 2017 1:50 pm
Contact:

Re: [wheybags][0.15.37] Crash when installing mod [Linux]

Post by wheybags »

Fixed for 0.16.16, using the method you suggested, @mikael9.
Thanks for the report!

Post Reply

Return to “Resolved Problems and Bugs”