summaryrefslogtreecommitdiff
path: root/src/lib/shm_rdrbuff.c
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri@ouroboros.rocks>2021-06-20 10:02:17 +0200
committerSander Vrijders <sander@ouroboros.rocks>2021-06-21 08:46:47 +0200
commit017172282b358e3fc79c9bc4c47f3193a8005f27 (patch)
tree78608f4abf5eb81ab71a95a92e34e3492e67baf2 /src/lib/shm_rdrbuff.c
parentf0914fafb2dfac2f429ee87623dd482ab93edb08 (diff)
downloadouroboros-017172282b358e3fc79c9bc4c47f3193a8005f27.tar.gz
ouroboros-017172282b358e3fc79c9bc4c47f3193a8005f27.zip
lib: Bypass assertion in shm_rdrbuff0.18.1
This assert() causes ipcpd and subsequent irmd abort() when shutting down debug builds. Should be fixed some day when other components are more robust (frct retransmissions and routing). Signed-off-by: Dimitri Staessens <dimitri@ouroboros.rocks> Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
Diffstat (limited to 'src/lib/shm_rdrbuff.c')
-rw-r--r--src/lib/shm_rdrbuff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/shm_rdrbuff.c b/src/lib/shm_rdrbuff.c
index d7726b63..2c966376 100644
--- a/src/lib/shm_rdrbuff.c
+++ b/src/lib/shm_rdrbuff.c
@@ -497,7 +497,7 @@ int shm_rdrbuff_remove(struct shm_rdrbuff * rdrb,
if (pthread_mutex_lock(rdrb->lock) == EOWNERDEAD)
sanitize(rdrb);
#endif
- assert(!shm_rdrb_empty(rdrb));
+ /* assert(!shm_rdrb_empty(rdrb)); */
sdb = idx_to_du_buff_ptr(rdrb, idx);