Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 94238 - glibc detected free() and malloc() memory corruption
Summary: glibc detected free() and malloc() memory corruption
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-27 18:48 UTC by Otártics András
Modified: 2005-05-28 01:02 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.