Mojira Archive
MCPE-8394

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:

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

Zhuowei Zhang

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
0

Expected:

00

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
0

Expected:

0
    0
  • MCPE gets placed in background0Actual:
  • 0
0

Actual:

00

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.

Zhuowei Zhang

Changed summary:

Segfault when low memory event fired Segfault when low memory event fires

Zhuowei Zhang

Added labels: crash

Removed labels:

[Mojang] Shoghi Cervantes

Added Assignee: [Mojang] Shoghi Cervantes

Resolution: UnresolvedFixed

Added affects versions: 0.11.0 Beta 11

Fixed
Zhuowei Zhang
1
2
Unconfirmed
crash
0.11.0 Beta 9
0.11.0 Beta 11