www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/03/27/19:20:39

Message-ID: <36FD6B64.58BE6645@geocities.com>
From: BartMan <crazy-bartman AT geocities DOT com>
X-Mailer: Mozilla 4.5 [en] (Win95; I)
X-Accept-Language: en,pl
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: A problem with debugging under Rhide, more data
Lines: 35
Date: Sat, 27 Mar 1999 23:39:25 GMT
NNTP-Posting-Host: 195.116.242.5
X-Complaints-To: abuse AT tpsa DOT pl
X-Trace: news.tpnet.pl 922577965 195.116.242.5 (Sun, 28 Mar 1999 00:39:25 MET DST)
NNTP-Posting-Date: Sun, 28 Mar 1999 00:39:25 MET DST
Organization: TPNET - http://www.tpnet.pl
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi.
My problem is still not solved but I've found this which might be
interesting:

General Protection Fault at eip=0000b715
eax=00064000 ebx=00000020 ecx=00000010 edx=00000000 esi=e0000000
edi=00064000
ebp=00052a94 esp=00052a88 cs=00a7 ds=00af es=00af fs=008f gs=00bf
ss=00af
Call frame traceback EIPs:
  0x0000b715   ___dj_movedata+33
  0x00002b2b   _VM_GetBack__FiiUsUsPUs+135, line 239 of cr_pm.cc
  0x00004367   _main+123, line 162 of cr_pm.cc
  0x00004957   ___crt1_startup+115

D:\FLAKI\KOMP\GCC\WORK!\POINT>symify -o err p.exe

(this General Prot. Fault isn't important, because this is a bug in my
program, but it shows place of an error)

!!!Hey! ->  0x00002b2b   _VM_GetBack__FiiUsUsPUs+135, line 239 of
cr_pm.cc

A BUG! A procedure VM_GetBack() is in my video unit - cr_vm.cc file!
Line number is correct, but file name is not correct.
A cr_pm.cc file is main file, which is VM_GetBack() called from.
I compiled it with:
GCC -g3 -o p.exe cr_pm.cc
with GCC 2.7.2 and GCC 2.8.1 and the result was the same.
So this is not a bug in RHIDE but in GCC, but some time before my GCC
was ok. Maybe I've installed something???
Hey DJ, hey guys what do You think?
  Bartek


- Raw text -


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