-
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
bug: lightpush publish segfault #2271
Comments
Thanks for submitting this issue.
Then, the SIGSEGV is generated in the following:
I'm investigating how we could handle exceptions better and why the SIGSEGV is happening. I'm assuming we are trying to stop something that already got stopped due to the exception. |
The |
Weekly Update
|
I'm closing because the Steps followed to validate it:
Thanks so much indeed @AlejandroCabeza for such a wonderful issue description 🥳 ! |
Problem
Lightpush's
publish
triggers aSEGFAULT
when sending messages over a specific size.Impact
...
To reproduce
Switch
, one will act asserverSwitch
and the other asclientSwitch
.WakuLightPush
and aWakuLightPushClient
, using the respective switches.publish
request using aWakuMessage
that contains a payload with size equal or higher than1114000B
.SEGFAULT
.Also, you can check out the test case named
Valid Paylod Sizes
found inwaku_lightpush/test_client:198
. Remember to update the keyword fromxasyncTest
toasyncTest
, else it will be ignored.Alternatively, you this PR comment already points to the test.
Expected behavior
Max size is standardised, and max size is gracefully handled.
nwaku version/commit hash
The text was updated successfully, but these errors were encountered: