Using a piston to push an open barrel will cause the barrel to fail to close, and will cause the game to crash when trying to break the barrel.
Steps to reproduce (using the world in the attachment):
Place the barrel on the hopper
Open the barrel and put in some items (don't close the barrel interface)
After the barrel is pushed, the interface will close, at which point an attempt will be made to break the barrel
The game will crash
Linked issues
duplicates 1
Attachments
Comments 2

Thank you for your report!
We're tracking this issue in MCPE-183993, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki