My unit converter in the dashboard is malfunctioning. It only appears with all fields blank. It then uses 100% cpu-power of one processor and stays this way forever.
When I shark it I see that it spent all its time in libicucore.A.dylib
The code tree looks like this (see attached text file)
(basically a NSURL call which calls khtml, which calls KJS (JavaScript?).)
edit: I reported a bug to apple. And instead of Apple's "unit converter" I now use "Currency Converter". Currencies were the most important anyway.
When I shark it I see that it spent all its time in libicucore.A.dylib
Code:
# Report 0 - Session 1 - Time Profile of DashboardClient
SharkProfileViewer
# Generated from the visible portion of the outline view
- 21.5% u_charDigitValue (libicucore.A.dylib)
- 21.4% icu::UnicodeString::doCompare(int, int, unsigned short const*, int, int) const (libicucore.A.dylib)
- 20.0% icu::DecimalFormat::subparse(icu::UnicodeString const&, icu::ParsePosition&, icu::DigitList&, signed char*, unsigned short*) const (libicucore.A.dylib)
- 15.9% 0x909f0b2e [118B] (libicucore.A.dylib)
- 14.2% 0x909f090e [147B] (libicucore.A.dylib)
- 5.5% icu::NumberFormat::isGroupingUsed() const (libicucore.A.dylib)
- 1.5% 0x909eb31e [20.9KB] (libicucore.A.dylib)
The code tree looks like this (see attached text file)
(basically a NSURL call which calls khtml, which calls KJS (JavaScript?).)
edit: I reported a bug to apple. And instead of Apple's "unit converter" I now use "Currency Converter". Currencies were the most important anyway.