delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/08/19/12:53:38

From: uhfgood AT aol DOT com (Keith Weatherby II)
Newsgroups: comp.os.msdos.djgpp
Subject: (KII) - Program works under windows95 but not under dos?
Lines: 38
NNTP-Posting-Host: ladder05.news.aol.com
X-Admin: news AT aol DOT com
Date: 19 Aug 1999 13:45:11 GMT
Organization: AOL http://www.aol.com
Message-ID: <19990819094511.24744.00000851@ng-cj1.aol.com>
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Okay i'm working on a game with Allegro, and it works fine under a windows 95
dos box, however whenever i go into dos mode (and try to run cwsdpmi.exe), when
I run my program it exits giving me a SIGSEGV, I ran symify, and below is the
results.  Can anyone tell me what this stuff means?  I will post the source
code to my program later if someone needs to look at it to help.  I'm not doing
anything out of the ordinary for djgpp or allegro, so i couldn't understand
what could be wrong.
Also I noticed similar problems happening with the last couple of allegro
examples programs too.  They will basically work under a win95 dos box but not
under dos mode itself.  Note i'm running allegro version 3.11 (and i've just
reinstalled it)  So does anyone have any ideas?                             
Thanks -Keith W. II

(Here is the results of running the program and then running symify)

Shutting down Allegro
Exiting due to signal SIGSEGV
Page fault at eip=0000832b, error=0006
eax=00000000 ebx=00092000 ecx=00000424 edx=00000000 esi=00000000 edi=00000010
ebp=0008c760 esp=0008c708 program=C:\DJGPP\ALLEGRO\MYGAME\ROBOTS.EXE
cs: sel=00a7  base=10000000  limit=0014ffff
ds: sel=00af  base=10000000  limit=0014ffff
es: sel=00af  base=10000000  limit=0014ffff
fs: sel=00bf  base=00000000  limit=ffffffff
gs: sel=00bf  base=00000000  limit=ffffffff
ss: sel=00af  base=10000000  limit=0014ffff
 
Call frame traceback EIPs:
  0x0000832b   _load_pcx+299
  0x0000158f   _main+23, line 95 of robots.c
  0x0002d6e6   ___crt1_startup+138


*Keith Weatherby II*
*Uhfgood AT aol DOT com*
*Boring, OR, USA*
*Uhfgood's Programming Links*
http://members.aol.com/uhfgood/index.htm

- Raw text -


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