| delorie.com/archives/browse.cgi | search |
| From: | nikki AT gameboutique DOT co (nikki) |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: boo hoo. my code crashes. |
| Date: | 19 Feb 1997 21:11:11 GMT |
| Organization: | GameBoutique Ltd. |
| Lines: | 15 |
| Message-ID: | <5efq9f$p41@flex.uunet.pipex.com> |
| References: | <5e5d6n$fda AT flex DOT uunet DOT pipex DOT com> |
| <5ecmk3$esk$2 AT troll DOT powertech DOT no> <5efi2c$pst$1 AT troll DOT powertech DOT no> | |
| NNTP-Posting-Host: | www.gameboutique.com |
| Mime-Version: | 1.0 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
> Allright, I tested the code, and it works fine for me. So it probably > only crashes in a larger context (a big program?). A possible stack > overflow? See if increasing stack size might help. yeh it was overflowing the stack and just crashing out big time :) thanks to everyone who helped, i went for a big fat malloc in the end and that seems to have solved the problem ok. regards, nik -- Graham Tootell nikki AT gameboutique DOT com
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |