-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Possible memory corruption in cling #15511
Comments
A stripped down version of the header that segfaults:
|
I met a similar situation here. I am using LCG_103.
|
Can you run valgrind using the root suppression file? |
Hi, here is the result. Do note that I do not know valgrind very well. I ran this:
The result looks like this:
|
I am surprised that valgrind is happy… |
There's problem in the way the application was invoked: there a stray |
I tried to run Valgrind, but it only spots one small leak, despite the segfault. But that made me look a bit better at the stack trace and I noticed the line
I also tried to put the line Tomorrow I'll investigate this new path, as it might be that the segfault is a red herring (hiding the actual problem in my code). |
The file
The error seems weird because I see |
Yes I noticed that as well. I switched to 1533 and got the same seg fault.
Thank you for the note. I will try it again later!
|
I have a small update, but no good news. When trying to reproduce the segfault with a I prepared small "reproducer" that should work on any RHEL9 equivalent machine with CVMFS and the HEP_OSlibs meta-rpm. |
Output of
(note that I ran it directly on With
@pikacic if |
Check duplicate issues.
Description
Since the switch to ROOT 6.30/02 (LCG 105) we started to experience segfaults related to dictionaries. The most straightforward reproducer is just a
#include
of a specific headerWhat makes me think that there may be a memory corruption is that I tried to isolate which part of that header was triggering the segfault and I noticed that (on a subset of the header) I could make the segfault appear and disappear just shuffling some class definitions.
I also find weird that the segfault seems to be related to an
atexit
function inlibCling.so
:Reproducer
With the
test_env.sh
included in test_env.zip on lxplus.cern.ch:ROOT version
Installation method
LCG builds
Operating system
Linux (EL9)
Additional context
No response
The text was updated successfully, but these errors were encountered: