httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From langwnwk <langw...@gmail.com>
Subject Re: [可能是垃圾邮件] Re: how to catch segment fault
Date Wed, 25 Jun 2008 06:18:02 GMT
Kevac Marko wrote:
> Try the same you were doing, but build Apache with "-g".
>
> CCFLAGS="-g" ./configure && make && make install
>
> On Wed, Jun 25, 2008 at 5:44 AM, langwnwk <langwnwk@gmail.com> wrote:
>   
>> Eric Covener wrote:
>>     
>>> On Tue, Jun 24, 2008 at 4:39 AM, langwnwk <langwnwk@gmail.com> wrote:
>>>
>>>       
>>>> We had developed a clustering and loadbalancing module on apache. when
>>>> we made benchmark test.
>>>> I often find segments fault in error_log,such this
>>>> [notice] child pid 25600 exit signal Segmentation fault (11).
>>>> but this module run well.
>>>>
>>>>         
>>> Set CoreDumpDirectory in httpd.conf and check ulimit -c; you may need
>>> to change your startup script for the latter.
>>> --
>>> Eric Covener
>>> covener@gmail.com
>>>
>>>
>>>       
>> thanks your answer. I had set CoreDumpDirector and run command " ulimit -c
>> unlimited" .then startup server using this command " apachect1 start "
>> but no any core file still.
>> you said, maybe i will change the startup script. can you tell me how to
>> change startup script
>>
>>
>>     
>
>
>
>   

hi Kevac Marko
       I had check config_var.mk file .in this file EXTRA_CFLAGS had 
been set -g.
by the way. I think "-g" is only gcc flag for builiding a debug version. 
it has no relation to core file.


Mime
View raw message