-
-
Notifications
You must be signed in to change notification settings - Fork 263
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
context.h
exceptions should be documented and caught
#1727
Comments
context.h
exception should be documented and caugthcontext.h
exception should be documented and caught
context.h
exception should be documented and caughtcontext.h
exceptions should be documented and caught
Hi, i would like to work on this issue, if is still relevant |
It is! Do you know guidance ? |
No, I'm just starting to figure out the project, where can I get documentation? I thought it is a good issue to get started with |
It is! But I wrote it a bit fast, I can add more context |
Do you need any help moving forward @saneck2150 ? |
Hello, yes, I had problems with running the program, I asked tech support to help with solving it in your discord, but in the end nothing worked out. So I can't work with this project, sorry :( |
No worries @saneck2150 , thanks for the feedback. |
I would like to try to work on this issue. |
Sure! |
First of all, this comment took my attention from VTK Doxygen: vtkDynamicLoader provides a portable interface to loading dynamic libraries into a process. See also: The second, I wanted to clarify a scope of this task. I see there are |
Actually, not at all. The point of this task is to catch loading_exception and symbol_exception in the application in a proper way in order to handle erroring out cleanly. The catch all in main.cxx is a last resort and not suposed to be reachable. The modification should be in the application. eg in F3DStarter.cxx there are calls for
But in F3DStarter we never catch these exceptions. They should be cached, logged and handled properly. |
I have initial version of commit prepared, but I need to find out how to test last 3 exceptions. |
I made #2064 but will need to find a way to test all 4 exceptions |
Describe the bug
context.h
can throw exceptions, however they are not documented and not caugth, relying on main.cxx catch all to not segfault, this should be fixed.To Reproduce
Steps to reproduce the behavior:
ctest -R WGL
The text was updated successfully, but these errors were encountered: