Gtk-WARNING **: Failed to load type module: (null)

Bug #598780 reported by dino99
34
This bug affects 7 people
Affects Status Importance Assigned to Milestone
appmenu-gtk (Ubuntu)
Confirmed
Undecided
Unassigned
gtk+2.0 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: firefox

logged into .xsession-errors on maverick

`menu_proxy_module_load': /usr/lib/firefox-3.6.4/firefox-bin: undefined symbol: menu_proxy_module_load

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: firefox 3.6.4+build7+nobinonly-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.35-6.7-generic-pae 2.6.35-rc3
Uname: Linux 2.6.35-6-generic-pae i686
NonfreeKernelModules: nvidia
Architecture: i386
Date: Sat Jun 26 12:41:18 2010
ExecutablePath: /usr/lib/firefox-3.6.4/firefox-bin
FirefoxPackages:
 firefox 3.6.4+build7+nobinonly-0ubuntu1
 firefox-gnome-support 3.6.4+build7+nobinonly-0ubuntu1
 firefox-branding 3.6.4+build7+nobinonly-0ubuntu1
 abroswer N/A
 abrowser-branding N/A
ProcEnviron:
 LANG=fr_FR.utf8
 SHELL=/bin/bash
SourcePackage: firefox

Revision history for this message
dino99 (9d9) wrote :
summary: - `menu_proxy_module_load': /usr/lib/firefox-3.6.4/firefox-bin:
- undefined symbol: menu_proxy_module_load (firefox-bin:16169):
+ Gtk-WARNING **: Failed to load type module: (null)
description: updated
Revision history for this message
Dave Gilbert (ubuntu-treblig) wrote :

Confirmed since I'm also seeing this (in my case on firefox 3.6.8+build1+nobinonly-0ubuntu2 - and a lot of other programmes).
Note I do not have appmenu-gtk installed - it was installed but I apt-get removed it.

Ah - I think I might see what's happening here.
  1) Installing appmenu-gtk adds /etc/X11/Xsession.d/80appmenu
  2) This sets the environment variable UBUNTU_MENUPROXY to libappmenu.so
  3) If you remove appmenu-gtk the variable is still set - and you get these errors
  4) apt-get remove on appmenu-gtk leaves behind the /etc/X11/Xsession.d/80appmenu causing these errors to persist.

Dave

Changed in firefox (Ubuntu):
status: New → Confirmed
affects: firefox (Ubuntu) → gtk+2.0 (Ubuntu)
Revision history for this message
Dave Gilbert (ubuntu-treblig) wrote :

To clarify something; I added this as a bug against gtk+ because I think it's the mechanism that's broken not necessarily appmenu-gtk specifically - I think it's doing what the mechanism is expecting, but I really don't think that mechanism is right.

Also this produces a whole stream of errors - this mechanism gets triggered 10s-100s of time for each application start;
besides the fact it can't do anything for performance even when it's working correctly, it's producing tonnes of errors in this case.
It should be checking this at most once on any app startup.

I believe the 'undefined symbol: menu_proxy_module_load (firefox-bin:16169):'

is coming from the code in 043_ubuntu_menu_proxy.patch in ubuntu_menu_proxy_module_real_load
Nothing checks the return value of _gtk_find_module so the call to g_module_open (being passed null) returns the main program as a module - and that's where the symbols get looked up.

The 'Failed to load type module' is probably from 'ubuntu_menu_proxy_module_get' in the same file; the (null) is again coming from an unchecked return from _gtk_find_module.

Dave

Revision history for this message
Omer Akram (om26er) wrote :

thanks for your bug report. seems there is a similar bug already with a better title. marking duplicate

Revision history for this message
dino99 (9d9) wrote :

hi Omer,

this bug is older than bug#674047 (reported 6 month ago !!!)

 and if you look at: how to reproduce it : 674047 talk about unity, not this one

so bug#674047 is a duplicate of this one (i dont care if you change it for a better title if that can help to fix it !!!!)

Revision history for this message
Kalle Valo (kvalo) wrote :

Marking again as a duplicate of bug 674047, which is already fixed.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in appmenu-gtk (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.