Page 1 of 1

[kovarex] [0.17.26] Crash when undo during cut & paste

Posted: Tue Apr 09, 2019 4:08 am
by bushbaby1234
Describe the problem as best as you can
What did you do?
Ctrl+Z

What happened?
Crash

What did you expect to happen instead? It might be obvious to you, but do it anyway!
Undo

Steps to reproduce:
1. Start any world
2. Place any structure
3. Cut the structure(Ctrl-X)
4. (Remove the structure if bots aren't present)
5. Obtain paste blueprint(Ctrl-V)
6. Undo(Ctrl-Z)
7. Crash :D

Re: [0.17.26] Crash when undo during cut & paste

Posted: Tue Apr 09, 2019 4:12 am
by TruePikachu

Code: Select all

c:\cygwin64\tmp\factorio-build-xlmpg0\src\util\logging.cpp (84): Logging::logAndAbortOrThrow
c:\cygwin64\tmp\factorio-build-xlmpg0\src\removedentityundoaction.cpp (112): RemovedEntityUndoAction::apply
c:\cygwin64\tmp\factorio-build-xlmpg0\src\undoqueue.cpp (40): UndoQueue::undo
c:\cygwin64\tmp\factorio-build-xlmpg0\src\gameactionhandler.cpp (321): GameActionHandler::actionPerformed
c:\cygwin64\tmp\factorio-build-xlmpg0\src\input\inputhandler.cpp (61): InputHandler::flushActions
c:\cygwin64\tmp\factorio-build-xlmpg0\src\gameactionhandler.cpp (364): GameActionHandler::update
c:\cygwin64\tmp\factorio-build-xlmpg0\src\mainloop.cpp (1109): MainLoop::gameUpdateStep
…
  59.604 Error RemovedEntityUndoAction.cpp:112: this->target->isSetup() && this->target->hasSurface() was not true

Re: [kovarex] [0.17.26] Crash when undo during cut & paste

Posted: Tue Apr 09, 2019 3:27 pm
by kovarex
Thanks for the report, it is now fixed for the next version.