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

Random segfaults / access violations on Windows #3642

Open
3 tasks done
jaimergp opened this issue Nov 29, 2024 · 4 comments
Open
3 tasks done

Random segfaults / access violations on Windows #3642

jaimergp opened this issue Nov 29, 2024 · 4 comments
Assignees
Labels
type::bug Something isn't working where::windows Windows-specific issues

Comments

@jaimergp
Copy link
Contributor

Troubleshooting docs

  • My problem is not solved in the Troubleshooting docs

Anaconda default channels

  • I do NOT use the Anaconda default channels (pkgs/* etc.)

How did you install Mamba?

Mambaforge or latest Miniforge

Search tried in issue tracker

windows segfaults

Latest version of Mamba

  • My problem is not solved with the latest version

Tried in Conda?

I have this problem with Conda as well, without using Mamba

Describe your issue

The conda and conda-libmamba-solver CI has seen random segfaults on the Windows CI for a while. See conda/conda-libmamba-solver#334 for some examples.

They have been happening for a while in 1.x, but seldomly. Now they are more frequent with 2.x. I compiled a few from the recent weeks. It's not super consistent and somehow random, so It Will Be Tricky (tm).

Things I've noticed:

  • They are not tied to any particular test
  • They are not tied to any particular Python version
  • They are not tied to any particular libmamba version (I've seen it in several versions across the 1.x and 2.x series)

mamba info / micromamba info

N/A

Logs

See https://github.com/conda/conda-libmamba-solver/issues/334

environment.yml

N/A

~/.condarc

N/A
@JohanMabille JohanMabille added the type::bug Something isn't working label Dec 2, 2024
@Klaim Klaim self-assigned this Dec 2, 2024
@jjerphan jjerphan added the where::windows Windows-specific issues label Dec 3, 2024
@Klaim
Copy link
Member

Klaim commented Dec 13, 2024

@jaimergp If we provide you a custom release-with-debug-infoversion of the libmamba(py) binaries, would you be able to try it in your ci? So far I'm failing to reproduce these random crashes without dubious builds setup and I failed to reproduce it with conda-libmamba-solver tests but I suspect I'm doing something different (and some tests fails locally for completely unrelated reasons). We need more info and I'm looking for ways to get these info with a more consistent repo-case.
We do have some other random failures on our CI but they dont seem related to segfaults.

@Klaim
Copy link
Member

Klaim commented Dec 13, 2024

Note: I tried with ASAN builds but unfortunately it's full of potential false-positive unless all the dependencies (coming from conda packages) are also built with ASAN (except crt). I'm trying to find another way to achieve that meanwhile, probably using vcpkg but it's a bit buggy at the moment.

@jaimergp
Copy link
Contributor Author

@Klaim Yep, I can instrument our CI to install from a custom channel/label or something. Let me know how we can help!

@Klaim
Copy link
Member

Klaim commented Dec 16, 2024

@jaimergp I'm preparing a special build for you 👍🏽, let me know how I can send you a link privately to the archive (I didnt find your email).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type::bug Something isn't working where::windows Windows-specific issues
Projects
None yet
Development

No branches or pull requests

4 participants