Dear ImageJ-Team,
I am developing a plugin for icy which uses the skeletonization function from ij. After updating to the newest version of imagej 1.49b from a rather old version (1.47h, included in a former version of icy), a compilation error is raised when I execute my plugin from eclipse and the application crashes with the report message below(extract from apple failure report). Interestingly the problem does not occur if my plugin is exported and launched directly from icy.
With the help of the icy team I managed to suppress the error by adding an exclude line to the VM parameters for the code in question (ij.process.ByteBlitter.copyBits).
I tracked back the last modifications to the ByteBlitter class on imagej github (
https://github.com/imagej/imagej1/commit/aea63fcb6e0de9cc5173e79fab61760bfcbafb77#diff-92a058747c2bcdda34cbb3097dacc38cL169) and indeed the connected version 1.47r is the first that raises the compilation error for me.
Do you have any idea of what could be going on? Hope this information helps.
All the best,
Davide
################################ Problem report for icy.main.Icy (header)
Process: java [5302]
Path: /usr/bin/java
Identifier: com.apple.javajdk16.cmd
Version: 1.0 (1.0)
Code Type: X86-64 (Native)
Parent Process: eclipse [3411]
User ID: 502
Date/Time: 2014-06-06 09:54:11.916 +0200
OS Version: Mac OS X 10.8.5 (12F45)
Report Version: 10
Interval Since Last Report: 733676 sec
Crashes Since Last Report: 69
Per-App Interval Since Last Report: 1277478 sec
Per-App Crashes Since Last Report: 24
Anonymous UUID: E9111700-0EFB-A362-40E6-1A5CFE8D8758
Crashed Thread: 25 Java: C2 CompilerThread1
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000028
VM Regions Near 0x28:
-->
__TEXT 000000010e7e9000-000000010e7f1000 [ 32K] r-x/rwx SM=COW /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java
Application Specific Information:
Java information:
Exception type: Bus Error (0xa) at pc=10e93b7b8
Java VM: Java HotSpot(TM) 64-Bit Server VM (20.65-b04-462 mixed mode macosx-amd64)
Current thread (7f928b000800): JavaThread "C2 CompilerThread1" daemon [_thread_in_native, id=431149056, stack(119a2d000,119b2d000)]
Stack: [119a2d000,119b2d000]
Current CompileTask:
C2: 18528 39% ij.process.ByteBlitter.copyBits(Lij/process/ImageProcessor;III)V @ 367 (1316 bytes)
--
Davide Heller, PhD candidate
Basler & von Mering laboratories
Institute of Molecular Life Sciences, UZH
Winterthurerstrasse 190
8057 Zürich, Switzerland
Office: Y55-L-48
Tel: +41 44 635 31 24
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html