Skip to content

[cling] Remove unneed assert() in DynamicLookup.cpp#9245

Merged
jalopezg-git merged 1 commit intoroot-project:masterfrom
jalopezg-git:fix-issue-8389
Nov 4, 2021
Merged

[cling] Remove unneed assert() in DynamicLookup.cpp#9245
jalopezg-git merged 1 commit intoroot-project:masterfrom
jalopezg-git:fix-issue-8389

Conversation

@jalopezg-git
Copy link
Copy Markdown
Contributor

@jalopezg-git jalopezg-git commented Nov 4, 2021

The case of ExprAddresses == nullptr seems to be naturally handled in the lines below this assertion, which suggests that it is okay if the asserted predicate does not hold.

Therefore, removing this assertion -as discussed with @vgvassilev in the linked issue- see here.

Changes or fixes:

  • Remove unneded assert(), as discussed above.

Checklist:

  • tested changes locally

This PR fixes #8389.

The case of `ExprAddresses == nullptr` seems to be naturally handled in the
lines below. Therefore, removing this assertion -as discussed with vvassilev.

Closes issue root-project#8389.
@phsft-bot
Copy link
Copy Markdown

Starting build on ROOT-debian10-i386/cxx14, ROOT-performance-centos8-multicore/default, ROOT-ubuntu16/nortcxxmod, ROOT-ubuntu2004/soversion, mac1014/python3, mac11.0/cxx17, windows10/cxx14
How to customize builds

@phsft-bot
Copy link
Copy Markdown

Build failed on ROOT-ubuntu16/nortcxxmod.
Running on sft-ubuntu-1604-2.cern.ch:/build/workspace/root-pullrequests-build
See console output.

Failing tests:

@phsft-bot
Copy link
Copy Markdown

Build failed on mac11.0/cxx17.
Running on macphsft23.dyndns.cern.ch:/Users/sftnight/build/workspace/root-pullrequests-build
See console output.

Failing tests:

@jalopezg-git
Copy link
Copy Markdown
Contributor Author

Failing tests:

* [projectroot.tree.dataframe.test.gtest_tree_dataframe_test_dataframe_definepersample](https://lcgapp-services.cern.ch/root-jenkins/job/root-pullrequests-build/129185/testReport/projectroot.tree.dataframe/test/gtest_tree_dataframe_test_dataframe_definepersample/)

* [projectroot.tree.dataframe.test.gtest_tree_dataframe_test_dataframe_samplecallback](https://lcgapp-services.cern.ch/root-jenkins/job/root-pullrequests-build/129185/testReport/projectroot.tree.dataframe/test/gtest_tree_dataframe_test_dataframe_samplecallback/)

These failures are (obviously) unrelated.

Copy link
Copy Markdown
Member

@vgvassilev vgvassilev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@jalopezg-git jalopezg-git merged commit 504b9dc into root-project:master Nov 4, 2021
@jalopezg-git jalopezg-git deleted the fix-issue-8389 branch November 4, 2021 18:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

cling assertion crash

3 participants