Segfault when low memory event fires
To reproduce (On Nexus 7 (2012) at least, not sure how to trigger a low memory event on other devices)
- Open Minecraft PE
- Go to Settings
- Skins
- Custom
- When the browser for skins shows up, hit the back button
- Once back in MCPE, hit the Multitask button
Expected:
- MCPE gets placed in background
Actual:
- MCPE force-closes with this stack trace: https://gist.github.com/zhuowei/e9a43e30ba268dfdf192
It looks like the low memory handler tried to destroy the LevelRenderer, but since no world has been loaded, the LevelRenderer was null and the destructor segfaulted.
Comments1
History4
Changed description:
To reproduce (On Nexus 7 (2012) at least, not sure how to trigger a low memory event on other devices)
0- 0
- Open Minecraft PE 0
- Go to Settings 0
- Skins 0
- Custom 0
- When the browser for skins shows up, hit the back button 0
- Once back in MCPE, hit the Multitask button 0
Expected:
0- 0
- MCPE gets placed in background
0Actual: 0 - MCPE force-closes with this stack trace: https://gist.github.com/zhuowei/e9a43e30ba268dfdf192 0
It looks like the low memory handler tried to destroy the LevelRenderer, but since no world has been loaded, the LevelRenderer was null and the destructor segfaulted.
To reproduce (On Nexus 7 (2012) at least, not sure how to trigger a low memory event on other devices)
0- 0
- Open Minecraft PE 0
- Go to Settings 0
- Skins 0
- Custom 0
- When the browser for skins shows up, hit the back button 0
- Once back in MCPE, hit the Multitask button 0
Expected:
0- 0
- MCPE gets placed in background0Actual: 0
Actual:
- 00
- MCPE force-closes with this stack trace: https://gist.github.com/zhuowei/e9a43e30ba268dfdf192 0
It looks like the low memory handler tried to destroy the LevelRenderer, but since no world has been loaded, the LevelRenderer was null and the destructor segfaulted.
Added labels: crash
Added Assignee: [Mojang] Shoghi Cervantes
Resolution: Unresolved → Fixed
Added affects versions: 0.11.0 Beta 11
Thanks for reporting!