-
-
Notifications
You must be signed in to change notification settings - Fork 209
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
Memory leak of isc_attach_database
#7849
Comments
Sanitize leaks does not give you correct results with firebird. There are 2 reasons for it:
|
Thank you. |
I think this problem occurs because fbclient and server whole do not call u_cleanup. |
I wonder if u_cleanup() is safe to be called from DLLMain()... |
|
But IBM documentation doesn't mention anything that is prohibited in DLLMain() so perhaps u_cleanup() can be called from some global destructor. Minimally it can be called from fb_shutdown(). |
I think, Firebird should work with ICU through "proxy" with counter of u_init/u_cleanup calls. It allows to share ICU library with different modules. The same counter must be in fbclient (+ fb_init function). |
You didn't understood the problem.
|
Then ask and coordinate every user (including Java) to do the same. Or better, ask ICU to make their functions better. |
Hi,
The following code:
execute:
My version: 3.0.5.33220.ds4-1build2
OS: ubuntu20.04 (docker)
Regards.
The text was updated successfully, but these errors were encountered: