[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Problem with illegal instruction ...
From: |
Nicola Pero |
Subject: |
RE: Problem with illegal instruction ... |
Date: |
Fri, 9 Feb 2001 18:14:00 +0000 (GMT) |
> One difference that Solaris has is that you cannot assign 0 to a structure,
> so something like
>
> NSRect rect = [someNilObject rectValue];
>
> where someNIlObject == nil, will cause a crash. I try to keep those out of
> the code, but they tend to creep back in when I'm not looking.
Thanks Adam for the suggestion - NSTableView noteNumberOfRowsChanged did
contain that code; I changed the code to avoid that construct on CVS.
Hope this will fix the problem.
> I try to compile and test gstep-core on Solaris 2.8 / sparc platform. When I
> run GSTest application and select 'NSTableView' item from 'Tests' submenu I
> have got error:
>
>
> Program received signal SIGILL, Illegal instruction.
>
> 0xff20d988 in _i_NSTableView__noteNumberOfRowsChanged ()
>
> from
> /usr/local/GNUstep/System/Libraries/sparc/solaris2.8/gnu-gnu-gnu-xgps/libgnustep-gui.so.0