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

Hanging application when opening some ewebsock connections #1832

Closed
Kerollmops opened this issue Jul 15, 2022 · 1 comment
Closed

Hanging application when opening some ewebsock connections #1832

Kerollmops opened this issue Jul 15, 2022 · 1 comment
Labels
bug Something is broken

Comments

@Kerollmops
Copy link

Hi,

My egui application completly hang sometimes, it looks like it is related to cloning/requesting a repaint from the Context.
My project can be found on this repository at this exact commit, it looks like it happens only when multiple ewebsock are opened at the same time.

Here is a backtrace of all threads and we can see that it hang when a request_repaint was called (Context::write).
Hanging riemann-egui-dash.txt

@Kerollmops Kerollmops added the bug Something is broken label Jul 15, 2022
@emilk
Copy link
Owner

emilk commented Jul 21, 2022

Probably a double-locking of a mutex in Context.

Try running in debug (it catches some problems), or use the new deadlock_detection feature (#1619) or try #1732

@emilk emilk closed this as completed Jul 21, 2022
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

2 participants