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 52264 - Converting 24bit to indexed palette: crash
Converting 24bit to indexed palette: crash
Status: VERIFIED FIXED
Product: GIMP
Classification: Other
Component: General
1.x
Other Linux
: Normal major
: ---
Assigned To: GIMP Bugs
GIMP Bugs
: 55830 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2001-03-19 14:22 UTC by sfssgffg
Modified: 2009-08-15 18:40 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description sfssgffg 2001-03-19 14:22:25 UTC
I have a picture (5100 x 7016 x 24) loaded from a .bmp file and try to
convert it to an indexed palette, optimized, no raster. gimp crashes with

gimp: fatal error: file convert.c: line 2313 (median_cut_rgb): assertion
failed: (b2->Gmax >= b2->Gmin)
gimp (pid:1522): [E]xit, [H]alt, show [S]tack trace or [P]roceed: S
  • #0 g_on_error_stack_trace
    at gerror.c line 146
  • #1 g_on_error_query
    at gerror.c line 146
  • #2 gimp_fatal_error
  • #3 main
  • #4 g_logv
    at gmessages.c line 622
  • #5 g_log
    at gmessages.c line 622
  • #6 convert_image
  • #7 convert_image
  • #8 convert_image
  • #9 convert_image
  • #10 convert_to_indexed
  • #11 gtk_marshal_NONE__NONE
    at gtkmarshal.c line 124
  • #12 gtk_handlers_run
  • #13 gtk_signal_real_emit
  • #14 gtk_signal_emit
    at gtksignal.c line 234
  • #15 gtk_button_clicked
    at gtkbutton.c line 290
  • #16 gtk_real_button_released
  • #17 gtk_marshal_NONE__NONE
    at gtkmarshal.c line 124
  • #18 gtk_signal_real_emit
  • #19 gtk_signal_emit
    at gtksignal.c line 234
  • #20 gtk_button_released
    at gtkbutton.c line 290
  • #21 gtk_button_button_release
  • #22 gtk_marshal_BOOL__POINTER
    at gtkmarshal.c line 124
  • #23 gtk_signal_real_emit
  • #24 gtk_signal_emit
    at gtksignal.c line 234
  • #25 gtk_widget_event
    at gtkwidget.c line 2707
  • #26 gtk_propagate_event
    at gtkmain.c line 1270
  • #27 gtk_main_do_event
    at gtkmain.c line 807
  • #28 gdk_event_dispatch
  • #29 g_main_dispatch
    at gmain.c line 656
  • #30 g_main_iterate
    at gmain.c line 877
  • #31 g_main_run
    at gmain.c line 884
  • #32 gtk_main
    at gtkmain.c line 807
  • #33 main
  • #34 __libc_start_main
    at ../sysdeps/generic/libc-start.c line 93

It doesn't crash with a smaller cut of the picture
Comment 1 Raphaël Quinet 2001-04-26 18:12:50 UTC
Re-assigning all Gimp bugs to default component owner (Gimp bugs list)
Comment 2 Garry R. Osgood 2001-06-07 02:50:43 UTC
*** Bug 55830 has been marked as a duplicate of this bug. ***
Comment 3 Adam D. Moss 2001-06-30 00:14:45 UTC
Fixed on 1.2 branch.  Please test fix.
Comment 4 sfssgffg 2001-07-02 10:39:02 UTC
It works with my picture, thanks a lot.