Andy Polyakov wrote:
>> The purpose of the CreateToolhelp32Snapshot function is to permit
>> walking data structures that are constantly changing by creating a
>> read-only copy that will not change.  The returned HANDLE points to a
>> unique snapshot.  Walking the contents of the data structures in this
>> snapshot is thread safe.
>>> Has anyone else faced such RAND_poll() related crash before ?
>> Yes.
>
> Where was it then? Point is that if above (with snapshot being
> read-only copy) held true, then we wouldn't have this discussion,
> would we? Or at least switching to TH32CS_SNAPPROCESS wouldn't make
> difference... I see no other option then to assume that either
> snapshot is not really a snapshot or CreateToolhelp32Snapshot itself
> is not thread-safe.
I don't have enough information to perform the analysis. 
As documented, CreateToolhelp32Snapshot is supposed to create a
read-only snapshot. 
Hence the reason I asked for the minidump.

Unless someone collects data and places in inquiry with Microsoft to
find out what is really going on, everything is just going to be
speculation. 



Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to