Mail Archives: djgpp/1999/09/03/08:26:00
Steve Ball (steve AT effectivejava DOT com) wrote:
: I have a program which runs fine in a Windows DOS box, but crashes
: immediately if run in MS-DOS mode. The program crashes before starting to
: execute the body of main(). Symify shows that it is crashing in
: __crt1_startup. Is it possible to use DJGPP to write programs to run under
: DOS alone? Any ideas what's going wrong here?
No, it shows it's crashing at line 1055 in main. (And it seems to be
something like "val = *NULL;".)
: Exiting due to signal SIGSEGV
: Page fault at eip=00002e2f, error=0004
: eax=00000000 ebx=00001000 ecx=000c1720 edx=000c1708 esi=000c1534
: edi=00000000
: ebp=000c1104 esp=000c10d0 program=C:\007\C__~1\BITARRAY\BLIT.EXE
: cs: sel=00a7 base=10000000 limit=000cffff
: ds: sel=00af base=10000000 limit=000cffff
: es: sel=00af base=10000000 limit=000cffff
: fs: sel=008f base=00022d70 limit=0000ffff
: gs: sel=00bf base=00000000 limit=0010ffff
: ss: sel=00af base=10000000 limit=000cffff
: App stack: [000c1190..00041190] Exceptn stack: [0004106c..0003f12c]
: Call frame traceback EIPs:
: 0x00002e2f _main+1055
: 0x00002a24 _main+20
: 0x0001b992 ___crt1_startup+174
Right,
MartinS
- Raw text -