obscure segmentation faults...
by Kyle Matthews <jits(at)ihug.co.nz>
|
Date: |
Mon, 07 Feb 2000 20:07:09 +1300 |
To: |
hwg-languages(at)hwg.org |
|
todo: View
Thread,
Original
|
|
Hi,
I've got a C database CGI which I'm most of the way through writing. It was
working, but now it's not. Running a shell script version has led me to the
conclusion that i'm getting segmentation faults as the programme exits. I
was wondering if anyone knew a reason why a seg fault might occur after a
program had done everything.
The program is relatively simple, reads a 180K database file, loading about
60 or so of the lines into a linked list of records, and then spitting them
out with html formatting. It's running on a freebsd box. The seg fault is
definately relating to the exiting of the binary, as I removed the last few
lines of code which weren't important, and it still dies at the end.
Any help?
Kyle
HWG: hwg-languages mailing list archives,
maintained by Webmasters @ IWA