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

MacOS: Context leak detected, msgtracer returned -1 #23

Open
altunenes opened this issue Oct 19, 2024 · 2 comments
Open

MacOS: Context leak detected, msgtracer returned -1 #23

altunenes opened this issue Oct 19, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@altunenes
Copy link

Hello! Thank you for this work again! I tried to run the example exactly https://github.com/thewh1teagle/sherpa-rs/blob/main/examples/diarize.rs here with:
"
let segment_model_path = "model.onnx"; //latest seg. model from sherpa...
let embedding_model_path = "wespeaker_en_voxceleb_CAM++.onnx";
let wav_path = "normalized_audio.wav";"

Context leak detected, msgtracer returned -1
Context leak detected, msgtracer returned -1
Context leak detected, msgtracer returned -1
🗣️ Diarizing... 0% 🎯
Context leak detected, msgtracer returned -1
Context leak detected, msgtracer returned -1
🗣️ Diarizing... 0% 🎯
🗣️ Diarizing... 0% 🎯
🗣️ Diarizing... 1% 🎯
🗣️ Diarizing... 1% 🎯
🗣️ Diarizing... 1% 🎯
🗣️ Diarizing... 1% 🎯
🗣️ Diarizing... 2% 🎯
🗣️ Diarizing... 2% 🎯

The code works without any problems. However, I wanted to bring this warning message to your attention.

@thewh1teagle
Copy link
Owner

@altunenes
I can't reproduce on Windows 11.
Does it happens with the latest version of sherpa-rs?

@altunenes
Copy link
Author

yes, it still persists. Also, I see this on the pyannote too and maybe whisper-rs related thing.

I've never seen it on Windows either. It's like a “warning” message that only appears on macos and it's very difficult to understand its origin.

note: Since it doesn't prevent the code from working and doesn't cause a major “leak” (at least as far as I can see), I didn't care too much, but I wanted to let you know anyway. :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants