On Monday 29 Aug 2005 7:30 pm, sachin sonone wrote:
> Hi All,
>
> Thanks for help.
>
> My Application is server application. It is Deamon process. Start at boot
> time.
>
> It is not giving segmentation fault always,
> so for checking i  do invalid memory access whenever any client connects. I
> got segv fault.
>
> and core dump is generated. and i got problem by gdb bt.
> But
> When i restart machine My application started. when client connected i got
> segv fault but CORE DUMP is not generated.
Core dump is generated only after $ ulimit -c unlimited
Maybe this sets some environment variable. Maybe you can execute this command 
during bootup just before your daemon starts? Maybe using some startup 
script?

I'm not well versed with such things as scripting. Maybe someone else will be 
able to help you at that.

>
> How to get core dump of deamon process which start at boot time?
>
> I did gdb but i don't get any error. As application not giving Segv always.
>
> Regards,
> sachin.
>

Regards,
Kapil
--
______________________________________________________________________
Pune GNU/Linux Users Group Mailing List:      ([email protected])
List Information:  http://plug.org.in/mailing-list/listinfo/plug-mail
Send 'help' to [EMAIL PROTECTED] for mailing instructions.

Reply via email to