Crashes for me, too. Here's the report:
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000010
Crashed Thread: 0
Thread 0 Crashed:
0 com.apple.CoreText 0x96a1c6fe
TLine::GetMappedCharsInRange(CFRange, TStackBuffer<long, 30ul>&) const
+ 170
1 com.apple.CoreText 0x96a0c57a
TCombiningEngine::ResolveCombiningMarks() + 354
2 com.apple.CoreText 0x969f649c
TTypesetter::FinishEncoding(TLine&, unsigned char) const + 258
3 com.apple.CoreText 0x96a1ab3b
TTypesetter::RelayoutRun(CTRun const*) const + 473
4 com.apple.CoreText 0x96a0f602
TTypesetter::MakeLineConsistent(TLine&) const + 60
5 com.apple.CoreText 0x969fd8b9
TTypesetter::FinishLineFill(TLine&, double) const + 43
6 com.apple.CoreText 0x96a206e2
TFramesetter::FrameInRect(TFrame&, CFRange) const + 862
7 com.apple.CoreText 0x96a20c1f
TFramesetter::CreateFrame(CFRange, CGPath const*, __CFDictionary
const*) const + 93
8 com.apple.QuartzComposer 0x900824ca -[QCTextRenderer
_updateCache] + 282
9 com.apple.QuartzComposer 0x900821c8 -[QCTextRenderer
typographicBounds] + 76
10 com.apple.QuartzComposer 0x90081984 -[QCTextImage
execute:time:arguments:] + 2317
11 com.apple.QuartzComposer 0x90056fa0 -[QCPatch(Private)
_execute:arguments:] + 1231
12 com.apple.QuartzComposer 0x90057362 -[QCPort
_execute:arguments:] + 83
13 com.apple.QuartzComposer 0x90056ead -[QCPatch(Private)
_execute:arguments:] + 988
14 com.apple.QuartzComposer 0x9005722f -[QCPatch(Extensions)
executeSubpatches:arguments:] + 312
15 com.apple.QuartzComposer 0x90056fa0 -[QCPatch(Private)
_execute:arguments:] + 1231
16 com.apple.QuartzComposer 0x90055614 -[QCContext
renderPatch:time:arguments:] + 650
17 com.apple.QuartzComposer 0x90055366 -[QCGraphicsContext
renderPatch:time:arguments:] + 91
18 com.apple.QuartzComposer 0x9005426b -[QCOpenGLContext
renderPatch:time:arguments:] + 334
19 com.apple.QuartzComposer 0x9005410a -[QCPatch(Runtime)
render:arguments:] + 92
On Apr 8, 2009, at 12:01 AM, Christopher Wright wrote:
I've found that certain character sequences explode the Image With
String patch and cause QC to crash -- the backtrace is rather
interesting:
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000010
Crashed Thread: 0
Thread 0 Crashed:
0 com.apple.CoreText 0x955686fe
TLine::GetMappedCharsInRange(CFRange, TStackBuffer<long, 30ul>&)
const + 170
1 com.apple.CoreText 0x9555857a
TCombiningEngine::ResolveCombiningMarks() + 354
2 com.apple.CoreText 0x9554249c
TTypesetter::FinishEncoding(TLine&, unsigned char) const + 258
3 com.apple.CoreText 0x95566b3b
TTypesetter::RelayoutRun(CTRun const*) const + 473
4 com.apple.CoreText 0x9555b602
TTypesetter::MakeLineConsistent(TLine&) const + 60
5 com.apple.CoreText 0x955498b9
TTypesetter::FinishLineFill(TLine&, double) const + 43
6 com.apple.CoreText 0x9556c6e2
TFramesetter::FrameInRect(TFrame&, CFRange) const + 862
7 com.apple.CoreText 0x9556cc1f
TFramesetter::CreateFrame(CFRange, CGPath const*, __CFDictionary
const*) const + 93
8 com.apple.QuartzComposer 0x947264ca -[QCTextRenderer
_updateCache] + 282
9 com.apple.QuartzComposer 0x947261c8 -[QCTextRenderer
typographicBounds] + 76
10 com.apple.QuartzComposer 0x94725984 -[QCTextImage
execute:time:arguments:] + 2317
11 com.apple.QuartzComposer 0x946fafa0 -[QCPatch(Private)
_execute:arguments:] + 1231
12 com.apple.QuartzComposer 0x946fb362 -[QCPort
_execute:arguments:] + 83
looks like it might be CoreText related, which may mean that this
could be found elsewhere in OS X (? pure speculation ?)
Anyway, here's the composition -- this _will_ crash QC, so make sure
you don't have any unsaved work, and make sure your preferences are
set such that it opens the editor only, not the viewer, if you want
to actually see the composition.
Essentially, a string with a sufficient number of newlines which
then have "bad" characters appended (the fn+delete key, in this
case) will eventually cause the above crash.
The string in question is initialized with a bunch of newlines --
fewer may still work, but I'm not sure how low one can go. Then,
each frame it appends a garbage character, and feeds it to Image
With String.
<Untitled-crashsave.2009-04-07-23-16.pid-18402.qtz-crashsave.
2009-04-07-23-41.pid-18567.qtz>
does this crash for anyone else? Troy/Alessandro/Kevin, shall I
file a bug with QC, or is this a CoreText/other-department problem?
If it's the latter, can you point me in the right direction?
--
[ christopher wright ]
[email protected]
http://kineme.net/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list ([email protected]
)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/dan%40danwinckler.com
This email sent to [email protected]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com
This email sent to [email protected]