GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||
GeezerVison is showing github.com — Fixed potential deadlock in FbConnectionPoolManager by Howaner · Pull Request #1076 · FirebirdSQL/NETProvider Conversation
|
|
@cincuranet Is there a chance to integrate this into upstream? Is there anything else I need to do? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
I need to review the PR first. Currently busy. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@Howaner do you have a reproductible test case which shows the problem? Maybe adding a test case to this PR? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@fdcastel It is a race condition and therefore quite difficult to trigger. I tried to reproduce it in a test project today but I failed. I'm really surprised that the bug doesn't already occur much more often with other people. Probably only a few people make many simultaneous requests with Firebird. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
I understand. Surely they are a hell to reproduce. Thank you for you feedback. Much appreciated. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
I too have started hitting this issue in our test projects after updating to version 9.1.1.0. I'll try and see if I can write a minimal reproducible test case. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@willibrandon, @Howaner Have you had any success reproducing the issue? @Howaner, if I understand correctly, you've been running a fork of this project in production with this PR applied. Have you never encountered any further errors since applying it? @willibrandon, would you be able to try the same approach? While I understand the changes @Howaner made in this PR, it's challenging to approve them based solely on verbal explanations (no offense intended, please). As engineers, I trust you both will understand. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
We saw this issue pop up in our test runs after updating the data provider version for the first time in a decade. I was not successful reproducing this issue however, and have not seen the it reoccur since. @PaladinMattt - Do you recall the last time you saw this one? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
It has been some time since I've noticed it. If my memory serves me correctly, it mainly happened during debugging, when calling FbConnection.ClearAllPools();, but I don't recalling seeing this issue for a few months now. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
I'm looking at the PR now, with the help of various AI models, and I'm not convinced the fix fixes what it claims to fix. Moreover it also slightly changes the ordering of concurrent operations and that brings other new questions. I'm not saying the bug is not there, far from it, but a dump when the deadlock happens would help to pinpoint the exact constellation of threads, etc. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.