After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 76338 - Really bad behaviour if thumbnail creation via convert fails [can occur as a result of permissions problem]
Really bad behaviour if thumbnail creation via convert fails [can occur as a ...
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: Thumbnails
0.x.x [obsolete]
Other other
: High normal
: future
Assigned To: Nautilus Maintainers
Nautilus Maintainers
: 78957 79234 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2002-03-25 22:35 UTC by Gaute Lindkvist
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.0



Description Gaute Lindkvist 2002-03-25 22:35:59 UTC
In nautilus-thumbnails.c : make_thumbnails the Imagemagick convert command
is called via execlp.
Sometimes convert segfaults. This makes Nautilus not realize that it should
just stop trying to create the thumbnail, and just keeps trying eternally,
forking converts and basically taking up most of the system resources
without the user really understanding why.

It needs to have a check to see wether or not the file was indeed created
successfully, and if not, just stop trying, and instead show a standard-icon.
Comment 1 Luis Villa 2002-04-16 04:53:50 UTC
This isn't quite DOS-level stuff here but it really should be handled.
Comment 2 Luis Villa 2002-04-20 02:27:43 UTC
*** Bug 79234 has been marked as a duplicate of this bug. ***
Comment 3 Luis Villa 2002-04-20 03:24:23 UTC
*** Bug 78957 has been marked as a duplicate of this bug. ***
Comment 4 Luis Villa 2002-05-01 10:56:51 UTC
very borderline 2.0.0/2.0.1 IMHO. Damon, can you please take a look at
this? Thanks.
Comment 5 Damon Chaplin 2002-05-16 22:35:52 UTC
Does convert create part of the thumbnail image before crashing?

Nautilus does check to see whether the thumbnail file exists after
running convert, and if it doesn't it adds a special flag file
(the thumbnail file name with a '.x' added) to indicate it tried to
create the thumbnail and failed.

So I'm a bit puzzled as to what is going wrong. Maybe if part of the
thumbnail got created it doesn't create the error flag file. But I
don't see where it would remove it and try to create it again.

I suppose it could be some confusion between the local and global
thumbnail directories. But the global one isn't used now.
Comment 6 Damon Chaplin 2002-05-23 21:54:39 UTC
I've rewritten the thumbnailing code, including the part that execs
convert, so I'll assume I fixed this!

Please reopen if you see it again.