Opened on 11/04/2015 at 09:38:39 AM

Closed on 12/29/2015 at 09:53:33 AM

#3265 closed defect (fixed)

Adblock Browser crashes after accumulating a high amount of browser history entries

Reported by: Shikitita Assignee:
Priority: P2 Milestone: Adblock-Browser-for-iOS-1.2.1
Module: Adblock-Browser-for-iOS Keywords: salsita
Cc: pavelz, jand, michal.kuric Blocked By:
Blocking: Platform: Adblock Browser for iOS
Ready: yes Confidential: no
Tester: Unknown Verified working: no
Review URL(s):

Description (last modified by mario)

Environment

Platform: iPhone 5/iPad ME400C/A with retina display and 128 GB
Operating System: iOS 9.1
Browser: Adblock Browser v1.1.0 (core 1.3.0), Adblock Browser v1.2.0

How to reproduce

  1. Install Adblock Browser for iOS and launch it
  2. Visit different websites every day for a few days in order to have as much information as possible in the history (or populate it by other measures)
  3. After accumulating approximately 200+ history entries access the history tab

Observed behaviour

Adblock Plus crashes when trying to access the history tab (after reaching a critical amount of 200+ browser history entries)

Expected behaviour

The browser doesn't crash when accessing the history tab.

Attachments (0)

Change History (7)

comment:1 Changed on 11/04/2015 at 02:54:59 PM by Shikitita

  • Description modified (diff)

comment:2 Changed on 11/13/2015 at 09:12:51 AM by mario

  • Priority changed from Unknown to P2
  • Ready set

comment:3 Changed on 11/24/2015 at 01:03:22 PM by pavelz

  • Keywords v added

comment:4 Changed on 12/17/2015 at 04:44:57 PM by mario

Reproducible by following these steps:

  1. Provide a web server which you can access via your mobile phone
  2. Upload a file containing the following code:
    <html>
            <head><title><?=time()?></title></head>
            <body>
                    <script type="text/javascript">
                            <!--
                                    function magic()
                                    {
                                            window.setTimeout(o, 100);
                                            window.open("/?<?=time()?>",'_blank');
                                    }
                                    function o()
                                    {
                                            window.close();
    
                                    }
                                    window.setTimeout(magic, 100);
                            -->
                    </script>
            </body>
    </html>
    

(Please note that the code above contains two occurrences of <?=time()?> (PHP) which can be replaced by anything else that returns a random string. It doesn't need to be PHP.)

  1. Open the file on the web server using ABB and let it run for 2-5 minutes. (It will populate the browser's history with hundreds of entries)
  2. Stop populating the history by closing the site.
  3. Tap the URL bar and open the history tab. The browser will crash.

If the browser doesn't crash, go back to step 3 and let it run for a little longer.

comment:5 Changed on 12/18/2015 at 02:30:57 PM by mario

  • Description modified (diff)
  • Summary changed from [Adblock Browser for iOS] [History] Crash after upgrading to iOS 9.1 to Adblock Browser crashes after accumulating a high amount of browser history entries

comment:6 Changed on 12/29/2015 at 09:40:44 AM by mario

  • Keywords v removed
  • Milestone set to Adblock-Browser-for-iOS-1.2.1

comment:7 Changed on 12/29/2015 at 09:53:33 AM by mario

  • Resolution set to fixed
  • Status changed from new to closed

Add Comment

Modify Ticket

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