delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/01/29/00:33:14

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: <MPG.f39dacc733ee7959896bc@news>
References: <MPG DOT f3959adb8e4e4629896ba AT news> <OnmcdiFL9GA DOT 163 AT upnetnews02 DOT moswest DOT msn DOT net>
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

In article <OnmcdiFL9GA DOT 163 AT upnetnews02 DOT moswest DOT msn DOT net>, 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!  ***

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019