← Back to index
|
Original Bugzilla link
Bug 21326 – Every single executable built with dmd crashes with a segfault
Status
RESOLVED
Resolution
DUPLICATE
Severity
major
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Linux
Creation time
2020-10-18T20:27:32Z
Last change time
2020-10-19T10:15:45Z
Assigned to
No Owner
Creator
Ant
Comments
Comment #0
by agilbrt — 2020-10-18T20:27:32Z
Building and executing even the simplest executable with dmd crashes with a segfault. Steps to reproduce sh> echo "void main() {}" > dud.d sh> dmd dud.d sh> ./dud zsh: segmentation fault (core dumped) ./dud (Note: the core file is never actually dumped.) This also happens when building with dub. sh> dub init dud Package recipe format (sdl/json) [json]: sdl Name [dud]: Description [A minimal D application.]: Author name [Ant]: License [proprietary]: Copyright string [Copyright © 2020, Ant]: Add dependency (leave empty to skip) []: Successfully created an empty project in '/home/ant/dud'. Package successfully created in dud sh> cd dud sh> dub build sh> ./dud zsh: segmentation fault (core dumped) ./dud % dmd --version DMD32 D Compiler v2.094.0 Copyright (C) 1999-2020 by The D Language Foundation, All Rights Reserved written by Walter Bright % dub --version DUB version 1.23.0, built on Sep 22 2020 % uname -a Linux rattle 4.15.0-121-generic #123-Ubuntu SMP Mon Oct 5 16:16:19 UTC 2020 i686 i686 i686 GNU/Linux
Comment #1
by b2.temp — 2020-10-19T10:15:45Z
*** This issue has been marked as a duplicate of issue 19116 ***