Program exits with signal 11 (SIGSEGV).

Ruslan Zasukhin sunshine at public.kherson.ua
Tue Jul 22 03:02:57 CDT 2003


on 7/22/03 1:43, Matthew Jew at mjew at icnc.com wrote:

Hi Matthew,

>> Check next points:
>> 
>> 1) if you use cursors then kill all cursors before you close db.
>> 
>> 2) if you close db you do this before ValentinaShutdown call.
> 
> Yes, #2 was the problem.
> 
> In the Cocoa Demo code, it actually does the ValentinaShutdown
> inside the [self close] method BEFORE deleting the databasedefinition.
> 
> I reversed the order of the lines of code and it works properly now.
> 
> Thank you very much!

Excellent.

> Did you say someone had a more up-to-date Cocoa Demo?

No, we have only 2 examples for Cocoa for now.
As I understand I have send you both.

Please send me back corrected example.

-- 
Best regards,
Ruslan Zasukhin      [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com

To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------



More information about the Valentina mailing list