← Back to index
|
Original Bugzilla link
Bug 24171 – [REG 2.100] Segfault compiling an empty ddoc file
Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2023-10-01T23:23:13Z
Last change time
2023-11-01T22:39:26Z
Keywords
pull
Assigned to
No Owner
Creator
Iain Buclaw
Comments
Comment #0
by ibuclaw — 2023-10-01T23:23:13Z
Introduced by
https://github.com/dlang/dmd/pull/13769
--- $ dmd empty.dd Segmentation fault (core dumped) Backtrace: #0 __strlen_avx2 () at ../sysdeps/x86_64/multiarch/strlen-avx2.S:76 #1 0x0000555555961c68 in _D3dmd3doc10gendocfileFCQw7dmodule6ModulexAaxPaCQBu9errorsink9ErrorSinkKSQCt6common9outbuffer9OutBufferZv (outbuf=..., eSink=0x7ffff7b911f0, datetime=0x555555dd0ee8 <global+64> "Mon Oct 2 01:22:34 2023\n", ddoctext=..., m=0x7ffff7b958f0) at src/dmd/doc.d:441 #2 0x00005555558ec59e in _D3dmd4main7tryMainFmPPxaKSQz7globals5ParamZi (params=..., argv=0x7fffffffdac8, argc=3) at src/dmd/main.d:415 #3 0x00005555558ebc51 in _Dmain (_param_0=...) at src/dmd/main.d:133
Comment #1
by dlang-bot — 2023-10-01T23:48:40Z
@ibuclaw created dlang/dmd pull request #15644 "fix Issue 24171 - [REG 2.100] Segfault compiling an empty ddoc file" fixing this issue: - fix Issue 24171 - [REG 2.100] Segfault compiling an empty ddoc file
https://github.com/dlang/dmd/pull/15644
Comment #2
by dlang-bot — 2023-10-02T02:07:01Z
dlang/dmd pull request #15644 "fix Issue 24171 - [REG 2.100] Segfault compiling an empty ddoc file" was merged into stable: - 3309ff99f09502fcb64178d9768e5cfd3f610965 by Iain Buclaw: fix Issue 24171 - [REG 2.100] Segfault compiling an empty ddoc file
https://github.com/dlang/dmd/pull/15644
Comment #3
by dlang-bot — 2023-11-01T22:39:26Z
dlang/dmd pull request #15771 "merge stable" was merged into master: - c40c8003ef5806374f60b3d60a68a2f18a638ede by Iain Buclaw: fix Issue 24171 - [REG 2.100] Segfault compiling an empty ddoc file (#15644)
https://github.com/dlang/dmd/pull/15771