Seeing problems with programs that use semaphores. The oneDuh, thanks.
that I'm getting bit by is jackd. strace says:
getuid() = 967
semget(0x282929, 0, 000) = 229376
semop(229376, [{0, -1, SEM_UNDO}], 1) = -1 EIDRM (Identifier removed)
write(2, "JACK semaphore error: semop (Ide"..., 49JACK semaphore error: semop (Identifier removed)
) = 49
Bisects down to this commit, and reverting it from 20170519 makes things work
again. No idea why this causes indigestion, there's probably something subtly
wrong here....
sma = container_of(ipc_rcu_alloc(size), struct sem_array, sem_perm);sma->sem_perm.refcount was initialized by ipc_rcu_alloc.
if (!sma)
return -ENOMEM;
memset(sma, 0, size);