GNOME Bugzilla – Bug 596654
pango based apps take *forever* (~15 minutes) to launch on OSX
Last modified: 2009-09-28 23:17:17 UTC
This is a regression over 1.24. gtk-demo and xchat take about 10 minutes to display the connections window (gtk-demo has the same issue). Attached is a 30-second sample about 4 minutes into the launch (gtk-demo's sample looks the same): It's fairly deep, and here are the big tickets: Sort by top of stack, same collapsed (when >= 5): hb_ot_layout_substitute_lookup 6768 hb_ot_layout_position_lookup 6704 PosLookupSubTable::apply(_hb_ot_layout_context_t*, _hb_buffer_t*, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int) const 5438 SubstLookupSubTable::apply(_hb_ot_layout_context_t*, _hb_buffer_t*, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int) const 5191 Reverting to pango-1.24.5 corrects this problem.
Can you compile with CPPFLAGS=-DHB_DEBUG=100 and attach the log?
Created attachment 144202 [details] stdout/err with the requested debugging CPPFLAG Interestingly, when I compile with that CPPFLAG, I don't hit the bug. gtk-demo starts up fast. I recompiled again without the flag just to make sure it wasn't a fluke or compiler bug and it's back to bad performance.
Ok, this is definitely something PPC specific. Is this a PPC? Sounds like a dupe of bug 593240. What compiler? *** This bug has been marked as a duplicate of bug 593240 ***
Nope, this has nothing to do with PPC. This is gcc-4.2.1: i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5651) Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. This is happening with both i386 and x86_64 code.
Comment on bug 593240 please. *** This bug has been marked as a duplicate of bug 593240 ***