Login  Register

Bug 540 - Mac Os X Instability - Crashes when disposing NEWT Window (.. and after Applet shutdown)

classic Classic list List threaded Threaded
3 messages Options Options
Embed post
Permalink
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Bug 540 - Mac Os X Instability - Crashes when disposing NEWT Window (.. and after Applet shutdown)

Sven Gothel
Administrator
2933 posts
Dear All,

I have summarised the instability (some crashed) on OS X so far:

  https://jogamp.org/bugzilla/show_bug.cgi?id=540

It would be great if another person could review the code as
described in the bug report.

Thank you in advance.

~Sven
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: Bug 540 - Mac Os X Instability - Crashes when disposing NEWT Window (.. and after Applet shutdown)

gouessej
Administrator
6044 posts
Do you know any good tutorial explaining how the windowing works on Mac OS X? Maybe the container releases its children itself, this is just a supposition.
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: Bug 540 - Mac Os X Instability - Crashes when disposing NEWT Window (.. and after Applet shutdown)

Sven Gothel
Administrator
2933 posts
On Wednesday, December 21, 2011 07:26:20 PM gouessej [via jogamp] wrote:
>
> Do you know any good tutorial explaining how the windowing works on Mac OS X?
Just the weakisch online docs from Apple and what you can google :)

In theory .. retain/release should work fine,
but in case of the CALayer we use, relying on release cause the actual release
of our NSGLLayer only at applet shutdown .. Just an example.

> Maybe the container releases its children itself, this is just a
> supposition.

It does, however, if none is in there .. :)

I will try this out ofc, ie leaving the view in at final destruction.
We still have related instabilities and need a proper review though.
Guess it needs a bit time to make it rock solid.

~Sven