-
-
Notifications
You must be signed in to change notification settings - Fork 162
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
coz fails silently on my rust program #180
Comments
+1, I see this too.
|
I had this same issue, but was able to fix it with the |
I'm not sure if it's the same issue, but I had a similar issue that would trigger the following output:
And I remember having seen this 245 error code in strace or something. The solution I found was to remove @llogiq Pinging you since you wrote an article about this issue. |
I was having a similar issue:
I could fix the issue by removing the |
Trying out |
EDIT:
|
I have a similar problem with a C executable:
I couldn't get coz to work on anything until now. Are there any suggestions on how to get this working with a plain C program? |
When i run my program with coz, it exits without doing anything:
(somewhat) minimal repro: https://github.com/asg0451/rust-coz-breaker
Anecdotally, coz worked fine in my actual program, until I added rayon & channels & parallelism.
Ubuntu 20.04, coz from apt (I don't see a --version flag)
Requires cargo to build, as with all (most) Rust programs
EDIT: it seems to me that rayon is the issue. replacing
with
(that is - switching from rayon to a regular single-threaded iterator)
results in coz working
EDIT 2: turns out that removing rayon still results in an abrupt exit with code 245, it's just not immediate..
The text was updated successfully, but these errors were encountered: