We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I encountered a crash error when I try open and close many ipcserver.
I inspected and I think the reason libqb miss release element qb_list_head from qb_ipc_services list.
Here are ipcs.c in row 213:
qb_ipcs_unref(struct qb_ipcs_service *s) { int32_t free_it;
assert(s->ref_count > 0); free_it = qb_atomic_int_dec_and_test(&s->ref_count); if (free_it) { qb_util_log(LOG_DEBUG, "%s() - destroying", __func__); free(s); }
}
I added more qb_list_del(&s->list) before free(s). And it works
The text was updated successfully, but these errors were encountered:
ipcs: Add missing qb_list_del when freeing server
fd1120f
Fix from minhbq ClusterLabs#422
Thanks for this, now fixed
Sorry, something went wrong.
Update libqb to version 2.0.2+20201203.def947e / rev 29 via SR 853522
82edcc7
https://build.opensuse.org/request/show/853522 by user yan_gao + dimstar_suse - Update to version 2.0.2+20201203.def947e (v2.0.2): - ipcs : Decrease log level. (#426) - cov: Quieten some covscan warnings (#427) - doxygen2man: Fix a couple of covscan-detected errors (#425) - ipcs: Add missing qb_list_del when freeing server (#423) (gh#ClusterLabs/libqb#422) - ipc: add qb_ipcc_auth_get() API call (#418) - doxygen2man: Remove horrible hack (#420) (gh#ClusterLabs/libqb#419) - doxygen2man: Add support for @code blocks (#417) - man: Tidy man pages (#416) - doxygen2man: Add option to read copyright line from the header file (#415) (gh#ClusterLabs/libqb#414) (forwarded request 853520 from yan_gao)
No branches or pull requests
I encountered a crash error when I try open and close many ipcserver.
I inspected and I think the reason libqb miss release element qb_list_head from qb_ipc_services list.
Here are ipcs.c in row 213:
qb_ipcs_unref(struct qb_ipcs_service *s)
{
int32_t free_it;
}
I added more qb_list_del(&s->list) before free(s). And it works
The text was updated successfully, but these errors were encountered: