Crashes in Java_sun_lwawt_macosx_LWCToolkit_stopAWTRunLoop (called with NULL argument)

Hendrik Schreiber hs at tagtraum.com
Tue Sep 2 08:51:41 UTC 2014


On Sep 2, 2014, at 10:45, Michael Hall <mik3hall at gmail.com> wrote:

> On Sep 2, 2014, at 3:29 AM, Hendrik Schreiber <hs at tagtraum.com> wrote:
> 
>> Yes, indeed. But logic in other placed would not necessarily work as intended.
> 
> I can think of no side effects on that one. All you're doing is avoiding the crash by avoiding the CFRelease on nil. If keeping the code running has side effects they would have to be from the original bug that you get to the code somehow where the value ends up nil.

Exactly.
I'm looking for the "real fix", not just for the fix of the symptom (that nil value we call release on).
The calling code is obviously buggy, but in a non-trivial way.

-hendrik


More information about the macosx-port-dev mailing list