Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!unido!rwthinf!cip-s02.informatik.rwth-aachen.de!stefanb From: stefanb@cip-s02.informatik.rwth-aachen.de (Stefan Becker) Newsgroups: comp.sys.amiga.tech Subject: Bug in MANX 5.0? Keywords: c bug manx Message-ID: <2885@rwthinf.UUCP> Date: 4 May 90 15:42:31 GMT Sender: news@rwthinf.UUCP Reply-To: stefanb@cip-s02.informatik.rwth-aachen.de (Stefan Becker) Organization: Informatik RWTH Aachen Lines: 28 Hi there! I've discovered a weird thing in Aztec-C V5.0a. If your program (with large data model) contains >256KB uninitialized data (BSS hunk), it will run normal, but when you call exit(), the machine guru's. I tried to follow the program flow with an asm debugger, but I find only some strange code in exit(). Maybe the linker is the proplem. To 'test' this bug, try the following program: /* Begin */ unsigned char t[262144]; /* == 256KB of unitilialized data */ main() { } /* End */ Every value below 262144 (actually 262141) works OK, values greater as this limit crashes the machine. Any solutions? Stefan Mail : Stefan Becker, Holsteinstrasse 9, 5100 Aachen, West Germany +-------+ Phone : +49-241-505705 FIDO: 2:242/7.6 +---------------------+ Call | InterNet: stefanb@s02.informatik.rwth-aachen.de | Place free for ad's now! | UUCP : ..mcvax!unido!rwthinf!s02!stefanb +-----------------------------+