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

AMD CodeXL always detects a segfault when running Rust code on Windows #26590

Closed
tomaka opened this issue Jun 26, 2015 · 6 comments
Closed

AMD CodeXL always detects a segfault when running Rust code on Windows #26590

tomaka opened this issue Jun 26, 2015 · 6 comments
Labels
E-hard Call for participation: Hard difficulty. Experience needed to fix: A lot. O-windows Operating system: Windows T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Comments

@tomaka
Copy link
Contributor

tomaka commented Jun 26, 2015

I had already reported this problem in #15644 but it was ignored. I'm reopening an issue for this.

When running any Rust program inside AMD CodeXL, a second-chance exception is immediatly detected (see screenshot). As I said in #15644 it used to work at some point in the past.

This happens even with an empty Rust program (with an empty main).

To be sure, I tried running CodeXL with a C program compiled with MinGW, and it works perfectly fine.

@tomaka tomaka changed the title AMD CodeXL always detects an exception when running Rust code on Windows AMD CodeXL always detects a segfault when running Rust code on Windows Jun 26, 2015
@steveklabnik steveklabnik added the O-windows Operating system: Windows label Jun 26, 2015
@nagisa
Copy link
Member

nagisa commented Jun 29, 2015

Is there any way to see backtrace at the time of exception?

@tomaka
Copy link
Contributor Author

tomaka commented Jun 29, 2015

I don't think so :-/

@tomaka
Copy link
Contributor Author

tomaka commented Aug 5, 2015

This doesn't happen with programs compiled with the MSVC nightly.

@brson
Copy link
Contributor

brson commented Jan 26, 2017

Still a bug?

@brson brson added I-wrong T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. E-hard Call for participation: Hard difficulty. Experience needed to fix: A lot. labels Jan 26, 2017
@tomaka
Copy link
Contributor Author

tomaka commented Jan 26, 2017

AMD CodeXL only runs if you have an AMD GPU, and unfortunately I have changed my hardware about a year ago. Therefore I can't check anymore.

@steveklabnik
Copy link
Member

Then, let's give this a close.

If anyone has this issue and can reproduce, please let me know, and we'll reopen. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
E-hard Call for participation: Hard difficulty. Experience needed to fix: A lot. O-windows Operating system: Windows T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

4 participants