[TIP] FYI -- workaround of glitch on fastest Intel macs

Ruslan Zasukhin sunshine at public.kherson.ua
Wed Jan 23 01:19:43 CST 2008


On 23/1/08 1:23 AM, "Charles Cohen" <rwc1717 at shaw.ca> wrote:

Hi Charles,

> In conclusion...I narrowed it down to the NOE happening between the
> creation of the cache and the creating/opening of the database.
> My app.open........loads as follows...
> 
> Valentina.Init(10*1024*1024,StrV,"")
> 
>    if Valentina.CacheSize = 0 then
>        quit
>    end if
> 
>    UpdateApp
> 
>    n = new Reachability
>    if n.CreateWithAddress(app.ip) then
>      b = s.NetworkCheckReachabilityByAddress(ip,f)
>       end if
> 
>    InDbName = "charts.vdb"
>    OpenOrCreate
> 
> By placing a msgbox at each step I was able to get it to work on all
> machines....then I began to remove them....and the failure happens
> after the "if Valentina.CacheSize = 0 then" (it does not quit the app
> at this point) but fails to create the database file. The app throws a
> general NOE error...only on the fastest Intel machines.
> 
> I fixed this not by using timing delays...but by writing to a
> textuotput stream...after each step as it launches. I close the stream
> at then end of the app.open method.........where the NOE was occurring.
> 
> Maybe this will help someone

Mystics :-)
I will direct this to Valentina list for archiving.

In few days I will get new Win box with CoreDuo2 Quadra, will see if this
can be reproduced there...although you say about mac intels ...


> Chuck
> 
> On 6-Jan-08, at 10:54 AM, Ruslan Zasukhin wrote:
> 
>> On 6/1/08 6:25 PM, "Charles Cohen" <rwc1717 at shaw.ca> wrote:
>> 
>>>> On 5-Jan-08, at 11:48 PM, Ruslan Zasukhin wrote:
>>>> Strange, because by idea
>>>> calls as synch. I.e. Write to disk must finish first, then only RB app can
>>>> get control back.
>>> 
>>> Michael...the gentleman who works in  a lab with a bunch of Intel
>>> machines...found it occurs only on the fastest of the Intel models.
>>> 
>>> I wrote a version which traced where the problem and found that the NOE
>>> occurred and their was no charts.vdb file created.....by delaying the app at
>>> this point...it worked on all his machines.
>>> 
>>> And It never fails on the PowerPCS.....on the Intel based machines
>>> 
>>> However, a user who has even a faster machine still gets the NOE ....so it
>>> may very well be happening even before the creation of the file...
>>> 
>> I see.
>> 
>> Well I also have see from OS X some strange effects linked with TIME. In
>> particular that was deletion of file and some delay with getting rights to do
>> this.
>> 
>> May be problem is that OS X somehow delay propagation of info to some sys
>> catalogs ...

-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]




More information about the Valentina mailing list