Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 94238

Summary: glibc detected free() and malloc() memory corruption
Product: Gentoo Linux Reporter: Otártics András <manowarfan>
Component: [OLD] Core systemAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED NEEDINFO    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Otártics András 2005-05-27 18:48:33 UTC
I'm working on a program, and it crashed whe realloc() was used for reallocating
a pointer-pointer only with one more. When I increased the reallocation size
from 1 to 50, the problem disappeared (at least it seems). Was it my fault or
something else?

Reproducible: Always
Steps to Reproduce:
1.Write a code.
2.Use realloc() and every kind of things a dosen time.
3.

Actual Results:  
Compilled and run the prog :) And it crashed ... 

Expected Results:  
I'd loved if it'd have run... :)

I can send the code.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-05-28 01:02:44 UTC
You failed to post emerge --info output like you were instructed to when filing
the bug, so we don
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-05-28 01:02:44 UTC
You failed to post emerge --info output like you were instructed to when filing
the bug, so we don´t even know what version of glibc/gcc is this all about. A
snip of the source code could be helpful as well. 

Reopen when you are ready.