From: Shawn Hargreaves Newsgroups: comp.os.msdos.djgpp Subject: Re: SEVERE BUGS in ALLEGRO! Date: Fri, 28 Feb 1997 20:00:31 +0000 Organization: None Distribution: world Message-ID: <5dPdQAAflzFzEwKy@talula.demon.co.uk> References: <5etiq7$ir1 AT bertrand DOT ccs DOT carleton DOT ca> <5f5ltl$d3u AT freenet-news DOT carleton DOT ca> NNTP-Posting-Host: talula.demon.co.uk MIME-Version: 1.0 Lines: 39 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Paul Derbyshire writes: >Sorry, I was just a tad ticked that bugs this huge made it to a non-beta. Well, opinions might differ on whether "huge" and "severe" are really the appropriate words for your problems... In any case, no matter how annoyed you are by something, it is worth waiting a while to cool down before you post about it. Being rude in public doesn't solve anything, and usually makes people less inclined to help you... >> Does the problem occur when you re-run the Allegro program, or only when >> you run other (eg. creative labs) code? > >Other code. If I run an Allegro program it's OK. If I run Windows, though >it uses the sound, that's OK. Creative labs code...kaboom. :P It also >happens only intermittently, and I vaguely think it might be only if the >program is aborted unusually, eg by a gpf or such, before exit() is called >or main falls through. Let me get this straight. Your program crashes (a bug in your code), after which a Creative Labs program locks up the machine (since both Windows and Allegro work ok, that's probably their bug). And you blame me for this? If the program exits abnormally, the soundcard is very likely to be left in an indeterminate state, since there's obviously no way my cleanup code can work if it doesn't get called. Allegro tries to hook in to every emergency shutdown sequence it can (which, thanks to djgpp's excellent signal support, is usually quite successful), but this is by no means bulletproof. When the program crashes, do you get the "Shutting down Allegro" message? If not, something is going wrong with the cleanup mechanism... /* * Shawn Hargreaves - shawn AT talula DOT demon DOT co DOT uk - http://www.talula.demon.co.uk/ * Beauty is a French phonetic corruption of a short cloth neck ornament. */