Death on recreate Re: Sizes and checks
Ed Kleban
Ed at Kleban.com
Wed Dec 28 12:31:59 CST 2005
On 12/28/05 12:07 PM, "Ruslan Zasukhin" <sunshine at public.kherson.ua> wrote:
> On 12/28/05 7:52 PM, "Ed Kleban" <Ed at Kleban.com> wrote:
>
>> 5) I haven't tracked down the reason yet, but apparently when I already have
>> a copy of my program running that is actively using a valentina database of
>> a given name, running another program that attempts to create or open an
>> database of the same name simply dies. I'm assuming that it shouldn't do
>> that? What's the proper check to make for this condition?
>
> This should be investigated more deep.
>
> I think such issue exists only on OS X, because OS X do not have exclusive
> file open mode.
Failure occurs on the following line:
aProjDB.Create( f, dbMode , REALinsightApp.kValentinaSegmentSize )
where f is non-nil, read/write not locked, exists
dbMode = 1
segmentSize = 32 * 1024
No crash log, no report, no exception... just sudden death.
=====
Any suggestions of what checks, tests, etc I should/could perform?
I guess worst case I could keep a separate global file that all my apps
check to see which database files they have open for use.
More information about the Valentina
mailing list