Correction to crash inside RtlCaptureStackBackTrace() + test case

Janne Hakonen joyer83 at live.fi
Fri Jan 28 12:54:46 CST 2011


> Now, when I ran these tests on Testbot using all base VMs, the tests were run also on W2KPROSP4 and WNT4WSSP6. However, the 
> function seems to buggy in those. It throws access violation whenever it is not skipping frames.

> Is there some way I could prevent/skip these tests to be run on Windows NT4 and 2000? 

Ah, no matter, I think I've got it. Adding following lines to start allows the tests to be skipped on NT and 2000:

__TRY
{
    pRtlCaptureStackBackTrace(0, 62, callers, NULL);
}
__EXCEPT_ALL
{
    win_skip("RtlCaptureStackBackTrace threw SEH exception, "
             "most likely running on Windows NT or 2000\n");
    return;
}
__ENDTRY

Thanks,
Janne

 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20110128/f89ee382/attachment.htm>


More information about the wine-devel mailing list