-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Closed
Labels
area: NetworkingbugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugpriority: lowLow impact/importance bugLow impact/importance bug
Description
Reported by Ricardo Salveti de Araujo:
Was able to get an ASSERT FAIL in kernel/sem.c:145 when stressing the TCP stack over BT 6LoWPAN.
Assert: __ASSERT(!_is_in_isr() || timeout == K_NO_WAIT, "");
Added a few additional debug lines, and noticed that this is triggered from TCP abort_connection, when calling net_context_unref.
Abort connection is only called after giving up on the amount of allowed retries, and net_context_unref starts by calling "k_sem_take(&contexts_lock, K_FOREVER);", which ends up triggering the assert.
(Imported from Jira ZEP-2565)
Metadata
Metadata
Assignees
Labels
area: NetworkingbugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugpriority: lowLow impact/importance bugLow impact/importance bug