mojira.dev
MCPE-16093

MCPE Crashes frequently when a minecart that is activating a detector rail and that dector rail are pushed by pistons at the same time

Whenever any minecart is on a detector rail (powering the rail) and some piston contraption causes both the minecart and the detector rail to be pushed (works fine on pull, crashes only on push) then MCPE is likely to crash. The crash does not happen every time, and with different builds, it happens more or less frequently (suggesting this bug has something to do with redstone tick order of operations).

To reproduce

  1. float a piston (sticky or not, doesn't matter) above the ground pushing a slime block horizontally

  2. attach any solid block above the slime block (so the piston will push this block because it is stuck to the slime block)

  3. attach any solid block on which a rail can be placed beside the slime block, in line with the piston (so the piston will push this block too)

  4. place a detector rail on the previously placed block (the orientation of the rail relative to the piston push direction seems to matter. If the rail points perpendicular to the direction the piston pushes, the game crashes more frequently.)

  5. place any minecart on the detector rail, activating it

  6. activate the piston by any means

  7. MCPE has a high probability that it will crash to menu

Note: The above build is not the most general case, but does crash with high frequency. Slime blocks are not required to reproduce this crash. You can also stack two pistons, use redstone to trigger them at the same time, place one block in front of the bottom piston, place the detector rail and minecart on that block, and activate the group of pistons. This is illustrated in the second screenshot showing the pistons and the rail pointing the same direction as the push.

Attachments

Comments 15

Please post a screenshot of what you build before the crash or describe all the steps to build what you are describing. I was not able to reproduce your crash on my Samsung Galaxy S6 (SM-G920W8), Android 5.1.1 running MCPE 0.15.1.

I tried, in a new creative flat world, both sticky and regular pistons pushing from various different directions with normal minecarts on unactivated activator rails. None of my configurations crashed the game. I may have missed something, or this may just affect Win10, but we need more specific info to reproduce.

Yea sure, i actually tried to create this machine https://www.youtube.com/watch?v=nYszbiYXMvM

Actually tried to simplify it, i'll attach a new screenshot

Pushed the minecart off a bit just to show it

Hilarious, found an duplication bug also.

5 more comments

Confirmed on Samsung Galaxy S6 (SM-G920W8), Android 5.1.1 but you've got the build description all wrong. I'm updating the ticket now. Next time, be VERY specific about the build so we do not waste time trying to reproduce it.

Sorry, i did only test with slime blocks.

It crashes game when button is pressed.
iPhone 6s+ ios 10 beta 7

Reconfirmed on Samsung Galaxy S6 (SM-G920W8), Android 6.0.1 MCPE 0.15.90.2.

Appears to be fixed in 0.15.90.8.

thebigsmileXD

(Unassigned)

Confirmed

Windows

Windows 10

crash

0.15.1, 0.15.2, 0.15.90.2

0.15.90.8

Retrieved