> I have a segmentation fault error in my C program > but i don't know where it come from. > How can i free all memory , all buffer ?
This would make it worse. If you free your memory and then try to access it, it will segfault. Better to use something like Electric Fence and/or gdb to find where it is. Likely either you have freed memory and used it later, or you have a loop that has gone past the end where it is supposed to, or you are reading into a buffer that hasn't been allocated yet. If you compile w/ -g and run it with gdb, you should be able to find the line that causes the segfault. Jon > > Thanks for your help. > > Canarich > > --- Jay Daniels <[EMAIL PROTECTED]> a écrit : > On Fri, > 2002-07-05 at 03:53, [EMAIL PROTECTED] wrote: > > > On Fri, Jul 05, 2002 at 01:14:11AM -0400, Jay > > Daniels wrote: > > > > On Fri, 2002-07-05 at 00:56, João Borsoi Soares > > wrote: > > > > > > > > ----- The following addresses had permanent > > fatal > > > > > errors ----- > > > > > <[EMAIL PROTECTED]> > > > > > (reason: 550 5.0.0 You must use a valid > > mail > > > > > server) > > > > > > > > > > ----- Transcript of session follows ----- > > > > > ... while talking to mx1.redhat.com.: > > > > > >>> MAIL From:<[EMAIL PROTECTED]> > > > > > <<< 550 5.0.0 You must use a valid mail server > > > > > 554 5.0.0 Service unavailable > > > > > > > > > > Reporting-MTA: dns; srv.intrasystems.com.br > > > > > Received-From-MTA: DNS; localhost.localdomain > > > > > Arrival-Date: Fri, 5 Jul 2002 01:51:10 -0300 > > > > > > > > > > Final-Recipient: RFC822; > > [EMAIL PROTECTED] > > > > > Action: failed > > > > > Status: 5.0.0 > > > > > Diagnostic-Code: SMTP; 550 5.0.0 You must use > > a valid > > > > > mail server > > > > > Last-Attempt-Date: Fri, 5 Jul 2002 01:51:17 > > -0300 > > > > > > > > > > > > > > > Thanks a lot, > > > > > Joao. > > > > > > > > > > > > > > > > > reason number 256 to use qmail instead of > > sendmail;) > > > > > > Hei all > > > > > > I would be interested in knowing how this relates > > to sendmail. > > > > > > I'm not very knowledgeable about mail but the > > error message > > > suggests that the problem is that the > > intrasystems.blah.blah > > > in not resolvable and that the redhat mailserver > > has been configured > > > not to accept mail from none resolvable hosts. > > > > > > I suppose you should either configure your mta > > (local mail server) or > > > mua (email client) to use another from address > > (your yahoo address should do) > > > or get your domain name info in some domains dns > > records. > > > > > > Hope someone will correct me if I am wrong! > > > > > > t.irvine > > > > > > > > > > > You are right, it's my bed time. Forget that last > > post. It's his From > > address is not the address he signed up to the list > > as??? > > > > > > jay > > > > > > > > > > _______________________________________________ > > Redhat-list mailing list > > [EMAIL PROTECTED] > > > https://listman.redhat.com/mailman/listinfo/redhat-list > > ___________________________________________________________ > Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! > Yahoo! Mail : http://fr.mail.yahoo.com > > > > _______________________________________________ > Redhat-list mailing list > [EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/redhat-list > _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list