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
389-ds-base-1.3.2.21-1.fc20 crashed over the weekend #1202
Comments
Comment from mkosek at 2014-08-12 13:34:09 attachment |
Comment from lkrispen (@elkris) at 2014-08-12 14:23:09 it seems the crash is happening because getting the entry for a changenumber returns a corrputed entry, changelog trimming doesn't check for errors in that place. |
Comment from mkosek at 2014-08-12 14:46:15 No, in the error log, I only see this last entry in
and then just starting the new DS in
DS did not crash during ldapsearch:
|
Comment from tbordaz (@tbordaz) at 2014-08-13 00:03:50 I wonder if there is not a bug in handle_getchangerecord_search. This callback function stores the entry return by the search into a temporary structure (crt->crt_entry). When returning from the internal search, get_changerecord returns that entry. According to https://access.redhat.com/documentation/en-US/Red_Hat_Directory_Server/8.1/html/Plug-in_Guide/Plugin_Programming_Guide-Function_Reference-slapi_search_internal_callback_pb.html, if we want to access the entry outside of the callback we need to do slapi_entry_dup. |
Comment from tbordaz (@tbordaz) at 2014-08-21 19:25:28 attachment |
Comment from tbordaz (@tbordaz) at 2014-08-21 19:25:43 attachment |
Comment from tbordaz (@tbordaz) at 2014-08-26 16:30:33 I set up 3 freeipa instances on F20, two with the fix, one without. Ran freeipa unit tests, then let them idle (this was the conditions when the crashed occurred). To increase the probability of crash, it trims the retro changelog each 30s and it evaluates ~ 5000 entries at each trimming.
The tests started Friday 22nd. No crash after 3 days. |
Comment from nhosoi (@nhosoi) at 2014-08-27 23:14:14 Looks good to me. |
Comment from tbordaz (@tbordaz) at 2014-08-27 23:33:27 Push to '''master''' git merge ticket47871 git push origin master commit 495151b |
Comment from tbordaz (@tbordaz) at 2014-08-27 23:41:59 Push to '''1.3.2''' git cherry-pick 495151b git push origin 389-ds-base-1.3.2 commit 47fbe25 |
Comment from tbordaz (@tbordaz) at 2016-09-09 13:25:42 adding the crashing thread backstack to help to retrieve that bug
|
Comment from nhosoi (@nhosoi) at 2017-02-11 23:02:21 Metadata Update from @nhosoi:
|
Cloned from Pagure issue: https://pagure.io/389-ds-base/issue/47871
On Aug 8th I run installed FreeIPA server with 389-ds-base-1.3.2.21-1.fc20 which finished OK. The instance was left running when it suddenly crashed over the weekend:
Stacktrace attached.
The text was updated successfully, but these errors were encountered: