http://bugs.winehq.org/show_bug.cgi?id=20985
--- Comment #1 from Juan Lang juan_lang@yahoo.com 2009-12-10 13:13:49 --- (In reply to comment #0)
http://kegel.com/wine/valgrind/logs/2009-12-10-03.53/vg-crypt32_msg.txt shows a crash.
Here's the bit from the backtrace that's relevant:
2 0x0cf429b4 test_data_msg_update+0x5b1() [dlls/crypt32/tests/msg.c:445] in crypt32_test (0x7f21fd08)
Here are the lines leading up to line 445 of tests/msg.c. Notice the comments :) /* Calling update after opening with an empty stream info (with a bogus * output function) yields an error: */ /* Crashes on some Win9x */ msg = CryptMsgOpenToEncode(PKCS_7_ASN_ENCODING, 0, CMSG_DATA, NULL, NULL, &streamInfo); SetLastError(0xdeadbeef); ret = CryptMsgUpdate(msg, msgData, sizeof(msgData), FALSE);
This is kind of mysterious. I can't find the __TRY that applies to that fault...
http://source.winehq.org/source/dlls/crypt32/msg.c#L201
This is indeed a valgrind bug, the exception is supposed to be caught.