[Issue 13727] std.stdio.File not thread-safe

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Mar 13 10:32:21 UTC 2018


https://issues.dlang.org/show_bug.cgi?id=13727

--- Comment #14 from Steven Schveighoffer <schveiguy at yahoo.com> ---
It seems to be passing more frequently, but still seems to have issues:
https://auto-tester.puremagic.com/show-run.ghtml?projectid=1&runid=3072904&isPull=true

Logged output:
Test runnable/test13727.d failed.  The logged output:
..\generated\windows\release\32\dmd.exe -conf= -m32 -Irunnable   
-odtest_results\runnable -oftest_results\runnable\test13727_0.exe 
runnable\test13727.d  -map nul.map


test_results\runnable\test13727_0.exe




..\generated\windows\release\32\dmd.exe -conf= -m32 -Irunnable   -inline
-odtest_results\runnable -oftest_results\runnable\test13727_1.exe 
runnable\test13727.d  -map nul.map


test_results\runnable\test13727_1.exe




..\generated\windows\release\32\dmd.exe -conf= -m32 -Irunnable   -release
-odtest_results\runnable -oftest_results\runnable\test13727_2.exe 
runnable\test13727.d  -map nul.map


test_results\runnable\test13727_2.exe




..\generated\windows\release\32\dmd.exe -conf= -m32 -Irunnable   -inline
-release -odtest_results\runnable -oftest_results\runnable\test13727_3.exe 
runnable\test13727.d  -map nul.map


test_results\runnable\test13727_3.exe




..\generated\windows\release\32\dmd.exe -conf= -m32 -Irunnable   -g
-odtest_results\runnable -oftest_results\runnable\test13727_4.exe 
runnable\test13727.d  -map nul.map


test_results\runnable\test13727_4.exe






std.exception.ErrnoException at std\stdio.d(576): Could not close file
`runnable/extra-files/extra13727.txt' (No error)



----------------



0x0040805C in @safe bool std.exception.errnoEnforce!(bool, "std\stdio.d",
576u).errnoEnforce(bool, lazy immutable(char)[])



0x00403BCB in @safe void std.stdio.File.detach()



0x004025CD in void
std.parallelism.ParallelForeach!(immutable(char)[][]).ParallelForeach.opApply(scope
int delegate(ref immutable(char)[])).doIt() at
C:\cygwin\home\braddr\sandbox\at-client\pull-3072904-Win_32\dmd\test\..\..\phobos\std\parallelism.d-mixin-4007(4053)



0x0040CFB1 in void std.parallelism.run!(void delegate()).run(void delegate())



0x00404C24 in void std.parallelism.TaskPool.executeWorkLoop()



0x00431934 in __threadstartex



0x77124A77 in RtlGetAppContainerNamedObjectPath



0x77124A47 in RtlGetAppContainerNamedObjectPath

--


More information about the Digitalmars-d-bugs mailing list