Bug 20481 – The compiled program by the dmd compiler calls SegFault

Status
NEW
Severity
major
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Linux
Creation time
2020-01-05T06:15:28Z
Last change time
2024-12-13T19:06:41Z
Assigned to
No Owner
Creator
Nazar Tosyukov
Moved to GitHub: dmd#17933 →

Comments

Comment #0 by tod.naz — 2020-01-05T06:15:28Z
Hello! The compiled program by the dmd compiler under the architecture of the Ubuntu i686 OS (the processor architecture is different since only 2 GB of RAM) calls SegFault. Simple program "Hello, World": "import std.stdio; int main (string [] args) {writeln (" Hello, World! "); return 0;}". When I compiled, I get an error when I call the program: PID segmentation fault (core dumped). Gdb is described like this: "0x004485b5 in _D2rt19sections_elf_shared10_tlsRangesFNbNcNdNiZSQBv4util9container5array__T5ArrayTAvZQk ()". Explicitly related something to arrays. Maybe someone can, why is this being called? Although compiling GDC, LDC, everything builds fine ...
Comment #1 by robert.schadek — 2024-12-13T19:06:41Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/17933 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB