Phil Sutter <phil@xxxxxx> wrote: > Apparently, dirname() modifies the buffer passed to it. Given a > read-only location, this leads to a segfault. Use a buffer initialized > (and tailored) to the content of LOCKFILE macro at compile-time instead. Applied, thanks.