-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Unable to receive ServiceBus queue message created in Java SDK #15568
Comments
hey @pfijalki, thanks for reaching out. I followed your steps and was able to reproduce the issue. This should be a bug triggered by the underlying uamqp library reading "inaccessible memory" on property of a message, I have created issue in the uamqp repo: Azure/azure-uamqp-python#186. I'll investigate on how to fix it and then include the fix in uamqp bug fix release. |
hey @yunhaoling, thank you for the update and fast response Time. Do you mind sharing in brief description steps to debug/reproduce such issue ? I tried to do this by myself but couldn't asses which line was causing the error |
hello @pfijalki , This one is a bit hard to reproduce as it turns out to be a bug in the cython layer. the main issue here is trying to access the def user_id(self):
cdef c_amqpvalue.amqp_binary _binary
if c_amqp_definitions.properties_get_user_id(self._c_value, &_binary) == 0:
return <char*>_binary.bytes
To fix it, we need to convert the C char* data to a python variable first by
then we could safely return |
hey @pfijalki , FYI: my fix PR gets merged, we'll do a uamqp release after we address some other uamqp issues. |
hello @pfijalki , hope you're keeping well. We have released uamqp v1.2.13 today which includes the fix. I'm closing this issue now, but feel free to reopen if you still get trouble with the latest version. |
track2 modify Event Grid readme.go.md (Azure#15568)
Describe the bug
Cannot receive message sent from Java (OpenJDK 1.8) Azure servicebus SDK
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Possibility to process the message
Attempt on receiving message results in SIGSEGV and python crash
The text was updated successfully, but these errors were encountered: