ImageJ crashes regularly on MacOSX

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

ImageJ crashes regularly on MacOSX

Andreas
Hi,

I am using ImageJ very often to import images sequences into a stack and
since quite some time it is now crashing regularly on my Macbook Pro
running MacOSX 10.7.5. I have this issue already for years (!!!) and it
is slowly driving me crazy ... I am running Java 7 Update 21. I would be
happy about any ideas on how to get rid of these frequent crashes.
Thanks,
Andreas

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: ImageJ crashes regularly on MacOSX

Michael Schmid
Hi Andreas,

last year I had similar problems with Java 1.6.0_31 (OS X 10.6). I had the impression that it eventually became better with a newer Java release or operating system update.

You should be able to locate the crash logs, at that time they were in the user's Library file, at ~/Library/Logs/DiagnosticReports/JavaApplicationStub_...

From looking at the logs, I had the impression that these crashes were caused by the interface between Java AWT and the operating system, typically it was EXC_BAD_ACCESS (SIGSEGV), Bus Error, in an address belonging to /usr/lib/libobjc.A.dylib. The crashing thread was JavaThread "AWT-AppKit" daemon [_thread_in_native].

These crashes tend to be unreproducible, so I fear it won't help to file a bug report (which should contain simple code that provides a 'small crashing example').

Your problem may be different, however.

I guess that the only thing a user can do about it is upgrading java and OS X - if it does not help, maybe downgrading java to a previous version might help (no idea whether Java 1.6 can be made to run on OS X 10.7.
When downgrading, mind the Java security holes discovered recently, make sure that Web browsers don't use Java.

If this does not help, you have to hope for a new java or OS-X update to solve it...

In principle, you may also try a different Java virtual machine - if someone knows one that works well on OS X, this would be of general interest!

Michael
________________________________________________________________
On May 22, 2013, at 22:33, Andreas wrote:

> Hi,
>
> I am using ImageJ very often to import images sequences into a stack and since quite some time it is now crashing regularly on my Macbook Pro running MacOSX 10.7.5. I have this issue already for years (!!!) and it is slowly driving me crazy ... I am running Java 7 Update 21. I would be happy about any ideas on how to get rid of these frequent crashes.
> Thanks,
> Andreas

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: ImageJ crashes regularly on MacOSX

ctrueden
Hi Michael, Andreas & everyone,

> no idea whether Java 1.6 can be made to run on OS X 10.7

You can reinstall Java 6 on OS X. See e.g.:
  http://stackoverflow.com/questions/13653597

You can verify which Javas are installed using this script:
  https://github.com/ctrueden/ctr-scripts/blob/master/java-info

> I am running Java 7 Update 21. I would be happy about any ideas on how
> to get rid of these frequent crashes.

If you have Java 6 installed, Fiji uses it by default over Java 7 due to
these stability issues.

Regards,
Curtis


On Tue, Jun 4, 2013 at 1:15 PM, Michael Schmid <[hidden email]>wrote:

> Hi Andreas,
>
> last year I had similar problems with Java 1.6.0_31 (OS X 10.6). I had the
> impression that it eventually became better with a newer Java release or
> operating system update.
>
> You should be able to locate the crash logs, at that time they were in the
> user's Library file, at
> ~/Library/Logs/DiagnosticReports/JavaApplicationStub_...
>
> From looking at the logs, I had the impression that these crashes were
> caused by the interface between Java AWT and the operating system,
> typically it was EXC_BAD_ACCESS (SIGSEGV), Bus Error, in an address
> belonging to /usr/lib/libobjc.A.dylib. The crashing thread was JavaThread
> "AWT-AppKit" daemon [_thread_in_native].
>
> These crashes tend to be unreproducible, so I fear it won't help to file a
> bug report (which should contain simple code that provides a 'small
> crashing example').
>
> Your problem may be different, however.
>
> I guess that the only thing a user can do about it is upgrading java and
> OS X - if it does not help, maybe downgrading java to a previous version
> might help (no idea whether Java 1.6 can be made to run on OS X 10.7.
> When downgrading, mind the Java security holes discovered recently, make
> sure that Web browsers don't use Java.
>
> If this does not help, you have to hope for a new java or OS-X update to
> solve it...
>
> In principle, you may also try a different Java virtual machine - if
> someone knows one that works well on OS X, this would be of general
> interest!
>
> Michael
> ________________________________________________________________
> On May 22, 2013, at 22:33, Andreas wrote:
>
> > Hi,
> >
> > I am using ImageJ very often to import images sequences into a stack and
> since quite some time it is now crashing regularly on my Macbook Pro
> running MacOSX 10.7.5. I have this issue already for years (!!!) and it is
> slowly driving me crazy ... I am running Java 7 Update 21. I would be happy
> about any ideas on how to get rid of these frequent crashes.
> > Thanks,
> > Andreas
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html