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

Scalene error: received signal SIGSEGV #876

Closed
snooppr opened this issue Nov 2, 2024 · 1 comment
Closed

Scalene error: received signal SIGSEGV #876

snooppr opened this issue Nov 2, 2024 · 1 comment

Comments

@snooppr
Copy link

snooppr commented Nov 2, 2024

By default, Scalene returns the error: "Scalene error: received signal SIGSEGV".

The mistake of the last decade.
Scalene does not work with projects if the path contains Cyrillic, as soon as you move a project where the path contains only Latin, Scalene will work.

An example of reproducing the error (suffix - Cyrillic):
$ cd '/home/user/Desktop/test/херовая ошибка'
$ python -m scalene --cli program.py

Scalene error: received signal SIGSEGV

Working example:
$ cd '/home/user/Desktop/test'
$ python -m scalene --cli program.py

The solution is to move the project, if the path contains Cyrillic, to a location where the path contains only Latin.
Fix it so that Scalene understands Cyrillic in the path, or notify users in the documentation how to fix this problem.

Desktop (please complete the following information):

  • OS: GNU/Linux
  • Version 1.5.45 (2024.10.01)
@emeryberger
Copy link
Member

Thanks for the report. This was already fixed by #870 and will be incorporated in the next release.

Screenshot 2024-11-02 at 8 44 18 AM

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