valgrind warnings in new d3d10/effect tests

Dan Kegel dank at kegel.com
Sat Feb 13 10:04:45 CST 2010


Hi Rico,
please have a look at the two new warnings in
http://kegel.com/wine/valgrind/logs/2010-02-12-20.25/diff-d3d10_effect.txt
http://kegel.com/wine/valgrind/logs/2010-02-12-20.25/vg-d3d10_effect.txt

 Invalid free() / delete / delete[]
    at  notify_free (heap.c:262)
    by  RtlFreeHeap (heap.c:1746)
    by  d3d10_effect_Release (effect.c:1954)
    by  test_effect_local_shader (effect.c:3441)
    by  func_effect (effect.c:3462)
    by  run_test (test.h:535)
    by  main (test.h:585)
  Address 0x7f000c4c is 60 bytes inside a block of size 768 alloc'd
    at  notify_alloc (heap.c:254)
    by  RtlAllocateHeap (heap.c:1700)
    by  parse_fx10_body (effect.c:1576)
    by  parse_fx10 (effect.c:1691)
    by  fx10_chunk_handler (effect.c:1705)
    by  parse_dxbc (effect.c:195)
    by  d3d10_effect_parse (effect.c:1715)
    by  D3D10CreateEffectFromMemory (d3d10_main.c:230)
    by  create_effect (effect.c:55)
    by  test_effect_local_shader (effect.c:2660)
    by  func_effect (effect.c:3462)
    by  run_test (test.h:535)
    by  main (test.h:585)

 80 bytes in 6 blocks are definitely lost
    at  notify_alloc (heap.c:254)
    by  RtlAllocateHeap (heap.c:1700)
    by  copy_name (effect.c:214)
    by  parse_fx10_anonymous_shader (effect.c:874)
    by  parse_fx10_object (effect.c:995)
    by  parse_fx10_pass (effect.c:1087)
    by  parse_fx10_technique (effect.c:1148)
    by  parse_fx10_body (effect.c:1620)
    by  parse_fx10 (effect.c:1691)
    by  fx10_chunk_handler (effect.c:1705)
    by  parse_dxbc (effect.c:195)
    by  d3d10_effect_parse (effect.c:1715)
    by  D3D10CreateEffectFromMemory (d3d10_main.c:230)
    by  create_effect (effect.c:55)
    by  test_effect_local_shader (effect.c:2660)
    by  func_effect (effect.c:3462)
    by  run_test (test.h:535)
    by  main (test.h:585)

probably from

commit f816210c214318b0beba5ed6b90c6cd32dd3fd96
Author: Rico Schüller <kgbricola at web.de>
Date:   Thu Feb 11 19:49:24 2010 +0100

    d3d10/tests: Add effect shader test.

- Dan



More information about the wine-devel mailing list