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 212 - Freeze on assigning pre-processor scripts
Freeze on assigning pre-processor scripts
Status: RESOLVED FIXED
Product: Fiji
Classification: Unclassified
Component: TrakEM2
unspecified
PC Linux
: P2 blocker
Assigned To: Albert Cardona
Depends on:
Blocks:
 
Reported: 2010-08-10 10:33 CDT by Stephan Saalfeld
Modified: 2010-08-20 12:26 CDT
0 users

See Also:

Description Stephan Saalfeld 2010-08-10 10:33:23 CDT
Assigning a slow pre-processor script to a large number of patches (! please don't test on small datasets, it only happens after some time and, depending on the slowness of the preprocessor, after some tens of patches) freezes the TrakEM2 display and regeneration of mipmaps.  All existing mipmaps are displayed at the lowest most resolution.  I can interrupt the recreation of mipmaps/assign a pp-script procedure without effect to the display.  The only solution to work with TrakEM2 again, is to restart Fiji.

Test with this preprocessor saved as `pp.bsh' into the project path:

mpicbg.ij.CLAHE.run( imp, 255, 256, 2, null );
Comment 1 Stephan Saalfeld 2010-08-12 22:29:57 CDT
Update, it does not need to be a slow script.  Assigning preprocessor scripts in general triggers the display to flicker low scale images and stop regeneration of mipmaps after some time of mipmap regeneration.

Use the updated example for faster reproduction of the bug:

mpicbg.ij.clahe.FastFlat.run( imp, 383, 256, 2, null );
Comment 2 Stephan Saalfeld 2010-08-13 09:26:50 CDT
Update, it is not required to regenerate mipmaps.  I tried to align a project with the shown pre-processor attached to the images (after piecewise mipmap-regeneration, freezing and crashing!!!), and the montage works for a while until the same freeze happens.  That is, it is somehow related to generating the original image using a pre-processor.  
Comment 3 Albert Cardona 2010-08-19 19:02:43 CDT
There is a fix in master branch, soon to be released.
Comment 4 Stephan Saalfeld 2010-08-20 12:26:26 CDT
Works for me---thanks a lot!