Skip to content
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

Don't look at base classes of STL containers #2798

Merged
merged 1 commit into from Mar 10, 2014

Conversation

wmtan
Copy link
Contributor

@wmtan wmtan commented Mar 10, 2014

This is a fix for a segfault that is now causing many relvals in the ROOT6 IB to fail.
The conditions code searches for base classes of each class that is used in conditions, and attempts to construct a TypeWithDict from the base class. However, if the class in question is an instance of an STL container, the base classes, if any, do not have dictionaries, and a segfault results due to a null pointer dereference.
This pull request simply suppresses the search for base classes of STL containers. This search was unnecessary anyway, since ROOT understands STL containers.

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @wmtan for CMSSW_7_1_ROOT6_X.

Don't look at base classes of STL containers

It involves the following packages:

CondCore/ORA

@ggovi, @cmsbuild, @apfeiffer1, @Degano, @nclopezo can you please review it and eventually sign? Thanks.
@ghellwig this is something you requested to watch as well.
You can sign-off by replying to this message having '+1' in the first line of your reply.
You can reject by replying to this message having '-1' in the first line of your reply.

davidlt added a commit that referenced this pull request Mar 10, 2014
Don't look at base classes of STL containers
@davidlt davidlt merged commit 51b9fcb into cms-sw:CMSSW_7_1_ROOT6_X Mar 10, 2014
@wmtan wmtan deleted the FixVectorBaseIssues branch March 11, 2014 19:55
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.

None yet

3 participants