GNOME Bugzilla – Bug 169750
"Your GIMP installation is incomplete"
Last modified: 2008-01-15 12:49:41 UTC
Installing GIMP 2.2 with GTK+ 2.6.4 The above message appears with Failed to open file 'E:\GIMP\GIMP-2.2\share\gimp\2.0\menus\toolbox-menu.xml': Bad file descriptor. and Failed to open file 'E:\GIMP\GIMP-2.2\share\gimp\2.0\menus\image-menu.xml': Bad file descriptor. The GIMP opens but no menus are available. Problem resolved by re-installing GTK+ 2.4.14
Advised to report this at GIMP forum by Sven.
Bug #169750 - Additional info: Installation of GIMP 2.2.4 with GTK+ 2.6.2 on WinME Both toolbox-menu.xml and image-menu.xml were present in the menus folder.
Tor, I am adding you to the Cc: since this looks like an incompatibility problem with GLib/GTK+ 2.6. Jernej, it would be important if you could tell us how the GIMP 2.2.4 binary has been built.
Bug #167973 could be a similar problem.
I used Tor's GTK+ 2.4.14, and built with gcc 3.4.2 (mingw-special). The only configure options were --disable-print --prefix=/stuff/gimp/2.2.4 .
Thanks for this info, I just wanted to be sure. So GIMP 2.2.4 is built against GLib/GTK+ 2.4. However it appears that running it with GLib/GTK+ 2.6 is causing problems. My guess is that the problem is that we are constructing the filename of the UIManager XML files using the old glib routines (because GIMP has been built against the glib 2.4 header files). Then we pass this filename to GTK+ which is using the new stdio routines to open the file (because GTK+ 2.6 has of course been built using the glib 2.6 headers). Tor, does this "analysis" make any sense?
This doesn't seem to be a problem on Windows XP or 2000.
I never noticed any problems on Windows 2000, XP and 2003, however when I tried Gimp 2.2.4 with GTK+ 2.6.4 on Windows 98SE today, Gimp didn't run at all (it crashed a few seconds after the splash screen disappeared, before any of the main interface was shown; there were no problems when run with GTK+ 2.4.14).
Maybe this is caused by bug #168341 - "g_file_get_contents() doesn't work on non-NT systems"
That's possible. Where did the original poster get his GTK+ 2.6.4 from? Did it say what version of GLib it included? Bug #168341 was fixed in GLib 2.6.3.
I am the bug reporter, respoding to :- ------- Additional Comments From Tor Lillqvist 2005-03-10 12:30 ------- That's possible. Where did the original poster get his GTK+ 2.6.4 from? Did it say what version of GLib it included? Bug #168341 was fixed in GLib 2.6.3. --------------------------------------------------------------------------- Response: I downloaded the Windows exes from the GIMP / GNOME download site. GLib version unknown - I am not a programmer. Regards, Rod.
Does gtk_ui_manager_add_ui_from_file() need the same ABI stability changes as were needed to fix bug #167973?
It already has.
OK, I verified this. So this looks a lot like bug #168341 showing it's ugly face. If that's the case, then the problem should show up on Win98/ME only and it should be fixed by updating to GLib 2.6.3. Jernej, do I assume correctly that the gtk+-2.6.4 package that you are offering for download, includes glib 2.6.3?
Yes, installer for GTK+ 2.6.4 is packed with GLib 2.6.3. But like I said, on the only Win98 machine I tried, Gimp crashed on statup when used with GTK+ 2.6.4.
Comment #2 says GTK 2.6.2 - which version was really installed? According to the sourceforge releases page, the 2.6.4 installer was released just 2 days ago. Rod, if you are unsure which version you downloaded you can take a look at the name of the file you downloaded to install GTK if you still have it, and if you deleted it, perhaps you should download and install GTK 2.6.4 to check if the problem really exists in that version? (The crash on win98 might be bug #168608)
Confirm download of gtk+-2.6.2-setup.zip on 6th March. I'll try the updated 2.6.4 and get back.
GIMP OK with GTK+-2.6.4 Looks like some finger trouble on my part at first report. Sorry for any inconvenience caused.
Great! Let's assume this was caused by bug #168341 then. *** This bug has been marked as a duplicate of 168341 ***