FAQ
Cover
\
Build
\
Source
\
Bugs
\
Reference
\
Libraries
\
Tools
The bugs database has moved
here
.
Bug 917 : Hang while selecting popup menu
Last modified: 2008-09-13 04:38
P
roject:
processing
trash
Version:
unspecified
Co
m
ponent:
android
book
core
libraries
pde
reference
tools
web
Status:
RESOLVED
Resolution:
INVALID -
Pr
i
ority:
P2
Severity:
normal
Platform
All
O
S:
All
Windows
Mac OS
Linux
Other
Reporter:
rgovostes
Assigned To:
fry
Attachment
Type
Created
Size
Actions
Description
: Opened: 2008-09-12 14:05
Processing 0148
OS X 10.6, MacBook Pro
Clicking the -> arrow on the tab bar pops up an unpopulated menu. The program hangs. It
seems to be related to drawing text, as I can also induce a crash using the "Create Font"
window when selecting "AppleBraille".
From a sample:
1397 Java_apple_awt_CTextPipe_doDrawString
1397 DrawTextContext
1397 JavaCT_DrawTextUsingQSD
1397 CTLineDrawCharsWithUnicodeProvider
1397 TTypesetterUniChar::TTypesetterUniChar(unsigned short const* (*)(long, long*,
__CFDictionary const**, void*), void (*)(unsigned short const*, void*), void*)
1397 TTypesetter::FinishLayout(TLine&, TCharStream const&) const
1397 TIntegerizationEngine::SnapToIntegerMetrics()
1397 TIntegerizationEngine::SnapRunToIntegerMetrics(TRun&)
1397 CG::round(double)
1397 CG::round(double)
One correlation I have seen between fonts that crash the program is that they are in
/System/Library/Fonts rather than /Library/Fonts or ~/Library/Fonts, but not all fonts in the
former location cause the crash. Some examples that do are Geeza Pro and Zapf Dingbats,
whereas Apple Symbols and Helvetica do not.
I tried with HEAD also and I did not witness any different behavior.
Additional Comment
#1 From fry 2008-09-13 04:38
I think something is hosed with the fonts on your machine. That error
message is from far outside the Processing code, so you're either hitting
an Apple Java bug, or (probably more likely) one or several of your fonts
has become corrupt.