[0.11.1] segfault on mod godmode event onpreplayermineditem

This subforum contains all the issues which we already resolved.
User avatar
pyrolytic_tungsten
Fast Inserter
Fast Inserter
Posts: 115
Joined: Fri Aug 01, 2014 4:29 am
Contact:

[0.11.1] segfault on mod godmode event onpreplayermineditem

Post by pyrolytic_tungsten »

I was updating the MoarInserters mod and got a segfault testing it in the sandbox when mining the starting chest. Segfault doesn't happen in freeplay or if the section game.onevent(defines.events.onpreplayermineditem, function(event) ... is commented out. It still segaults when the contents of the function is commented out so there has to be something wrong with the event handling.

Steps to reproduce:
  1. Load and enable this copy of MoarInserters I was working on
  2. Start new sandbox game
  3. Get the starting chest and all techs
  4. Mine the starting chest and notice the segfault right before the mining bar fills up.
GDB says
kovarex
Factorio Staff
Factorio Staff
Posts: 8207
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [0.11.1] segfault on mod godmode event onpreplayerminedi

Post by kovarex »

Thank you for the notice, it is fixed for 0.11.2 now.
Post Reply

Return to “Resolved Problems and Bugs”