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

Blender 2.6 Bug Tracker: Browse

[#26001] 16/32 bit images stairstepping in bump shader + crash loading file (sometimes)

Date:
2011-02-09 21:25
Priority:
3
State:
Closed
Submitted by:
M.G. Kishalmi (lmg)
Assigned to:
Ton Roosendaal (ton)
Category:
None
Status:
Fixed / Closed
Relates to:
Duplicates:
Patches:
 
Summary:
16/32 bit images stairstepping in bump shader + crash loading file (sometimes)
Detailed description
title says it all.
attached stacktrace + blend file (by nudelZ)

r34744 @ linux64

Followup

Message
  • Date: 2011-02-10 16:41
  • Sender: Campbell Barton
  • Confirmed, valgrind output:

    ==24678== Invalid read of size 4
    ==24678== at 0xD119EB: scanline_contig_32bit (tiff.c:333)
    ==24678== by 0xD11CEE: imb_read_tiff_pixels (tiff.c:396)
    ==24678== by 0xD12443: imb_loadtiff (tiff.c:575)
    ==24678== by 0xCFFB85: IMB_ibImageFromMemory (readimage.c:61)
    ==24678== by 0xB4449A: image_load_image_file (image.c:1817)
    ==24678== by 0xB45156: BKE_image_acquire_ibuf (image.c:2159)
    ==24678== by 0x681733: uiTemplateImage (image_buttons.c:891)
    ==24678== by 0xE12423: UILayout_template_image_call (rna_ui_gen.c:2020)
    ==24678== by 0xD7CA46: RNA_function_call (rna_access.c:4355)
    ==24678== by 0xA2EA9B: pyrna_func_call (bpy_rna.c:4067)
    ==24678== by 0x698E7A1: PyEval_EvalFrameEx (ceval.c:3762)
    ==24678== by 0x69901F0: PyEval_EvalCodeEx (ceval.c:3198)
    ==24678== Address 0xc6e3470 is 0 bytes after a block of size 4,096 alloc'd
    ==24678== at 0x4C252DD: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
    ==24678== by 0xD11BA1: imb_read_tiff_pixels (tiff.c:375)
    ==24678== by 0xD12443: imb_loadtiff (tiff.c:575)
    ==24678== by 0xCFFB85: IMB_ibImageFromMemory (readimage.c:61)
    ==24678== by 0xB4449A: image_load_image_file (image.c:1817)
    ==24678== by 0xB45156: BKE_image_acquire_ibuf (image.c:2159)
    ==24678== by 0x681733: uiTemplateImage (image_buttons.c:891)
    ==24678== by 0xE12423: UILayout_template_image_call (rna_ui_gen.c:2020)
    ==24678== by 0xD7CA46: RNA_function_call (rna_access.c:4355)
    ==24678== by 0xA2EA9B: pyrna_func_call (bpy_rna.c:4067)
    ==24678== by 0x698E7A1: PyEval_EvalFrameEx (ceval.c:3762)
    ==24678== by 0x69901F0: PyEval_EvalCodeEx (ceval.c:3198)
    ==24678==
    ==24678== Invalid read of size 4
    ==24678== at 0xD119C0: scanline_contig_32bit (tiff.c:332)
    ==24678== by 0xD11CEE: imb_read_tiff_pixels (tiff.c:396)
    ==24678== by 0xD12443: imb_loadtiff (tiff.c:575)
    ==24678== by 0xCFFB85: IMB_ibImageFromMemory (readimage.c:61)
    ==24678== by 0xB4449A: image_load_image_file (image.c:1817)
    ==24678== by 0xB45156: BKE_image_acquire_ibuf (image.c:2159)
    ==24678== by 0x681733: uiTemplateImage (image_buttons.c:891)
    ==24678== by 0xE12423: UILayout_template_image_call (rna_ui_gen.c:2020)
    ==24678== by 0xD7CA46: RNA_function_call (rna_access.c:4355)
    ==24678== by 0xA2EA9B: pyrna_func_call (bpy_rna.c:4067)
    ==24678== by 0x698E7A1: PyEval_EvalFrameEx (ceval.c:3762)
    ==24678== by 0x69901F0: PyEval_EvalCodeEx (ceval.c:3198)
    ==24678== Address 0xc6e3470 is 0 bytes after a block of size 4,096 alloc'd
    ==24678== at 0x4C252DD: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
    ==24678== by 0xD11BA1: imb_read_tiff_pixels (tiff.c:375)
    ==24678== by 0xD12443: imb_loadtiff (tiff.c:575)
    ==24678== by 0xCFFB85: IMB_ibImageFromMemory (readimage.c:61)
    ==24678== by 0xB4449A: image_load_image_file (image.c:1817)
    ==24678== by 0xB45156: BKE_image_acquire_ibuf (image.c:2159)
    ==24678== by 0x681733: uiTemplateImage (image_buttons.c:891)
    ==24678== by 0xE12423: UILayout_template_image_call (rna_ui_gen.c:2020)
    ==24678== by 0xD7CA46: RNA_function_call (rna_access.c:4355)
    ==24678== by 0xA2EA9B: pyrna_func_call (bpy_rna.c:4067)
    ==24678== by 0x698E7A1: PyEval_EvalFrameEx (ceval.c:3762)
    ==24678== by 0x69901F0: PyEval_EvalCodeEx (ceval.c:3198)
  • Date: 2011-02-10 16:52
  • Sender: Ton Roosendaal
  • Fix is in svn, I need you to verify it though, then you can always reopen it ;)
 

Attached Files:

Name Date Download
bug_32bit_bump.blend 2011-02-09 21:25 Download
stacktrace.txt 2011-02-09 21:25 Download

Changes:

Field Old Value Date By
status_idOpen2011-02-10 16:52ton
close_dateNone2011-02-10 16:52ton
assigned_tonone2011-02-10 16:52ton
StatusNew2011-02-10 16:52ton
File Added14941: bug_32bit_bump.blend2011-02-09 21:25lmg
File Added14940: stacktrace.txt2011-02-09 21:25lmg