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

SIGSEGV: segmentation violation (when runnig binary from release) #513

Open
rjonczy opened this issue Apr 30, 2024 · 0 comments
Open

SIGSEGV: segmentation violation (when runnig binary from release) #513

rjonczy opened this issue Apr 30, 2024 · 0 comments

Comments

@rjonczy
Copy link
Contributor

rjonczy commented Apr 30, 2024

Getting following error when running binary from release:

cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Ubuntu 22.04.4 LTS"

Log

./picad
fatal error: unexpected signal during runtime execution
[signal SIGSEGV: segmentation violation code=0x1 addr=0xe5 pc=0x7f6b2830ed24]

runtime stack:
runtime.throw({0x30fdd2d?, 0x7f6b2807e2a0?})
        runtime/panic.go:1047 +0x5d fp=0x7ffc9e87f4e0 sp=0x7ffc9e87f4b0 pc=0x46031d
runtime.sigpanic()
        runtime/signal_unix.go:825 +0x3e9 fp=0x7ffc9e87f540 sp=0x7ffc9e87f4e0 pc=0x477869

goroutine 1 [syscall, locked to thread]:
runtime.cgocall(0x2394240, 0xc00049f2e0)
        runtime/cgocall.go:157 +0x5c fp=0xc00049f2b8 sp=0xc00049f280 pc=0x42b55c
os/user._Cfunc_mygetpwuid_r(0x3ef, 0xc0001842d0, 0x46, 0xc00046abf0, 0xc00046abf4)
        _cgo_gotypes.go:159 +0x65 fp=0xc00049f2e0 sp=0xc00049f2b8 pc=0xe46625
os/user._C_getpwuid_r(0x5?, 0xc00049f410?, 0x43510a?)
        os/user/cgo_lookup_cgo.go:91 +0xa5 fp=0xc00049f3a0 sp=0xc00049f2e0 pc=0xe467c5
os/user.lookupUnixUid.func1({0xc0001842d0?, 0x220?, 0x2e60080?})
        os/user/cgo_lookup_unix.go:57 +0x65 fp=0xc00049f448 sp=0xc00049f3a0 pc=0xe459c5
os/user.retryWithBuffer(0x512404a8?, 0xc00049f508)
        os/user/cgo_lookup_unix.go:171 +0x69 fp=0xc00049f4a8 sp=0xc00049f448 pc=0xe46129
os/user.lookupUnixUid(0x3ef)
        os/user/cgo_lookup_unix.go:55 +0x94 fp=0xc00049f568 sp=0xc00049f4a8 pc=0xe45854
os/user.current()
        os/user/cgo_lookup_unix.go:19 +0x47 fp=0xc00049f5a8 sp=0xc00049f568 pc=0xe45747
os/user.Current.func1()
        os/user/lookup.go:22 +0x17 fp=0xc00049f5b8 sp=0xc00049f5a8 pc=0xe46977
sync.(*Once).doSlow(0xc00049f680?, 0x435268?)
        sync/once.go:74 +0xc2 fp=0xc00049f618 sp=0xc00049f5b8 pc=0x4a29e2
sync.(*Once).Do(...)
        sync/once.go:65
os/user.Current()
        os/user/lookup.go:22 +0x37 fp=0xc00049f648 sp=0xc00049f618 pc=0xe46217
github.com/godbus/dbus.getRuntimeDirectory()
        github.com/godbus/[email protected]/conn_other.go:80 +0x19 fp=0xc00049f690 sp=0xc00049f648 pc=0xe4e8f9
github.com/godbus/dbus.tryDiscoverDbusSessionBusAddress()
        github.com/godbus/[email protected]/conn_other.go:52 +0x2b fp=0xc00049f738 sp=0xc00049f690 pc=0xe4e68b
github.com/godbus/dbus.getSessionBusAddress()
        github.com/godbus/[email protected]/conn.go:83 +0x66 fp=0xc00049f778 sp=0xc00049f738 pc=0xe49b46
github.com/godbus/dbus.SessionBusPrivate({0x0, 0x0, 0x0})
        github.com/godbus/[email protected]/conn.go:92 +0x28 fp=0xc00049f7b0 sp=0xc00049f778 pc=0xe49bc8
github.com/godbus/dbus.SessionBus()
        github.com/godbus/[email protected]/conn.go:63 +0xce fp=0xc00049f830 sp=0xc00049f7b0 pc=0xe4988e
github.com/99designs/keyring.init.1()
        github.com/99designs/[email protected]/kwallet.go:24 +0x45 fp=0xc00049f860 sp=0xc00049f830 pc=0xe72345
runtime.doInit(0x53bc040)
        runtime/proc.go:6525 +0x126 fp=0xc00049f990 sp=0xc00049f860 pc=0x470446
runtime.doInit(0x53c8c60)
        runtime/proc.go:6502 +0x71 fp=0xc00049fac0 sp=0xc00049f990 pc=0x470391
runtime.doInit(0x53a73a0)
        runtime/proc.go:6502 +0x71 fp=0xc00049fbf0 sp=0xc00049fac0 pc=0x470391
runtime.doInit(0x53d4860)
        runtime/proc.go:6502 +0x71 fp=0xc00049fd20 sp=0xc00049fbf0 pc=0x470391
