This is the mail archive of the gcc@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]

Re: Memory Fault in "free"


Anjali Sharma <anjalis@cdotd.ernet.in> writes:

>    I am modifying the source code of assembler of binutils-2.8.1.I am using a
> temporary character pointer in the code of function
> "input_file_give_next_buffer()" in file input-file.c,
> and allocating memory for it using the OS system call "malloc()" on HP-UX
> 11.0.When i try to free this pointer, it always gives a memory fault.
> 
> Please let me know if anyone has come across such a problem.Any help is deeply
> appreciated.

The gcc@gcc.gnu.org list is for discussion related to development of
GCC.  It is not for programming questions.

There is a different binutils list, but that is also not for
programming questions.  See http://sourceware.org/binutils/.

binutils 2.8.1 is very old.

There are any number of possible causes for the problem you are
seeing.  It is most likely a memory corruption problem.

Ian


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