Opened on 08/13/2014 at 05:22:23 PM
Last modified on 10/29/2014 at 02:33:28 PM
#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 https://www.passbrains.com/dashboard/view-ticket.php?ticket_no=AAN-20
Environment
Asus Nexus 7 Android 4.2.2 Jelly Bean
Rooted device: No
ABP version 1.2.1.331
How to reproduce
- Launch ABP application in portrait view
- 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 on 08/13/2014 at 05:22:26 PM by passbrains
Changed on 08/13/2014 at 05:22:28 PM by passbrains
Changed on 08/13/2014 at 05:22:29 PM by passbrains
Changed on 08/13/2014 at 05:22:30 PM by passbrains
comment:1 Changed on 10/08/2014 at 12:47:52 PM by rjeschke
- Component changed from Unknown to Adblock-Plus-for-Android
- Description modified (diff)
comment:2 Changed on 10/29/2014 at 02:27:47 PM by rjeschke
comment:3 Changed on 10/29/2014 at 02:33:28 PM by rjeschke
- Priority changed from Unknown to P3
- Ready set
Note: See
TracTickets for help on using
tickets.
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)