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 55830 - crash on indexed colour conversion
crash on indexed colour conversion
Status: VERIFIED DUPLICATE of bug 52264
Product: GIMP
Classification: Other
Component: General
1.x
Other All
: Normal major
: ---
Assigned To: GIMP Bugs
Daniel Egger
Depends on:
Blocks:
 
 
Reported: 2001-06-06 17:00 UTC by Raphaël Quinet
Modified: 2009-08-15 18:40 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
bg-yellow2.xcf (77 KB) - problem file showing the bug (77.68 KB, application/octet-stream)
2001-06-06 17:02 UTC, Raphaël Quinet
Details

Description Raphaël Quinet 2001-06-06 17:00:36 UTC
The following message was posted to the gimp-developers mailing list
by Avi Bercovich <avi@mediamatic.nl>:
> 
> Colour conversion of the xcf file at
> http://avi.mediamatic.nl/misc/conversion.html brings downs 1.2.1
> everytime I attempt it ;-)
> 
> I'm trying to go from 24bit to 32 colours. if I resize the image from
> 2500x3500 to 2000x2800 it does work.

I tried to convert that file (see next attachment) to indexed mode using
gimp-1.2.1 running under Solaris 2.6 (I assume that Avi was using Linux
2.4).  I selected 31 colours, no dithering.  The Gimp crashed with the
following error message:

Gimp-ERROR **: file convert.c: line 2345 (median_cut_rgb): assertion
failed: (b2->Gmax >= b2->Gmin)
aborting...
gimp terminated: Abort
Comment 1 Raphaël Quinet 2001-06-06 17:02:14 UTC
Created attachment 614 [details]
bg-yellow2.xcf (77 KB) - problem file showing the bug
Comment 2 Adam D. Moss 2001-06-06 21:23:26 UTC
Fixed in local tree but fix is 1.3.x-specific.  Will
try to find time for workaround in 1.2.x tree.
Comment 3 Garry R. Osgood 2001-06-07 02:50:44 UTC
This report confirms #52264, the reporter of which furnished a stack
trace with the same assert message reported  by Avi to the news list.

GRO



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