runtime.doInit(0x53a9b00)
        runtime/proc.go:6502 +0x71 fp=0xc00049fe50 sp=0xc00049fd20 pc=0x470391
runtime.doInit(0x53a61c0)
        runtime/proc.go:6502 +0x71 fp=0xc00049ff80 sp=0xc00049fe50 pc=0x470391
runtime.main()
        runtime/proc.go:233 +0x1c6 fp=0xc00049ffe0 sp=0xc00049ff80 pc=0x462cc6
runtime.goexit()
        runtime/asm_amd64.s:1598 +0x1 fp=0xc00049ffe8 sp=0xc00049ffe0 pc=0x497981

goroutine 2 [force gc (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
        runtime/proc.go:381 +0xd6 fp=0xc000076fb0 sp=0xc000076f90 pc=0x463136
runtime.goparkunlock(...)
        runtime/proc.go:387
runtime.forcegchelper()
        runtime/proc.go:305 +0xb0 fp=0xc000076fe0 sp=0xc000076fb0 pc=0x462f70
runtime.goexit()
        runtime/asm_amd64.s:1598 +0x1 fp=0xc000076fe8 sp=0xc000076fe0 pc=0x497981
created by runtime.init.6
        runtime/proc.go:293 +0x25

goroutine 3 [GC sweep wait]:
runtime.gopark(0x1?, 0x0?, 0x0?, 0x0?, 0x0?)
        runtime/proc.go:381 +0xd6 fp=0xc000077780 sp=0xc000077760 pc=0x463136
runtime.goparkunlock(...)
        runtime/proc.go:387
runtime.bgsweep(0x0?)
        runtime/mgcsweep.go:319 +0xde fp=0xc0000777c8 sp=0xc000077780 pc=0x44d37e
runtime.gcenable.func1()
        runtime/mgc.go:178 +0x26 fp=0xc0000777e0 sp=0xc0000777c8 pc=0x4425e6
runtime.goexit()
        runtime/asm_amd64.s:1598 +0x1 fp=0xc0000777e8 sp=0xc0000777e0 pc=0x497981
created by runtime.gcenable
        runtime/mgc.go:178 +0x6b

goroutine 4 [GC scavenge wait]:
runtime.gopark(0x6867cbb353b04?, 0xa29e1c?, 0x0?, 0x0?, 0x0?)
        runtime/proc.go:381 +0xd6 fp=0xc000077f70 sp=0xc000077f50 pc=0x463136
runtime.goparkunlock(...)
        runtime/proc.go:387
runtime.(*scavengerState).park(0x54c7a00)
        runtime/mgcscavenge.go:400 +0x53 fp=0xc000077fa0 sp=0xc000077f70 pc=0x44b253
runtime.bgscavenge(0x0?)
        runtime/mgcscavenge.go:633 +0x65 fp=0xc000077fc8 sp=0xc000077fa0 pc=0x44b845
runtime.gcenable.func2()
        runtime/mgc.go:179 +0x26 fp=0xc000077fe0 sp=0xc000077fc8 pc=0x442586
runtime.goexit()
        runtime/asm_amd64.s:1598 +0x1 fp=0xc000077fe8 sp=0xc000077fe0 pc=0x497981
created by runtime.gcenable
        runtime/mgc.go:179 +0xaa

goroutine 18 [finalizer wait]:
runtime.gopark(0x1a0?, 0x54c8e80?, 0xa0?, 0x61?, 0xc000076770?)
        runtime/proc.go:381 +0xd6 fp=0xc000076628 sp=0xc000076608 pc=0x463136
runtime.runfinq()
        runtime/mfinal.go:193 +0x107 fp=0xc0000767e0 sp=0xc000076628 pc=0x4415a7
runtime.goexit()
        runtime/asm_amd64.s:1598 +0x1 fp=0xc0000767e8 sp=0xc0000767e0 pc=0x497981
created by runtime.createfing
        runtime/mfinal.go:163 +0x45

goroutine 20 [GC worker (idle)]:
runtime.gopark(0x6867cbb4628e9?, 0x42d0bd?, 0xe0?, 0x13?, 0xc0000727a8?)
        runtime/proc.go:381 +0xd6 fp=0xc000072750 sp=0xc000072730 pc=0x463136
runtime.gcBgMarkWorker()
        runtime/mgc.go:1275 +0xf1 fp=0xc0000727e0 sp=0xc000072750 pc=0x444351
runtime.goexit()
        runtime/asm_amd64.s:1598 +0x1 fp=0xc0000727e8 sp=0xc0000727e0 pc=0x497981
created by runtime.gcBgMarkStartWorkers
        runtime/mgc.go:1199 +0x25

goroutine 21 [GC worker (idle)]:
runtime.gopark(0x6867cbb50d31c?, 0x0?, 0x0?, 0x0?, 0x0?)
        runtime/proc.go:381 +0xd6 fp=0xc000072f50 sp=0xc000072f30 pc=0x463136
runtime.gcBgMarkWorker()
        runtime/mgc.go:1275 +0xf1 fp=0xc000072fe0 sp=0xc000072f50 pc=0x444351
runtime.goexit()
        runtime/asm_amd64.s:1598 +0x1 fp=0xc000072fe8 sp=0xc000072fe0 pc=0x497981
created by runtime.gcBgMarkStartWorkers
        runtime/mgc.go:1199 +0x25


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant