Win64, merge-2.067, LLVM master, VS 2015 - current status

Dan Olson via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Tue May 12 22:14:55 PDT 2015


On Tuesday, 12 May 2015 at 22:46:26 UTC, kinke wrote:
> On Sunday, 10 May 2015 at 22:25:14 UTC, Dan Olson wrote:
>> Where does core.thread fail its test?
>
> Apparently an access violation in fiber_switchContext().
>
> asm:
> push rbx
> xor  rax,rax
> push qword ptr gs:[rax]
> push qword ptr gs:[rax+8]
> push qword ptr gs:[rax+10h]
> mov  qword ptr [rcx],rsp
> mov  rsp,rdx
> pop  qword ptr gs:[rax+10h] --> access violation with rax=0
> pop  qword ptr gs:[rax+8]
> pop  qword ptr gs:[rax]
> pop  rbx

I wonder if it issue #666 [1]?  It looks like the same failure I 
see on OS X/iOS and only in release builds.  Can you see if it 
happens in the runShared test?  If so, it may pass if you enable 
the version(Posix) code for sm_this that uses 
pthread_get/setspecific [2].

[1] https://github.com/ldc-developers/ldc/issues/666
[2] 
https://github.com/ldc-developers/druntime/blob/ldc/src/core/thread.d#L1135


More information about the digitalmars-d-ldc mailing list