This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Memory corruption problem
- From: ducharme at uqo dot ca
- To: gcc-help at gcc dot gnu dot org
- Date: Thu, 24 Oct 2002 15:29:47 -0400
- Subject: Memory corruption problem
- Reply-to: ducharme at uqo dot ca
Hello,
I am using gcc 2.95 on Sun SPARC Solaris 8.
I am experimenting a memory corruption problem in a C++
program. I have put in some traces and I know exactly
where the memory corrruption happens but, at that point,
I have most likely already overwritten some memory.
The program terminates normally but outputs partially
corrupted data.
I have been through my source code but I cannot seem to
find where I could be writing to some unallocated memory.
I was wondering if there was some library routines which
could help me locate where I am overwriting unaloocated
memory.
Sincerely,
Michel Ducharme.
begin:vcard
n:Ducharme;Michel
fn:Michel Ducharme
tel;fax:(819) 773-1699
tel;work:(819) 595-3900 poste 1615
url:http://w3.uqo.ca/
org:Université du Québec en Outaouais;Service de l'informatique
adr:;;101, rue St-Jean Bosco;Hull;Québec;J8Y 3G5;Canada
version:2.1
email;internet:michel.ducharme@uqo.ca
end:vcard