Hello,
I need to debug mathopd process because it segfaults every 2 day. The
pattern is always the same. Something like mathopd[24068]: segfault at
a17b000 ip 005be8ac sp bfd6098c error 4 in libc-2.7.so[54d000+153000]
I am sure it is not the problem of mathopd itself, but custom patches
Dmitry wrote:
Hello,
I need to debug mathopd process because it segfaults every 2 day. The
pattern is always the same. Something like mathopd[24068]: segfault at
a17b000 ip 005be8ac sp bfd6098c error 4 in libc-2.7.so[54d000+153000]
I am sure it is not the problem of mathopd itself, but
Michiel Boland wrote:
Hi. Core dumps are only enabled if you specify a directory in the config
file to dump core in. You can do this using the CoreDirectory directive.
Make sure the user you specify in the config file can create files in
this directory.
Michiel,
I forgot to say that
Dmitry wrote:
Michiel Boland wrote:
Hi. Core dumps are only enabled if you specify a directory in the
config file to dump core in. You can do this using the CoreDirectory
directive. Make sure the user you specify in the config file can
create files in this directory.
Michiel,
I forgot to
Michiel Boland wrote:
It could be that the OS does not allow coredumps for processes that have
done a setuid.
Thank you, Michiel, you were right. Linux man page for setuid(2) says:
If uid is different from the old effective uid, the process will be
forbidden from leaving core dumps.
--