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

Segmentation fault #3

Open
Clownsw opened this issue Sep 1, 2022 · 5 comments
Open

Segmentation fault #3

Clownsw opened this issue Sep 1, 2022 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@Clownsw
Copy link

Clownsw commented Sep 1, 2022

error: process didn't exit successfully: target\debug\examples\server.exe (exit code: 0xc0000005, STATUS_ACCESS_VIOLATION)
Segmentation fault

@bmatcuk
Copy link
Owner

bmatcuk commented Sep 3, 2022

Can you provide a minimal example (ie, code) that reproduces this result?

@bmatcuk bmatcuk self-assigned this Sep 3, 2022
@bmatcuk bmatcuk added the bug Something isn't working label Sep 3, 2022
@Clownsw
Copy link
Author

Clownsw commented Sep 3, 2022

The code examples/tcp-echo-server.rs, seems to just not work on Windows, the first time I got this error was on a Windows + MSVC + LLVM 12 + Rust 1.63 build, I just tried building on Linux and this error does not appear

@bmatcuk
Copy link
Owner

bmatcuk commented Sep 4, 2022

Huh, interesting... when does the segfault happen? At startup? When you connect to the server? When you send a message?

Windows is always a pain in the ass, lol. I don't have a Windows machine to test on, so it's always a bit of a challenge to chase down Windows bugs.

@Clownsw
Copy link
Author

Clownsw commented Sep 4, 2022

A segfault occurs when sending a message

@Clownsw
Copy link
Author

Clownsw commented Sep 4, 2022

This problem is indeed a bit difficult, he is a bit difficult to reproduce

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