← Back to index
|
Original Bugzilla link
Bug 24681 – rawWrite on closed File and closed pipe segfault
Status
NEW
Severity
normal
Priority
P1
Component
phobos
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2024-07-25T09:47:05Z
Last change time
2024-12-01T16:42:51Z
Assigned to
No Owner
Creator
kdevel
Moved to GitHub: phobos#10558 →
Comments
Comment #0
by kdevel — 2024-07-25T09:47:05Z
related: #21728, #21729 segfpipe.d ``` import std.stdio; import std.process; void main () { auto p = pipe (); p.writeEnd.close (); p.writeEnd.rawWrite ("test"); } ``` segffile.d ``` import std.stdio; import std.file; void main () { auto f = File ("/dev/null"); f.close (); f.rawWrite ("test"); } ```
Comment #1
by robert.schadek — 2024-12-01T16:42:51Z
THIS ISSUE HAS BEEN MOVED TO GITHUB
https://github.com/dlang/phobos/issues/10558
DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB