DrNick on #kernelnewbies mentioned that on mmap() isn't cleaned up:
698118 14:52:47.634488 mmap(NULL, 16384, PROT_READ|PROT_WRITE, MAP_SHARED, 4, 0) = 0x7f0467ea2000
That seems to keep the fd open, and so the lock persists... So it's a libgdbm error.