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

  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)

2315_1407335790_M2U01286.avi (1.5 MB) - added by passbrains on 08/13/2014 at 05:22:26 PM.
2315_1407335790_log_App_crashes_when_launch_app_and_rotate_screen.txt (506.4 KB) - added by passbrains on 08/13/2014 at 05:22:28 PM.
2315_1407335790_log_App_crashes_when_launch_app_and_rotate_screen_2.txt (492.3 KB) - added by passbrains on 08/13/2014 at 05:22:29 PM.
2315_1407335790_Screenshot_2014-08-06-17-30-43.png (311.4 KB) - added by passbrains on 08/13/2014 at 05:22:30 PM.

Download all attachments as: .zip

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

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 on 10/29/2014 at 02:33:28 PM by rjeschke

  • Priority changed from Unknown to P3
  • Ready set

Add Comment

Modify Ticket

Change Properties
Action
as new .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from (none).
Next status will be 'reviewing'.
 
Note: See TracTickets for help on using tickets.