Bug 16229 – [Win64] Crash when generating huge symbols

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
x86_64
OS
Windows
Creation time
2016-07-03T09:05:00Z
Last change time
2016-10-01T11:48:14Z
Keywords
ice-on-valid-code, pull
Assigned to
nobody
Creator
r.sagitario

Comments

Comment #0 by r.sagitario — 2016-07-03T09:05:36Z
The test case from Issue 16039 causes a crash when compiling for win64. This is caused by a stack overflow while allocating stack space for a 5 MB symbol.
Comment #1 by r.sagitario — 2016-07-03T09:10:32Z
Comment #2 by github-bugzilla — 2016-07-03T18:03:45Z
Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/5abf564bc6b852acd386e2e4b7a433ec9339c762 fix issue 16229: don't use alloca for huge symbols https://github.com/dlang/dmd/commit/c24024d152cce62002270e524bd2f2d5f058e7e3 Merge pull request #5904 from rainers/win64_issue16229 fix issue 16229: don't use alloca for huge symbols
Comment #3 by github-bugzilla — 2016-10-01T11:48:14Z
Commits pushed to stable at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/5abf564bc6b852acd386e2e4b7a433ec9339c762 fix issue 16229: don't use alloca for huge symbols https://github.com/dlang/dmd/commit/c24024d152cce62002270e524bd2f2d5f058e7e3 Merge pull request #5904 from rainers/win64_issue16229