From: SPAMGUARDriker AT pipcom DOT com (Matt Riker) Newsgroups: comp.os.msdos.djgpp Subject: Re: Allegro SIGSEGV Error / keyboard_hooks Date: Thu, 29 Jan 1998 00:16:44 -0500 Organization: Riker Software Lines: 21 Message-ID: References: Reply-To: SPAMGUARDriker AT pipcom DOT com NNTP-Posting-Host: 207.61.241.211 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk In article , Not DOT given AT out says: > Unusual error. I think the error stands for SIGnal - SEGment Violation. Did you > remember to call allegro_init() before hand? If you did, try loading a debugger > (I prefer rhide for it's ease of use), re-compile allegro with debugging (make > DEBUGMODE=y clean install). This may delete your utils, demo game, etc. so you > will need to recompile them. "Trace into" the entire program up to the error, > and figure out what is wrong that way - you can see which line is causing the > crash. I managed to figure out what the problem was by trial and error. My set_mouse_sprite() function was causing the problem. I made some adjustment to the palette it was loading before hand, and God knows why, but the problem went away. Don't computers suck? ____________________________ Matt Riker SPAMGUARDriker AT pipcom DOT com *** Remove SPAMGUARD *** *** when replying! ***