Re: [PLUG] Required Help For Segv fault

2005-09-01 Thread Kapil D. Pendse
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 > go

[PLUG] Required Help For Segv fault

2005-08-30 Thread sachin sonone
Hi All, Thanks for help. whenever i got segv core dump is generated on / and not in dir where my binary is kept. Regards, sachin. -- __ Pune GNU/Linux Users Group Mailing List: (plug-mail@plug.org.in) List Information:

Re: [PLUG] Required Help For Segv fault

2005-08-30 Thread Shridhar Daithankar
sachin sonone wrote: When i restart machine My application started. when client connected i got segv fault but CORE DUMP is not generated. How to get core dump of deamon process which start at boot time? man bash. Look for ulimit. Set the ulimit before starting you daemon process. HTH Shri

[PLUG] Required Help For Segv fault

2005-08-30 Thread sachin sonone
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

Re: [PLUG] Required Help For Segv fault

2005-08-29 Thread Chaitanya V. Hazarey
Hi Sachin, Kapli's advice is good and can be done. But I found quite a small hack to get to know some thing about the seg fault. I was getting the exact problem with my multithreaded application. What I did was to install a siganl handler for the Signal 11 . And in that print the perror. If yo

Re: [PLUG] Required Help For Segv fault

2005-08-29 Thread Desi Penguin
> I have multithreaded application. (pthread_create). > I am getting Segmentation fault. (randomly) > Is there any way to know in which thread Segmentation fault has occoured. > > Can i get thread_id or anything related in signal handler? Since you haven't given a whole lot of details, I'll

Re: [PLUG] Required Help For Segv fault

2005-08-28 Thread Kapil D. Pendse
On Friday 26 Aug 2005 7:30 pm, sachin sonone wrote: > Hi all, > > I have multithreaded application. (pthread_create). > I am getting Segmentation fault. (randomly) > Is there any way to know in which thread Segmentation fault has occoured. > > Can i get thread_id or anything related in signal

[PLUG] Required Help For Segv fault

2005-08-27 Thread sachin sonone
Hi all, I have multithreaded application. (pthread_create). I am getting Segmentation fault. (randomly) Is there any way to know in which thread Segmentation fault has occoured. Can i get thread_id or anything related in signal handler? Regards, sachin. --