https://bugs.winehq.org/show_bug.cgi?id=44011
Bug ID: 44011 Summary: page fault in schan_QueryContextAttributesW Product: Wine Version: 2.21 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: secur32 Assignee: wine-bugs@winehq.org Reporter: development@winomega.com Distribution: ---
Created attachment 59672 --> https://bugs.winehq.org/attachment.cgi?id=59672 test program
Wine gets a page fault in secur32.dll very often (thought not 100% of the time) when running a trivial program using libmariadb.dll (MariaDB Connector/C 3.0.2):
a2b008591f3cb238d1e4410c4d1b9f08 libmariadb.dll
Note: libmariadb.dll (MariaDB Connector/C 3.0.2) can be downloaded as win32 binary or source from https://downloads.mariadb.org/connector-c/3.0.2/
Test program is attached (test.c). You need to edit and replace the mysql_real_connect call with actual parameters of a MySQL server with SSL enabled, and copy the ca.pem file to current directory (a trivial setup like https://www.digitalocean.com/community/tutorials/how-to-configure-ssl-tls-fo... works).
I compiled it with mingw32:
i686-w64-mingw32-gcc test.c -o test.exe -I./mariadb-connector-c/include libmariadb.dll