[0.12.32] crash after error message in on_robot_built_entity

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.32] crash after error message in on_robot_built_entity

Post by prg »

Code: Select all

require "defines"

script.on_event(defines.events.on_robot_built_entity, function()
    breakme()
end)
Have a robot build an entity. Acknowledge error message.

Code: Select all

   0.000 2016-05-03 11:48:21; Factorio 0.12.32 (Build 18073, linux64, alpha)
   0.000 Operating system: Linux
   0.000 Program arguments: "./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.016 Graphics options: [FullScreen: false] [VSync: false] [UIScale: 100%] [MultiSampling: OFF] [Graphics quality: normal] [Video memory usage: all] [Light scale: 100%] [Screen: 0]
   0.074 Available display adapters: 4
   0.074  [0]: resolution 1280x1024px at [2304,0]
   0.074  [1]: resolution 1024x768px at [0,0]
   0.074  [2]: resolution 1280x1024px at [1024,0]
   0.074  [3]: resolution 1280x1024px at [3584,0]
   0.074 Create display on adapter 0. Size 1280x720 at position [0, 134].
   0.186 Initialised OpenGL:[0] GeForce GTX 660/PCIe/SSE2; driver: 4.5.0 NVIDIA 364.15
   0.234 Loading mod core 0.0.0 (data.lua)
   0.236 Loading mod base 0.12.32 (data.lua)
   0.276 Checksum for core: 3711505753
   0.276 Checksum for mod base: 2829195351
   0.276 Checksum for mod bla: 0
   0.512 Initial atlas bitmap size is 16384
   0.516 Created atlas bitmap 16384x7764
   4.748 Sprites loaded
   4.748 Loading sounds...
   5.947 Factorio initialised
   8.097 Loading map /home/prg/Downloads/factorio/saves/_autosave2.zip
   8.105 Info Scenario.cpp:124: Map version 0.12.31-3
   8.377 Checksum for script /home/prg/Downloads/factorio/temp/currently-playing/control.lua: 393467729
   8.377 Checksum for script __bla__/control.lua: 1129997476
Factorio crashed. Generating symbolized stacktrace, please wait ...
#0  0x7f18a07f4270 in ?? at ??:0
  20.738 Error Util.cpp:78: Unexpected error occurred. You can help us to solve the problem by posting the contents of the log file on the Factorio forums.
Does not happen when manually building an entity and causing an error in on_built_entity. You properly get back to the main menu in that case.
Automatic Belt (and pipe) Planner—Automate yet another aspect of constructing your factory!

User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5150
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: [0.12.32] crash after error message in on_robot_built_entity

Post by Klonan »

Thanks for the report,

Can confirm this also happens in 0.12.31:
screenshot
save game
onrobotbreak.zip
Save to break the game with
(1.19 MiB) Downloaded 99 times
no crash log

Rseding91
Factorio Staff
Factorio Staff
Posts: 13209
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.12.32] crash after error message in on_robot_built_entity

Post by Rseding91 »

Thanks for the report. It's now fixed for the next version.
If you want to get ahold of me I'm almost always on Discord.

Post Reply

Return to “Resolved Problems and Bugs”