Log In
New Account
Home My Page Projects Blender 2.x BF release
Summary Activity Tracker SCM Files

Blender 2.6 Bug Tracker: Browse

[#25626] Crash on 32bit float UV image painting

Date:
2011-01-13 22:09
Priority:
3
State:
Closed
Submitted by:
Dan McGrath (dmcgrath)
Assigned to:
Ton Roosendaal (ton)
Category:
Interface
Status:
Fixed / Closed
Relates to:
Duplicates:
Patches:
 
Summary:
Crash on 32bit float UV image painting
Detailed description
I am using Ubuntu 10.10 64bit r34303.

The problem is a crash when you try to paint with a 32bit float image.

Steps (or watch attached video):
- Open a UV image window and create a new 32bit float image
- Turn on image painting
- In the texture panel for the default cube, set set image and pick the new image
- Try paint on the UV image
- Crash

I was able to do it every time I tried it, except when I turned off 32bit float.

Followup

Message
  • Date: 2011-01-13 23:21
  • Sender: Dan McGrath
  • Backtrace of the crash:

    imb_onehalf_no_alloc (ibuf2=0x2b555e8, ibuf1=0x2cfa1b8) at /home/dan/blender-build/trunk/source/blender/imbuf/intern/scaling.c:311
    311 dest[0] = (p1[0] + p2[0] + p1[4] + p2[4]) >> 2;
    (gdb) bt
    #0 imb_onehalf_no_alloc (ibuf2=0x2b555e8, ibuf1=0x2cfa1b8) at /home/dan/blender-build/trunk/source/blender/imbuf/intern/scaling.c:311
    #1 0x0000000000b893ed in IMB_onehalf (ibuf1=0x2cfa1b8) at /home/dan/blender-build/trunk/source/blender/imbuf/intern/scaling.c:352
    #2 0x0000000000b83848 in IMB_makemipmap (ibuf=0x2cfa1b8, use_filter=0) at /home/dan/blender-build/trunk/source/blender/imbuf/intern/filter.c:429
    #3 0x000000000090bb03 in image_mipmap_test (tex=0x1cf6a28, ibuf=0x2cfa1b8) at /home/dan/blender-build/trunk/source/blender/render/intern/source/imagetexture.c:980
    #4 0x000000000090bc36 in imagewraposa (tex=0x1cf6a28, ima=<value optimized out>, ibuf=0x2cfa1b8, texvec=0x7fffe0a88590, DXT=0x7fffe1b741d8, DYT=0x73,
    texres=0x7fffe0a884c0) at /home/dan/blender-build/trunk/source/blender/render/intern/source/imagetexture.c:1410
    #5 0x000000000094d677 in multitex (tex=0x1cf6a28, texvec=0x7fffe0a88590, dxt=<value optimized out>, dyt=<value optimized out>, osatex=<value optimized out>,
    texres=0x7fffe0a884c0, thread=0, which_output=0) at /home/dan/blender-build/trunk/source/blender/render/intern/source/texture.c:1201
    #6 0x000000000094fe0d in multitex_mtex (shi=<value optimized out>, mtex=<value optimized out>, texvec=0x7fffe01e2e6c, dxt=0x7fffe142aca0, dyt=0x7fffe142bca0,
    texres=0x7fffe0a884c0) at /home/dan/blender-build/trunk/source/blender/render/intern/source/texture.c:1345
    #7 0x0000000000954176 in do_material_tex (shi=0x7fffe0a96568) at /home/dan/blender-build/trunk/source/blender/render/intern/source/texture.c:2001
    #8 0x00000000009431ed in shade_lamp_loop (shi=0x7fffe0a96568, shr=<value optimized out>)
    at /home/dan/blender-build/trunk/source/blender/render/intern/source/shadeoutput.c:1600
    #9 0x0000000000938ba6 in shade_material_loop (shi=0x2b555e8, shr=0x2cfa1b8) at /home/dan/blender-build/trunk/source/blender/render/intern/source/shadeinput.c:105
    #10 0x0000000000938f0b in shade_input_do_shade (shi=0x7fffe0a96568, shr=0x7fffe0a9c268)
    at /home/dan/blender-build/trunk/source/blender/render/intern/source/shadeinput.c:176
    #11 0x0000000000962bb2 in shade_tra_samples (ssamp=0x7fffe0a964e0, cache=<value optimized out>, x=<value optimized out>, y=<value optimized out>,
    row=<value optimized out>, addpassflag=<value optimized out>) at /home/dan/blender-build/trunk/source/blender/render/intern/source/zbuf.c:3818
    #12 0x00000000009639c7 in zbuffer_transp_shade (pa=<value optimized out>, rl=<value optimized out>, pass=<value optimized out>, psmlist=<value optimized out>)
    at /home/dan/blender-build/trunk/source/blender/render/intern/source/zbuf.c:4152
    #13 0x000000000092d465 in zbufshadeDA_tile (pa=0x7fffdc0629d8) at /home/dan/blender-build/trunk/source/blender/render/intern/source/rendercore.c:1206
    #14 0x000000000091927f in do_part_thread (pa_v=<value optimized out>) at /home/dan/blender-build/trunk/source/blender/render/intern/source/pipeline.c:1468
    #15 0x00007ffff6de9971 in start_thread () from /lib/libpthread.so.0
    #16 0x00007ffff284892d in clone () from /lib/libc.so.6
    #17 0x0000000000000000 in ?? ()
    (gdb)
  • Date: 2011-01-18 03:06
  • Sender: Campbell Barton
  • fix for bug [#25657] seems to have fixed this too, committed by Ton r34370.
    closing.
 

Attached Files:

Name Date Download
UV paint crash.ogv 2011-01-13 22:09 Download

Changes:

Field Old Value Date By
status_idOpen2011-01-18 03:06campbellbarton
close_dateNone2011-01-18 03:06campbellbarton
assigned_tocampbellbarton2011-01-18 03:06campbellbarton
StatusInvestigate2011-01-18 03:06campbellbarton
assigned_tonone2011-01-13 22:11campbellbarton
StatusNew2011-01-13 22:11campbellbarton
File Added14528: UV paint crash.ogv2011-01-13 22:09dmcgrath