delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/09/16/18:30:18

From: arg AT whangomatic DOT freeserve DOT co DOT uk (Andrew R. Gillett)
Newsgroups: comp.os.msdos.djgpp
Subject: symify crashes
Date: Thu, 16 Sep 1999 20:23:46 +0100
Organization: www.release-dates.co.uk
Message-ID: <MPG.124b53b82664042098b1ef@news.freeserve.net>
NNTP-Posting-Host: modem-150.name63.dialup.pol.co.uk
X-Trace: news7.svr.pol.co.uk 937509831 24114 62.136.191.150 (16 Sep 1999 19:23:51 GMT)
NNTP-Posting-Date: 16 Sep 1999 19:23:51 GMT
X-Complaints-To: abuse AT theplanet DOT net
X-Newsreader: MicroPlanet Gravity v2.12
Lines: 58
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

The first error is my program crashing:


Shutting down Allegro
Exiting due to signal SIGSEGV
General Protection Fault at eip=0003173a
eax=1c202315 ebx=0082a768 ecx=1c202315 edx=0082a768 esi=0000000a 
edi=00591004
ebp=00124a7c esp=00124a78 program=C:\TOOLS\CODE\DEATH\DEATH.EXE
cs: sel=00a7  base=83b63000  limit=00938fff
ds: sel=00af  base=83b63000  limit=00938fff
es: sel=00af  base=83b63000  limit=00938fff
fs: sel=00af  base=83b63000  limit=00938fff
gs: sel=00bf  base=00000000  limit=ffffffff
ss: sel=00af  base=83b63000  limit=00938fff

Call frame traceback EIPs:
  0x0003173a   
_length__Ct12basic_string3ZcZt18string_char_traits1ZcZt24__defaul
t_alloc_template2b0i0+18, line 133 of death.cpp
  0x00031611   
_c_str__Ct12basic_string3ZcZt18string_char_traits1ZcZt24__default
_alloc_template2b0i0+13, line 306 of death.cpp
  0x000087d7   _play_the_game__Fv+6219, line 2171 of death.cpp
  0x0000514e   _main+10998, line 1148 of death.cpp
  0x00094832   ___crt1_startup+138


So I wrote:

C:\TOOLS\Code\Death>symify death.exe

It prints the debug information, but then:

Exiting due to signal SIGSEGV
General Protection Fault at eip=00001b8b
eax=00000000 ebx=00054140 ecx=00000000 edx=0000044a esi=00000054 
edi=000109de
ebp=3320656e esp=000509b6 program=C:\TOOLS\DJGPP\BIN\SYMIFY.EXE
cs: sel=00a7  base=83b63000  limit=00678fff
ds: sel=00af  base=83b63000  limit=00678fff
es: sel=00af  base=83b63000  limit=00678fff
fs: sel=0087  base=0000a190  limit=0000ffff
gs: sel=00bf  base=00000000  limit=ffffffff
ss: sel=00af  base=83b63000  limit=00678fff

Call frame traceback EIPs:
  0x00001b8b


Also, the debug information for my game points to lines in the source 
code which seem irrelevant - one of them is even blank. (If it's any 
help, the problem I am having is related to vectors)

-- 
Andrew Gillett      http://argnet.fatal-design.com/     ICQ: See homepage

Zygomaticofacialforumen

- Raw text -


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