Opened 6 years ago

Last modified 6 years ago

#1215 new defect

App crashes when launch app and rotate screen

Reported by: passbrains Assignee:
Priority: P3 Milestone:
Module: Adblock-Plus-for-Android Keywords:
Cc: Blocked By:
Blocking: Platform: Android
Ready: yes Confidential: no
Tester: Verified working: no
Review URL(s):

Description (last modified by rjeschke)

Adapted from


Asus Nexus 7 Android 4.2.2 Jelly Bean
Rooted device: No
ABP version

How to reproduce

  1. Launch ABP application in portrait view
  2. When app is loading rotate screen to landscape

Observed behaviour

App crashes when launch app and rotate screen.
The same bug occurs when launch app in landscape view and rotate to portrait then.

Expected behaviour

ABP app should not crash.

Attachments (4)

Change History (7)

Changed 6 years ago by passbrains

comment:1 Changed 6 years ago by rjeschke

  • Component changed from Unknown to Adblock-Plus-for-Android
  • Description modified (diff)

comment:2 Changed 6 years ago by rjeschke

Just a few notes-to-future-self:

All crashes occur on JNIEnvAcquire's ctor, pretty random access locations (0x0, 0x1 and others).

-> investigate if JavaVM can get 'out-of-scope' on Android
-> possible malloc (OOM) issue?
-> re-visit the whole RAII thing here again, examine the code
-> check (all possible) callers (maybe JavaVM* is already bogus there and we can prevent the crash)

comment:3 Changed 6 years ago by rjeschke

  • Priority changed from Unknown to P3
  • Ready set
Note: See TracTickets for help on using tickets.