[16.22] Crash on launch: "Failed to load window icon!"

Bugs that we were not able to reproduce, and/or are waiting for more detailed info.
albertz66
Manual Inserter
Manual Inserter
Posts: 3
Joined: Fri Feb 02, 2018 3:37 pm
Contact:

[16.22] Crash on launch: "Failed to load window icon!"

Post by albertz66 »

Factorio 0.16.22 Crashes on launch with the following log:

Code: Select all

   0.000 2018-02-02 09:28:44; Factorio 0.16.22 (build 35382, linux64, steam)
   0.000 Operating system: Linux
   0.000 Program arguments: "/home/me/.local/share/Steam/steamapps/common/Factorio/bin/x64/factorio" 
   0.000 Read data path: /home/me/.local/share/Steam/steamapps/common/Factorio/data
   0.000 Write data path: /home/me/.factorio [16624/42020MB]
   0.000 Binaries path: /home/me/.local/share/Steam/steamapps/common/Factorio/bin
   0.015 System info: [CPU: Intel(R) Core(TM) i5-4200U CPU @ 1.60GHz, 4 cores, RAM: 7902 MB]
   0.016 Display options: [FullScreen: 1] [VSync: 1] [UIScale: system (100.0%)] [MultiSampling: OFF] [Screen: 255] [Lang: en]
   0.036 Available display adapters: 1
   0.036  [0]: resolution 1366x768px at [0,0]
   0.036 Create display on adapter 0. Size 1280x718 at position [33, 7].
   0.387 Initialised OpenGL:[0] Mesa DRI Intel(R) Haswell Mobile ; driver: 3.0 Mesa 17.3.3
   0.388   GL_NVX_gpu_memory_info not supported, VRAM detection won't work properly
   0.388 al_create_bitmap failed while loading PNG.

   0.388 Error Util.cpp:49: Failed to load window icon! Loading from: /home/me/.local/share/Steam/steamapps/common/Factorio/data/core/graphics/factorio-icon.png
   0.390 Error CrashHandler.cpp:419: Received SIGSEGV
Could this be due to the recent changes in linking libpng?
Oxyd
Former Staff
Former Staff
Posts: 1428
Joined: Thu May 07, 2015 8:42 am
Contact:

Re: [16.22] Crash on launch: "Failed to load window icon!"

Post by Oxyd »

Can you open /home/me/.local/share/Steam/steamapps/common/Factorio/data/core/graphics/factorio-icon.png in an image editor? Does it open and look correct?
albertz66
Manual Inserter
Manual Inserter
Posts: 3
Joined: Fri Feb 02, 2018 3:37 pm
Contact:

Re: [16.22] Crash on launch: "Failed to load window icon!"

Post by albertz66 »

Yes. It looks fine. I have also verified the integrity of game files through Steam, without issue.
User avatar
wheybags
Former Staff
Former Staff
Posts: 328
Joined: Fri Jun 02, 2017 1:50 pm
Contact:

Re: [16.22] Crash on launch: "Failed to load window icon!"

Post by wheybags »

Looking at the code, it seems that it was creating a texture to load into that failed, not the actual png loading code.
User avatar
wheybags
Former Staff
Former Staff
Posts: 328
Joined: Fri Jun 02, 2017 1:50 pm
Contact:

Re: [16.22] Crash on launch: "Failed to load window icon!"

Post by wheybags »

Did previous versions of factorio work on this machine?
albertz66
Manual Inserter
Manual Inserter
Posts: 3
Joined: Fri Feb 02, 2018 3:37 pm
Contact:

Re: [16.22] Crash on launch: "Failed to load window icon!"

Post by albertz66 »

Yes. I believe it broke somewhere around version 0.16.18
User avatar
wheybags
Former Staff
Former Staff
Posts: 328
Joined: Fri Jun 02, 2017 1:50 pm
Contact:

Re: [16.22] Crash on launch: "Failed to load window icon!"

Post by wheybags »

Could you maybe check just to be sure? It would be good to know exactly what version made it break. You can download older releases from our website, or in steam by opting into a specific "beta".
Post Reply

Return to “Pending”