Image.load hangs on dwg file

Hi,
I’m using a licensed CAD library (version 22.7) and loading some dwg file with Image.load, program hangs indefinitely (3+days) using a 100% cpu core.
Latest version 23.8 hangs too.
Using interruptionToken does not resolve the problem, thread does not terminate if you request source.interrupt()
a989b058617744d294eccd1e541351c1.zip (1.7 MB)

I attach an involved file but shortly I’ll obtain 20+ files with the same problem.
Thank you for support.

@EGIT
Hello.
Thank you for the details, we can confirm this issue and have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): CADJAVA-11409

Hi,
I finished the internal tests and no other files hang like the provided sample.
Thank you

@EGIT,
thank you for the details, we were able to identify the reason of hanging and it relates to the specific of reading R14 format.

I also encountered this problem in the latest Java version

@xhhhhhh,
let us investigate the problem and fix it. I will update this thread as the reason could be completely different than for the file in current thread.

thank you. Is there any way to externally stop loading DWG?

@xhhhhhh,
I’m afraid we don’t have API ready to work for this problem, but let us check this and verify additionally. We have created CADJAVA-12036 to process this request.