Bug 89513 - Crash on pdftron.com when paging over a large document
Summary: Crash on pdftron.com when paging over a large document
Status: RESOLVED WORKSFORME
Alias: None
Product: WebKit
Classification: Unclassified
Component: Canvas (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P1 Critical
Assignee: Nobody
URL: http://www.pdftron.com/pdfnet/webview...
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-19 14:12 PDT by Ika
Modified: 2022-07-18 14:20 PDT (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ika 2012-06-19 14:12:17 PDT
Chrome Version: latest Safari / Chromium (e.g. 19.0.1084.56 m)
OS: Repeatedly verified on Windows. Able to reproduce on iOS and Mac.

-------------------
URL (if applicable) where crash occurred:
http://www.pdftron.com/pdfnet/webviewer/demo/viewer.html?d=/xod/fhm.xod&v=html5

-------------------

Here is the crash dump file:
http://www.pdftron.com/pub/chrome/Chrome-last.dmp

-------------------
Can you reproduce this crash?

Yes. 

1. Navigate the viewer to the end of the document (http://www.pdftron.com/pdfnet/webviewer/demo/viewer.html?d=/xod/fhm.xod&v=html5) with 'jump last page button'. Start switching the pages with 'Previous page button'. Let the page to fully render on Canvas.

Result:

The tab/browser will randomly crash when reaching the page range of 42-70. Debugging the issue it seems that WebKit enters an infinite loop until it crashes.

For more info about the issue you can reach us via info at pdftron . com
Comment 1 Michelangelo De Simone 2012-06-19 14:58:28 PDT
I've been unable to reproduce. Chrome 19.0.1084.56 on Mac 10.7.4, Safari 5.1.7 7534.57.2 on Mac 10.7.4 don't seem to be affected.

Are you able to reduce this?

Anyway thank you, a breath of fresh air.;)
Comment 2 Ika 2012-06-19 16:47:27 PDT
Correction. We are not able to reproduce it in Safari/Chrome on a Mac. 
But it does occurs on iOS and Windows.

The page range is probably dependent on the system.

-------------
To reproduce the crash:

1. From the first page of the document, navigate to the last page of the document by using the next page button. Pause after each page change to let the page fully render.

Result:

Somewhere in the near the end of the document the browser will crash, usually at two-thirds of the way. Debugging the issue it seems that WebKit enters an infinite loop until it crashes.
-------------
Comment 3 Benjamin Poulain 2012-06-23 21:12:29 PDT
Can you please try to make a reduction?

You say the crash happen between page 42 and 70, does it also crashes if you remove all the other pages?

How is the memory usage changing until the crash? Maybe the website never deallocate images and WebKit simply run out of memory.