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

fix use-after-free in BufMap.set() #897

Merged
merged 1 commit into from
Apr 11, 2018
Merged

fix use-after-free in BufMap.set() #897

merged 1 commit into from
Apr 11, 2018

Conversation

bnoordhuis
Copy link
Contributor

closes #879

@bnoordhuis
Copy link
Contributor Author

Test 4/325 std-windows-x86_64-Debug-bare BufMap...
Tests failed. Use the following command to reproduce the failure:
.\zig-cache\test.exe
The following command exited with error code -1073741819:
bin\zig.exe test C:\projects\zig-d3l86\std\index.zig --test-name-prefix std-windows-x86_64-Debug-bare  
error: UncleanExit
Unable to dump stack trace: Unable to open debug info: TodoSupportCoffDebugInfo

Interesting... that suggests there's at least one more bug somewhere.

@andrewrk
Copy link
Member

andrewrk commented Apr 5, 2018

I have a debug build on my windows laptop so I could have a look at it soon. ...but sadly it suddenly stopped booting last night and I haven't figured out why. I might have to reformat in which case I would have to create a debug build, which takes about a day to compile LLVM.

@andrewrk andrewrk merged commit 9e8519b into ziglang:master Apr 11, 2018
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

Successfully merging this pull request may close these issues.

std.HashMap(?) incorrect behavior when overwriting value for key
2 participants