[webkit-gtk] What supposed to hold the GDK in calls from WebKit/gtk/WebCoreSupport

Yehouda Harpaz yeh at lispworks.com
Fri Aug 19 05:22:18 PDT 2011



We have problems integrating webkit-gtk into a multi0-threaded
application (Lisp IDE). We get "random" errors (i.e. not repeateable)
like the on in the first backtrace below. We suspect it is because of
calls to gdk functions without holding the gdk lock. 

What supposed to hold the lock when
WebKit::ChromeClient::invalidateContentsAndWindow calls
gdk_window_invalidate_rect?


Notes about the backtrace
  a) gdk_window_invalidate_rect tail calls
     gdk_window_invalidate_rect_full which is in the backtrace


  b) The stack beyond g_main_loop_run is not recognized by gdb 
     because it is called from Lisp. 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: webkit-crash1
Type: application/octet-stream
Size: 20594 bytes
Desc: not available
URL: <http://lists.webkit.org/pipermail/webkit-gtk/attachments/20110819/3451507e/attachment-0001.obj>


More information about the webkit-gtk mailing list