[ImageJ-bugs] [Bug 854] Multithreading problem in javascript macro

bugzilla at fiji.sc bugzilla at fiji.sc
Wed Aug 20 05:47:55 CDT 2014


http://fiji.sc/bugzilla/show_bug.cgi?id=854

--- Comment #4 from Thomas Siegmund <thomas.siegmund at evotec.com> ---
Created attachment 204
  --> http://fiji.sc/bugzilla/attachment.cgi?id=204&action=edit
test script

Not what I would call a minimal test case, but I have at least tried to trim 
it down to something reasonable.

To reproduce the problem, please download a test image from Dropbox (60Mb tiff,
too big to attach here):

https://www.dropbox.com/s/8nvb42a0hum8rjg/test_image.tiff 

Put the image in an otherwise empty directory, run "multithreading-bug_ij.js".

The script will ask for the image directory and open results and log windows.
it will then analyze the image once single threaded and then twice
multithreaded. On my systems in multithreaded mode it will log the error from
line 296 usually several times:

 ERROR: number of nuclei != number of ROIS !!!!: test_image.tiff 109, nNuclei
0, nucleiRoisLength 1

The number and details of the errors will vary from run to run.

Multithreading can be switched off completely in line 66. In this mode I have
never seen a problem with the analysis.

Best

Thomas

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://imagej.net/pipermail/imagej-bugs/attachments/20140820/a8e9da4b/attachment-0001.html>


More information about the Imagej-bugs mailing list