home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c
- Path: sparky!uunet!netnews!bandy
- From: bandy@netnews.jhuapl.edu (Mike Bandy)
- Subject: Re: Unsolveable bug
- Message-ID: <C02swu.Lq2@netnews.jhuapl.edu>
- Organization: JHU/Applied Physics Laboratory
- References: <1hq27eINNjv@uwm.edu>
- Date: Wed, 30 Dec 1992 14:14:53 GMT
- Lines: 25
-
- markh@csd4.csd.uwm.edu (Mark) writes:
-
- > I've run into an unsolveable bug. The bug comes from no visible error, it
- >disappears when searched for under a debugger, and it's likewise non-existent
- >when the same program is run under other platforms and compilers. And it
- >doesn't involve anything having to do with timing of any sort.
-
- > It appears on the DOS port of the program and causes the machine to crash
- >immediately after a call to malloc(). The malloc call is the ANSI-compatible
- >call, declared with the <stdlib.h> header. The particular usage leading to
- >the crash is (as determined by traces): malloc(16), malloc(16), malloc(20), ...
- >with no intervening free() calls. All calls to malloc() return valid pointers.
- >Checking the memory usage reveals no corruption or access out of bounds.
-
- > The compiler creating the problem has had reliable error-free performance
- >with other similar programs.
-
- Given your symptoms, I'd examine the PC's hardware for problems. How
- does the PC behave under other memory intensive applications?
-
- --
-
- Mike Bandy
- bandy@aplcomm.jhuapl.edu
- Johns Hopkins University / Applied Physics Lab
-