-
Notifications
You must be signed in to change notification settings - Fork 296
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
sysrepo crashed in "lyht_resize" #1093
Comments
Hi, Regards, |
hi, Regards, |
The crash is triggered from the remove path this time, i guess we are missing some commit. Pasting the full stack trace below, I compared the source code of the hash table and we are missing only debug prints. should we pick them as well ?? (gdb) bt |
Hi, Regards, |
Thanks michal i will try the fix and get back. |
hi, |
Hi @michalvasko we are also facing similar crash on libyang(2.0.112), i see that this fix is merged into debian/master but not in master. if we rebase to latest tag v2.2.8 will we get the fix done here? Backtrace of our issue #0 0x00007f6e03bd337d in lyht_insert_with_resize_cb (ht=0x232a220, val_p=0x7ffea2e24a98, hash=2856812350,
#1 0x00007f6e03bd31bf in lyht_insert (ht=ht@entry=0x232a220, val_p=val_p@entry=0x7ffea2e24a98, hash=,
#2 0x00007f6e03be99e2 in lyd_insert_hash_add (ht=0x232a220, node=, node@entry=0x231e9b0, empty_ht=empty_ht@entry=0 '\000')
#3 0x00007f6e03be9db9 in lyd_insert_hash (node=node@entry=0x231e9b0)
#4 0x00007f6e03be0894 in lyd_insert_node (parent=, parent@entry=0x2322bc0, first_sibling_p=first_sibling_p@entry=0x0,
#5 0x00007f6e03be3c41 in lyd_new_path_ (parent=, ctx=0x2258f80, ext=ext@entry=0x0, path=,
#6 0x00007f6e03be3de7 in lyd_new_path (parent=, ctx=, path=, value=,
|
I assure you the fix is in every current branch and at least 10 last releases so yes, just update it and you should be fine. |
Thank you |
hi ,
we are seeing crash in sysrpeo, stack trace is as per below . We are using libyang version of "libyang-1.0-r4" and sysrepo-7.4 . Can you suggest any patch so that we can avoid following crash ?
The text was updated successfully, but these errors were encountered: