problem with RT 5.8-3065

When I started the latest dev building of the Windows version of RT 5.8-3065 Skylake this warning popped up:
image

…and then RT shut down.

Same with RawTherapee_dev_5.8-3065-g9c5ce0d9b_W64_generic_220108

same with RawTherapee_dev_5.8-3065-g9c5ce0d9b_W64_Skylake_220108

@fasteddie you may try ALT+Prt for a screenshot only of the error message, no cut out necessary :slight_smile:

1 Like

On Windows you can just use CTRL-c to get the text from a messagebox :wink:

Same here with 3065-g9c5ce0d9b_W64_znver2_220108:

rawtherapee.exe - Entry Point Not Found

The procedure entry point _ZSt28__throw_bad_array_new_lengthv could not be located in the dynamic link library C:\Program Files\RawTherapee\dev_5.8-3065-g9c5ce0d9b_W64_znver2_220108\libLerc.dll.

OK

@heckflosse youre right for text, but i cannot reproduce a sreenshot of a single window by this.

After several tries, i made dev_5.8-3065-g9c5ce0d9b_W64_Skylake_220108 run, but it shut down by clicking any folder of the favorites again . Same as 3064…

It is most interesting that even the generic build shows an error. @gaaned92 are things working on your end?

“throw” meaning it is sending off an error… about resizing a declared array. Some compilers allow this and some do not. It could be trying to locate that symbol as a debugging hint, but the library didn’t have it handy. That’s my guess anyway. @heckflosse has fixed array resizing codes for me in the past, since I use clang, which is fatal on array resizing / undimentioned array declarations. A backtrace would be very useful. Or bifurcate the git tree.

Same general error on my win10 21H2 computer

Capture

So, building on my own machine yields no problems when starting RT. So I guess this is packaging problem for this particular version, maybe because of a dll mismatch.

I copied the liblerc.dll file from an older version of RT into the new version, and now it works fine. Don’t know if this will cause any problems though.

Thank you both, I had forgotten about this.

1 Like

Yup!

There is a problem after updating MSYS2.
As I don’t know what is the offending package as there were a lot of updates ( perhaps lerc itself), in the mean time I copy back the 3064 version.
I have the same issue with building ART.
Sorry for inconvenience and thanks for warning.

I will try to downgrade lerc. Thanks

Surely

Done: I downgraded lerc to previous version.
I rebuilt last RT version. Should be OK.
Anybody knows where to open a bug report upstream?

Have you tried updating libtiff before downgrading lerc? The two go together…

1 Like

Thanks, everything is fine now.

@gaaned92 thanks for the rebuild.

This new build is starting fine now, but on my 3 different machines it again produces a sudden shutdown, when clicking any folder on the explorer tab.
I wonder, what’s different to the Editor of RawTherapee_dev_5.8-3049-gd053f0245_W64_Skylake_210919, which i am still using without any problems.

Thanks, but libtiff is at the last version available in MSYS2

since msys2 builds the lib, you can raise a flag here https://github.com/msys2/MINGW-packages/issues/new?title=[lerc]

lerc itself is notoriously bug free…
LERC https://github.com/Esri/lerc/issues/new/choose

libTiff supports lerc, optionally
TIFF Tiff Info Page