Fix crash with certain debugmsgs
dfe at tgwbd.org
Sun Oct 21 15:41:30 CDT 2001
Been a while since I have been on this list.
Anyway, I have kept up to date with CVS fairly regularly and noticed that
lately I get a crash when using --debugmsg +reg which causes wine to dump
core immediately (whlie loading the $WINEPREFIX/config file. Also
occaisonally you will see access to 0x00000000 when not using +reg but
caused by a fixme in some code that seemingly executes before something
else has properly setup the debug_info for the thread.
I noticed that most everything else in the file uses get_info() instead of
calling NtCurrentTeb()->debug_info directly. And since the issues was that
debug_info was NULL and it seems the get_info tackles this by creating it
this seemed to be the proper fix.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 699 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20011021/d3476d05/wine_debugtools.obj
More information about the wine-patches