From 017172282b358e3fc79c9bc4c47f3193a8005f27 Mon Sep 17 00:00:00 2001 From: Dimitri Staessens Date: Sun, 20 Jun 2021 10:02:17 +0200 Subject: lib: Bypass assertion in shm_rdrbuff 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 Signed-off-by: Sander Vrijders --- src/lib/shm_rdrbuff.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); -- cgit v1.2.3