This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc 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]

Re: Malloc problem


[Paul]
> Kind persons:
> 
> I recently upgraded from gcc.2.95.x to gcc-3.3.3 and its associated glibc.
> My program still compiles but at runtime I now get a segmentation violation
> from a malloc call.  Did some major change go into malloc that is now more
> strict than previous versions? Does anyone know what might be causing this
> previously-running program to fail?
> 
> Thanks for any input.

Try running your program with valgrind, as see if it reports any
errors.  I find it unlikely that the problem is with malloc() in
glibc, as it is already fairly well tested, so an error should have
been discovered earlier.

Valgrind is available from <URL:http://valgrind.kde.org/>.


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