#253 XDarwin crash after fullscreen quicktime movie

Causes Crash
Gavin Sherlock


I'm using the most up to date version of XDarwin based on
XFree86 4.2.x (as 4.3 crashes on a cinema display) and had
a crash today. I was watching a quicktime movie in full
screen, and when I switched out of watching that movie full
screen, XDarwin (which was running full screen in the
background) crashed. In the console was:

Jul 23 17:02:58 belhaven /Applications/XDarwin.app/
Contents/MacOS/XDarwin: kCGErrorFailure :
OFAGetGlyphDataSpecs failed: error 268435471.

Jul 23 17:02:58 belhaven /Applications/XDarwin.app/
Contents/MacOS/XDarwin: kCGErrorFailure :
OFARegisterStrike failed: error 71.

Jul 23 17:02:59 belhaven WindowServer[4788]:
CGXDisableUpdate: Updates disabled by connection 0xa803
for over 1.000000 seconds

Jul 23 17:03:00 belhaven crashdump: Crash report written
to: /Users/sherlock/Library/Logs/CrashReporter/

Gdk-ERROR **: X connection to :0.0 broken (explicit kill or
server shutdown).
Gdk-ERROR **: X connection to :0.0 broken (explicit kill or
server shutdown).
Gdk-ERROR **: X connection to :0.0 broken (explicit kill or
server shutdown).
xterm: fatal IO error 32 (Broken pipe) or KillClient on X
server ":0.0"

xinit: connection to X server lost.

Gdk-ERROR **: X connection to :0.0 broken (explicit kill or
server shutdown).

waiting for X server to shut down X connection to :0.0
broken (explicit kill or server shutdown).

