Closed Bug 772315 Opened 12 years ago Closed 10 years ago

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

Categories

(Firefox :: PDF Viewer, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jtd, Unassigned)

References

()

Details

(Whiteboard: [pdfjs-c-performance])

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
Whiteboard: [pdfjs-c-performance]
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)
Testing with latest Nightly seems fine. It's slow but that's understandable given all the fonts loaded by the document.
Status: NEW → RESOLVED
Closed: 10 years ago
Flags: needinfo?(jdaggett)
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.