NOTICE! This is a static HTML version of a legacy Fiji BugZilla bug.

The Fiji project now uses GitHub Issues for issue tracking.

Please file all new issues there.

Bug 129 - Fiji crashes when using File>Import Image Sequence
Fiji crashes when using File>Import Image Sequence
Status: RESOLVED WONTFIX
Product: Fiji
Classification: Unclassified
Component: ImageJ1
unspecified
Macintosh Mac OS
: P2 normal
Assigned To: ImageJ Bugs Mailing List
Depends on:
Blocks:
 
Reported: 2010-01-14 21:51 CST by Christophe Leterrier
Modified: 2011-04-23 10:13 CDT
1 user (show)

See Also:

Description Christophe Leterrier 2010-01-14 21:51:24 CST
Fiji is crashing when working with image sequence, either importing an image sequence as a stack or saving a stack as an image sequence.

Typical exemple :
The crash occur when doing "File>Import Image Sequence" on a folder
with 226 512x512 images
Here is the link to the crash log :
http://ftp.espci.fr/incoming/christo/IJ/IJCrash_ImageSequence_log.txt
Fiji, IJ 1.43n // Java 1.6.0_17 // OSX 10.5.8

Maybe this is related to a "race condition" in OSX Java as suggested by
Wayne for the "Tile Windows" command crash (Bug #126). Any workaround would be critical because abrupt software crash is not acceptable using a fairly basic ImageJ command.
Comment 1 Albert Cardona 2010-01-15 11:29:47 CST
I have observed a similar behaviour:

- create a new image
- push 'l' to launch the command launcher
- type "png..."

When the file saver dialog tries to open ,the JVM crashes.

This happens in a linux-amd64 machine, but not in all such machines.
Comment 2 Christophe Leterrier 2010-01-15 11:45:44 CST
(In reply to comment #1)

I don't think it's the same issue, as the Image Sequence crash usually crashes in the "SliceSelector" java thread, which is not used in your case, right ? Furtehrmore, the Image Sequence issue only concerns OSX machines AFAIK.
Comment 3 Johannes Schindelin 2010-02-03 17:21:07 CST
Is it possible that this is the same issue as http://pacific.mpi-cbg.de/cgi-bin/bugzilla/﷒0﷓ and http://pacific.mpi-cbg.de/cgi-bin/bugzilla/﷒1﷓ i.e. a MacOSX-specific bug that shows a race condition in the AWT component?
Comment 4 Christophe Leterrier 2010-02-03 17:37:44 CST
(In reply to comment #3)
> Is it possible that this is the same issue as
> http://pacific.mpi-cbg.de/cgi-bin/bugzilla/﷒0﷓ and
> http://pacific.mpi-cbg.de/cgi-bin/bugzilla/﷒1﷓ i.e. a
> MacOSX-specific bug that shows a race condition in the AWT component?
> 

I think so, although I don"t know what the "AWT component" is. I experienced the three types of crashes and they look the same : freeze, beachball for a few seconds and sudden crash. From the logs I suspect something with the "SliceSelector" thread, and Wayne told once that the Tiled Windows bug is most likely related to a race condition (http://groups.google.com/group/fiji-devel/browse_thread/thread/86eac8348c14d56e/43179d6414ae199c).
Comment 5 Christophe Leterrier 2011-01-13 09:41:22 CST
This bug is still the #1 annoyance when I use IJ or Fiji. Doesn't happen everyday but when it happens it tends to repeat until I log off and log on again on my machine, and even after that it still very likely to reappear. Is there some kind of temp files or plist I can reset to make it disappear for a longer time ?

Thanks
Comment 6 Johannes Schindelin 2011-03-23 14:37:02 CDT
Could you please try to set apple.laf.useScreenMenuBar to false? It should be possible to do that by launching

/path/to/Fiji.app/Contents/MacOS/fiji-tiger -Dapple.laf.useScreenMenuBar=false --

It has been mentioned in one thread found by Google as preventing the problem. As I do not have a setup where I can reproduce, I am relying on you to test things until we know what the problem is and can attempt a fix.
Comment 7 Johannes Schindelin 2011-04-23 10:13:37 CDT
Silence is beautiful.