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 554966 - Gimp crashes creating a new image using a template
Gimp crashes creating a new image using a template
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: General
2.6.0
Other All
: Normal critical
: 2.6
Assigned To: GIMP Bugs
GIMP Bugs
: 555277 555705 555755 556045 556057 556310 557493 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2008-10-04 07:39 UTC by stephan.hegel
Modified: 2008-10-22 21:45 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description stephan.hegel 2008-10-04 07:39:30 UTC
Steps to reproduce:
1. Start Gimp 2.6
2. Open an existing image (in my case a little jpeg image), do
   nothing with it at all.
3. Open an new image:
   File->New->Template->A4(300ppi), press OK.



Stack trace:
Stacktrace
Program received signal SIGSEGV, Segmentation fault.

Thread 47351219904640 (LWP 12538)

  • #0 gimp_display_shell_scale_update_rulers
    at gimpdisplayshell-scale.c line 167
  • #1 gimp_display_shell_set_unit
    at gimpdisplayshell.c line 1492


Other information:
When I skip step 2 above the new A4 image opens without any problems.

The stack trace indicates that there might be a problem with the update of the rulers when switching from px to mm.

The same procedure with Gimp 2.4.6 was ok.
Comment 1 Sven Neumann 2008-10-04 15:58:00 UTC
That's already fixed in trunk:

2008-10-03  Sven Neumann  <sven@gimp.org>

        * app/display/gimpdisplayshell-scale.c
        (gimp_display_shell_scale_update_scrollbars)
        (gimp_display_shell_scale_update_rulers): bail out early if
        shell->display is NULL. Fixes crash reported on the mailing-list.
Comment 2 Sven Neumann 2008-10-06 19:59:51 UTC
*** Bug 555277 has been marked as a duplicate of this bug. ***
Comment 3 Sven Neumann 2008-10-09 18:36:47 UTC
*** Bug 555705 has been marked as a duplicate of this bug. ***
Comment 4 Martin Nordholts 2008-10-10 05:04:54 UTC
*** Bug 555755 has been marked as a duplicate of this bug. ***
Comment 5 Martin Nordholts 2008-10-12 18:39:04 UTC
*** Bug 556045 has been marked as a duplicate of this bug. ***
Comment 6 Martin Nordholts 2008-10-13 04:54:22 UTC
*** Bug 556057 has been marked as a duplicate of this bug. ***
Comment 7 Sven Neumann 2008-10-14 19:03:29 UTC
*** Bug 556310 has been marked as a duplicate of this bug. ***
Comment 8 Sven Neumann 2008-10-22 21:45:44 UTC
*** Bug 557493 has been marked as a duplicate of this bug. ***