Need help debugging a memory corruption bug in shfldr_unixfs.c

Michael Jung mjung at
Thu Sep 8 16:10:18 CDT 2005

Hi Phil,

On Thursday 08 September 2005 19:23, Phil Krylov wrote:
> * Every double click on a folder in the listview destroys this listview
>   object (effectively destroying all underlying structures), creates a new
>   one, and returns control to the place where double click notification was
>   sent by the old listview (notify_hdr() function in listview.c). This time
>   the old listview and its structures are already destroyed, but we
>   continue to access them, exception!

Thanks a lot, that really saved my day. I've spend some hours chasing this bug 
already, but to no avail. 

> Here is a patch which adds checking if the window has been destroyed at
> that point. I don't know if it is acceptable but it fixes the problem.

Wouldn't it be enough to call notify_click after notify_itemactivate? I've 
attached a modification of your patch, which does just this. Seems to work 
fine for me.
Michael Jung
mjung at
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dlls_comctl32_listview_c.diff
Type: text/x-diff
Size: 861 bytes
Desc: not available
Url :

More information about the wine-devel mailing list