If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

dynafont font sample pdf doesn't display correctly, slows browser to a crawl

RESOLVED WORKSFORME

Status

()

Firefox
PDF Viewer
RESOLVED WORKSFORME
5 years ago
3 years ago

People

(Reporter: jtd, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [pdfjs-c-performance], URL)

(Reporter)

Description

5 years ago
Steps:

Open linked pdf, a sample from a Dynafont font collection.

Result: the pdf doesn't display correctly and there are lots of multi-second hangs during which no UI interaction is possible.  Even after closing the tab with the pdf browser hangs for several seconds in roughly 10 second intervals and a restart is required.

Note: the "this PDF may not display properly" message does appear.

Sampling with activity monitor indicates lots of hangs releasing memory:

Call graph:
    449 Thread_5108513   DispatchQueue_1: com.apple.main-thread  (serial)
      449 start
        449 main
          449 XRE_main
            449 XREMain::XRE_main(int, char**, nsXREAppData const*)
              449 XREMain::XRE_mainRun()
                449 nsAppStartup::Run()
                  449 nsAppShell::Run()
                    449 -[NSApplication run]
                      449 -[GeckoNSApplication nextEventMatchingMask:untilDate:inMode:dequeue:]
                        449 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:]
                          449 _DPSNextEvent
                            449 BlockUntilNextEventMatchingListInMode
                              449 ReceiveNextEventCommon
                                449 RunCurrentEventLoopInMode
                                  449 CFRunLoopRunSpecific
                                    449 __CFRunLoopRun
                                      251 __CFRunLoopRun
                                      197 __CFRunLoopDoObservers
                                        197 __NSConnectionDoQueuedWork
                                          197 _CFAutoreleasePoolPush
                                            174 pthread_setspecific
                                            23 _CFAutoreleasePoolPush
                                      1 mach_msg
                                        1 mach_msg_trap

Updated

5 years ago
Whiteboard: [pdfjs-c-performance]

Comment 1

3 years ago
John, can you confirm that this is not a problem anymore?
I tested on Win7 and it loaded without causing hangs on Firefox.
Flags: needinfo?(jdaggett)
(Reporter)

Comment 2

3 years ago
Testing with latest Nightly seems fine. It's slow but that's understandable given all the fonts loaded by the document.
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Flags: needinfo?(jdaggett)
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.