Page 1 of 1
[0.12.19][pending] crash in BlueprintSettingsGui on replay
Posted: Thu Nov 26, 2015 11:39 am
by gheift
I just used the replay feature to get an earlier save for
https://forums.factorio.com/forum/vie ... =7&t=18036
I disabled the
show gui and set the speed to
32x. Sometimes, but not always I got the following error when the replay was about half past through:
Code: Select all
568.230 Warning Logger.cpp:316: Symbols.size() == 13, usedSize == 11
Factorio crashed. Generating symbolized stacktrace, please wait ...
568.725 Warning Logger.cpp:316: Symbols.size() == 12, usedSize == 10
#0 0x7ffb9edcb180 in ?? at ??:0
#1 0x9c1de5 in BlueprintSettingsGui::BlueprintSettingsGui(Player*, GuiActionHandler&, GuiInfoProvider&) at /tmp/factorio-H0YmBR/src/Gui/BlueprintSetupGui.cpp:47
#2 0x9c266d in BlueprintSetupGui::BlueprintSetupGui(Player*, GuiActionHandler&, GuiInfoProvider&) at /tmp/factorio-H0YmBR/src/Gui/BlueprintSetupGui.cpp:19
#3 0xa2fdc0 in GameView::executeAction(GameViewAction const&) [clone .constprop.52765] at /tmp/factorio-H0YmBR/src/GameView.cpp:238
#4 0xa312f3 in Game::postUpdate() at /tmp/factorio-H0YmBR/src/GameView.cpp:175
#5 0xa31e63 in postUpdate at /tmp/factorio-H0YmBR/src/Game.cpp:180
#6 0xa3403f in MainLoop::prepare() at /tmp/factorio-H0YmBR/src/MainLoop.cpp:197
#7 0xa8739e in MainLoop::run(boost::filesystem::path const&, boost::filesystem::path const&, bool, bool, std::string const&) [clone .constprop.51657] at /tmp/factorio-H0YmBR/src/MainLoop.cpp:468
#8 0x7ffb9edb7b45 in run at /tmp/factorio-H0YmBR/src/MainLoop.cpp:566
#9 0x40a379 in main at /tmp/factorio-H0YmBR/src/Main.cpp:415
568.725 Error Util.cpp:63: Unexpected error occurred. You can help us to solve the problem by posting the contents of the log file on the Factorio forums.
Regards,
Gerhard
PS:
Could you output the last game.tick before the stacktrace?
And a clock or game.tick counter in the replay options would be nice, too.
Re: [0.12.19][posila] crash in BlueprintSettingsGui on replay
Posted: Tue Dec 01, 2015 1:02 pm
by posila
Thanks for the report.
I tried to run the replay with show gui disabled and speed 32x on two different computers, five times on each. One had Win7 SP1, the second was Win8.1. And I could not reproduce. I tried it to run also with show gui enabled and also on lower speeds few times, but without any luck. I also tried to create my own replay with bunch of blueprints, but no crash there either.
If somebody else wants to give it a try (on Linux perhaps). I am attaching header of log provided by gheift in different bug report, and mod used with this save.
Code: Select all
0.000 2015-11-26 10:01:52; Factorio 0.12.19 (Build 17459, linux64)
0.146 Operating system: Linux (Debian stable-updates)
0.146 Program arguments: "./bin/x64/factorio"
0.146 Read data path: /home/gheift/.local/opt/factorio.bug4/data
0.146 Write data path: /home/gheift/.local/opt/factorio.bug4
0.146 Binaries path: /home/gheift/.local/opt/factorio.bug4/bin
0.198 Available display adapters: 1
0.198 [0]: resolution 1920x1200px at [0,0]
0.198 Create display on adapter 0. Size 1280x720 at position [310, 222]. Monitor 0
0.219 Initialised OpenGL:[0] Mesa DRI Intel(R) Ivybridge Desktop ; driver: 3.0 Mesa 11.0.5
0.247 Graphics options: [FullScreen: false] [VSync: true] [UIScale: 100%] [MultiSampling: OFF] [Graphics quality: normal] [Video memory usage: all] [Light scale: 20%] [Screen: 0]
Re: [0.12.19][pending] crash in BlueprintSettingsGui on replay
Posted: Tue Dec 01, 2015 1:28 pm
by Oxyd
Doesn't seem to crash on my Linux (Fedora 22) either.
Re: [0.12.19][pending] crash in BlueprintSettingsGui on replay
Posted: Tue Dec 01, 2015 2:17 pm
by prg
It survived five runs each on
Code: Select all
Initialised OpenGL:[1] GeForce GTX 660/PCIe/SSE2; driver: 4.5.0 NVIDIA 358.13
and
Code: Select all
Initialised OpenGL:[0] Mesa DRI Intel(R) Ironlake Mobile ; driver: 2.1 Mesa 11.0.5
but...
Code: Select all
0.000 2015-12-01 15:07:01; Factorio 0.12.19 (Build 17459, linux64)
0.000 Operating system: Linux
0.000 Program arguments: "./factorio"
0.000 Read data path: /home/prg/factorio/data
0.000 Write data path: /home/prg/factorio
0.000 Binaries path: /home/prg/factorio/bin
0.019 Available display adapters: 1
0.019 [0]: resolution 1366x768px at [0,0]
0.019 Create display on adapter 0. Size 1266x668 at position [40, 32]. Monitor 0
0.913 Initialised OpenGL:[0] Gallium 0.4 on llvmpipe (LLVM 3.5, 128 bits); driver: 3.0 Mesa 11.0.5
0.978 Graphics options: [FullScreen: false] [VSync: false] [UIScale: 100%] [MultiSampling: OFF] [Graphics quality: very-low] [Video memory usage: low] [Light scale: 100%] [Screen: 255]
1.592 Loading mod core 0.0.0 (data.lua)
1.597 Loading mod base 0.12.19 (data.lua)
1.726 Loading mod test-mode 0.12.11 (data.lua)
1.854 Loading mod test-mode 0.12.11 (data-updates.lua)
1.988 Loading mod test-mode 0.12.11 (data-final-fixes.lua)
3.362 Initial atlas bitmap size is 8192
3.364 Created atlas bitmap 8192x88
36.447 Factorio initialised
207.990 Warning Logger.cpp:316: Symbols.size() == 13, usedSize == 11
Factorio crashed. Generating symbolized stacktrace, please wait ...
209.274 Warning Logger.cpp:316: Symbols.size() == 12, usedSize == 10
#0 0x7fb381f6b090 in ?? at ??:0
#1 0x9c1de5 in BlueprintSettingsGui::BlueprintSettingsGui(Player*, GuiActionHandler&, GuiInfoProvider&) at /tmp/factorio-H0YmBR/src/Gui/BlueprintSetupGui.cpp:47
#2 0x9c266d in BlueprintSetupGui::BlueprintSetupGui(Player*, GuiActionHandler&, GuiInfoProvider&) at /tmp/factorio-H0YmBR/src/Gui/BlueprintSetupGui.cpp:19
#3 0xa2fdc0 in GameView::executeAction(GameViewAction const&) [clone .constprop.52765] at /tmp/factorio-H0YmBR/src/GameView.cpp:238
#4 0xa312f3 in Game::postUpdate() at /tmp/factorio-H0YmBR/src/GameView.cpp:175
#5 0xa31e63 in postUpdate at /tmp/factorio-H0YmBR/src/Game.cpp:180
#6 0xa3403f in MainLoop::prepare() at /tmp/factorio-H0YmBR/src/MainLoop.cpp:197
#7 0xa8739e in MainLoop::run(boost::filesystem::path const&, boost::filesystem::path const&, bool, bool, std::string const&) [clone .constprop.51657] at /tmp/factorio-H0YmBR/src/MainLoop.cpp:468
#8 0x7fb381f57a95 in run at /tmp/factorio-H0YmBR/src/MainLoop.cpp:566
#9 0x40a379 in main at /tmp/factorio-H0YmBR/src/Main.cpp:415
209.275 Error Util.cpp:63: Unexpected error occurred. You can help us to solve the problem by posting the contents of the log file on the Factorio forums.
on first run using llvmpipe.
Re: [0.12.19][pending] crash in BlueprintSettingsGui on replay
Posted: Tue Dec 01, 2015 2:22 pm
by Oxyd
Sounds like llvmpipe bug, then.
Re: [0.12.19][pending] crash in BlueprintSettingsGui on replay
Posted: Tue Dec 01, 2015 2:25 pm
by prg
Oxyd wrote:Sounds like llvmpipe bug, then.
Except for OP it crashes in the same way with
Code: Select all
Initialised OpenGL:[0] Mesa DRI Intel(R) Ivybridge Desktop ; driver: 3.0 Mesa 11.0.5
and it happens somewhere in Factorio code.
edit: ...or actually it crashes wherever #0 0x7fb381f6b090 in ?? at ??:0 is and both times it's with "driver: 3.0 Mesa 11.0.5". Trying with a Mesa debug build then.
Re: [0.12.19][pending] crash in BlueprintSettingsGui on replay
Posted: Tue Dec 01, 2015 2:32 pm
by Oxyd
prg wrote:Oxyd wrote:Sounds like llvmpipe bug, then.
Except for OP it crashes in the same way with
Code: Select all
Initialised OpenGL:[0] Mesa DRI Intel(R) Ivybridge Desktop ; driver: 3.0 Mesa 11.0.5
Oh, okay. I missed that part of the log.
and it happens somewhere in Factorio code.
The stacktrace is always going to start in Factorio code, even if it ends up crashing in a library.
I'll see if I can reproduce it now with this information.
Re: [0.12.19][pending] crash in BlueprintSettingsGui on replay
Posted: Tue Dec 01, 2015 2:38 pm
by prg
Right, it seems to crash in whatever gets called by "BlueprintSettingsGui::BlueprintSettingsGui(Player*, GuiActionHandler&, GuiInfoProvider&) at /tmp/factorio-H0YmBR/src/Gui/BlueprintSetupGui.cpp:47"—would that happen to be some OpenGL call?
Re: [0.12.19][pending] crash in BlueprintSettingsGui on replay
Posted: Tue Dec 01, 2015 2:51 pm
by Oxyd
prg wrote:Right, it seems to crash in whatever gets called by "BlueprintSettingsGui::BlueprintSettingsGui(Player*, GuiActionHandler&, GuiInfoProvider&) at /tmp/factorio-H0YmBR/src/Gui/BlueprintSetupGui.cpp:47"—would that happen to be some OpenGL call?
Not at all, actually. As a matter of fact, that line doesn't seem to call anything outside of Factorio at all. That line calls a virtual function on a pointer to object, so the best opportunity for it to crash would be if the pointer were invalid. But a bug like that should be simple to reproduce. :/
Re: [0.12.19][pending] crash in BlueprintSettingsGui on replay
Posted: Wed Dec 02, 2015 3:27 pm
by posila
Ok, it is not super severe crash and will probably take some time to fix. Moving to 0/1 Magic.