Opened on 10/06/2016 at 09:32:08 AM

Last modified on 10/06/2016 at 09:38:49 AM

#4496 new defect

"Block Ads on this site" not selectable after app crash

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

Description (last modified by scheer)

Adapted from https://platform.passbrains.com/dashboard/view-ticket.php?ticket_no=ADR-98

Environment

Asus + Nexus 7 + Android 5.1

How to reproduce

  1. Launch Adblock browser

Emulate any browser crash scenario (when browser closes):

  1. Load Bloomberg.com website
  2. Tap Menu button and switch option  "Block Ads on this site" option off
  3. Wait until page reloads

--> Sometimes app crashes and closes at this point

  1. If app doesn't crash, scroll page down and attempt to scroll it up

--> See app crashes

  1. When application crashes and closes open it again
  2. Load any site, e.g. http://news.liga.net/news/society/12539084-pogoda_v_ukraine_letnee_teplo_uderzhitsya_do_kontsa_nedeli.htm
  3. When site is loaded see ads are not blocked on the page
  4. Tap Menu and see "Block Ads on this site" option is disabled and could not be enabled

Observed behaviour

When launch site page after app crash, "Block Ads on this site" option is disabled and could not be enabled and no ads are blocked on the page.

Expected behaviour

"Block Ads on this site" option should be enabled and ads should be blocked after loading any site.

Attachments (4)

2315_1471536892_Screenshot_2016-08-18-17-59-32.png (202.6 KB) - added by passbrains on 10/06/2016 at 09:32:12 AM.
2315_1471536892_Screenshot_2016-08-18-18-16-30.png (135.1 KB) - added by passbrains on 10/06/2016 at 09:32:12 AM.
2609_1473271453_List_of_running_processes.png (186.2 KB) - added by passbrains on 10/06/2016 at 09:32:13 AM.
2609_1473274100_Logs.zip (143.2 KB) - added by passbrains on 10/06/2016 at 09:32:13 AM.

Download all attachments as: .zip

Change History (6)

Changed on 10/06/2016 at 09:32:12 AM by passbrains

Changed on 10/06/2016 at 09:32:12 AM by passbrains

Changed on 10/06/2016 at 09:32:13 AM by passbrains

Changed on 10/06/2016 at 09:32:13 AM by passbrains

comment:1 Changed on 10/06/2016 at 09:32:16 AM by passbrains

1 - 30 Aug 2016 10:08:05 posted by Timo Scherf
In my case there aren´t any app crashes occuring, so I am not able to execute your reproduction steps.

2 - 06 Sep 2016 00:05:53 posted by Scott Cheer
As stated in ADR-97 - I am not able to reproduce the crash you are experiencing on Bloomberg. Could you supply the CatLog, if you are able to reproduce this again?

Additionally, if this occurs, then how are you enabling ABP afterwards? Are you having to completely re-install the app again or does it become selectable after some time or after a few restarts?

Thanks

3 - 06 Sep 2016 00:06:05 posted by Scott Cheer
Please see comment above.

4 - 07 Sep 2016 20:01:40 posted by Alexey Filippow
A file was deleted: Screenshot_2016-08-18-18-00-32.png

5 - 07 Sep 2016 20:45:47 posted by Alexey Filippow
A file was deleted: Screenshot_2016-08-18-18-00-46.png

6 - 07 Sep 2016 20:51:12 posted by Alexey Filippow
I reproduced this bug again with the same conditions. There were no apps running at the same time, just were some processes running in background. Please see uploaded screenshot which shows list of running processes and logs.
Log1.txt file in the beginning should show logs when application crashes (but I'm not sure if it shows complete process).
Usually "Block ads on this site" option becomes enabled if kill and restart application once, but this time it remains disabled and log2.txt should show this. Restarting browser doesn't help.
Probably I need to reinstall application in order to enabled it.

7 - 27 Sep 2016 13:22:05 posted by Timo Scherf
I am still not able to reproduce this issue.
However I will accept this bug, because you have delivered log files.

Sony Xperia Z3 Compact Android 6.0.1
Adblock Browser for Android 1.1.0.20160127141630

8 - 06 Oct 2016 11:28:00 posted by Scott Cheer
As stated previously, I was not able to reproduce this issue as per ADR-97, however, there definitely is an issue here as shown in the attached video and screen shots.

Looking at the supplied log, I can see the following error:

09-07 21:11:37.372: D/AdblockBrowser.AddOnBridge(6009): Retrying: {"action":"isLocal","url":"https:\/\/mobile.twitter.com\/sams_usa\/status\/773187071519236096"}
09-07 21:11:37.373: D/AdblockBrowser.AddOnBridge(6009): Retrying: {"action":"isPageWhitelisted","url":"https:\/\/mobile.twitter.com\/sams_usa\/status\/773187071519236096"}
09-07 21:11:37.374: D/AdblockBrowser.AddOnBridge(6009): Retrying: {"action":"isLocal","url":"https:\/\/mobile.twitter.com\/sams_usa\/status\/773187071519236096"}
09-07 21:11:37.375: D/AdblockBrowser.AddOnBridge(6009): Retrying: {"action":"isPageWhitelisted","url":"https:\/\/mobile.twitter.com\/sams_usa\/status\/773187071519236096"}
09-07 21:11:37.597: W/ResourcesManager(6258): Asset path '/system/framework/com.google.android.media.effects.jar' does not exist or contains no resources.
09-07 21:11:37.753: I/ActivityManager(470): Killing 6009:org.adblockplus.browser/u0a104 (adj 9): remove task
09-07 21:11:37.819: D/WifiService(470): Client connection lost with reason: 4
09-07 21:11:37.819: I/WindowState(470): WIN DEATH: Window{3447a992 u0 org.adblockplus.browser/org.adblockplus.browser.App}
09-07 21:11:37.820: W/WindowManager(470): Force-removing child win Window{23a125af u0 SurfaceView} from container Window{3447a992 u0 org.adblockplus.browser/org.adblockplus.browser.App}
09-07 21:11:37.826: W/WindowManager(470): Failed looking up window
09-07 21:11:37.826: W/WindowManager(470): java.lang.IllegalArgumentException: Requested window android.os.BinderProxy@261a298e does not exist
09-07 21:11:37.826: W/WindowManager(470): at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:8539)
09-07 21:11:37.826: W/WindowManager(470): at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:8530)
09-07 21:11:37.826: W/WindowManager(470): at com.android.server.wm.WindowState$DeathRecipient.binderDied(WindowState.java:1142)
09-07 21:11:37.826: W/WindowManager(470): at android.os.BinderProxy.sendDeathNotice(Binder.java:551)
09-07 21:11:37.826: I/WindowState(470): WIN DEATH: null
09-07 21:11:37.874: W/ResourcesManager(6258): Asset path '/system/framework/com.google.widevine.software.drm.jar' does not exist or contains no resources.
09-07 21:11:37.939: I/ActivityManager(470): Killing 6222:org.adblockplus.browser.UpdateService/u0a104 (adj 11): remove task

I will pass this onto the developers to look into.

Thank you for the information.

Scott

comment:2 Changed on 10/06/2016 at 09:38:49 AM by scheer

  • Cc diegocarloslima added
  • Component changed from Unknown to Adblock-Browser-for-Android
  • Description modified (diff)
  • Summary changed from When launch site page after app crash, "Block Ads on this site" option is disabled and could not be enabled and no one ad is blocked on the page to "Block Ads on this site" not selectable after app crash
  • Tester changed from Unknown to Scheer

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.