Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

自编译运行出错 #1084

Open
codeonline26 opened this issue Dec 21, 2024 · 0 comments
Open

自编译运行出错 #1084

codeonline26 opened this issue Dec 21, 2024 · 0 comments
Labels
help wanted Extra attention is needed question Further information is requested

Comments

@codeonline26
Copy link

codeonline26 commented Dec 21, 2024

ubuntu 22.04
amd64
编译成功但是运行不了
报错:

INFO[0000] [file]md5数据库已是最新
unexpected fault address 0xc000038658
fatal error: fault
unexpected fault address 0xc000130240
fatal error: fault
[signal SIGSEGV: segmentation violation code=0x2 addr=0xc000038658 pc=0xc000038658]

goroutine 39 [running]:
runtime.throw({0x137e920?, 0x0?})
        runtime/panic.go:1047 +0x5d fp=0xc000386eb0 sp=0xc000386e80 pc=0x437c5d
runtime.sigpanic()
        runtime/signal_unix.go:851 +0x28a fp=0xc000386f10 sp=0xc000386eb0 pc=0x44db8a
net.(*Resolver).tryOneName(_, {_, _}, _, {_, _}, _)
        net/dnsclient_unix.go:280 +0x575 fp=0xc000387a38 sp=0xc000386f10 pc=0x616175
net.(*Resolver).goLookupIPCNAMEOrder.func3.1(0x1?)
        net/dnsclient_unix.go:653 +0x85 fp=0xc000387fc8 sp=0xc000387a38 pc=0x6194e5
net.(*Resolver).goLookupIPCNAMEOrder.func3.2()
        net/dnsclient_unix.go:656 +0x2a fp=0xc000387fe0 sp=0xc000387fc8 pc=0x61942a
runtime.goexit()
        runtime/asm_amd64.s:1598 +0x1 fp=0xc000387fe8 sp=0xc000387fe0 pc=0x469f21
created by net.(*Resolver).goLookupIPCNAMEOrder.func3
        net/dnsclient_unix.go:652 +0x16c

goroutine 1 [select, locked to thread]:
runtime.gopark(0xc0000e1b88?, 0x2?, 0xe?, 0x0?, 0xc0000e1b0c?)
        runtime/proc.go:381 +0xd6 fp=0xc0000e1980 sp=0xc0000e1960 pc=0x43a976runtime.selectgo(0xc0000e1b88, 0xc0000e1b08, 0x2d4fb60?, 0x0, 0xc0000e1be0?, 0x1)
        runtime/select.go:327 +0x7be fp=0xc0000e1ac0 sp=0xc0000e1980 pc=0x44a13e
github.com/FloatTech/floatbox/file.GetLazyData({0x139e9a3, 0x17}, {0x139b589, 0x15}, 0x0)
        github.com/FloatTech/floatbox@v0.0.0-20241106130736-5aea0a935024/file/updater.go:96 +0x255 fp=0xc0000e1bb8 sp=0xc0000e1ac0 pc=0xa22795
github.com/FloatTech/zbputils/control.init.3()
        github.com/FloatTech/zbputils@v1.7.2-0.20241106140112-708bfd074ddd/control/servicepic.go:32 +0x37 fp=0xc0000e1bf0 sp=0xc0000e1bb8 pc=0xae2677
runtime.doInit(0x22b5c80)
        runtime/proc.go:6506 +0x126 fp=0xc0000e1d20 sp=0xc0000e1bf0 pc=0x447a46
runtime.doInit(0x22a44e0)
        runtime/proc.go:6483 +0x71 fp=0xc0000e1e50 sp=0xc0000e1d20 pc=0x447991
runtime.doInit(0x22c6aa0)
        runtime/proc.go:6483 +0x71 fp=0xc0000e1f80 sp=0xc0000e1e50 pc=0x447991
runtime.main()
        runtime/proc.go:233 +0x1c6 fp=0xc0000e1fe0 sp=0xc0000e1f80 pc=0x43a506
runtime.goexit()
        runtime/asm_amd64.s:1598 +0x1 fp=0xc0000e1fe8 sp=0xc0000e1fe0 pc=0x469f21

goroutine 2 [force gc (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
        runtime/proc.go:381 +0xd6 fp=0xc000068fb0 sp=0xc000068f90 pc=0x43a976runtime.goparkunlock(...)
        runtime/proc.go:387
runtime.forcegchelper()
        runtime/proc.go:305 +0xb0 fp=0xc000068fe0 sp=0xc000068fb0 pc=0x43a7b0runtime.goexit()
        runtime/asm_amd64.s:1598 +0x1 fp=0xc000068fe8 sp=0xc000068fe0 pc=0x469f21
created by runtime.init.6
        runtime/proc.go:293 +0x25

goroutine 3 [GC sweep wait]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
        runtime/proc.go:381 +0xd6 fp=0xc000069780 sp=0xc000069760 pc=0x43a976runtime.goparkunlock(...)
        runtime/proc.go:387
runtime.bgsweep(0x0?)
        runtime/mgcsweep.go:278 +0x8e fp=0xc0000697c8 sp=0xc000069780 pc=0x425d4e
runtime.gcenable.func1()
        runtime/mgc.go:178 +0x26 fp=0xc0000697e0 sp=0xc0000697c8 pc=0x41b006
runtime.goexit()
        runtime/asm_amd64.s:1598 +0x1 fp=0xc0000697e8 sp=0xc0000697e0 pc=0x469f21
created by runtime.gcenable
        runtime/mgc.go:178 +0x6b

goroutine 4 [GC scavenge wait]:
runtime.gopark(0x....
@fumiama fumiama added help wanted Extra attention is needed question Further information is requested labels Dec 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants