Skip to content

Exception: Exception 0x80000003 encountered at address 0x7ff9db8a0948 #1861

Description

@LetAmericaGreatAgain

Can uWebSockets-related objects be created and run in a child thread? Why does executing this->webApp = new uWS::App(); in std::thread detach mode cause an exception?

Thread-6-ucrtbased.dll thread
0x00007ff9db8a0949us create loop(void , void ()(us loop t ), void ()(us loop t ), void ()(us loop t *), unsigned int) /ibuv.c:133uWS::Loop:create(void *)Loop.h:77
uWS::Loop::get(void *)Loop.h.119
uWS::TemplatedApp:TemplatedApp<...>(SocketContextOptions) App.h.218
WebActivity::start(int, const std::any &)WebActivity.cpp:14

14: this->webApp = new uWS::App();

Compiler: MSVC, C++ version: C++20

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions