summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Staessens <[email protected]>2021-06-20 10:02:17 +0200
committerSander Vrijders <[email protected]>2021-06-21 08:46:47 +0200
commit017172282b358e3fc79c9bc4c47f3193a8005f27 (patch)
tree78608f4abf5eb81ab71a95a92e34e3492e67baf2
parentf0914fafb2dfac2f429ee87623dd482ab93edb08 (diff)
downloadouroboros-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]>
-rw-r--r--CMakeLists.txt2
-rw-r--r--src/lib/shm_rdrbuff.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 43185641..dd26c828 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -9,7 +9,7 @@ include(GNUInstallDirs)
set(PACKAGE_VERSION_MAJOR 0)
set(PACKAGE_VERSION_MINOR 18)
-set(PACKAGE_VERSION_PATCH 0)
+set(PACKAGE_VERSION_PATCH 1)
set(PACKAGE_NAME "${CMAKE_PROJECT_NAME}")
set(PACKAGE_DESCRIPTION "The Ouroboros prototype")
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);