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

example 'advanced_server' crash when in debug #2942

Open
zozobreakzou opened this issue Oct 23, 2024 · 3 comments
Open

example 'advanced_server' crash when in debug #2942

zozobreakzou opened this issue Oct 23, 2024 · 3 comments

Comments

@zozobreakzou
Copy link

zozobreakzou commented Oct 23, 2024

When I set a breakpoint in the "handle_request" function to debug the example "advanced_server", if I paused it much time more than 30 seconds, programe will crash with a bad_executor exception. I can reproduce it by just sleep 40 seconds in 'handle_request'. Is this a beast issue or asio issue? @bachase

Image

Image

My environment
boost: 1.86.0
compiler: visual stuido 2022 community
launch params: 0.0.0.0 8080 . 1

@vinniefalco
Copy link
Member

is this using the beast::tcp_stream ?

@ashtum
Copy link
Collaborator

ashtum commented Oct 23, 2024

@zozobreakzou , I believe this is a duplicate of #2925, which has already been fixed and will be included in the Boost 1.87 release.

@zozobreakzou
Copy link
Author

is this using the beast::tcp_stream ?

Yes, just as the advanced_server is, nothing changed.

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

No branches or pull requests

3 participants