Bug 1243033

Summary: [abrt] gimp: file_save_dialog_response(): gimp-2.8 killed by SIGSEGV
Product: [Fedora] Fedora Reporter: Jaroslav Škarvada <jskarvad>
Component: gimpAssignee: Nils Philippsen <nphilipp>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: jskarvad, nphilipp, phracek
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/824505b465b6abe95481c6efc820e40fbedcd5ad
Whiteboard: abrt_hash:5a994c7500198a538e2698e956a2c84b88057f80
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-07-16 14:50:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: cgroup
none
File: core_backtrace
none
File: dso_list
none
File: environ
none
File: limits
none
File: maps
none
File: mountinfo
none
File: namespaces
none
File: open_fds
none
File: proc_pid_status none

Description Jaroslav Škarvada 2015-07-14 15:21:46 UTC
Description of problem:
1. selected export PNG, but kept the export dialog open
2. closed gimp main window
3. clicked the X button several times on the now empty main window
4. finished the export
5. closed the main windows

Version-Release number of selected component:
gimp-2.8.14-1.fc22

Additional info:
reporter:       libreport-2.6.0
backtrace_rating: 4
cmdline:        gimp screenshot2.png
crash_function: file_save_dialog_response
executable:     /usr/bin/gimp-2.8
global_pid:     24204
kernel:         4.0.7-300.fc22.x86_64
runlevel:       N 5
type:           CCpp
uid:            1000

Truncated backtrace:
Thread no. 1 (4 frames)
 #0 file_save_dialog_response at file-save-dialog.c:215
 #5 _g_closure_invoke_va at gclosure.c:831
 #8 button_activate_timeout at gtkbutton.c:1730
 #15 app_run at app.c:263

Potential duplicate: bug 1013180

Comment 1 Jaroslav Škarvada 2015-07-14 15:21:49 UTC
Created attachment 1051906 [details]
File: backtrace

Comment 2 Jaroslav Škarvada 2015-07-14 15:21:51 UTC
Created attachment 1051907 [details]
File: cgroup

Comment 3 Jaroslav Škarvada 2015-07-14 15:21:52 UTC
Created attachment 1051908 [details]
File: core_backtrace

Comment 4 Jaroslav Škarvada 2015-07-14 15:21:54 UTC
Created attachment 1051909 [details]
File: dso_list

Comment 5 Jaroslav Škarvada 2015-07-14 15:21:55 UTC
Created attachment 1051910 [details]
File: environ

Comment 6 Jaroslav Škarvada 2015-07-14 15:21:56 UTC
Created attachment 1051911 [details]
File: limits

Comment 7 Jaroslav Škarvada 2015-07-14 15:21:57 UTC
Created attachment 1051912 [details]
File: maps

Comment 8 Jaroslav Škarvada 2015-07-14 15:21:59 UTC
Created attachment 1051913 [details]
File: mountinfo

Comment 9 Jaroslav Škarvada 2015-07-14 15:22:00 UTC
Created attachment 1051914 [details]
File: namespaces

Comment 10 Jaroslav Škarvada 2015-07-14 15:22:01 UTC
Created attachment 1051915 [details]
File: open_fds

Comment 11 Jaroslav Škarvada 2015-07-14 15:22:02 UTC
Created attachment 1051916 [details]
File: proc_pid_status

Comment 12 Nils Philippsen 2015-07-16 14:50:34 UTC
This looks like a dupe of bug #1215905 (and there should be an update which hopefully fixes this), but I'm interested in how you reproduced the issue:

When I try to close the main window while the export dialog is still open (I just created a screenshot, then File->Export as...), it asks me if I wanted to discard these changes. Confirming that didn't cause a crash. Is there something I missed?

*** This bug has been marked as a duplicate of bug 1215905 ***

Comment 13 Jaroslav Škarvada 2015-07-16 15:24:59 UTC
(In reply to Nils Philippsen from comment #12)
> This looks like a dupe of bug #1215905 (and there should be an update which
> hopefully fixes this), but I'm interested in how you reproduced the issue:
> 
> When I try to close the main window while the export dialog is still open (I
> just created a screenshot, then File->Export as...), it asks me if I wanted
> to discard these changes. Confirming that didn't cause a crash. Is there
> something I missed?
> 
> *** This bug has been marked as a duplicate of bug 1215905 ***

It seems 100% reproducible. Previously I wrote the reproducer from my head, so it may be not 100% correct, so how I am able to reproduce it now:

- under xfce created screenshot by hitting PrintScreen
- saved it to /tmp as .png
- started gimp from terminal by typing 'gimp'
- clicked file->open, navigated to /tmp and selected the screenshot
- clicked file->export as
- rewritten the name to end with .jpg
- clicked export, export image as JPEG dialog opens
- clicked X button on the main window of gimp (the one with the screenshot), the export dialog kept open
- finished the export by clicking the export button on the export dialog

Now it crashed after while, I don't need to click the X button of the empty main window, but I can.

Comment 14 Nils Philippsen 2015-07-17 13:57:04 UTC
Thanks, that was very helpful! NB: the reproducer doesn't work in Single Window Mode.