May 02, 2023 [Issue 23876] segfault / ICE regression with packages | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23876 --- Comment #1 from Jan Jurzitza <d.bugs@webfreak.org> --- smaller reduced.d: ```d import mystd.meta; import mystd.range; ``` -- |
May 04, 2023 [Issue 23876] segfault / ICE regression with packages | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23876 RazvanN <razvan.nitu1305@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |razvan.nitu1305@gmail.com Component|dmd |druntime --- Comment #2 from RazvanN <razvan.nitu1305@gmail.com> --- This seems to be a gc bug caused by the compiler implementation code. When the compiler parses the import declarations, to be more precise, the chain of packages separated by dots it needs to concatenate the identifiers to an array. That concatenation calls the _d_arrayappend hook, which currently is not templated which calls some conservative gc methods. The failure is somewhere in the innards of those functions, but up until this point I haven't been able to precisely pinpoint it. Changing to druntime bug. -- |
Copyright © 1999-2021 by the D Language Foundation