Skip to content
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

segmentation fault #48

Closed
zhuohoudeputao opened this issue Apr 25, 2020 · 7 comments
Closed

segmentation fault #48

zhuohoudeputao opened this issue Apr 25, 2020 · 7 comments

Comments

@zhuohoudeputao
Copy link

[1] 4103 segmentation fault LD_PRELOAD=$PWD/libscalene.so PYTHONMALLOC=malloc scalene test/testme.py

@emeryberger
Copy link
Member

What system? Please provide as many details as possible so I can reproduce the error.

@zhuohoudeputao
Copy link
Author

Ubuntu on wsl2

@zhuohoudeputao
Copy link
Author

I install clang by
sudo apt install clang
and then
git clone scalene
make
all work well now
but it fails to run memory profile

@emeryberger
Copy link
Member

What command line are you using?

@emeryberger
Copy link
Member

Also, what did you do differently to get it to work well?

@emeryberger
Copy link
Member

I have built and successfully tested scalene on WSL2 (Ubuntu 20), though I made some fixes. I recommend you pull the latest version. Everything now works fine on my end (with LD_PRELOAD=./libscalene.so PYTHONMALLOC=malloc python3 -m scalene test/testme.py). Please confirm - thanks.

@zhuohoudeputao
Copy link
Author

It works now! Thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants