This is regression from Qt 5.7 to 5.8.
Steps to reproduce the issue:
1. Run attached test application
2. Click "Open page" button
3. Click on "Pop" button
Application doesn't crash
When the array is commented out from the test application the crash doesn't occur. Also enabling dynamicRoles seems to work as a workaround.
macOS 10.11 -> crashes every time
Windows -> crashes 1/3 times