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

kinke via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Wed May 13 14:30:50 PDT 2015


On Wednesday, 13 May 2015 at 05:14:57 UTC, Dan Olson wrote:
>> 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

Thx - it crashes during the runShared test. pthread isn't 
supported on Windows. The access violation occurs in 
https://github.com/ldc-developers/druntime/blob/ldc/src/core/thread.d#L3597.


More information about the digitalmars-d-ldc mailing list