RSS/Atom feed Twitter
Site is read-only, email is disabled

Can't Save Or Load Images...

This discussion is connected to the gimp-user-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

5 of 5 messages available
Toggle history

Please log in to manage your subscriptions.

Can't Save Or Load Images... Steve Thompson 29 Dec 03:51
  Can't Save Or Load Images... Jon Grant 04 Jan 14:06
   Can't Save Or Load Images... Sven Neumann 04 Jan 14:15
    Can't Save Or Load Images... Jon Grant 04 Jan 14:54
Can't Save Or Load Images... Steve Thompson 29 Dec 20:40
Steve Thompson
2006-12-29 03:51:22 UTC (over 17 years ago)

Can't Save Or Load Images...

I'm operating under openSuse 10.2 on an x86_64 system and recently downloaded and installed a precompiled gimp-unstable 2.3.13. When I ran the program I found that I couldn't open or save any images without it crashing. So I removed it, restarted a 2.2 version, and found a different problem - I could only open specific types of files.

I tried running both Gimp versions in verbose mode. Always I was confronted with the '[E]xit, [H]alt, show [S]tack trace or [P]roceed:', with no obvious information before hand as to what was going on. Frustrated, I uninstalled all things Gimp, downloaded the source for 2.3.13, built and installed it.

The build and install succeeded without incident. I can go into the Gimp and do whatever I please, with any of the tools just like before. But if I try and load or save a file, the Gimp dies the same ugly death as before, without indicating what the problem is. What follows is what I'm hoping is enough of the stack trace to give someone a clue as to what might be happening:

#0 0x00002af7c958cc5f in waitpid () from /lib64/libpthread.so.0 #1 0x00002af7cb37afb8 in g_on_error_stack_trace () #2 0x00002af7cb37b527 in g_on_error_query () #3 0x0000000000429d04 in gimp_eek (reason=0x66e3e5 "fatal error", #4 0x0000000000429e7d in gimp_fatal_error (fmt=) #5 0x0000000000429919 in gimp_sigfatal_handler (sig_num=) #6
#7 0x00002af7cb67b064 in strcmp () from /lib64/libc.so.6 #8 0x000000000058f998 in gimp_recent_list_add_uri (uri=, #9 0x000000000058daf1 in file_save (image=0x1870050, context=0xb8e150, #10 0x000000000044ff48 in file_save_dialog_response (save_dialog=0x1f628d0,

It looks like the fatal error happens right after the strcmp(). Could there be an issue with locale???

Let me know and best regards as always,

Steve

--

Steve Thompson
2006-12-29 20:40:11 UTC (over 17 years ago)

Can't Save Or Load Images...

After a bit more exploration, I was able to find out the following: 1) I can grab images of any kind from the Internet just fine (usually drag-n-drop via Konqueror). It is only when I try and load from/save to my hard drives that the Gimp crashes.
2) The Gimp crashes only after it completes the operation. So, when saving, I actually have the full file where I indicated I wanted it saved, and when loading, I can see a portion of the image in the layers dialog (the image window itself won't draw before the crash).

I suspect that there is a particular module that is causing this behavior to occur, but I don't know how to determine which it might be. I've tried temporarily switching to Krita for the time being, but though it has some nice features, it definitely is not the Gimp and there are many operations that I cannot do.

Hope someone can shed some light on this,

Steve

--

Jon Grant
2007-01-04 14:06:13 UTC (over 17 years ago)

Can't Save Or Load Images...

Hi Steve,

Steve Thompson elucidated on 29/12/06 02:51: [...]

#6
#7 0x00002af7cb67b064 in strcmp () from /lib64/libc.so.6 #8 0x000000000058f998 in gimp_recent_list_add_uri (uri=, #9 0x000000000058daf1 in file_save (image=0x1870050, context=0xb8e150, #10 0x000000000044ff48 in file_save_dialog_response (save_dialog=0x1f628d0,

It looks like the fatal error happens right after the strcmp(). Could there be an issue with locale???

As no one has replied I'd suggest filing it on the bug DB so it doesn't get lost. Alternatively you could have a look your self in a debugger like Kdbg etc. Also a build with debug symbols and source line numbers would be really handy.

Was the signal SIGSEGV? That function which is causing the crash adds a filename to the recent list. It might be overrunning memory or something.

http://developer.gimp.org/api/2.0/app/app-gimprecentlist.html

it's a shame they're using a a programming language which allows crashes to ever happen.

Cheers
Jon

Sven Neumann
2007-01-04 14:15:34 UTC (over 17 years ago)

Can't Save Or Load Images...

Hi,

On Thu, 2007-01-04 at 13:06 +0000, Jon Grant wrote:

As no one has replied I'd suggest filing it on the bug DB so it doesn't get lost.

Filing a bug report is not going to help much unless the bug report also contains a useful stack trace. I already had a look at the code but I don't see what's going wrong here. And the code seems to work for everyone else.

Sven

Jon Grant
2007-01-04 14:54:28 UTC (over 17 years ago)

Can't Save Or Load Images...

Hiya,

Sven Neumann elucidated on 04/01/07 13:15:

Hi,

On Thu, 2007-01-04 at 13:06 +0000, Jon Grant wrote:

As no one has replied I'd suggest filing it on the bug DB so it doesn't get lost.

Filing a bug report is not going to help much unless the bug report also contains a useful stack trace. I already had a look at the code but I don't see what's going wrong here. And the code seems to work for everyone else.

Yeah, definitely, as the rest my paragraph said: "Also a build with debug symbols and source line numbers would be really handy."

I suggested filing as no one appeared to have replied to his email (unless I didn't receive it).

Cheers Jon
--
Weblog: http://jguk.org/