question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Tests] "python pulsar_test.py" failed with segmentation fault and core dump

See original GitHub issue

Describe the bug

The logs contained this line

............../run-unit-tests.sh: line 85:  2489 Segmentation fault      (core dumped) python pulsar_test.py
.
.
.
Error: Process completed with exit code 139.

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 .

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:10 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
BewareMyPowercommented, Oct 19, 2021

I’ve rerun the Python tests in docker container for 7 times after applying my patch:

  • Tue Oct 19 15:08:20 UTC 2021
  • Tue Oct 19 15:12:35 UTC 2021
  • Tue Oct 19 15:15:04 UTC 2021
  • Tue Oct 19 15:17:37 UTC 2021
  • Tue Oct 19 15:20:42 UTC 2021
  • Tue Oct 19 15:24:13 UTC 2021
  • Tue Oct 19 15:27:04 UTC 2021

No segmentation fault happened. I’ll open a PR soon.

1reaction
BewareMyPowercommented, Sep 10, 2021

I might not have enough time for this issue recently, so I assigned it to me first to avoid forgetting this issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

cpp-tests job is flaky: python pulsar_test.py fails with ... - GitHub
The cpp-tests job is flaky. ./run-unit-tests.sh: line 99: 2746 Segmentation fault (core dumped) python pulsar_test.py.
Read more >
Error: Segmentation fault (core dumped) - python
"Segmentation fault (core dumped)" is the string that Linux prints when a program exits with a SIGSEGV signal and you have core creation ......
Read more >
runtime/interp/thread state refactoring leads to segmentation ...
The segfault either happens in the `ssl` module or the `selectors` ... test/test_reproduce.py Fatal Python error: Segmentation fault Thread ...
Read more >
Doing a test about pygmt - GMT Community Forum
Doing a test about pygmt ... After installation, I tried to test it but failed with this error: ... Segmentation fault (core dumped)....
Read more >
When C extensions crash: easier debugging for your Python ...
If your Python test suite segfaults in C code, debugging is difficult. ... python3 crash.py Segmentation fault (core dumped).
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found