Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deadlock during SQLDriverConnect() #96

Open
aleksei-i opened this issue Dec 14, 2023 · 1 comment
Open

Deadlock during SQLDriverConnect() #96

aleksei-i opened this issue Dec 14, 2023 · 1 comment

Comments

@aleksei-i
Copy link

aleksei-i commented Dec 14, 2023

We call SQLDriverConnect() which get lock using ENTER_HDBC(). Then the SQLSetConnectOptionW() is called which also get lock using ENTER_HDBC(). The second ENTER_HDBC() cause the deadlock.

The test:
CheckBeforeConnect(SQL_ATTR_LOGIN_TIMEOUT, value, value); This function set the connect attribute before connection using SQLSetConnectAttr() and then calls SQLDriverConnect().

Stack trace:
Screenshot 2023-12-14 at 12 18 54 PM

@pkleef
Copy link
Collaborator

pkleef commented Dec 15, 2023

Development are looking into this ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants