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
exponentially long exception messages in multi-threaded setup (ref #37392) #37579
Comments
A new Issue was created by @slava77 Slava Krutelyov. @Dr15Jones, @perrotta, @dpiparo, @makortel, @smuzaffar, @qliphy can you please review it and eventually sign/assign? Thanks. cms-bot commands are listed here |
assign core |
New categories assigned: core @Dr15Jones,@smuzaffar,@makortel you have been requested to review this Pull request/Issue and eventually sign? Thanks |
Looking at
The traces are full of I guess what happens is something along
|
The delayed reader throws its exception on "different read request" here cmssw/IOPool/Input/src/RootDelayedReader.cc Lines 42 to 49 in 086e2e2
The message gets extended with cmssw/FWCore/Framework/src/ProductResolvers.cc Lines 196 to 204 in 086e2e2
|
Do I understand this correctly that this is just a length of a message, not an actual depth of the calls? |
Correct, it is how the exception messages are constructed (specifically how additional context information gets added), not the depth of the actual call stack. |
OK, I guess I can close this issue as not an issue. |
Should be fixed by #37591 |
I observed a problem similar to #37392
with
in 12_4_0_pre2.
While the issue goes away in a recent IB (e.g. in CMSSW_12_4_X_2022-04-14-1100),
I have a tangential question: the exception messages in 12_4_0_pre2 are issued for every thread with increasingly long stack. In a 32-thread test the last one comes out with
Is the framework really creating such deep stacks or is this just a feature of the printout?
I have a reference setup on cmsdev34:/build/slava77/reltest/CMSSW_12_4_0_pre2-orig/test/gensim-1210p5/11634.0_TTbar_14TeV+2021/sort
there with 8-threads the last exception message is 1703-deep
The text was updated successfully, but these errors were encountered: