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

Fix xerces xmlparser issue in aarch64 unique_ptr related sigsegv #20742

Merged

Conversation

mrodozov
Copy link
Contributor

@mrodozov mrodozov commented Oct 4, 2017

This PR fixes the latest Xerces related relval fails in aarch64 listed here
https://cms-sw.github.io/relvalLogDetail.html#slc7_aarch64_gcc700;CMSSW_9_4_X_2017-10-03-2300
with this description
https://cmssdt.cern.ch/SDT/cgi-bin/buildlogs/slc7_aarch64_gcc700/CMSSW_9_4_X_2017-10-03-2300/pyRelValMatrixLogs/run/5.2_SingleMuPt10+SingleMuPt10FS+HARVESTFS/step1_SingleMuPt10+SingleMuPt10FS+HARVESTFS.log
which were due to this object

auto parser = std::make_unique<XercesDOMParser>();

not properly deleted (or pointer still pointing somewhere it was not supposed to) when going out of scope
even though the recipe prescribed by apache
https://xerces.apache.org/xerces-c/program-3.html
was properly repeated.
Similar implementations of the same thing exists also in other places in CMSSW :
https://github.com/cms-sw/cmssw/search?utf8=%E2%9C%93&q=XMLPlatformUtils%3A%3ATerminate%28%29&type=

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 4, 2017

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 4, 2017

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/PR-20742/1143

@mrodozov
Copy link
Contributor Author

mrodozov commented Oct 4, 2017

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 4, 2017

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/23440/console Started: 2017/10/04 17:51

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 4, 2017

A new Pull Request was created by @mrodozov for master.

It involves the following packages:

Geometry/VeryForwardGeometryBuilder

@cmsbuild, @civanch, @Dr15Jones, @ianna, @mdhildreth can you please review it and eventually sign? Thanks.
@ghellwig this is something you requested to watch as well.
@davidlange6, @slava77 you are the release manager for this.

cms-bot commands are listed here

@mrodozov mrodozov changed the title Fix xerces xmlparser issue in aarch64 unique_ptr related segsegv Fix xerces xmlparser issue in aarch64 unique_ptr related sissegv Oct 4, 2017
@mrodozov mrodozov changed the title Fix xerces xmlparser issue in aarch64 unique_ptr related sissegv Fix xerces xmlparser issue in aarch64 unique_ptr related sigsegv Oct 4, 2017
@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 4, 2017

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 4, 2017

Comparison job queued.

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 4, 2017

Comparison is ready
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-20742/23440/summary.html

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 26
  • DQMHistoTests: Total histograms compared: 2761357
  • DQMHistoTests: Total failures: 251
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2760919
  • DQMHistoTests: Total skipped: 187
  • DQMHistoTests: Total Missing objects: 0
  • Checked 107 log files, 10 edm output root files, 26 DQM output files

@smuzaffar
Copy link
Contributor

+geometry

@smuzaffar
Copy link
Contributor

smuzaffar commented Oct 4, 2017

@davidlange6 , can we get this in for 23h00 IB. This properly deletes the XercesDOMParser before Xerces Terminate

@davidlt
Copy link
Contributor

davidlt commented Oct 5, 2017

Btw, this is also happening on x86_64 (I got 15 workflows fail in short matrix).

@davidlange6
Copy link
Contributor

seems we have a problem with each change affecting xerces..

@davidlange6
Copy link
Contributor

merge

@cmsbuild cmsbuild merged commit f6b2f91 into cms-sw:master Oct 5, 2017
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

5 participants