[OGo-Developer] gsmake2 branch segmentation fault
Helge Hess
developer@opengroupware.org
Tue, 19 Feb 2008 22:48:45 +0100
On 19.02.2008, at 22:40, Will Hawkins wrote:
> When I compile gstep-base with the suggested [anObject class]
> instead of GSObjCClass(anObject) I get the following (interesting)
> debug info:
>
> Deallocated LSCompanyInfo (0xb52fad0) sent release
> Deallocated object (0x13b67c0) sent instanceMethodForSelector:
>
> The ui still segvs at the same spot, but that is interesting
> behavior. The selector is looking for the release method of each
> object in the release pool. Is it possible that the ogo/sope code is
> overwriting that method for one of those objects due to a bounds
> error? Or, are we inheriting from something that we assume provides
> a release method that actually doesn't? (The second seems less
> likely but would be easier to fix!).
Well, LSCompanyInfo is an EnterpriseObject (a GDL1 database object).
Or it might be an EOFault which fakes being an LSCompanyInfo.
In any case, GDL1 does 'interesting' stuff with caching and faulting
objects. Its not unlikely that the issue is hidden in there.
Greets,
Helge
--
Helge Hess
http://www.helgehess.eu/