[Bug 28761] New: ddraw/tests/visual.c: invalid write in ddraw_surface_delete_attached_surface

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Oct 17 02:50:10 CDT 2011


http://bugs.winehq.org/show_bug.cgi?id=28761

             Bug #: 28761
           Summary: ddraw/tests/visual.c: invalid write in
                    ddraw_surface_delete_attached_surface
           Product: Wine
           Version: 1.3.30
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: directx-ddraw
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: dank at kegel.com
    Classification: Unclassified


While running "make visual.ok" in ddraw/tests, valgrind complained
inside ddraw's reference counting code.  Log:

fixme:d3d:wined3d_device_set_render_target Surface 0x7fb4d7a0 doesn't have
render target usage.
err:d3d:wined3d_device_uninit_3d Something is still holding a reference to
depth/stencil buffer 0x7f0b24b8.
Invalid write of size 4
   at ddraw_surface_delete_attached_surface (surface.c:1628)
   by ddraw_surface_wined3d_object_destroyed (surface.c:5098)
   by wined3d_surface_decref (surface.c:2867)
   by wined3d_device_uninit_3d (device.c:1535)
   by ddraw_surface_cleanup (surface.c:446)
   by ddraw_surface_release_iface (surface.c:495)
   by ddraw_surface7_Release (surface.c:540)
   by func_d3d (d3d.c:203)
   by run_test (test.h:556)
   by main (test.h:624)
 Address 0x7f0b23f0 is 88 bytes inside a block of size 268 free'd
   at RtlFreeHeap (heap.c:262)
   by ddraw_surface_wined3d_object_destroyed (surface.c:5112)
   by wined3d_surface_decref (surface.c:2867)
   by ddraw_surface_destroy (surface.c:383)
   by ddraw_surface_cleanup (surface.c:428)
   by ddraw_surface_release_iface (surface.c:495)
   by ddraw_surface7_Release (surface.c:540)
   by ddraw_surface_delete_attached_surface (surface.c:1627)
   by ddraw_surface_wined3d_object_destroyed (surface.c:5098)
   by wined3d_surface_decref (surface.c:2867)
   by wined3d_device_uninit_3d (device.c:1535)
   by ddraw_surface_cleanup (surface.c:446)
   by ddraw_surface_release_iface (surface.c:495)
   by ddraw_surface7_Release (surface.c:540)
   by func_d3d (d3d.c:203)
   by run_test (test.h:556)
   by main (test.h:624)

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list