GNOME Bugzilla – Bug 447378
Segmentation fault when deleting tiff file
Last modified: 2010-02-22 03:14:11 UTC
I can crash Gimp everytime with the following procedure: start gimp with: gimp flipped.blue.tga Save the picture as flipped.blue.tiff Open the "open file chooser" Select "flipped.blue.tiff" so it is shown in the preview to the right. Goto bash: rm flipped.blue.tiff (script-fu:29064): LibGimpBase-WARNING **: script-fu: wire_read(): error [1]+ Segmentation fault gimp flipped.blue.tga
Created attachment 89923 [details] the targa file that have to be saved as tiff
Almost certainly a file-chooser problem. Please check for duplicates in the GTK+ product. And please specify what version of GTK+ you are using.
I can reproduce this using gtk+ 2.10.13. A moment after the file is deleted on disk, the file entry listed above it (flipped.blue.tga) is removed from the file-chooser. The file-chooser still shows the deleted file but with a corrupted filename. There are warnings on the console at this point: Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text() Changing the selection in the file-chooser then causes a crash:
+ Trace 140852
I've played with it a little more. This is independent of the file names being used. Sometimes it works, sometimes it crashes immidiately:
+ Trace 140854
I (reporter) is using gtk 2.10.12 on Fedora 7.
I too confirm this bug. Here is another procedure that doesn't require the attachment. 1. Open Gimp 2. Create a new image 3. Save as Untitled.tif 4. Open the Save as dialog again and highlight "Untitled.tif" in the file list. 5. "rm Untitled.tif" on a command line. gimp: fatal error: Segmentation fault I've had problems with saving tif files for a while (at least 6-8 months, probably more, I can't remember). I have not filled a bug report yet because I'm unable to constantly reproduce the crash. However gimp crashes very often after saving a file to tif format following these steps: 1) An image is saved under file.tif 2) Then the file is saved under file.xcf 3) And again the file is saved under file.tif 4) The newly created file.tif is moved or deleted with a bash command. Immediately after step 4 gimp crashes even if no file-chooser dialog is opened. I suspect my problem might be linked with the current bug. I'm using gtk2-2.10.12-1.fc6 and gimp svn (Revision: 22834) on Fedora 6. By the way, I'm unable to get a stack trace in gdb because I'm unable to get to the crash point while running the debugger. Gdb halts before. 1) gdb gimp 2) > run 3) I create a new image and open the save as dialog and enter "file.tif" 4) When I click on "Save" I get (from gdb) Couldn't get registers: No such process. The (truncated) stack trace at this point is:
+ Trace 145099
You reported this bug a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue for you. Can you please check again if the issue you reported here still happens in a recent version of GTK+ and update this report by adding a comment and adjusting the 'Version' field? Again thank you for reporting this and sorry that it could not be fixed for the version you originally used here. Set to NEEDINFO, so without feedback this report will be closed as INCOMPLETE after 6 weeks.
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for. Thanks!
Works with gimp-2.6.8-1.fc11.x86_64