[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
fopen/fclose give segfaults
- From: Daniel Senderowicz <daniel bicho SynchroDS COM>
- To: redhat-list redhat com
- Cc: daniel bicho SynchroDS COM
- Subject: fopen/fclose give segfaults
- Date: Tue Jul 9 18:33:10 2002
Hi,
I'm new to linux and this list, so please bear with me if this
problem was already posted before.
I compiled a program that opens a few files with fopen and fclose.
When I run it it gives some segmentation faults. According to gdb,
the problem appears when fopen/fclose in turn call some malloc/free
functions. This is confirmed when I set MALLOC_CHECK_=1, that
mentions something abount a bad pointer to free(). This program
runs perfectly on a NetBSD machine (mips), so I'm wondering if that
is a particular problem of linux, or the gnu library and if there
is a solution for that. Thanks in advance.
Dan
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]