← Back to team overview

desktop-packages team mailing list archive

[Bug 797188] Re: Call GTK functions without gdk lock

 

On a side note, does this issue occur with Oneiric (GTK 3.x) and above
as well?

** Also affects: gtk+3.0 (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gtk+3.0 in Ubuntu.
https://bugs.launchpad.net/bugs/797188

Title:
  Call GTK functions without gdk lock

Status in Application menu module for GTK+:
  New
Status in “gtk+3.0” package in Ubuntu:
  New

Bug description:
  There ar ecalls to GTK functions without a gdk lock, which cause
  "random" crashes on mullti-threaded applications.

  The one that we hit is the call to 
    dsubmenu_gtk_parse_menu_structure 
    find_menu_bar
    ...
    rebuild_window_items
    do_rebuild
    <glib stuff>

  It is because is called vi g_timeout_add inside rebuild, which doesn't deal with gdk lock.
  It should call gdk_threads_add_timeout instead. 

  We found the bug running on Linux Mint.

  As a work around we setenv UBUNTU_MENUPROXY to nothing. 
  Other iseas?

To manage notifications about this bug go to:
https://bugs.launchpad.net/appmenu-gtk/+bug/797188/+subscriptions