crash on GTK quartz



I've built GTK on macports with +quartz +no_x11 +universal,

my application builds fine but then crashes after a while with:

2008-11-01 16:58:03.272 algoscore[4632] unlockFocus called too many time.
2008-11-01 16:58:03.272 algoscore[4632] unlockFocus called too many time.
2008-11-01 16:58:07.283 algoscore[4632] An uncaught exception was raised
2008-11-01 16:58:07.283 algoscore[4632] Unlocking Focus on wrong view
(<GdkQuartzView: 0x215a020>), expected <GdkQuartzView: 0x21d1490>
2008-11-01 16:58:07.283 algoscore[4632] *** Uncaught exception:
<NSInvalidArgumentException> Unlocking Focus on wrong view
(<GdkQuartzView: 0x215a020>), expected <GdkQuartzView: 0x21d1490>
Trace/BPT trap

gdb says:

#0  0x9282a45f in _NSRaiseError ()
#1  0x932f4556 in -[NSView _drawRect:clip:] ()
#2  0x932f342b in -[NSView
_recursiveDisplayAllDirtyWithLockFocus:visRect:] ()
#3  0x932f2493 in -[NSView
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
()
#4  0x932f1382 in -[NSView
_displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] ()
#5  0x932f0cae in -[NSView displayIfNeeded] ()
#6  0x0024374e in gdk_window_quartz_process_updates_internal ()
#7  0x002438e9 in gdk_window_quartz_update_idle ()
#8  0x0020723a in gdk_threads_dispatch ()
#9  0x0120be1d in g_main_context_dispatch ()
#10 0x0120f550 in g_main_context_iterate ()
#11 0x0120f8f0 in g_main_loop_run ()
#12 0x0049b3f0 in gtk_main ()
#13 0x00027e2e in f_main ()
#14 0x00014276 in naCall ()
#15 0x0001c35a in f_call ()
#16 0x000109e5 in setupFuncall ()
#17 0x00013935 in run ()
#18 0x000143e5 in naCall ()
#19 0x0000906a in main ()

I'm using a GtkDrawingArea, drawing on it with Cairo.

-- 
/Jonatan         [ http://kymatica.com ]


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]