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

Memory, size and exit errors with dynamic library rendering #5170

Closed
CrazyboyQCD opened this issue Sep 26, 2024 · 3 comments
Closed

Memory, size and exit errors with dynamic library rendering #5170

CrazyboyQCD opened this issue Sep 26, 2024 · 3 comments
Labels
bug Something is broken

Comments

@CrazyboyQCD
Copy link

CrazyboyQCD commented Sep 26, 2024

Seperate from #5152
Commits in ascending order:
After #4849 (4623863 related with upstream winit, hard to find out the root cause same thing like #5152 (comment) but only different in error code)
The exit error:

error: process didn't exit successfully: `target\debug\e_test.exe` (exit code: 0xc0000005, STATUS_ACCESS_VIOLATION)

After #4305 (65b0676)
The running error:

Called `available_rect()` before `Context::run()`

stacktrace.txt

After #5056 (97eaf83)
The running error:

unsafe precondition(s) violated: ptr::copy_nonoverlapping requires that both pointer arguments are aligned and non-null and the specified memory ranges do not overlap

stacktrace.txt

After #4744 (0faab82)
The running error:

unsafe precondition(s) violated: slice::from_raw_parts requires the pointer to be aligned and non-null, and the total size of the slice not to exceed `isize::MAX`

stacktrace.txt

@CrazyboyQCD CrazyboyQCD added the bug Something is broken label Sep 26, 2024
@CrazyboyQCD
Copy link
Author

Above issues except first one are disappeared in 0.29.1.

@0thElement
Copy link

Hello, the second issue still persist even in 0.29.1.

I encountered this after trying to get hot-lib-reloader-rs working with the latest egui version. After updating the dependency of eframe in the example examples/hot-egui from 0.19.0 to 0.29.1, the issue appeared.

@RockyGitHub
Copy link

I am also encountering the 2nd issue, but in bevy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is broken
Projects
None yet
Development

No branches or pull requests

3 participants