Skip to content

Assertion failed: !read_lock when building from source #160

Open
@GniLudio

Description

@GniLudio

When I try to debug after building from source, I get the following error:

Assertion failed: !read_lock, file C:\Users\user\Documents\netcoredbg\src\utils\ioredirect.cpp, line 404

When I use the latest release it works fine, but when building from source I get the error.
(I tried building from latest and release commit)

Running

C:\Users\user\Documents>./netcoredbg\bin\netcoredbg.exe --interpreter=cli
ncdb> file dotnet
ncdb> set args HelloCS1/bin/Debug/net8.0/HelloCS1.dll
ncdb> run
Assertion failed: !read_lock, file C:\Users\user\Documents\netcoredbg\src\utils\ioredirect.cpp, line 404

Building

git clone https://github.com/Samsung/netcoredbg.git
cd netcoredbg
md build
cd build
cmake .. -G "Visual Studio 17 2022" -DCMAKE_INSTALL_PREFIX="..\bin"
cmake --build . --target install

Logs & Files

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions