diff options
author | Dimitri Staessens <[email protected]> | 2021-06-20 10:02:17 +0200 |
---|---|---|
committer | Sander Vrijders <[email protected]> | 2021-06-21 08:46:47 +0200 |
commit | 017172282b358e3fc79c9bc4c47f3193a8005f27 (patch) | |
tree | 78608f4abf5eb81ab71a95a92e34e3492e67baf2 /src/lib/shm_rdrbuff.c | |
parent | f0914fafb2dfac2f429ee87623dd482ab93edb08 (diff) | |
download | ouroboros-7c981df1dde0cf5a179dd15881133c3b9e66f738.tar.gz ouroboros-7c981df1dde0cf5a179dd15881133c3b9e66f738.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 <[email protected]>
Signed-off-by: Sander Vrijders <[email protected]>
Diffstat (limited to 'src/lib/shm_rdrbuff.c')
-rw-r--r-- | src/lib/shm_rdrbuff.c | 2 |
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); |