|
| 2.61.3 / Vista Business / File Object "delete" method crashes Runtime |
 |
Fri, 28 Mar 2008 14:01:06 -050 |
DBI,
this is for an application that works without any problems on all prior
versions of Windows. The problem occurs with dBase 2.61.3 when accessing
files accross the network (mapped drive letter to a network path). The code
in question is simple enough:
Dlog=new file()
dFile="DLL status log
"+getenv("ComputerName")+".txt"
try
if logging
logfile.writeln("Before Exists Check " )
endif
if dlog.exists(dfile)
if logging
logfile.writeln("Exists; delete "+dfile )
endif
set procedure to miscapi.prg addi
dlog.delete(dfile) '<<<<<<
if logging
logfile.writeln("File deleted")
endif
endif
dlog.create(dfile,"W")
catch(exception e)
*snip
On the line "dlog.delete", the application stops responding, CPU goes
to
100% . An entry is created in the event viewer log in Windows as follows
(the name of my compiled dBase app is MedShareWin.exe):
Log Name: Application
Source: Application Error
Date: 3/28/2008 2:13:38 PM
Event ID: 1000
Task Category: (100)
Level: Error
Keywords: Classic
User: N/A
Computer: FRONTDESK-PC
Description:
Faulting application Medsharewin.exe, version 0.0.0.0, time stamp
0x68ac3543, faulting module ntdll.dll, version 6.0.6000.16386, time stamp
0x4549bdc9, exception code 0xc0000006, fault offset 0x0002d2a0, process id
0xf28, application start time 0x01c890ff480cd2fa.
Event Xml:
<Event
xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Application Error" />
<EventID Qualifiers="0">1000</EventID>
<Level>2</Level>
<Task>100</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2008-03-28T18:13:38.000Z" />
<EventRecordID>4685</EventRecordID>
<Channel>Application</Channel>
<Computer>FRONTDESK-PC</Computer>
<Security />
</System>
<EventData>
<Data>Medsharewin.exe</Data>
<Data>0.0.0.0</Data>
<Data>68ac3543</Data>
<Data>ntdll.dll</Data>
<Data>6.0.6000.16386</Data>
<Data>4549bdc9</Data>
<Data>c0000006</Data>
<Data>0002d2a0</Data>
<Data>f28</Data>
<Data>01c890ff480cd2fa</Data>
</EventData>
</Event>
This is on a brand-new Dell with Windows Visa Business (32 bit), Intel Core
2 Duo (Quad CPU) Q 6600 @ 2.40GHZ, 2GB Ram.
Any idea what the NTDLL.DLL is about?
I've validated that the problem is indeed the delete command - when the file
in question does not exist and delete does not get executed, the application
works.
Please let me know if you need any additional information about this
problem.
Thanks in advance for any help you can provide.
Jan
|
| Post Reply
|
| Re: 2.61.3 / Vista Business / File Object "delete" method crashes Runtime |
 |
Fri, 28 Mar 2008 21:44:31 -050 |
Hi Jan,
> this is for an application that works without any problems on all prior
> versions of Windows. The problem occurs with dBase 2.61.3 when accessing
> files accross the network (mapped drive letter to a network path). The code
> in question is simple enough:
>
> Dlog=new file()
> dFile="DLL status log
"+getenv("ComputerName")+".txt"
> try
> if logging
> logfile.writeln("Before Exists Check " )
> endif
> if dlog.exists(dfile)
> if logging
> logfile.writeln("Exists; delete "+dfile )
> endif
> set procedure to miscapi.prg addi
> dlog.delete(dfile) '<<<<<<
> if logging
> logfile.writeln("File deleted")
> endif
> endif
> dlog.create(dfile,"W")
> catch(exception e)
> *snip
>
> On the line "dlog.delete", the application stops responding, CPU
goes to
> 100% . An entry is created in the event viewer log in Windows as follows
> (the name of my compiled dBase app is MedShareWin.exe):
We will try to reproduce the problem as soon as possible.
What version of Vista are you running?
What OS is on the other computer (across the network?)
Have you tried this yet on 2.61.4?
Thanks,
- Marty -
Martin Kay
dataBased Intelligence, Inc.
|
| Post Reply
|
| Re: 2.61.3 / Vista Business / File Object "delete" method crashes |
 |
Sat, 29 Mar 2008 08:02:55 -070 |
>
>> Have you tried this yet on 2.61.4?
> Not yet - would you like me to? This was not something I read in the list
of
> fixes.
There were a lot of memory leak issues fixed, and some of those may have
positive effects elsewhere. One of my clients was having odd display
issues, I sent an earlier version (pre-release) of the runtime after
some memory leaks were fixed, and the issue went away. You never know --
it can't hurt to try.
Ken
--
/(Opinions expressed are purely my own, not those of dataBased
Intelligence, Inc.)/
*Ken Mayer* [dBVIPS]
/Golden Stag Productions/
dBASE at goldenstag dot net
http://www.goldenstag.net/GSP
http://www.goldenstag.net/dbase/dBASEBooks.htm
|
| Post Reply
|
| Re: 2.61.3 / Vista Business / File Object "delete" method crashes Runtime |
 |
Sat, 29 Mar 2008 09:18:37 -050 |
Hi Marty,
thanks for your prompt reply - I really appreciate it. I am dead in the
water with this client.
"Marty Kay" <mkay@databi.com> wrote in message
news:3s83QbUkIHA.1812@news-server...
> We will try to reproduce the problem as soon as possible.
> What version of Vista are you running?
This is Vista Business (32bit)
> What OS is on the other computer (across the network?)
Also Vista Business (32bit)
> Have you tried this yet on 2.61.4?
Not yet - would you like me to? This was not something I read in the list of
fixes.
Best regards,
Jan
|
| Post Reply
|
| Re: 2.61.3 / Vista Business / File Object "delete" method crashes Runtime |
 |
Mon, 31 Mar 2008 11:25:47 -040 |
>> Have you tried this yet on 2.61.4?
> Not yet - would you like me to? This was not something I read in the list
> of fixes.
This problem may be a side effect of Vista's UAC and/or a user rights issue.
Since 2.61.4 now uses a signed plus.exe and plusrun.exe and allows you to
sign
your own .exe's, - this one may have been *fixed* inadvertently.
In addition, this is the first time anyone has reported this issue to us.
Please try 2.61.4 to see if it makes any difference.
Thanks,
- Marty -
Martin Kay
dataBased Intelligence, Inc.
|
| Post Reply
|
|
|
|
|
|
|
|
|
|