[Bug 34921] New: Need for Speed: The Run crashes with Unimplemented function bcrypt.dll.BCryptGenRandom
http://bugs.winehq.org/show_bug.cgi?id=34921 Bug #: 34921 Summary: Need for Speed: The Run crashes with Unimplemented function bcrypt.dll.BCryptGenRandom Product: Wine Version: 1.7.6 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs(a)winehq.org ReportedBy: andrey.goosev(a)gmail.com Classification: Unclassified Created attachment 46535 --> http://bugs.winehq.org/attachment.cgi?id=46535 log Crashes at start. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=34921 --- Comment #1 from Bruno Jesus <00cpxxx(a)gmail.com> 2013-11-15 09:39:02 CST --- Created attachment 46536 --> http://bugs.winehq.org/attachment.cgi?id=46536 bad implementation I needed this function for other program, I ended up writing a very simple implementation that at least helped me. I could not find it so I rewrote it, it was not tested. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=34921 --- Comment #2 from Nikolay Sivov <bunglehead(a)gmail.com> 2013-11-15 12:45:07 CST --- It'd be interesting to see +relay with this implementation to get some info on function arguments. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=34921 --- Comment #3 from Andrey Gusev <andrey.goosev(a)gmail.com> 2013-11-15 13:28:50 CST --- (In reply to comment #1)
Created attachment 46536 [details] bad implementation
I needed this function for other program, I ended up writing a very simple implementation that at least helped me. I could not find it so I rewrote it, it was not tested.
Bruno, I confirm that your patch fixes the problem. After that way goes to bug 24517. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=34921 --- Comment #4 from Nikolay Sivov <bunglehead(a)gmail.com> 2013-11-15 14:13:35 CST --- Andrey, could you please attach +relay log with this patch? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=34921 --- Comment #5 from Bruno Jesus <00cpxxx(a)gmail.com> 2013-11-15 15:46:02 CST --- (In reply to comment #2)
It'd be interesting to see +relay with this implementation to get some info on function arguments.
I think it was called with a NULL algorithm and with dwFlags & BCRYPT_USE_SYSTEM_PREFERRED_RNG. Because otherwise it would have needed to call BCryptOpenAlgorithmProvider which is also not implemented. This guessing is based on information from http://msdn.microsoft.com/en-us/library/Windows/desktop/aa375458%28v=vs.85%2... -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=34921 --- Comment #6 from Andrey Gusev <andrey.goosev(a)gmail.com> 2013-11-15 16:13:22 CST --- (In reply to comment #4)
Andrey, could you please attach +relay log with this patch?
Can send to you directly, because of archive size is 1.1 Mb. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=34921 --- Comment #7 from Henri Verbeet <hverbeet(a)gmail.com> 2013-11-18 10:58:44 CST --- As an aside, did we ever look into using Nettle or perhaps gcrypt for implementing things like e.g. rsaenh and bcrypt? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=34921 Linards <linards.liepins(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |linards.liepins(a)gmail.com --- Comment #8 from Linards <linards.liepins(a)gmail.com> --- Same function is needed by Battlefield 3. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=34921 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |focht(a)gmx.net Summary|Need for Speed: The Run |Multiple games and |crashes with Unimplemented |applications need |function |bcrypt.dll.BCryptGenRandom |bcrypt.dll.BCryptGenRandom |(Need for Speed: The Run, | |Battlefield 3) Ever confirmed|0 |1 --- Comment #9 from Anastasius Focht <focht(a)gmx.net> --- Hello folks, --- quote --- Same function is needed by Battlefield 3. --- quote --- refining summary and confirming. Regards -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=34921 Jerome Leclanche <adys.wh(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=34921 Jerome Leclanche <adys.wh(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |adys.wh(a)gmail.com -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=34921 --- Comment #10 from Linards <linards.liepins(a)gmail.com> --- (In reply to comment #5)
(In reply to comment #2)
It'd be interesting to see +relay with this implementation to get some info on function arguments.
I think it was called with a NULL algorithm and with dwFlags & BCRYPT_USE_SYSTEM_PREFERRED_RNG.
Because otherwise it would have needed to call BCryptOpenAlgorithmProvider which is also not implemented.
This guessing is based on information from http://msdn.microsoft.com/en-us/library/Windows/desktop/aa375458%28v=vs. 85%29.aspx
Simply put Wine do not conbtaint at least minimum support for Windows Vista amd later introduced infrastructure: "Microsoft Windows Cryptographic Primitives Library" . WOuld this be a superset of Crypt32.dll ( Cryptographic Services )? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=34921 --- Comment #11 from Andrey Gusev <andrey.goosev(a)gmail.com> --- Should help http://source.winehq.org/patches/data/101409 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=34921 Andrey Gusev <andrey.goosev(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |crypt32 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=34921 Bruno Jesus <00cpxxx(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|wine-bugs(a)winehq.org |00cpxxx(a)gmail.com -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=34921 --- Comment #12 from Austin English <austinenglish(a)gmail.com> --- (In reply to comment #11)
Should help http://source.winehq.org/patches/data/101409
Committed: https://source.winehq.org/git/wine.git/commitdiff/52aca431e4acb099ae66d56896... please retest. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=34921 Andrey Gusev <andrey.goosev(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #13 from Andrey Gusev <andrey.goosev(a)gmail.com> --- Tested with 1.7.12 and it's fixed. As I said before the next stop is bug 24517. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=34921 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #14 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 1.7.13. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=34921 Bruno Jesus <00cpxxx(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |a7578c7ae7ef1aa7bc2e8d0846a | |0bfc60bc664a2 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=34921 Bruno Jesus <00cpxxx(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|crypt32 |bcrypt -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org