Issue with IdePix cloud shadow detection

Hello everyone,
I’m facing a major issue with IdePix plugin for Sentinel 2 MSI. When I try to run it with the cloud shadow computation turned on, the GUI freezes completely, impeding any interaction, included the possibility to close the plugin window or the whole snap. When it happens I have to force kill the whole snap process or I can’t do anything on the machine, since it overloads the CPU. The problem occurs only when cloud shadow computation is turned on (either with all the other options on or with just some of them on), while it works correctly with any other combination of features to compute.
The message that appears on the terminal when the program freezes is:

2020-11-24 14:27:47.574 java[22390:986663] *** Assertion failure in -[AWTWindow_Normal _changeJustMain], NSWindow.m:13169

I tried to run it on both a MacOS and on Linux manjaro, the same issue occurs on both OS.
How can I deal with this problem?
Please let me know if there’s any further information I could provide that could be useful to understand where the problem lays.
Thank you in advance for the help

Does openJDK bug report JDK-8211304 from 2018 (with duplicates) look like your issue?

Does your Linux manjaro use X.org or Wayland graphics?

Your terminal message references NSWindow.m which is an Apple file. It might help to see the full linux error.

Dear @gnwiii, thank you for answering.
Q1: I’d say no, but I have to say that I do not have the knowledge to assert that. I’m going to redo the whole procedure and paste the whole content of the shell below here, hoping that a more expert eye can find some useful information.
Q2: the graphics are X11 on both the linux machines that I tried.
Q3: unluckily the linux terminal doesn’t show any message of any kind. No error is returned, no signal or anything: it just freezes. It doesn’t allow to cancel the run, not either to close the app from the gui. I haven’t found a way to run the snap in verbose mode, if there’s any. If you know a way for it to be done, I’ll try it and paste the linux terminal here too.

Mac terminal:
when I launch snap:

(base) *@MacBook-Air-di- bin % ./snap
2020-11-25 09:45:46.036 java[27717:1195936] *** WARNING: Textured window <AWTWindow_Normal: 0x7fde1c1d2930> is getting an implicitly transparent titlebar. This will break when linking against newer SDKs. Use NSWindow’s -titlebarAppearsTransparent=YES instead.
objc[27717]: Class MyCALayer is implemented in both /private/var/folders/70/byzrfrj9403cpmfz3lp34k2c0000gn/T/jogamp_0000/file_cache/jln6447163249691590294/jln6464353321025677209/libnativewindow_macosx.jnilib (0x157d22730) and /private/var/folders/70/byzrfrj9403cpmfz3lp34k2c0000gn/T/jogamp_0000/file_cache/jln6447163249691590294/jln1563447451586519961/libnativewindow_macosx.jnilib (0x157e88730). One of the two will be used. Which one is undefined.
objc[27717]: Class MainRunnable is implemented in both /private/var/folders/70/byzrfrj9403cpmfz3lp34k2c0000gn/T/jogamp_0000/file_cache/jln6447163249691590294/jln6464353321025677209/libnativewindow_macosx.jnilib (0x157d22780) and /private/var/folders/70/byzrfrj9403cpmfz3lp34k2c0000gn/T/jogamp_0000/file_cache/jln6447163249691590294/jln1563447451586519961/libnativewindow_macosx.jnilib (0x157e88780). One of the two will be used. Which one is undefined.
objc[27717]: Class ContextUpdater is implemented in both /private/var/folders/70/byzrfrj9403cpmfz3lp34k2c0000gn/T/jogamp_0000/file_cache/jln6447163249691590294/jln6464353321025677209/libjogl_desktop.jnilib (0x159d8e0c8) and /private/var/folders/70/byzrfrj9403cpmfz3lp34k2c0000gn/T/jogamp_0000/file_cache/jln6447163249691590294/jln1563447451586519961/libjogl_desktop.jnilib (0x159e530c8). One of the two will be used. Which one is undefined.
objc[27717]: Class MyNSOpenGLContext is implemented in both /private/var/folders/70/byzrfrj9403cpmfz3lp34k2c0000gn/T/jogamp_0000/file_cache/jln6447163249691590294/jln6464353321025677209/libjogl_desktop.jnilib (0x159d8e118) and /private/var/folders/70/byzrfrj9403cpmfz3lp34k2c0000gn/T/jogamp_0000/file_cache/jln6447163249691590294/jln1563447451586519961/libjogl_desktop.jnilib (0x159e53118). One of the two will be used. Which one is undefined.
objc[27717]: Class MyNSOpenGLLayer is implemented in both /private/var/folders/70/byzrfrj9403cpmfz3lp34k2c0000gn/T/jogamp_0000/file_cache/jln6447163249691590294/jln6464353321025677209/libjogl_desktop.jnilib (0x159d8e168) and /private/var/folders/70/byzrfrj9403cpmfz3lp34k2c0000gn/T/jogamp_0000/file_cache/jln6447163249691590294/jln1563447451586519961/libjogl_desktop.jnilib (0x159e53168). One of the two will be used. Which one is undefined.
2020-11-25 09:45:50.703 java[27717:1196154] WARNING: NSWindow drag regions should only be invalidated on the Main Thread! This will throw an exception in the future. Called from (
0 AppKit 0x00007fff22c5799c -[NSWindow(NSWindow_Theme) _postWindowNeedsToResetDragMarginsUnlessPostingDisabled] + 352
1 AppKit 0x00007fff22c426d5 -[NSWindow _initContent:styleMask:backing:defer:contentView:] + 1375
2 AppKit 0x00007fff22c4216f -[NSWindow initWithContentRect:styleMask:backing:defer:] + 42
3 libnativewindow_macosx.jnilib 0x0000000157d1e6be Java_jogamp_nativewindow_macosx_OSXUtil_CreateNSWindow0 + 382
4 ??? 0x0000000109d67507 0x0 + 4460016903
)

when I run IdePix

CoreSVG has logged an error. Set environment variabe “CORESVG_VERBOSE” to learn more.

2020-11-25 09:56:30.628 java[27717:1195936] *** Assertion failure in -[AWTWindow_Normal _changeJustMain], NSWindow.m:13169

2020-11-25 09:56:30.666 java[27717:1195936] *** Assertion failure in -[AWTWindow_Normal _changeJustMain], NSWindow.m:13169

2020-11-25 09:56:30.715 java[27717:1195936] *** Assertion failure in -[AWTWindow_Normal _changeJustMain], NSWindow.m:13169

2020-11-25 09:56:30.727 java[27717:1195936] *** Assertion failure in -[AWTWindow_Normal _changeJustMain], NSWindow.m:13169

2020-11-25 09:56:30.778 java[27717:1195936] *** Assertion failure in -[AWTWindow_Normal _changeJustMain], NSWindow.m:13169

2020-11-25 09:56:30.782 java[27717:1195936] *** Assertion failure in -[AWTWindow_Normal _changeJustMain], NSWindow.m:13169

2020-11-25 09:56:30.841 java[27717:1195936] *** Assertion failure in -[AWTWindow_Normal _changeJustMain], NSWindow.m:13169

2020-11-25 09:56:30.845 java[27717:1195936] *** Assertion failure in -[AWTWindow_Normal _changeJustMain], NSWindow.m:13169

2020-11-25 09:56:31.074 java[27717:1195936] *** Assertion failure in -[AWTWindow_Normal _changeJustMain], NSWindow.m:13169

2020-11-25 09:56:31.077 java[27717:1195936] *** Assertion failure in -[AWTWindow_Normal _changeJustMain], NSWindow.m:13169

2020-11-25 09:56:31.814 java[27717:1195936] *** Assertion failure in -[AWTWindow_Normal _changeJustMain], NSWindow.m:13169

2020-11-25 09:56:31.823 java[27717:1195936] *** Assertion failure in -[AWTWindow_Normal _changeJustMain], NSWindow.m:13169

2020-11-25 09:56:31.860 java[27717:1195936] *** Assertion failure in -[AWTWindow_Normal _changeJustMain], NSWindow.m:13169

2020-11-25 09:56:31.865 java[27717:1195936] *** Assertion failure in -[AWTWindow_Normal _changeJustMain], NSWindow.m:13169

That IdePix hangs if cloud shadow detection is enabled is a known issue (IdePix MSI hangs if Cloud Shadow computation is enabled · Issue #25) and has been fixed already on the development branch. The fix will be included in the next update of IdePix. But I can’t give you a specific schedule right now.

1 Like

Thank you very much. I’ll wait for next update.
Best regards

An update has just been released. It should not hang anymore:

Many thanks for informing me. I’ll try it and will confirm wether the issue doesn’t occur anymore.
Best regards

How to install this, please?

Menu > Help > Check For Updates

How can I install this sir?