[AOLSERVER] Resolution! RE: [AOLSERVER] segmentation violation: gdb stack trace WAS RE: [AOLSERVER] Trying to debug a C module?

2001-10-27 Thread Sanjivendra Nath
]] Sent: Thursday, October 25, 2001 7:45 AM To: AOLserver Discussion Subject: RE: [AOLSERVER] segmentation violation: gdb stack trace WAS RE: [AOLSERVER] Trying to debug a C module? Did a trace with a break on __libc_malloc and __libc_free. Noticed that not 100% of the calls that I traced for a while

Re: [AOLSERVER] segmentation violation: gdb stack trace WAS RE: [AOLSERVER] Trying to debug a C module?

2001-10-25 Thread Sanjivendra Nath
pbm statement. Otherwise, it occurs on 1. -Original Message- From: AOLserver Discussion [mailto:[EMAIL PROTECTED]]On Behalf Of Rob Mayoff Sent: Wednesday, October 24, 2001 10:20 PM To: [EMAIL PROTECTED] Subject: Re: [AOLSERVER] segmentation violation: gdb stack trace WAS RE: [AOLSERVER

Re: [AOLSERVER] segmentation violation: gdb stack trace WAS RE: [AOLSERVER] Trying to debug a C module?

2001-10-25 Thread Sanjivendra Nath
Of Sanjivendra Nath Sent: Thursday, October 25, 2001 7:09 AM To: [EMAIL PROTECTED] Subject: Re: [AOLSERVER] segmentation violation: gdb stack trace WAS RE: [AOLSERVER] Trying to debug a C module? Yes, very reliably, every time. Same place, same stack trace. In fact, if I change the adp source from: 1

Re: [AOLSERVER] segmentation violation: gdb stack trace WAS RE: [AOLSERVER] Trying to debug a C module?

2001-10-25 Thread Patrick Spence
At 10:37 AM 10/25/2001 -0500, you wrote: Do you run nsd with the -z flag? If not, then it shouldn't matter. Does it have to be compiled differently to enable the -z flag? or is there some other part of the -z parameter (other than just -z) ... every time I try to enable it on my server it

Re: [AOLSERVER] segmentation violation: gdb stack trace WAS RE: [AOLSERVER] Trying to debug a C module?

2001-10-25 Thread Rob Mayoff
+-- On Oct 25, Patrick Spence said: Does it have to be compiled differently to enable the -z flag? No. every time I try to enable it on my server it prevents it from loading.. Tell us exactly what you did and exactly what the computer did.

Re: [AOLSERVER] segmentation violation: gdb stack trace WAS RE: [AOLSERVER] Trying to debug a C module?

2001-10-25 Thread Patrick Spence
At 11:29 AM 10/25/2001 -0500, you wrote: +-- On Oct 25, Patrick Spence said: Does it have to be compiled differently to enable the -z flag? No. every time I try to enable it on my server it prevents it from loading.. Tell us exactly what you did and exactly what the computer did.

Re: [AOLSERVER] segmentation violation: gdb stack trace WAS RE: [AOLSERVER] Trying to debug a C module?

2001-10-24 Thread Rob Mayoff
+-- On Oct 24, Sanjivendra Nath said: Why would a malloc(10 bytes) cause a segmentation violation? Because the heap has been corrupted. Perhaps something called free twice on the same block, or wrote past the end of a block.