www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/05/01/20:16:56

To: djgpp AT delorie DOT com
Date: Tue, 02 May 2000 00:17:39 0000
From: "nimrod a. abing" <synflood AT eudoramail DOT com>
Message-ID: <BKMKMJLDJAHDCAAA@shared1-mail.whowhere.com>
Mime-Version: 1.0
Cc: eliz AT is DOT elta DOT co DOT il
X-Sent-Mail: off
X-Mailer: MailCity Service
Subject: Re: gdb problem or just silly me - please help
X-Sender-Ip: 208.160.246.197
Organization: QUALCOMM Eudora Web-Mail (http://www.eudoramail.com:80)
Reply-To: djgpp AT delorie DOT com

On Thu, 27 Apr 2000 18:18:55   Eli Zaretskii wrote:
>"nimrod a. abing" wrote:
>> 
>> for those who are curious, here's how to do it (crash
>> the program using printf ;-)
>[snip] 
>> Exiting due to signal SIGSEGV
>> General Protection Fault at eip=00001629
>> eax=20776f4e ebx=00008318 ecx=00000000 edx=20776f4e esi=00000054 edi=0000f148
>> ebp=00683fe0 esp=00683fc8 program=D:\PROJECTS\DJGPP\QUICKIES\TEST.EXE
>> cs: sel=012f  base=8318a000  limit=00683fff
>> ds: sel=0137  base=8318a000  limit=00683fff
>> es: sel=0137  base=8318a000  limit=00683fff
>> fs: sel=010f  base=000121d0  limit=0000ffff
>> gs: sel=0147  base=00000000  limit=0010ffff
>> ss: sel=0137  base=8318a000  limit=00683fff
>> App stack: [00684000..00604000]  Exceptn stack: [0000f0a8..0000d168]
>> 
>> Call frame traceback EIPs:
>>   0x00001629 _main+37
>>   0x00002a02 ___crt1_startup+178
>
>This crash obviously comes from Windows (observe the selectors values and the
>large base address).  Windows doesn't support the NULL dereference
>protection, and so crashes much later, inside `main' (see the EAX register
>that holds ASCII text instead of a pointer?).  It doesn't even mention
>printf.
>

BTW. Why does it crash? Isn't `char *stringtable[]' 
equivalent to `char **stringtable'? Please explain
what happens.

>> How to free up at least 300 MB of hard disk
>> space (as seen from the MS-DOS prompt):
>> 
>> C:\>deltree c:\windows
>> Delete directory "Windows" and all its subdirectories? [yn] y
>> Deleting Windows...
>
>The above seems to suggest that you yourself do use Windows ;-)
>

Yes. For two reasons. One, `da boss' won't let me have
a Linux box. Windoze is the `de facto' operating
system in the Philippines, and no one but me would 
bother to learn how to use a Unixy box. I have a 
Linux box at home, but I spend more time at work than 
at home (I don't even have a phone at home, so no 
Internet). But until I can find another job, I'll have
to live with Windoze, at least for now.

Second reason, using Windoze allows me to write DJGPP
programs and surf the Net at the same time. I can
also take advantage of Unixy features like long file
names, so I can use the DOS port of BASH. I can also
use Emacs, which seems works better with LFN support.

Just a thought, has anyone figured out how to use LFN
from MS-DOS mode in Win9x? In DOS mode, Win9x seems to 
forget how to read long file names. I just wonder how 
pissed off M$ would be if some figured out how to do 
that.

---
nimrod_a_abing


(Once again, with feelings...)
----------------
Hot Windows Tip:
----------------

How to free up at least 300 MB of hard disk 
space (as seen from the MS-DOS prompt):

C:\>deltree c:\windows
Delete directory "Windows" and all its subdirectories? [yn] y
Deleting Windows...

C:\>

(don't try this at home kids... not unless
you have Linux installation CDs)



Join 18 million Eudora users by signing up for a free Eudora Web-Mail account at http://www.eudoramail.com

- Raw text -


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