http://bugs.winehq.org/show_bug.cgi?id=18364
--- Comment #33 from David Santamaría Rogado howl.nsp@gmail.com 2009-08-29 05:10:43 --- (In reply to comment #30)
Created an attachment (id=23313)
--> (http://bugs.winehq.org/attachment.cgi?id=23313) [details]
Patch: Only initialize SSL_CTX once (try 2)
Could you try this instead? I'm hoping it resolves at least one source of crashes, in particular this one: =>0 0x7daa0a15 SSL_CTX_set_default_verify_paths+0x15() in libssl.so.0.9.8 (0x012fc778) 1 0x7db1563e NETCON_secure_connect+0x11e() in wininet (0x012fc7b8) 2 0x7db0a30b HTTP_HttpSendRequestW+0x1a6b() in wininet (0x012fe9c8)
The other type of crash may still appear, as I haven't changed this code at all, nor do I really understand why it might be crashing: /lib32/i686/cmov/libssl.so.0.9.8(SSL_load_error_strings+0x17)[0x7daa40a7] /usr/bin/../lib32/wine/wininet.dll.so(NETCON_init+0x55e)[0x7db15f3e] /usr/bin/../lib32/wine/wininet.dll.so(HTTP_HttpOpenRequestW+0x166)[0x7db06f16]
I have tested it and with some runs I could obtain two of the backtraces, the first is the =>0 0x7daa0a15 SSL_CTX_set_default_verify_paths+0x15() in libssl.so.0.9.8 (0x012fc778).
I have performed and md5sum of wininet.dll.so un-patched and patched to see if I was installing the repository wine instead of the one that I generate.
89792c2deeddfc2031ded3f6c04b97a9 wininet.dll.so -> sin parchear 2beda57feb19c1fbd2abae952c163159 wininet.dll.so -> parcheado
Seems to be patched well.
More info: The problem have been only reported with ubuntu hardy, intrepid and jaunty in 32 and 64 bits, don't know if other distros are affected, perhaps an openssl bug?