ICE default IO error handler doing an exit(), pid = 4950,
errno = 0
Jul 23 17:03:01 belhaven WindowServer[4788]: Reserved
range exhausted. (0xbbfa7000 to 0xbc6a7000 goes out of

and the crash log was:


Date/Time: 2003-07-23 17:03:00 -0700
OS Version: 10.2.6 (Build 6L60)
Host: belhaven.Stanford.EDU

Command: XDarwin
PID: 4873

Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_INVALID_ADDRESS (0x0001) at

Thread 0 Crashed:
#0 0x91eca52c in enumerate_gx_glyph_path
#1 0x91eca450 in get_glyph_data
#2 0x91eca248 in ats_get_glyph_paths
#3 0x91ec3508 in build_glyph_entries
#4 0x91ec935c in ats_glyph_get_cached_glyphs
#5 0x91ec30e4 in ats_get_8bit_quantized_bitmaps
#6 0x91ecae5c in ats_get_glyph_bitmaps
#7 0x91f549d0 in ripc_RenderGlyph
#8 0x9371e78c in drawGlyphs
#9 0x9370f664 in
#10 0x9371ff48 in CGContextShowGlyphsWithAdvances
#11 0x91a5a464 in RenderCGGlyphs
#12 0x91a6cd5c in RenderGlyphRecordArrayWithCG
#13 0x91a6d020 in ATSUDrawGlyphs(ATSGlyphVector*,
unsigned long, unsigned long, FixedPoint*, Rect*,
#14 0x91a65780 in TTextLineLayout::DrawText(unsigned
long, unsigned long, long, long)
#15 0x91a65548 in ATSUDrawText
#16 0x969b440c in
TATSUTextLayout::DrawToContext(CGRect const&, unsigned
char, short, short, float, CGContext*)
#17 0x969c13a8 in
TThemeText::DrawThemeTruncatedText(float, float, CGRect
const&, unsigned long, short, short, float, short,
OpaqueGrafPtr*, unsigned char, CGContext*, CGRect*)
#18 0x969bff7c in
DataEngine::DrawThemeTruncatedText(__CFString const*,
unsigned short, TThemeDrawState const&, CGRect const&,
short, short, float, short, OpaqueGrafPtr*, unsigned char,
CGContext*, OpaqueThemeTextCache*, CGRect*)
#19 0x969bfc7c in _DrawThemeTruncatedTextWithCache
#20 0x969d3998 in DrawTextMenuTitle(StdMBDFGlobals*,
OpaqueMenuRef*, Rect const*, __CFString const*, unsigned
long, void*)
#21 0x969dea98 in DrawMenuTitleProc(Rect const*, short,
unsigned char, long, void*)
#22 0x969e8178 in DrawMenuTitleLoop(short, short,
GDevice**, long)
#23 0x969c5ad8 in
DataEngine::DrawThemeMenuTitle(CGRect const&, CGRect
const&, unsigned short, unsigned long,
MenuTitleDrawingXUPP*, unsigned long, CGContext*)
#24 0x96a026fc in HIThemeDrawMenuTitle
#25 0x969ea430 in DrawThemeMenuTitleWithContext
#26 0x969dfb60 in DrawCommon(StdMBDFGlobals*, Rect*,
OpaqueMenuRef*, unsigned char, void*)
#27 0x969d955c in
DrawIndexedMenuTitle(StdMBDFGlobals*, int, void*,
unsigned char)
#28 0x969d893c in DrawBar(StdMBDFGlobals*)
#29 0x969a6ac0 in StandardMBDF(short, short, long, long)
#30 0x96a57e24 in MBarDraw(unsigned char, MenuData*,
#31 0x96a09f9c in
#32 0x96a674e0 in DrawMenuBar
#33 0x96b61258 in MenuBarDisplayNotifyProc(void*, short,
#34 0x91ac19c8 in HandleDMChangedNotification
#35 0x91ac2f44 in InternalDisplayChangedProc
#36 0x91acd454 in QDDisplayChangedNotification
#37 0x9371e2c4 in CGSPostLocalNotification
#38 0x93745de0 in notifyDatagramHandler
#39 0x93711270 in CGSDispatchDatagramsFromStream
#40 0x936fe7e8 in snarfEvents
#41 0x936fab8c in CGSGetNextEventRecord
#42 0x969a5868 in PullEventsFromWindowServer
#43 0x9015bd8c in __CFMachPortPerform
#44 0x9015bbf8 in __CFRunLoopDoSource1
#45 0x90148c9c in __CFRunLoopRun
#46 0x90180f58 in CFRunLoopRunSpecific
#47 0x969a3b70 in RunCurrentEventLoopInMode
#48 0x969b3b00 in ReceiveNextEventCommon
#49 0x969dabbc in BlockUntilNextEventMatchingListInMode
#50 0x9308dedc in _DPSNextEvent
#51 0x930a0158 in -[NSApplication
#52 0x930b1d88 in -[NSApplication run]
#53 0x9315fc58 in NSApplicationMain
#54 0x00002f84 in DarwinHandleGUI
#55 0x00007e18 in main
#56 0x00002ba0 in _start (crt.c:267)
#57 0x00002a20 in start

Thread 1:
#0 0x9002578c in select
#1 0x0005fe94 in WaitForSomething
#2 0x00028914 in Dispatch
#3 0x000084bc in main
#4 0x000074f0 in -[Xserver run]
#5 0x97e2cc50 in forkThreadForFunction
#6 0x90020d28 in _pthread_body

PPC Thread State:
srr0: 0x91eca52c srr1: 0x0000f030 vrsave:
xer: 0x00000000 lr: 0x91eca51c ctr: 0x93709d30 mq:
r0: 0x91eca450 r1: 0xbfff84a0 r2: 0x48002244 r3:
r4: 0xa2715d02 r5: 0x00000000 r6: 0xbfff8554 r7:
r8: 0x938d9d40 r9: 0xa1eba51c r10: 0x40000000 r11:
r12: 0x93709d30 r13: 0x003d79b0 r14: 0x0243c870 r15:
r16: 0xbfff8ba0 r17: 0xbfff8b60 r18: 0xbfff8910 r19:
r20: 0x0000ffff r21: 0x004fd230 r22: 0xbfff8870 r23:
r24: 0xa2715d02 r25: 0x02361844 r26: 0xbfff8750 r27:
r28: 0x00000001 r29: 0x00003e2c r30: 0xbfff8750 r31:



  • Gavin Sherlock
    Gavin Sherlock

    Logged In: YES

    I just had exactly the same crash log again, but this time when
    exiting the full screen mode of the iTunes visualization component.
    Again, this is XDarwin, as the one based on xfree86 4.3
    doesn't run on my cinema display yet.