delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2013/03/26/08:15:18

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Received: by 10.224.172.134 with SMTP id l6mr8800258qaz.7.1364298643297;
Tue, 26 Mar 2013 04:50:43 -0700 (PDT)
X-Received: by 10.49.27.102 with SMTP id s6mr375733qeg.1.1364298643138; Tue,
26 Mar 2013 04:50:43 -0700 (PDT)
Newsgroups: comp.os.msdos.djgpp
Date: Tue, 26 Mar 2013 04:50:42 -0700 (PDT)
In-Reply-To: <261476b1-c137-495d-95df-a92075cd9960@googlegroups.com>
Complaints-To: groups-abuse AT google DOT com
Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=90.181.199.10;
posting-account=Q0wMHAoAAADjYrghh94FTf6YnbpTqZgp
NNTP-Posting-Host: 90.181.199.10
References: <261476b1-c137-495d-95df-a92075cd9960 AT googlegroups DOT com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <2245ebea-be44-4a40-8b2f-7ef5e0e67157@googlegroups.com>
Subject: Re: DJGPP scandir and alphasort example code
From: RayeR <glaux AT centrum DOT cz>
Injection-Date: Tue, 26 Mar 2013 11:50:43 +0000
Bytes: 2866
Lines: 60
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id r2QCF1cd010402
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

I tested the test program but it crashed in my case of running from drive C: (not crashen from other drive). It may be confused by some LFNs or hidden files and crash only for my specific directory structure? (Run under WinXP). I din't checked the code, maybe there's some bug...

C:\1sc>test
01: !zaloha
02: 1sc
03: 1st64sec.bin
04: Cypress
05: Documents and Settings
06: EMBEDDED WORLD - NORIMBERK 2013
07: Program Files
08: _rfid
09: altium10
10: armgcc
11: autoexec.bat
12: boot.ini
13: bootfont.bin
14: bootsect.dos
15: command.com
16: config.sys
17: djgpp
18: dn
19: dos
20: io.sys
21: kernel.sys
22: linux
23: mapview
24: mingw32
25: msdos.sys
26: ntdetect.com
27: ntldr
28: orcad
29: pagefile.sys
30: temp
31: winavr
32: winavr.433
33: windows
34: winnt
Exiting due to signal SIGSEGV
General Protection Fault at eip=00004254
eax=000a0178 ebx=00000040 ecx=00298a48 edx=0009e52c esi=0009e4e4 edi=0001d68c
ebp=0009d5d8 esp=0009d5d0 program=C:\1SC\TEST.EXE
cs: sel=01a7  base=029e0000  limit=000affff
ds: sel=01af  base=029e0000  limit=000affff
es: sel=01af  base=029e0000  limit=000affff
fs: sel=017f  base=00012220  limit=0000ffff
gs: sel=01bf  base=00000000  limit=0010ffff
ss: sel=01af  base=029e0000  limit=000affff
App stack: [0009d688..0001d68c]  Exceptn stack: [0001d59c..0001b65c]

Call frame traceback EIPs:
  0x00004254
  0x00001ffb
  0x00003cd4

C:\1sc>

All directory from root was listed, it crashed after...

- Raw text -


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