[Issue 21656] [REG2.091] Wrong file read during exception stringification leads to SIGBUS
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Mon Feb 22 11:55:34 UTC 2021
    
    
  
https://issues.dlang.org/show_bug.cgi?id=21656
--- Comment #3 from Vladimir Panteleev <dlang-bugzilla at thecybershadow.net> ---
BTW, not sure about other systems, but on Linux, reading /proc/self/exe is
going to be more reliable than via thisExePath. The reason being that
/proc/self/exe is a special directory entry which continues to be valid
(openable) even when the target that it (as a symlink) is pointing at is gone.
So, perhaps just moving thisExePath to Druntime is not the best option.
--
    
    
More information about the Digitalmars-d-bugs
mailing list