This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Memory corruption problem


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]