From: Eric B. <er...@go...> - 2008-03-01 21:32:47
|
Colin Paul Adams wrote: >>>>>> "Eric" == Eric Bezault <er...@go...> writes: > > Eric> Can you put some debug printing, as shown above, and > > Current = 1CDB9E0 > Class ID = 350 > Dispose = 7BE320 > > Line 1 > Segmentation fault YEEEEEEEESSSSSSSSSS! Got it! The difference between when it works and when it does not work is not the fact that you use ePosix or not, but the fact that you compile with the option "exception_trace" or not. If you remove the option "exception_trace" from your Xace file, gestalt should work without crashing. The signature of a function in exception trace mode is: void T350f12(GE_call* ac, T0* C) In non-trace mode it is: void T350f12(T0* C) Gec's mistake is to alway call the dispose routine with only one argument (the Current object being disposed), even in exception_trace mode. (FYI, exception_trace is only partially implement in gec, and does not work yet.) -- Eric Bezault mailto:er...@go... http://www.gobosoft.com |