aardvark.base icon indicating copy to clipboard operation
aardvark.base copied to clipboard

Introspection runs into endless exception reporting

Open haraldsteinlechner opened this issue 3 years ago • 2 comments
trafficstars

in, pro3d, not all packages are up to date and i missed quite some development there, introspection runs into an endless exception reporting loop. Is this something somebody stumbled across already? it looks like this: image

this might go forever... (could not wait for infinity yet to know ;))

haraldsteinlechner avatar Aug 24 '22 19:08 haraldsteinlechner

nope, not goes forever but for several minutes. it seems to happen within custom pickler registration. image https://github.com/pro3d-space/PRo3D/issues/228

PRo3D, autodeploy branch can be used to reproduce the problem.

EDIT: also i just found out that for this specific run i got complete crash within aardvark.init (which should not happen at all) image

haraldsteinlechner avatar Aug 24 '22 19:08 haraldsteinlechner

so in the end, adaptify seems to silently require f# 6.0 at runtime, and our introspection code is not robust to problems like this by printing thousands of errors till it finally crashes. I think proper exception handling could be integrated easily. finding out where all those prints come from is bonus.

haraldsteinlechner avatar Aug 24 '22 21:08 haraldsteinlechner