larger than 32pixels brush crash.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, dear developers.

I found follwing trouble on CVS snapshot of 2000/05/25.
problem is as follows.

drawable: with alpha and some region selected.
tools: smudge or dodge/burn.

Apply above tools using any types of brush
(image pipe, normal brush, editable brush, any type.)
of diameter larger than 32 pixels to a layer with alpha channel, when
some area is selected. The core application crashes immediately.

below is a gdb backtrace in case smudge tool with 33 pixels editable
brush.

(gdb) r
Starting program: /usr/local/gimp11/bin/gimp 

Program received signal SIGSEGV, Segmentation fault.
0x40311e86 in chunk_free (ar_ptr=0x40366558, p=0x8759d30) at malloc.c:2950
malloc.c:2950: No such file or directory.
(gdb) bt
#0  0x40311e86 in chunk_free (ar_ptr=0x40366558, p=0x8759d30) at malloc.c:2950
#1  0x4031157a in malloc_extend_top (ar_ptr=0x40366558, nb=8808)
    at malloc.c:2469
#2  0x40311bc5 in chunk_alloc (ar_ptr=0x40366558, nb=8808) at malloc.c:2798
#3  0x40311655 in __libc_malloc (bytes=8800) at malloc.c:2566
#4  0x401ef846 in g_malloc ()
#5  0x817c391 in pixel_regions_process_parallel (
    f=0x816d23c <apply_mask_to_sub_region>, data=0xbffff268, num_regions=2)
    at pixel_processor.c:314
#6  0x816d2c7 in apply_mask_to_region (src=0xbffff294, mask=0xbffff3b8, 
    opacity=255) at paint_funcs.c:5157
#7  0x81d6e19 in gimp_image_replace_image (gimage=0x867ed08, 
    drawable=0x867fc50, src2PR=0xbffff3ec, undo=0, opacity=255, 
    maskPR=0xbffff3b8, x=152, y=101) at gimpimage.c:895
#8  0x815e86f in paint_core_replace (paint_core=0x874cbc8, 
    brush_mask=0x87573e0, drawable=0x867fc50, brush_opacity=255, 
    image_opacity=255, mode=INCREMENTAL) at paint_core.c:1632
#9  0x815d792 in paint_core_replace_canvas (paint_core=0x874cbc8, 
    drawable=0x867fc50, brush_opacity=255, image_opacity=255, 
    brush_hardness=PRESSURE, brush_scale=1, mode=INCREMENTAL)
    at paint_core.c:1138
#10 0x81ad400 in smudge_motion (paint_core=0x874cbc8, 
    pressure_options=0x864ce20, smudge_rate=50, drawable=0x867fc50)
    at smudge.c:415
#11 0x81ac6ee in smudge_paint_func (paint_core=0x874cbc8, drawable=0x867fc50, 
    state=1) at smudge.c:154
#12 0x815b129 in paint_core_button_press (tool=0x874cb78, bevent=0x833ded8, 
    gdisp_ptr=0x8680438) at paint_core.c:344
#13 0x80c7bb5 in gdisplay_canvas_events (canvas=0x8678fa8, event=0x833ded8)
    at disp_callbacks.c:281
#14 0x400cfe12 in gtk_marshal_BOOL__POINTER (object=0x8678fa8, 
    func=0x80c71c8 <gdisplay_canvas_events>, func_data=0x8680438, 
    args=0xbffff7a4) at gtkmarshal.c:28
#15 0x401179ee in gtk_handlers_run (handlers=0x865da50, signal=0xbffff760, 
    object=0x8678fa8, params=0xbffff7a4, after=0) at gtksignal.c:1909
#16 0x40116887 in gtk_signal_real_emit (object=0x8678fa8, signal_id=19, 
    params=0xbffff7a4) at gtksignal.c:1469
#17 0x40113adc in gtk_signal_emit (object=0x8678fa8, signal_id=19)
    at gtksignal.c:552
#18 0x40167019 in gtk_widget_event (widget=0x8678fa8, event=0x833ded8)
    at gtkwidget.c:2729
#19 0x400cfd58 in gtk_propagate_event (widget=0x8678fa8, event=0x833ded8)
    at gtkmain.c:1313
#20 0x400ce8dd in gtk_main_do_event (event=0x833ded8) at gtkmain.c:755
#21 0x401b6ebf in gdk_event_dispatch (source_data=0x0, 
    current_time=0xbffffb4c, user_data=0x0) at gdkevents.c:2129
(gdb) k


with regards.


藤田裕二
FUJITA Yuji
yuji@xxxxxxxxxxxxxxxxxx
http://www.wl.me.titech.ac.jp/~yuji/yuji-pubkey.asc


[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux