-
Notifications
You must be signed in to change notification settings - Fork 47
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
Actmon crashes the moment any action is dispatched. #2829
Comments
looks like the actmon callback does not expect msg to be 1 but it is. I think the msg is supposed to contains information about what needs to be monitored so it should be an address. somewhere in the it seems to pass a de-referenced char*. .. I personally used actmon a lot about .. feels like 5 years ago .. ther is a good change that one has not been touched .. so the change may be somewhere in the sender half. |
I might be missing something obvious but it looks to me like
while its signature is
so the second argument is never specified when calling However it seems in some cases, the handling is done through events and the |
It seems so: #2689 (comment), |
I submitted a possible fix in #2835 using 2 arguments in all cases. |
Affiliation
EPFL/Swiss Plasma Center
Version(s) Affected/Platform(s)
RHEL9 - mdsplus-alpha 7.148.2
RHEL7 - mdsplus-stable 7.142.81
Installation Method(s)
yum/dnf
Describe the bug
Actmon crashes the moment any dispatch command is run.
To Reproduce
Run following program which will create a tree with a single action node.
Expected behavior
Actmon doesn't crash
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Output of
gdb --args actmon -monitor localhost:9997
, thenrun
, thenbacktrace
after the crashIs this related to #2689 ?
The text was updated successfully, but these errors were encountered: