“odbedit -R” is used to get rid of stuck shared memory segments when there are problems with ODB (corruption, etc). SYSV shared memory provided the “ipcrm” command for this, linux posix shared memory provides “rm /dev/shm/*odb*”. mac os posix shared memory provides no way to do this, so “odbedit -R” (calls ss_shm_delete()) is required.
It turns out that “odbedit -R” has a bug - it does not work without connecting to ODB first. So if odb is corrupted, odbedit cannot connect to it and cannot remove it. The user is stuck.