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.

Bus Error when checking installation

See original GitHub issue

Hello,

After installing the necessary packages with:

source set_environment.sh
pip install --editable .

When I run the bash tests/correctly_installed.sh, I get:

pytorch 1.10.1
No CUDA available
smatch installed
tests/correctly_installed.sh: line 10:  2319 Bus error: 10           python tests/correctly_installed.py

Would you happen to know what causes this?

Worth keeping in mind is that:

  • Machine has MacOS Ventura 13.0.1
  • I am using python 3.8

Thanks in advance!

Issue Analytics

  • State:closed
  • Created 10 months ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
ramon-astudillocommented, Nov 20, 2022

that seems to be fairseqs multithread. I would file it under all ok 😃. Closing this.

0reactions
Vladislavlhp7commented, Nov 20, 2022

Supposedly, at the end of the minimal tests run, after passing through the stages of the test pipeline [1], a warning occurs [2]. Is that an expected behaviour?

[1]:

F-score: 0.0061
[ done  ] DATA/wiki25/aligned/ibm_neural_aligner/
[ done  ] DATA/wiki25/oracles/ibm_neural_aligner_o10_act-states-5sample_a/
[ done  ] DATA/wiki25/embeddings/ibm_neural_aligner_bart.large
[ done  ] DATA/wiki25/features/ibm_neural_aligner_o10_act-states-5sample_a_ibm_neural_aligner_bart.large//
[  6/6  ] DATA/wiki25/models/wiki25-structured-bart-base-neur-al-sampling5/seed42/epoch_tests
[ 10/10 ] DATA/wiki25/models/wiki25-structured-bart-base-neur-al-sampling5/seed42
[ pend  ] DATA/wiki25/models/wiki25-structured-bart-ba ... heckpoint_wiki.smatch_top5-avg.pt.wiki.smatch

[2]:

F-score: 0.0061

[OK] tests/minimal_test.sh
(venv) (base) vladislav@Vladislavs-MacBook-Pro transition-amr-parser % /Users/vladislav/anaconda3/lib/python3.8/multiprocessing/resource_tracker.py:216: UserWarning: resource_tracker: There appear to be 1 leaked semaphore objects to clean up at shutdown
  warnings.warn('resource_tracker: There appear to be %d '

Thanks for the swift responses!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Bus error - Wikipedia
In computing, a bus error is a fault raised by hardware, notifying an operating system (OS) that a process is trying to access...
Read more >
What is a bus error? Is it different from a segmentation fault?
BUS errors are caused by an attempt to access "memory" that the machine simply cannot access because the address is invalid. (Hence the...
Read more >
Installation fails, Error: signal: bus error (core dumped) · Issue ...
I'm downloading and burning that image now to test again myself. I'd suspect that the tool you used for creating the USB image...
Read more >
1849250 – 'dnf upgrade' crashes with Bus error
When I run 'dnf upgrade', I get an error message: Bus error (core dumped)m Cisco) Version-Release number of selected component (if ...
Read more >
Bus Error on Cargo Build/Check : r/rust - Reddit
Bus Error on Cargo Build/Check. Just trying to get started with rust on Fedora (having never used it before). I've installed it with...
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