-
Notifications
You must be signed in to change notification settings - Fork 49
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
segmentation fault #47
Comments
Thanks for the report! Adding @bmarzins, for information. This appears to be a subtle interaction between the separation of libmultipath and libmpathutil we did in 0.9.1 and the libmultipath ABI version bump in 0.9.2. Some symbols ( Because we're using ABI versioning, code in libmpathutil actually exports and references The effect is that references to these duplicate symbols, when done from libmpathutil, are resolved to the libmpathutil dummy symbols, which is wrong and causes the crash. This affects only multipath, not multipathd, because multipathd overrides Footnotes
|
Error case (0.9.2):
We can see that the symbol is resolved differently (first line resolves to libmpathutil, the others to libmultipath). For multipathd, we get:
All locations are resolved to multipathd's symbol. |
The easiest workaround for this is to revert e5eb226. But that's not a final solution, it would hide our ABI changes. It should work as temporary workaround. |
Version
0.9.2
crashes with a segmentation fault:It crashes with
snprint_keyword()
insidesnprint_defaults()
...https://github.com/opensvc/multipath-tools/blob/master/libmultipath/print.c#L1635
The final crash happens inside
snprint_keyword()
...https://github.com/opensvc/multipath-tools/blob/master/libmpathutil/parser.c#L181
The text was updated successfully, but these errors were encountered: