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

[Build Fail] Slang fails with Debug Profile Windowsx64 due to memory leak #5930

Open
JoseMiguelPizarro opened this issue Dec 21, 2024 · 1 comment

Comments

@JoseMiguelPizarro
Copy link

Hi! Slang Build is failing due to a memory leak here is the log.

5>------ Build started: Project: slang-embedded-core-module, Configuration: Debug x64 ------
25>Generating slang-core-module-generated.h
25>Compiling core module on debug build, this can take a while.
25>Compiling core module took 16.00 seconds.
25>Detected memory leaks!
25>Dumping objects ->
25>{6491615} normal block at 0x00000222B4517110, 98 bytes long.
25> Data: < > D8 EB A3 17 FB 7F 00 00 01 00 00 00 00 00 00 00
25>Object dump complete.
25>Assertion failed: !memleakDetected, file D:\Documents\Repos\slang\source\slangc\main.cpp, line 162
25>abort() has been called
25>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(254,5): error MSB8066: Custom build for 'D:\Documents\Repos\slang\build\CMakeFiles\d7e841d5d0b8eda1d3bc8387a99b60c4\slang-core-module-generated.h.rule' exited with code 3.
25>Done building project "slang-embedded-core-module.vcxproj" -- FAILED.
26>------ Build started: Project: slang, Configuration: Debug x64 ------
26>Building Custom Rule D:/Documents/Repos/slang/source/slang/CMakeLists.txt
26>LINK : fatal error LNK1104: cannot open file 'D:\Documents\Repos\slang\build\source\slang-core-module\slang-embedded-core-module.dir\Debug\slang-embedded-core-module.obj'
26>Done building project "slang.vcxproj" -- FAILED.

@csyonghe
Copy link
Collaborator

I am unable to reproduce this issue. What steps are you using to build slang?

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

2 participants