-
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
Seg fault when sending message to SB without the with/as statement #84
Comments
Thanks for the report @mxmxcz! |
hey @mxmxcz , sorry for not getting to you sooner. |
Unfortunately, I have left the project, therefore I don't have access to the codebase anymore. If the example above runs without any error, I'd consider the issue resolved. Thanks for getting back to me, though. |
@mxmxcz , thanks for letting me know. Closing the issue as it has been addressed in uamqp v1.2.5+. |
Hello everyone,
When I tried to send a message to ServiceBus, I experienced segmentation faults. It turns out I tried to send them like this:
which causes segfault. I tried it on my Fedora PC, as well as Windows PC of a colleague of mine - same results. It seems that calling the sender like this fixes the issue:
I can provide a Valgrind log, which is a bit long, so maybe the log from Windows may be enough:
Steps to reproduce
sbbs.py:
Output
It seems the problem is in the underlying
azure-uamqp-c
library - thus the segfault. But as a user of the python library, I am posting the issue here - apparently, there's a problem in the way the C lib is being used when not using the with/as statement.The text was updated successfully, but these errors were encountered: