Bug 810850

Summary: Crashes with smudge tool
Product: [Fedora] Fedora Reporter: Sergio <ikisham>
Component: gimpAssignee: Nils Philippsen <nphilipp>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: nphilipp
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: gimp-2.8.0-0.2.RC1.gitff6c280.fc17 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-04-18 23:03:37 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Sergio 2012-04-09 11:56:20 UTC
Description of problem:
When using the smudge tool (just start to use it on the image) GIMP crashes.
~/.xsession-errors says:
(script-fu:3084): LibGimpBase-WARNING **: script-fu: gimp_wire_read(): error

Version-Release number of selected component (if applicable):
2:2.8.0-0.1.RC1.fc17

How reproducible:
always

Steps to Reproduce:
1. Open an image (.xcf)
2. Select the "Smudge" tool
3. Smudge the image
  
Actual results: when the mouse is released, GIMP crashes.


Expected results: shouldn't crash.


Additional info:

Comment 1 Sergio 2012-04-09 11:57:00 UTC
It can be any image.

Comment 2 Nils Philippsen 2012-04-10 15:14:52 UTC
I can't reproduce this problem. What I tried is this:

1) Open a raw image file from my camera (using the ufraw plugin)
2) select the smudge tool
3) increase smudge size to >= 100
4) smudge

Alternatively, I loaded an XCF image in step one, to no avail: neither attempt let GIMP crash. What kinde of desktop environment do you use, and which GTK theme/engine?

Comment 3 Sergio 2012-04-10 15:32:44 UTC
I'm using Xfce with Adwaita.
I've just opened GIMP, opened a png screenshot, selected the Smudge tool, set the size to 1 (1 pixel), set the zoom to 800%, started smudging it and as soon as I released the mouse button GIMP crashed.
See console output at http://fpaste.org/X5w9/

Comment 4 Nils Philippsen 2012-04-11 11:11:12 UTC
Thanks for the information, I can reproduce this now with smudge size of 1.4 and below, regardless of the zoom setting.

Comment 5 Nils Philippsen 2012-04-11 17:11:07 UTC
fixed in upstream git repo:

commit ff6c2807bea09d8e0488658b74ac5d903a9a6bb4
Author:     Nils Philippsen <nils>
AuthorDate: Wed Apr 11 19:04:58 2012 +0200
Commit:     Nils Philippsen <nils>
CommitDate: Wed Apr 11 19:04:58 2012 +0200

    app: add a little more headroom to the smudge buffer
    
    This fixes crashes when smudging with sizes <= 1.4, filed against Fedora
    (rhbz#810850).

Comment 6 Fedora Update System 2012-04-11 22:15:20 UTC
gimp-2.8.0-0.2.RC1.gitff6c280.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/gimp-2.8.0-0.2.RC1.gitff6c280.fc17

Comment 7 Fedora Update System 2012-04-13 06:10:56 UTC
Package gimp-2.8.0-0.2.RC1.gitff6c280.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing gimp-2.8.0-0.2.RC1.gitff6c280.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-5769/gimp-2.8.0-0.2.RC1.gitff6c280.fc17
then log in and leave karma (feedback).

Comment 8 Fedora Update System 2012-04-18 23:03:37 UTC
gimp-2.8.0-0.2.RC1.gitff6c280.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.