Skip to content

[skia] signal SIGILL, Illegal instruction from C:\msys64\mingw64\bin\libskia.dll #25333

@ajlani7105

Description

@ajlani7105

Description / Steps to reproduce the issue

Code :

    auto interface = GrGLMakeNativeInterface(); // SK_API sk_sp<const GrGLInterface> GrGLMakeNativeInterface()
    GrDirectContext * sContext = GrDirectContexts::MakeGL(interface).release(); // program crash here  ?!

GDB message :

Thread 1 received signal SIGILL, Illegal instruction.
0x00007ffa6e44903a in GrContextThreadSafeProxyPriv::Make(GrBackendApi, GrContextOptions const&) () from C:\msys64\mingw64\bin\libskia.dll
The target architecture is set to "auto" (currently "i386:x86-64").

Disassembly :

GrContextThreadSafeProxyPriv::Make(GrBackendApi, GrContextOptions const&):
	push   %rsi                     
	push   %rbx                     
	sub    $0x28,%rsp               
	mov    %r8,%rbx                 
	mov    %rcx,%rsi                
	mov    $0xf0,%ecx               
	mov    %edx,0x48(%rsp)          
	call   0x7ffa6ccc1778 <operator new(unsigned long long)>
	vmovdqu64 (%rbx),%zmm0         // here 

Expected behavior

rendering GrDirectContext from ( GrDirectContexts::MakeGL API ) normally without crashing .

Actual behavior

crash

Verification

Windows Version

MSYS_NT-10.0-26100

MINGW environments affected

  • MINGW64
  • MINGW32
  • UCRT64
  • CLANG64
  • CLANGARM64

Are you willing to submit a PR?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions