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

[BUG] SIGSEGV #402

Open
yorevs opened this issue Mar 15, 2024 · 0 comments
Open

[BUG] SIGSEGV #402

yorevs opened this issue Mar 15, 2024 · 0 comments

Comments

@yorevs
Copy link

yorevs commented Mar 15, 2024

Hello all,

I'm getting a SIGSEGV when running translate. After tried some combinations, I found that the issue resolved when I downgraded my python to 3.9 and urllib3 version to 1.26.6. Python v3.11.8 is still failing though. I'm assuming that this issue has to do with the integration of argostranlate, urllib3 and [email protected].

This is the error trace:

2024-03-15 19:59:20 WARNING: Language en package default expects mwt, which has been added
Segmentation fault: 11
/usr/local/Cellar/[email protected]/3.11.8/Frameworks/Python.framework/Versions/3.11/lib/python3.11/multiprocessing/resource_tracker.py:254: 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 '

Edit:. Even stranger, when I debug the code the segmentation fault does not occur. This is the point where it hangs:

translate.py @ Line 296
translated_paragraph = self.underlying.hypotheses(
    paragraph, num_hypotheses
)

Regards
/Hugo

@yorevs yorevs changed the title SIGSEGV [BUG] SIGSEGV Mar 15, 2024
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

1 participant