-
Notifications
You must be signed in to change notification settings - Fork 16
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
Log a critical instead of an assert if we cannot find the block to so… #922
Conversation
I'm not sure what we should do, how can we end the program there? |
…lved Otherwise it only segmentation fault in Release
Logfiles from GitLab pipeline #72530 (:white_check_mark:) have been uploaded here! Status and direct links: |
Codecov Report
@@ Coverage Diff @@
## master #922 +/- ##
==========================================
- Coverage 61.46% 61.46% -0.01%
==========================================
Files 194 194
Lines 28457 28458 +1
==========================================
Hits 17492 17492
- Misses 10965 10966 +1
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
Logfiles from GitLab pipeline #72621 (:white_check_mark:) have been uploaded here! Status and direct links: |
I was thinking that maybe based on Exceptions versus assertions an assertion fits here? |
that's true but |
@iomaganaris the problem of assert is that it is not executed with Release build. As this assertion is about conformance of mod files, it needs to be run all the time, as we cannot more trust the user input in Release that in Debug. I was running nmodl and i got a segfault without explanation on a buggy modfile. |
…lved
Otherwise it only segmentation fault in Release