<span class="gmail_quote"></span>On 1/14/06, <b class="gmail_sendername">Robert Shearman</b> &lt;<a href="mailto:rob@codeweavers.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">rob@codeweavers.com
</a>&gt; wrote:<div><span class="e" id="q_108ca192d9d087ea_0"><div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

Dan Kegel wrote:<br><br>&gt;Rob wrote:<br>&gt;<br>&gt;<br>&gt;&gt;This very much looks like a use-after-free bug. The first two<br>&gt;&gt;instructions are probably a COM *_Release call. Judging by the fact that<br>&gt;&gt;this is a regression I would also guess that it is a Wine object.
<br>&gt;&gt;<br>&gt;&gt;<br>&gt;<br>&gt;This sounds like a job for valgrind!<br>&gt;<br>&gt;But, er, does valgrind still work with wine?&nbsp;&nbsp;Rob said it did in March:<br>&gt;<a href="http://www.winehq.com/hypermail/wine-devel/2005/03/0397.html" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">

http://www.winehq.com/hypermail/wine-devel/2005/03/0397.html</a><br>&gt;It was too hard for one guy back in July:<br>&gt;<a href="http://www.winehq.com/hypermail/wine-devel/2005/07/0401.html" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://www.winehq.com/hypermail/wine-devel/2005/07/0401.html
</a><br>&gt;but that was probably because he didn't see Rob's message from March.<br>&gt;Maybe we need to put better instructions on how to use<br>&gt;Valgrind with Wine on winehq.org... or, dare I suggest it,<br>&gt;bundle valgrind with Wine so anybody could easily use it
<br>&gt;be setting WINEDEBUG=+valgrind or something like that...<br>&gt;<br><br>Valgrind 3.1.0 works with Wine with no Wine modifications needed.<br>However, one patch to valgrind is required to generate meaningful<br>backtraces and I've attached it to this message - I guess I should
<br>report this to the valgrind developers.<br><br>--<br>Rob Shearman<br><br><br><br><br><br><br><br></blockquote></div><br></span></div>
I was really just considering using valgrind! I already have it
installed, but I wasn't sure it would work very nicely, though. I was
afraid there would be too much pointless output to wade through, but
I'll try it tomorrow sometime.<br>
<br>
Cheers,<br><span class="sg">
James<br>

</span>