delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/11/08/15:30:05

NNTP-Posting-Date: Fri, 08 Nov 2002 14:26:42 -0600
From: Charles Wilkins <chas AT pcscs DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: i686-pc-msdosdjgpp-g++ problems (long)
Date: Fri, 08 Nov 2002 15:28:37 -0500
Message-ID: <1h6osuka51oan46817ptm2o1loq3k6fqm7@4ax.com>
References: <lrplsuounbjm9n878rvu4e4sobqofcu437 AT 4ax DOT com> <aqfvt3$6t$1 AT antares DOT lu DOT erisoft DOT se> <taunsusrk60vfe987b0a0ncp0u2cqkh7of AT 4ax DOT com> <1036779663 DOT 158618 AT queeg DOT ludd DOT luth DOT se>
X-Newsreader: Forte Agent 1.92/32.570
MIME-Version: 1.0
Lines: 101
NNTP-Posting-Host: 68.45.75.113
X-Trace: sv3-ie80NI9Q4Cqw3oVnO6ZnDTs6RQiXiPzACo4rBtIeZiltIBZbZKDiHS1BkkwgSYPSHQMnbN2/NOetG6p!XA9B+3/SbWECF6nl6J8Cm4VbsdPRUfoJh723oENwEZ7jzgIqaQid//P3RPj72TJtq79hk34=
X-Complaints-To: abuse AT comcast DOT com
X-DMCA-Complaints-To: dmca AT comcast DOT net
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.1
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

On 08 Nov 2002 18:21:03 GMT, Martin Str|mberg
<ams AT speedy DOT ludd DOT luth DOT se> wrote:

>Charles Wilkins <chas AT pcscs DOT com> wrote:
>:>And what does symify and bfdsymify say when run here?
>: Please explain.. I have yet to use symify or bfdsymify..
>: Do I run these under linux or dos?
>
>DOZE. They fill in function names on the lines of the call stack trace
>after the program crashes (if the program includes debug information).
>
>In your case, this will possibly tell us how early the program
>crashes.
>
>
>Right,
>
>						MartinS

I didn't notice a copy of bfdsymify anywhere.  What package is this a
part of?

I do, however, have symify..

After running symify -o welcome.out welcome.exe 
welcome.out was created.

Then after running welcome.exe the contents of welcome.out were
updated.

Here are those contents:

welcome.out
==============================================================
C:\Archives\RIP2\DJGPP\bin>symify welcome.exe
 
C:\Archives\RIP2\DJGPP\bin>welcome
Exiting due to signal SIGSEGV
General Protection Fault at eip=0001a11f
eax=00000000 ebx=0003eb58 ecx=0003eb58 edx=007cffa0 esi=00000054
edi=00001630
ebp=007cff68 esp=007cff64
program=C:\ARCHIVES\RIP2\DJGPP\BIN\WELCOME.EXE
cs: sel=01a7  base=01670000  limit=007dffff
ds: sel=01af  base=01670000  limit=007dffff
es: sel=01af  base=01670000  limit=007dffff
fs: sel=017f  base=00005870  limit=0000ffff
gs: sel=01bf  base=00000000  limit=0010ffff
ss: sel=01af  base=01670000  limit=007dffff
App stack: [007d0000..00750000]  Exceptn stack: [00042c88..00040d48]
 
Call frame traceback EIPs:
  0x0001a11f ___udivmoddi4+6831
  0x0001a36e ___udivmoddi4+7422
  0x0000167e _main+36
  0x0000d1f8 ___crt1_startup+176
 
C:\Archives\RIP2\DJGPP\bin>symify -o welcome.out welcome.exe
 
C:\Archives\RIP2\DJGPP\bin>edit welcome.out
 
C:\Archives\RIP2\DJGPP\bin>welcome
Exiting due to signal SIGSEGV
General Protection Fault at eip=0001a11f
eax=00000000 ebx=0003eb58 ecx=0003eb58 edx=007cffa0 esi=00000054
edi=00001630
ebp=007cff68 esp=007cff64
program=C:\ARCHIVES\RIP2\DJGPP\BIN\WELCOME.EXE
cs: sel=01a7  base=01670000  limit=007dffff
ds: sel=01af  base=01670000  limit=007dffff
es: sel=01af  base=01670000  limit=007dffff
fs: sel=017f  base=00005870  limit=0000ffff
gs: sel=01bf  base=00000000  limit=0010ffff
ss: sel=01af  base=01670000  limit=007dffff
App stack: [007d0000..00750000]  Exceptn stack: [00042c88..00040d48]
 
Call frame traceback EIPs:
  0x0001a11f ___udivmoddi4+6831
  0x0001a36e ___udivmoddi4+7422
  0x0000167e _main+36
  0x0000d1f8 ___crt1_startup+176
 
C:\Archives\RIP2\DJGPP\bin>symify
Usage: symify [-o <outfile>] [-i <corefile>] <program>
This program adds debug information to DJGPP program call frame
tracebacks
 
C:\Archives\RIP2\DJGPP\bin>symify -o welcome.out welcome.exe
 


Just for reference, here is the welcome.cpp:

welcome.cpp
=============================================================
#include <iostream>
int main() {
    std::cout << "Hello, world !!!" << std::endl;
    return 0;
}

- Raw text -


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