Hi,
we have several Netconf sessions subscribed to notifications.
Whenever we disconnect all sessions in bulk (for instance using mobaxterm multi-execution mode), the application crashes with a segmentation fault.
I assume this is related to a race condition : a session that was deleted is receiving a notification.
This is very similar to what was reported in #201, and it was fixed in the meantime. But now we've enabled NACM and we have the same erroneous behavior but with a different root cause.
After going through our application logs, I've noticed the following entry: nacm_rpc_struct: invalid session to use, so i did a quick lookup at the nacm_check_notification and added the following check:
Hi, we have several Netconf sessions subscribed to notifications. Whenever we disconnect all sessions in bulk (for instance using mobaxterm multi-execution mode), the application crashes with a segmentation fault.
I assume this is related to a race condition : a session that was deleted is receiving a notification.
This is very similar to what was reported in #201, and it was fixed in the meantime. But now we've enabled NACM and we have the same erroneous behavior but with a different root cause.
Follows the backtrace:
After going through our application logs, I've noticed the following entry: nacm_rpc_struct: invalid session to use, so i did a quick lookup at the nacm_check_notification and added the following check:
This seems to correct the problem.
Thanks and best regards, Joao