Skip to content

m5pro 启动报错 #553

Description

@aavamin

SIGSEGV: segmentation violation

PC=0x184f477fc m=0 sigcode=2 addr=0x0

signal arrived during cgo execution

goroutine 1 gp=0x140000021c0 m=0 mp=0x1046fcfe0 [syscall, locked to thread]:

runtime.cgocall(0x101d4c0b4, 0x140000a9e08)

runtime/cgocall.go:167 +0x44 fp=0x140000a9dd0 sp=0x140000a9d90 pc=0x100634a34

github.com/shoenig/go-m1cpu._Cfunc_initialize()

_cgo_gotypes.go:149 +0x2c fp=0x140000a9e00 sp=0x140000a9dd0 pc=0x100bba85c

github.com/shoenig/go-m1cpu.init.0()

github.com/shoenig/go-m1cpu@v0.1.5/cpu.go:148 +0x1c fp=0x140000a9e10 sp=0x140000a9e00 pc=0x100bba8ec

runtime.doInit1(0x10445f240)

runtime/proc.go:7656 +0xc4 fp=0x140000a9f40 sp=0x140000a9e10 pc=0x100611fd4

runtime.doInit(...)

runtime/proc.go:7623

runtime.main()

runtime/proc.go:256 +0x338 fp=0x140000a9fd0 sp=0x140000a9f40 pc=0x100601fb8

runtime.goexit({})

runtime/asm_arm64.s:1268 +0x4 fp=0x140000a9fd0 sp=0x140000a9fd0 pc=0x100641734

goroutine 2 gp=0x14000002c40 m=nil [force gc (idle)]:

runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)

runtime/proc.go:460 +0xc0 fp=0x14000094f90 sp=0x14000094f70 pc=0x100638180

runtime.goparkunlock(...)

runtime/proc.go:466

runtime.forcegchelper()

runtime/proc.go:373 +0xb4 fp=0x14000094fd0 sp=0x14000094f90 pc=0x100602244

runtime.goexit({})

runtime/asm_arm64.s:1268 +0x4 fp=0x14000094fd0 sp=0x14000094fd0 pc=0x100641734

created by runtime.init.7 in goroutine 1

runtime/proc.go:361 +0x24

goroutine 18 gp=0x14000102380 m=nil [GC sweep wait]:

runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)

runtime/proc.go:460 +0xc0 fp=0x14000090760 sp=0x14000090740 pc=0x100638180

runtime.goparkunlock(...)

runtime/proc.go:466

runtime.bgsweep(0x14000110000)

runtime/mgcsweep.go:279 +0x9c fp=0x140000907b0 sp=0x14000090760 pc=0x1005e9dec

runtime.gcenable.gowrap1()

runtime/mgc.go:212 +0x28 fp=0x140000907d0 sp=0x140000907b0 pc=0x1005dd9d8

runtime.goexit({})

runtime/asm_arm64.s:1268 +0x4 fp=0x140000907d0 sp=0x140000907d0 pc=0x100641734

created by runtime.gcenable in goroutine 1

runtime/mgc.go:212 +0x6c

goroutine 19 gp=0x14000102540 m=nil [GC scavenge wait]:

runtime.gopark(0x14000110000?, 0x102dc5e78?, 0x1?, 0x0?, 0x14000102540?)

runtime/proc.go:460 +0xc0 fp=0x14000090f60 sp=0x14000090f40 pc=0x100638180

runtime.goparkunlock(...)

runtime/proc.go:466

runtime.(*scavengerState).park(0x1046fa6e0)

runtime/mgcscavenge.go:425 +0x5c fp=0x14000090f90 sp=0x14000090f60 pc=0x1005e796c

runtime.bgscavenge(0x14000110000)

runtime/mgcscavenge.go:653 +0x44 fp=0x14000090fb0 sp=0x14000090f90 pc=0x1005e7ea4

runtime.gcenable.gowrap2()

runtime/mgc.go:213 +0x28 fp=0x14000090fd0 sp=0x14000090fb0 pc=0x1005dd978

runtime.goexit({})

runtime/asm_arm64.s:1268 +0x4 fp=0x14000090fd0 sp=0x14000090fd0 pc=0x100641734

created by runtime.gcenable in goroutine 1

runtime/mgc.go:213 +0xac

r0 0x14

r1 0x0

r2 0x0

r3 0x16f846d00

r4 0xffffffff95dd7690

r5 0x20

r6 0x48

r7 0x0

r8 0x0

r9 0xfb99c88933f10099

r10 0x7ffffffffffff8

r11 0x0

r12 0x3

r13 0xa5e

r14 0x50

r15 0x80008

r16 0x184e11ef8

r17 0x1f2e36198

r18 0x0

r19 0x0

r20 0x140000a9e10

r21 0x140000a9c88

r22 0x104c5d424

r23 0x1f17f7a60

r24 0x1

r25 0x16f847500

r26 0x10445f248

r27 0x810

r28 0x1046fb360

r29 0x16f846d30

lr 0x184e11f1c

sp 0x16f846d20

pc 0x184f477fc

fault 0x0

请升级"go-m1cpu"这个依赖

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions