-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[Tests] "python pulsar_test.py" failed with segmentation fault and core dump #11635
Comments
I also found this problem recently. It's flaky but the cause is hard to know currently. Maybe a temporary solution is adding the retry logic for From the last few lines of the Python test output
and standalone logs
we can see the topic is pulsar/pulsar-client-cpp/python/pulsar_test.py Lines 1113 to 1132 in 36d5738
But it looks like there's no problem with the code. And usually a rerun could work. |
If it's the same segfault I mentioned here, that may provide a means to more predictably reproduce it. Might be a totally unrelated issue though. |
This might be fixed by #11887 . Closing. We can reopen if this appears in the future. |
The problem remains. Reopening the issue. Happens quite often. Most recent is https://github.com/apache/pulsar/pull/11994/checks?check_run_id=3564315253 . @BewareMyPower would you mind checking what the problem is? |
Okay, I'll take a look soon. |
I might not have enough time for this issue recently, so I assigned it to me first to avoid forgetting this issue. |
It looks like this bug can be reproduced easily in docker container
Hope the cause can be figured out soon. |
I reproduced it in my local env and analyzed the core using Here is the most important stack:
It should be noted about the frame
We can see the pointer is null from I'll work on refactoring the |
I've rerun the Python tests in docker container for 7 times after applying my patch:
No segmentation fault happened. I'll open a PR soon. |
Nice! Good work @BewareMyPower . I'm looking forward to your PR. |
Describe the bug
The logs contained this line
this happened in https://github.com/apache/pulsar/pull/11387/checks?check_run_id=3297639124
To Reproduce
Unknown.
Expected behavior
Tests should not crash with segmentation fault.
Additional context
Logs of build is available at https://gist.github.com/lhotari/5241f83ed6c348b3d2c91ce5da33c1d0 . "test-logs.zip" is at https://transfer.sh/1sa6OMj/test-logs.zip .
The text was updated successfully, but these errors were encountered: