GIMP doesn't start

GIMP doesn’t start any more in SLED 11 SP-2.

[QUOTE]uname -a
Linux alex 3.0.38-0.5-pae #1 SMP Fri Aug 3 09:02:17 UTC 2012 (358029e) i686 i686 i386 GNU/Linux[/QUOTE]

This is the command line output:

[QUOTE]~>gimp

(gimp:4416): GLib-GObject-WARNING **: cannot register existing type `GtkScaleButton’

(gimp:4416): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0’ failed

(gimp:4416): GLib-GObject-CRITICAL **: g_type_register_static: assertion `parent_type > 0’ failed

(gimp:4416): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0’ failed

(gimp:4416): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)’ failed

(gimp:4416): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(gimp:4416): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)’ failed

(gimp:4416): Gtk-CRITICAL **: gtk_table_attach: assertion `GTK_IS_WIDGET (child)’ failed

(gimp:4416): Gtk-CRITICAL **: gtk_widget_show: assertion `GTK_IS_WIDGET (widget)’ failed
[/QUOTE]

Hi
What repositories do you have enabled? Also what version on gimp/repo

zypper lr
zypper if gimp

Please use code tags around the output as well :wink:


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 12.2 (x86_64) Kernel 3.4.11-2.16-desktop
up 11:30, 3 users, load average: 0.00, 0.02, 0.06
CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU

Nothing special: standard repositories and statdard gimp package from repositories.

[CODE][QUOTE]# zypper lr

| Alias | Name | Enabled | Refresh

—±------------------------------------------±------------------------------------±--------±-------
1 | Broadcom-Driver-HP-BNB-SLE11-SP2 | Broadcom-Driver-HP-BNB-SLE11-SP2 | Yes | Yes
2 | LSI-Driver-HP-BNB-SLE11-SP2 | LSI-Driver-HP-BNB-SLE11-SP2 | Yes | Yes
3 | Packman | Packman | Yes | Yes
4 | VALIDITYINC-Driver-HP-BNB-SLE11-SP2 | VALIDITYINC-Driver-HP-BNB-SLE11-SP2 | Yes | Yes
5 | google-earth | google-earth | Yes | Yes
6 | nu_novell_com:SLE11-SDK-SP1-Pool | SLE11-SDK-SP1-Pool | Yes | Yes
7 | nu_novell_com:SLE11-SDK-SP1-Updates | SLE11-SDK-SP1-Updates | Yes | Yes
8 | nu_novell_com:SLE11-SDK-SP2-Core | SLE11-SDK-SP2-Core | Yes | Yes
9 | nu_novell_com:SLE11-SDK-SP2-Updates | SLE11-SDK-SP2-Updates | Yes | Yes
10 | nu_novell_com:SLE11-SP1-Debuginfo-Pool | SLE11-SP1-Debuginfo-Pool | No | Yes
11 | nu_novell_com:SLE11-SP1-Debuginfo-Updates | SLE11-SP1-Debuginfo-Updates | No | Yes
12 | nu_novell_com:SLE11-SP2-Debuginfo-Core | SLE11-SP2-Debuginfo-Core | No | Yes
13 | nu_novell_com:SLE11-SP2-Debuginfo-Updates | SLE11-SP2-Debuginfo-Updates | No | Yes
14 | nu_novell_com:SLED11-Extras | SLED11-Extras | No | Yes
15 | nu_novell_com:SLED11-SP1-HP-BNB-Updates | SLED11-SP1-HP-BNB-Updates | No | Yes
16 | nu_novell_com:SLED11-SP1-Pool | SLED11-SP1-Pool | Yes | Yes
17 | nu_novell_com:SLED11-SP1-Updates | SLED11-SP1-Updates | Yes | Yes
18 | nu_novell_com:SLED11-SP2-Core | SLED11-SP2-Core | Yes | Yes
19 | nu_novell_com:SLED11-SP2-HP-BNB-Updates | SLED11-SP2-HP-BNB-Updates | No | Yes
20 | nu_novell_com:SLED11-SP2-Updates | SLED11-SP2-Updates | Yes | Yes
[/QUOTE][/CODE]

[QUOTE][CODE]zypper if gimp

Repository: SLE11-SDK-SP1-Updates
Name: gimp
Version: 2.6.2-3.34.39.1
Arch: i586
Vendor: SUSE LINUX Products GmbH, Nuernberg, Germany
Support Level: Level 3
Installed: Yes
Status: up-to-date[/CODE][/QUOTE]

Hi, Alex,

[QUOTE=AlexDudko;9470]Nothing special: standard repositories and statdard gimp package from repositories.

[/QUOTE]
I have same Gimp version, and mine works OK in SP2 (fingers crossed).

Lliner

Hi
If you create a test user, is the error duplicated?


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 12.2 (x86_64) Kernel 3.4.11-2.16-desktop
up 4:43, 3 users, load average: 1.07, 0.50, 0.30
CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU

[QUOTE=malcolmlewis;9492]Hi
If you create a test user, is the error duplicated?


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 12.2 (x86_64) Kernel 3.4.11-2.16-desktop
up 4:43, 3 users, load average: 1.07, 0.50, 0.30
CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU[/QUOTE]

Yes, it is duplicated. Just a guess, I use OpenJDK Java instead of the Sun’s one. The issues with touchpad and GIMP started shortly after some java update, could it cause the problem?

GIMP doesn’t use Java.

me_mine:~> strace -f -o /tmp/gimpstrace gimp me_mine:~> ls -lh /tmp/gimpstrace -rw------- 1 cusey cu 11M Oct 16 10:16 /tmp/gimpstrace me_mine:~> grep -i java /tmp/gimpstrace 5897 stat("/usr/share/gimp/2.0/patterns/java.pat", {st_mode=S_IFREG|0644, st_size=12317, ...}) = 0 5897 open("/usr/share/gimp/2.0/patterns/java.pat", O_RDONLY) = 8 5897 read(8, "Java\\0", 5) = 5 5897 stat("/usr/share/gimp/2.0/patterns/java.pat", {st_mode=S_IFREG|0644, st_size=12317, ...}) = 0 5900 read(11, "Javascript for onmouseover and c"..., 39) = 39 me_mine:~> grep -i jre /tmp/gimpstrace me_mine:~>

I have the same problem in my SLED11 SP2 and have been having this problem in SP1 and even before SP1. It stops part way through the loading process and the Startup screen displays:
Looking for data files
Documents

and it sits there.

However, if I log in as different user on the same machine GIMP loads fine. I tried to delete .gimp-2.6 folder and start GIMP and copy .gimp-2.6 from the other users home folder but none worked.

When GIMP started from shell I get following:

[CODE]> gimp

(gimp:16844): GLib-GObject-WARNING **: cannot register existing type `GtkScaleButton’

(gimp:16844): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0’ failed

(gimp:16844): GLib-GObject-CRITICAL **: g_type_register_static: assertion `parent_type > 0’ failed

(gimp:16844): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0’ failed

(gimp:16844): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)’ failed

(gimp:16844): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(gimp:16844): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)’ failed

(gimp:16844): Gtk-CRITICAL **: gtk_table_attach: assertion `GTK_IS_WIDGET (child)’ failed

(gimp:16844): Gtk-CRITICAL **: gtk_widget_show: assertion `GTK_IS_WIDGET (widget)’ failed[/CODE]

Hi
What happens if you delete the gimp config directory in your home directory?

rm -r ~/.gimp*

[QUOTE=malcolmlewis;10891]Hi
What happens if you delete the gimp config directory in your home directory?

rm -r ~/.gimp* [/QUOTE]

I tried it already. I described it in my previous post. Delete .gimp-2.6 from my home directory and started GIMP and got same problem. Then I copied .gimp-2.6 directory from the other user’s home folder (for whom it starts OK) but did not work either.

In my case it wasn’t user dependent and didn’t occur on every notebook.

Have you customised any environment variables that may affect which libraries are being loaded for this user? E.g. LD_LIBRARY_PATH

You could try working out which files gimp is looking at in your home directory and renaming them temporarily to see if that fixes the problem.

$ strace -f -o gimpstrace gimp

No, I did not.

[QUOTE=mikewillis;10901]You could try working out which files gimp is looking at in your home directory and renaming them temporarily to see if that fixes the problem.

$ strace -f -o gimpstrace gimp[/CODE][/QUOTE]

Gimp freezes up on startup on the splash screen at the point where is says:
"Looking for data files
    Documents"

[CODE]~/Desktop> strace -f -o gimpstrace gimp

(gimp:5831): GLib-GObject-WARNING **: cannot register existing type `GtkScaleButton'

(gimp:5831): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed

(gimp:5831): GLib-GObject-CRITICAL **: g_type_register_static: assertion `parent_type > 0' failed

(gimp:5831): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed

(gimp:5831): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failed

(gimp:5831): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(gimp:5831): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(gimp:5831): Gtk-CRITICAL **: gtk_table_attach: assertion `GTK_IS_WIDGET (child)' failed

(gimp:5831): Gtk-CRITICAL **: gtk_widget_show: assertion `GTK_IS_WIDGET (widget)' failed

I don’t know what can I assume from this output.

[QUOTE=radomici;10906]
I don’t know what can I assume from this output.[/QUOTE]
Nor do I. Google only yeilds a few other instances of people having the same issue but no solution.
You need to look at the file gimpstrace - that’s where strace wrote all it’s output. In amongst it all will be a list of all the files that it’s looking at. You can filter out the ones that are in your home directory with

$ grep '/home/yourusercodehere' gimpstrace
The output will be a bit messy still. You should be able to reduce it to a more manageable list with

$ grep '/home/yourusercodehere' gimpstrace  | cut -d '"' -f 2 | sort | uniq