[389-users] Segfault

Rich Megginson rmeggins at redhat.com
Thu Sep 30 16:16:37 UTC 2010


Edward Z. Yang wrote:
> Excerpts from Rich Megginson's message of Mon Sep 20 11:37:32 -0400 2010:
>   
>> What platform?  What version of 389-ds-base?  Can you install the 
>> 389-ds-base-debuginfo package?
>> You will have to enable the directory server to produce a core dump. 
>> 1) edit /etc/sysconfig/dirsrv-instancename - add ulimit -c unlimited
>> 2) sysctl -w fs.suid_dumpable=1
>>     
>
> Hi Rich,
>
> We've seen this error on 1.2.6 (F13) too; unfortunately, we're having
> a bit of difficulty turning on core dumping.
>
> ns-slapd[10129]: segfault at 74c1 ip 00007f637caff675 sp 00007f636e97acb0 error 4 in libcrypto.so.1.0.0a[7f637ca4b000+171000]
>
> The end of our dirsrv sysconfig is:
>
> ulimit -c unlimited
> DAEMON_COREFILE_LIMIT=unlimited
>
> and we've managed to get a core dump by sending a manual SEGV to the
> ns-slapd process. I'm not sure why this particular segfault didn't get
> a dump. Any insight?
>   
I just don't know - if you have

ulimit -c unlimited

and

sysctl -w fs.suid_dumpable=1

It should allow core dumps in /var/log/dirsrv/slapd-instancename


> Edward
>   




More information about the 389-users mailing list