-
Notifications
You must be signed in to change notification settings - Fork 64
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
Panicking: Misaligned pointer dereference when sending client message #235
Comments
Have you tested with the main branch? |
I'm using v1.2.1 from Crates.io. I'll do some further testing with the latest commit on the main branch to see if it's fixed. |
I was having a similar issue that was fixed by switching to the main branch. Is there going to be a new release to make the fix available? |
RealKC
added a commit
to RealKC/kcshot
that referenced
this issue
Jul 18, 2023
RealKC
added a commit
to RealKC/kcshot
that referenced
this issue
Jul 19, 2023
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
My program panics with a misaligned pointer dereference error when I try to send an event.
I'm sending a ClientMessage event from the root window.
Attached is the rust backtrace of the panic, with irrelevant function calls removed:
crashlog.txt
And this is the relevant code that's calling the function:
I am aware that
cast!
is calling unsafe code, but I'm fairly sure that all values that it's dealing with already exist on the server.The text was updated successfully, but these errors were encountered: