[0.12.26][posila] crash with force.clear_chart()

This subforum contains all the issues which we already resolved.
Post Reply
User avatar
prg
Filter Inserter
Filter Inserter
Posts: 947
Joined: Mon Jan 19, 2015 12:39 am
Contact:

[0.12.26][posila] crash with force.clear_chart()

Post by prg »

Simply start a new game and

Code: Select all

game.local_player.force.clear_chart()

Code: Select all

   0.000 2016-03-06 12:35:57; Factorio 0.12.26 (Build 17762, linux64)
   0.000 Operating system: Linux
   0.000 Program arguments: "/home/prg/Downloads/factorio/bin/x64/./factorio" "" 
   0.000 Read data path: /home/prg/Downloads/factorio/data
   0.000 Write data path: /home/prg/Downloads/factorio
   0.000 Binaries path: /home/prg/Downloads/factorio/bin
   0.061 Available display adapters: 3
   0.061  [0]: resolution 1280x1024px at [1280,0]
   0.061  [1]: resolution 1024x768px at [2560,0]
   0.061  [2]: resolution 1280x1024px at [0,0]
   0.061 Create display on adapter 0. Size 1280x720 at position [0, 134].
   0.131 Initialised OpenGL:[0] GeForce GTX 660/PCIe/SSE2; driver: 4.5.0 NVIDIA 361.28
   0.154 Graphics options: [FullScreen: false] [VSync: false] [UIScale: 100%] [MultiSampling: OFF] [Graphics quality: normal] [Video memory usage: all] [Light scale: 100%] [Screen: 0]
   0.176 Loading mod core 0.0.0 (data.lua)
   0.178 Loading mod base 0.12.26 (data.lua)
   0.446 Initial atlas bitmap size is 16384
   0.450 Created atlas bitmap 16384x7761
   5.847 Factorio initialised
  10.259 Info Scenario.cpp:124: Map version 0.12.26-0
Factorio crashed. Generating symbolized stacktrace, please wait ...
#0  0x7f3e491172f0 in ?? at ??:0
#1  0x7f3e49c70bc9 in ?? at ??:0
  23.541 Error Util.cpp:77: Unexpected error occurred. You can help us to solve the problem by posting the contents of the log file on the Factorio forums.
Segmentation fault (core dumped)
Automatic Belt (and pipe) Planner—Automate yet another aspect of constructing your factory!

posila
Factorio Staff
Factorio Staff
Posts: 5201
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [0.12.26][posila] crash with force.clear_chart()

Post by posila »

Thanks for the report. I am not sure about purpose of this function, but crashing is fixed for next release :)

User avatar
maroder
Inserter
Inserter
Posts: 47
Joined: Mon Apr 27, 2015 1:02 pm
Contact:

Re: [0.12.26][posila] crash with force.clear_chart()

Post by maroder »

How you fixed it?! I has not crash in factorio_0.12.26, but it's happened in factorio_0.12.27! Oh, thanks for that :)
factorio-current
You can check it:
1) install hardcorio_2.2.212 (13346)
2) to paste "game.forces.player.clear_chart()" at line 464(control.lua) before "game.show_message_dialog{text = {"msg-intro-hardcorio"}}" and run game.

posila
Factorio Staff
Factorio Staff
Posts: 5201
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [0.12.26][posila] crash with force.clear_chart()

Post by posila »

I did fix it ... someone else broke it again :D

EDIT: On the second look, I might have broke it. But, on my defense ... the original repro steps don't crash the game anymore ... so this is completely new issue :)

Post Reply

Return to “Resolved Problems and Bugs”