Valentina 2 Crash -- reported to Mantis, #1836

Ruslan Zasukhin sunshine at public.kherson.ua
Sun Sep 17 12:28:25 CDT 2006


On 9/17/06 12:11 PM, "Beatrix Willius" <bwillius at gmx.de> wrote:

> Am 16.09.2006 um 23:40 schrieb Ruslan Zasukhin
> <sunshine at public.kherson.ua>:
> 
>> Again, please report this issue into Mantis:
>> 
>>     "Crash if do some select to db without tables"
> 
> Done. It's 1836. It was a little bit more complicated. I created a
> reference in one class and passed this to a second class. The first
> class closed and nilled the reference to the database.

> Then I created  a cursor in the second class and checked for nil.

Ivan, 

I think the db.SqlSelect() on CLOSED db should simply produce error.
SqlExecute() the same...

> The nil checking crashed the application.

We can try protect from this crash also if possible..

-- 
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