Program exits with signal 11 (SIGSEGV).

Ruslan Zasukhin sunshine at public.kherson.ua
Tue Jul 22 01:31:25 CDT 2003


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

Hi Mathew,

> Ruslan,
> 
> Signal 11 (SIGSEGV) is a segment violation (or so the pages I read say).
> 
> SIGSEGV can have two reasons I think
> 
> SEGV_MAPERR address not mapped to object
> SEGV_ACCERR invalid permissions for mapped object
> 
> I got the debugger working (using Totte's suggestion about copying the
> framework)
> and the SIGSEGV actually occurs within the method at this point
> 
>  delete _databaseDefinition;
> 
> The full method is
> - (void)dealloc
> {
>    [self close];
>    delete _databaseDefinition; // <-- SIGSEGV occurs here
> 
>    [super dealloc];
> }

What is  _databaseDefinition
-- is it your class ?


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.


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