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

SIGBUS error on BeagleBone Black (CPU: Texas Instruments Sitara AM3358) #763

Closed
r-j-s opened this issue Sep 11, 2024 · 0 comments
Closed
Labels
bug Something isn't working

Comments

@r-j-s
Copy link

r-j-s commented Sep 11, 2024

Hello,

first of all thank you for this cool project. But unfortunatly on a newly installed BeagleBone Black I get a SIGBUS error.
A uname -a outputs the following:
Linux BeagleBone 5.10.168-ti-r71 #1bullseye SMP PREEMPT Fri Sep 1 04:05:07 UTC 2023 armv7l GNU/Linux

After execute the upsnap 4.3.1 binary (armv7) with this command:
sudo ./upsnap --dev serve --http=0.0.0.0:8090

I get the following error messages:

[64.00ms] SELECT {{_params}}.* FROM `_params` WHERE `key`='settings' LIMIT 1
[1.00ms] SELECT {{_collections}}.* FROM `_collections`
unexpected fault address 0xb6c8dfff
fatal error: fault
[signal SIGBUS: bus error code=0x2 addr=0xb6c8dfff pc=0xb8c174]

goroutine 18 gp=0x44fb9e8 m=0 mp=0x20ab160 [running]:
runtime.throw({0x10cd200, 0x5})
        /opt/hostedtoolcache/go/1.23.0/x64/src/runtime/panic.go:1067 +0x34 fp=0x4638e74 sp=0x4638e60 pc=0x8ccf0
runtime.sigpanic()
        /opt/hostedtoolcache/go/1.23.0/x64/src/runtime/signal_unix.go:897 +0x104 fp=0x4638ea4 sp=0x4638e74 pc=0x8efa4
modernc.org/libc.Xmemset(0x45e3b00, 0xb6c86088, 0x0, 0x7f78)
        /home/runner/go/pkg/mod/modernc.org/[email protected]/ccgo_linux_arm.go:146120 +0x24 fp=0x4638ea8 sp=0x4638ea8 pc=0xb8c174
modernc.org/sqlite/lib._walIndexAppend(0x45e3b00, 0xb5c00718, 0x1, 0x1)
        /home/runner/go/pkg/mod/modernc.org/[email protected]/lib/sqlite_linux_arm.go:43350 +0xe4 fp=0x4638ee0 sp=0x4638ea8 pc=0xbdd784
modernc.org/sqlite/lib._walFrames(0x45e3b00, 0xb5c00718, 0x1000, 0xb5e0b038, 0x3, 0x1, 0x8)
        /home/runner/go/pkg/mod/modernc.org/[email protected]/lib/sqlite_linux_arm.go:46136 +0xa48 fp=0x4638f64 sp=0x4638ee0 pc=0xbe3c70
modernc.org/sqlite/lib._sqlite3WalFrames(0x45e3b00, 0xb5c00718, 0x1000, 0xb5e0b038, 0x3, 0x1, 0x8)
        /home/runner/go/pkg/mod/modernc.org/[email protected]/lib/sqlite_linux_arm.go:46177 +0x4c fp=0x4638f88 sp=0x4638f64 pc=0xbe3f94
modernc.org/sqlite/lib._pagerWalFrames(0x45e3b00, 0xb6100418, 0xb5e0b038, 0x3, 0x1)
        /home/runner/go/pkg/mod/modernc.org/[email protected]/lib/sqlite_linux_arm.go:37777 +0x114 fp=0x4638fc8 sp=0x4638f88 pc=0xbd455c
modernc.org/sqlite/lib._sqlite3PagerCommitPhaseOne(0x45e3b00, 0xb6100418, 0x0, 0x0)
        /home/runner/go/pkg/mod/modernc.org/[email protected]/lib/sqlite_linux_arm.go:40996 +0x1b0 fp=0x4638ffc sp=0x4638fc8 pc=0xbdad28
modernc.org/sqlite/lib._sqlite3BtreeCommitPhaseOne(0x45e3b00, 0xb5f00058, 0x0)
        /home/runner/go/pkg/mod/modernc.org/[email protected]/lib/sqlite_linux_arm.go:51705 +0xbc fp=0x463901c sp=0x4638ffc pc=0xbedc40
modernc.org/sqlite/lib._vdbeCommit(0x45e3b00, 0xb6100018, 0xb5c00918)
        /home/runner/go/pkg/mod/modernc.org/[email protected]/lib/sqlite_linux_arm.go:64640 +0xdd4 fp=0x46390e4 sp=0x463901c pc=0xc0e5b8
modernc.org/sqlite/lib._sqlite3VdbeHalt(0x45e3b00, 0xb5c00918)
        /home/runner/go/pkg/mod/modernc.org/[email protected]/lib/sqlite_linux_arm.go:65053 +0x35c fp=0x463910c sp=0x46390e4 pc=0xc0ed90
modernc.org/sqlite/lib._sqlite3VdbeExec(0x45e3b00, 0xb5c00918)
        /home/runner/go/pkg/mod/modernc.org/[email protected]/lib/sqlite_linux_arm.go:71196 +0x493c fp=0x46395ec sp=0x463910c pc=0xc1ee40
modernc.org/sqlite/lib._sqlite3Step(0x45e3b00, 0xb5c00918)
        /home/runner/go/pkg/mod/modernc.org/[email protected]/lib/sqlite_linux_arm.go:67892 +0x90 fp=0x463960c sp=0x46395ec pc=0xc15478
modernc.org/sqlite/lib.Xsqlite3_step(0x45e3b00, 0xb5c00918)
        /home/runner/go/pkg/mod/modernc.org/[email protected]/lib/sqlite_linux_arm.go:67959 +0xdc fp=0x463963c sp=0x463960c pc=0xc158dc
modernc.org/sqlite.(*conn).step(0x45cfdc0, 0xb5c00918)
        /home/runner/go/pkg/mod/modernc.org/[email protected]/sqlite.go:1027 +0x28 fp=0x4639654 sp=0x463963c pc=0xd7c71c
modernc.org/sqlite.(*stmt).exec.func2(0x45fa980, 0x46396cc, {0x20b5340, 0x0, 0x0}, 0x463971c)
        /home/runner/go/pkg/mod/modernc.org/[email protected]/sqlite.go:552 +0x128 fp=0x46396a4 sp=0x4639654 pc=0xd7a28c
modernc.org/sqlite.(*stmt).exec(0x45fa980, {0x180ad10, 0x20b5340}, {0x20b5340, 0x0, 0x0})
        /home/runner/go/pkg/mod/modernc.org/[email protected]/sqlite.go:565 +0x258 fp=0x4639700 sp=0x46396a4 pc=0xd79ff4
modernc.org/sqlite.(*conn).exec(0x45cfdc0, {0x180ad10, 0x20b5340}, {0x303f3b0, 0x6b}, {0x20b5340, 0x0, 0x0})
        /home/runner/go/pkg/mod/modernc.org/[email protected]/sqlite.go:1686 +0xe8 fp=0x4639744 sp=0x4639700 pc=0xd7eb54
modernc.org/sqlite.(*conn).ExecContext(0x45cfdc0, {0x180ad10, 0x20b5340}, {0x303f3b0, 0x6b}, {0x20b5340, 0x0, 0x0})
        /home/runner/go/pkg/mod/modernc.org/[email protected]/sqlite_go18.go:53 +0x54 fp=0x4639778 sp=0x4639744 pc=0xd82244
database/sql.ctxDriverExec({0x180ad10, 0x20b5340}, {0xb6c8ed00, 0x45cfdc0}, {0x0, 0x0}, {0x303f3b0, 0x6b}, {0x20b5340, 0x0, ...})
        /opt/hostedtoolcache/go/1.23.0/x64/src/database/sql/ctxutil.go:31 +0x94 fp=0x46397d0 sp=0x4639778 pc=0x42aeec
database/sql.(*DB).execDC.func2()
        /opt/hostedtoolcache/go/1.23.0/x64/src/database/sql/sql.go:1705 +0x168 fp=0x463983c sp=0x46397d0 pc=0x431fe0
database/sql.withLock({0x1805924, 0x45e3b60}, 0x3088918)
        /opt/hostedtoolcache/go/1.23.0/x64/src/database/sql/sql.go:3566 +0x6c fp=0x4639858 sp=0x463983c pc=0x439db0
database/sql.(*DB).execDC(0x3091d68, {0x180ad10, 0x20b5340}, 0x45e3b60, 0x308899c, {0x303f3b0, 0x6b}, {0x0, 0x0, 0x0})
        /opt/hostedtoolcache/go/1.23.0/x64/src/database/sql/sql.go:1700 +0x1e0 fp=0x4639960 sp=0x4639858 pc=0x431aa8
database/sql.(*DB).exec(0x3091d68, {0x180ad10, 0x20b5340}, {0x303f3b0, 0x6b}, {0x0, 0x0, 0x0}, 0x1)
        /opt/hostedtoolcache/go/1.23.0/x64/src/database/sql/sql.go:1685 +0xc0 fp=0x46399a4 sp=0x4639960 pc=0x431890
database/sql.(*DB).ExecContext.func1(0x1)
        /opt/hostedtoolcache/go/1.23.0/x64/src/database/sql/sql.go:1664 +0x6c fp=0x46399e4 sp=0x46399a4 pc=0x4316c4
database/sql.(*DB).retry(0x3091d68, 0x4639a30)
        /opt/hostedtoolcache/go/1.23.0/x64/src/database/sql/sql.go:1568 +0x78 fp=0x4639a0c sp=0x46399e4 pc=0x430e30
database/sql.(*DB).ExecContext(0x3091d68, {0x180ad10, 0x20b5340}, {0x303f3b0, 0x6b}, {0x0, 0x0, 0x0})
        /opt/hostedtoolcache/go/1.23.0/x64/src/database/sql/sql.go:1663 +0x9c fp=0x4639a5c sp=0x4639a0c pc=0x431618
database/sql.(*DB).Exec(0x3091d68, {0x303f3b0, 0x6b}, {0x0, 0x0, 0x0})
        /opt/hostedtoolcache/go/1.23.0/x64/src/database/sql/sql.go:1677 +0x54 fp=0x4639a90 sp=0x4639a5c pc=0x431794
github.com/pocketbase/dbx.(*Query).execute(0x45e3ce0)
        /home/runner/go/pkg/mod/github.com/pocketbase/[email protected]/query.go:231 +0x218 fp=0x4639b64 sp=0x4639a90 pc=0x448500
github.com/pocketbase/dbx.(*Query).Execute.func1()
        /home/runner/go/pkg/mod/github.com/pocketbase/[email protected]/query.go:207 +0x24 fp=0x4639b80 sp=0x4639b64 pc=0x44828c
github.com/pocketbase/dbx.(*Query).execWrap(0x45e3ce0, 0x4630060)
        /home/runner/go/pkg/mod/github.com/pocketbase/[email protected]/query.go:366 +0x54 fp=0x4639b94 sp=0x4639b80 pc=0x449828
github.com/pocketbase/dbx.(*Query).Execute(0x45e3ce0)
        /home/runner/go/pkg/mod/github.com/pocketbase/[email protected]/query.go:205 +0x90 fp=0x4639bac sp=0x4639b94 pc=0x448220
github.com/pocketbase/pocketbase/tools/migrate.(*Runner).createMigrationsTable(0x45a7d88)
        /home/runner/go/pkg/mod/github.com/pocketbase/[email protected]/tools/migrate/runner.go:211 +0xc4 fp=0x4639bd4 sp=0x4639bac pc=0xe0fe84
github.com/pocketbase/pocketbase/tools/migrate.NewRunner(0x4603780, {{0x44fb0e8, 0x2d, 0x46}})
        /home/runner/go/pkg/mod/github.com/pocketbase/[email protected]/tools/migrate/runner.go:31 +0x84 fp=0x4639be8 sp=0x4639bd4 pc=0xe0ed04
github.com/pocketbase/pocketbase/apis.runMigrations({0x18128a4, 0x45cfa80})
        /home/runner/go/pkg/mod/github.com/pocketbase/[email protected]/apis/serve.go:266 +0xf8 fp=0x4639c34 sp=0x4639be8 pc=0xe3d440
github.com/pocketbase/pocketbase/apis.Serve({0x18128a4, 0x45cfa80}, {0x1, {0xbee778c7, 0xc}, {0x0, 0x0}, {0x4630020, 0x0, 0x2}, ...})
        /home/runner/go/pkg/mod/github.com/pocketbase/[email protected]/apis/serve.go:67 +0x8c fp=0x4639e20 sp=0x4639c34 pc=0xe3b82c
github.com/pocketbase/pocketbase/cmd.NewServeCommand.func1(0x30bad88, {0x4630020, 0x0, 0x2})
        /home/runner/go/pkg/mod/github.com/pocketbase/[email protected]/cmd/serve.go:39 +0x184 fp=0x4639e9c sp=0x4639e20 pc=0xe9f658
github.com/spf13/cobra.(*Command).execute(0x30bad88, {0x4630010, 0x2, 0x2})
        /home/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:985 +0x9d8 fp=0x4639f5c sp=0x4639e9c pc=0xe9049c
github.com/spf13/cobra.(*Command).ExecuteC(0x30ba308)
        /home/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:1117 +0x44c fp=0x4639fd4 sp=0x4639f5c pc=0xe90d4c
github.com/spf13/cobra.(*Command).Execute(...)
        /home/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:1041
github.com/pocketbase/pocketbase.(*PocketBase).Execute.func2()
        /home/runner/go/pkg/mod/github.com/pocketbase/[email protected]/pocketbase.go:170 +0x28 fp=0x4639fec sp=0x4639fd4 pc=0xe9fe20
runtime.goexit({})
        /opt/hostedtoolcache/go/1.23.0/x64/src/runtime/asm_arm.s:884 +0x4 fp=0x4639fec sp=0x4639fec pc=0x948a4
created by github.com/pocketbase/pocketbase.(*PocketBase).Execute in goroutine 1
        /home/runner/go/pkg/mod/github.com/pocketbase/[email protected]/pocketbase.go:168 +0x10c

goroutine 1 gp=0x3002128 m=nil [chan receive]:
runtime.gopark(0x166ad64, 0x462e034, 0xe, 0x7, 0x2)
        /opt/hostedtoolcache/go/1.23.0/x64/src/runtime/proc.go:424 +0x104 fp=0x449fe8c sp=0x449fe78 pc=0x8ce30
runtime.chanrecv(0x462e000, 0x0, 0x1)
        /opt/hostedtoolcache/go/1.23.0/x64/src/runtime/chan.go:639 +0x4e0 fp=0x449fec8 sp=0x449fe8c pc=0x18674
runtime.chanrecv1(0x462e000, 0x0)
        /opt/hostedtoolcache/go/1.23.0/x64/src/runtime/chan.go:489 +0x20 fp=0x449fedc sp=0x449fec8 pc=0x18164
github.com/pocketbase/pocketbase.(*PocketBase).Execute(0x45cfa80)
        /home/runner/go/pkg/mod/github.com/pocketbase/[email protected]/pocketbase.go:175 +0x120 fp=0x449ff0c sp=0x449fedc pc=0xe9fcf4
github.com/pocketbase/pocketbase.(*PocketBase).Start(0x45cfa80)
        /home/runner/go/pkg/mod/github.com/pocketbase/[email protected]/pocketbase.go:141 +0xa8 fp=0x449ff24 sp=0x449ff0c pc=0xe9fbac
github.com/seriousm4x/upsnap/pb.StartPocketBase({0x180211c, 0x4555ea0})
        /home/runner/work/UpSnap/UpSnap/backend/pb/pb.go:216 +0x548 fp=0x449ff9c sp=0x449ff24 pc=0xeccc94
main.main()
        /home/runner/work/UpSnap/UpSnap/backend/main.go:15 +0x2c fp=0x449ffa8 sp=0x449ff9c pc=0xed0c70
runtime.main()
        /opt/hostedtoolcache/go/1.23.0/x64/src/runtime/proc.go:272 +0x2ec fp=0x449ffec sp=0x449ffa8 pc=0x51a7c
runtime.goexit({})
        /opt/hostedtoolcache/go/1.23.0/x64/src/runtime/asm_arm.s:884 +0x4 fp=0x449ffec sp=0x449ffec pc=0x948a4

goroutine 2 gp=0x3002488 m=nil [force gc (idle)]:
runtime.gopark(0x166aed8, 0x20a8b40, 0x11, 0xa, 0x1)
        /opt/hostedtoolcache/go/1.23.0/x64/src/runtime/proc.go:424 +0x104 fp=0x3056fd4 sp=0x3056fc0 pc=0x8ce30
runtime.goparkunlock(...)
        /opt/hostedtoolcache/go/1.23.0/x64/src/runtime/proc.go:430
runtime.forcegchelper()
        /opt/hostedtoolcache/go/1.23.0/x64/src/runtime/proc.go:337 +0xe4 fp=0x3056fec sp=0x3056fd4 pc=0x51ee8
runtime.goexit({})
        /opt/hostedtoolcache/go/1.23.0/x64/src/runtime/asm_arm.s:884 +0x4 fp=0x3056fec sp=0x3056fec pc=0x948a4
created by runtime.init.6 in goroutine 1
        /opt/hostedtoolcache/go/1.23.0/x64/src/runtime/proc.go:325 +0x1c

goroutine 3 gp=0x30025a8 m=nil [GC sweep wait]:
runtime.gopark(0x166aed8, 0x20a9730, 0xc, 0x9, 0x1)
        /opt/hostedtoolcache/go/1.23.0/x64/src/runtime/proc.go:424 +0x104 fp=0x30577c4 sp=0x30577b0 pc=0x8ce30
runtime.goparkunlock(...)
        /opt/hostedtoolcache/go/1.23.0/x64/src/runtime/proc.go:430
runtime.bgsweep(0x3064000)
        /opt/hostedtoolcache/go/1.23.0/x64/src/runtime/mgcsweep.go:317 +0x11c fp=0x30577e4 sp=0x30577c4 pc=0x39fd8
runtime.gcenable.gowrap1()
        /opt/hostedtoolcache/go/1.23.0/x64/src/runtime/mgc.go:203 +0x28 fp=0x30577ec sp=0x30577e4 pc=0x29d88
runtime.goexit({})
        /opt/hostedtoolcache/go/1.23.0/x64/src/runtime/asm_arm.s:884 +0x4 fp=0x30577ec sp=0x30577ec pc=0x948a4
created by runtime.gcenable in goroutine 1
        /opt/hostedtoolcache/go/1.23.0/x64/src/runtime/mgc.go:203 +0x74

goroutine 4 gp=0x30026c8 m=nil [GC scavenge wait]:
runtime.gopark(0x166aed8, 0x20aa148, 0xd, 0xa, 0x2)
        /opt/hostedtoolcache/go/1.23.0/x64/src/runtime/proc.go:424 +0x104 fp=0x3057fb4 sp=0x3057fa0 pc=0x8ce30
runtime.goparkunlock(...)
        /opt/hostedtoolcache/go/1.23.0/x64/src/runtime/proc.go:430
runtime.(*scavengerState).park(0x20aa148)
        /opt/hostedtoolcache/go/1.23.0/x64/src/runtime/mgcscavenge.go:425 +0x68 fp=0x3057fc8 sp=0x3057fb4 pc=0x37308
runtime.bgscavenge(0x3064000)
        /opt/hostedtoolcache/go/1.23.0/x64/src/runtime/mgcscavenge.go:658 +0x60 fp=0x3057fe4 sp=0x3057fc8 pc=0x37a38
runtime.gcenable.gowrap2()
        /opt/hostedtoolcache/go/1.23.0/x64/src/runtime/mgc.go:204 +0x28 fp=0x3057fec sp=0x3057fe4 pc=0x29d34
runtime.goexit({})
        /opt/hostedtoolcache/go/1.23.0/x64/src/runtime/asm_arm.s:884 +0x4 fp=0x3057fec sp=0x3057fec pc=0x948a4
created by runtime.gcenable in goroutine 1
        /opt/hostedtoolcache/go/1.23.0/x64/src/runtime/mgc.go:204 +0xbc

goroutine 5 gp=0x3002c68 m=nil [finalizer wait]:
runtime.gopark(0x166ad84, 0x20b53d0, 0x10, 0xa, 0x1)
        /opt/hostedtoolcache/go/1.23.0/x64/src/runtime/proc.go:424 +0x104 fp=0x305678c sp=0x3056778 pc=0x8ce30
runtime.runfinq()
        /opt/hostedtoolcache/go/1.23.0/x64/src/runtime/mfinal.go:193 +0x110 fp=0x30567ec sp=0x305678c pc=0x28ba8
runtime.goexit({})
        /opt/hostedtoolcache/go/1.23.0/x64/src/runtime/asm_arm.s:884 +0x4 fp=0x30567ec sp=0x30567ec pc=0x948a4
created by runtime.createfing in goroutine 1
        /opt/hostedtoolcache/go/1.23.0/x64/src/runtime/mfinal.go:163 +0x5c

goroutine 6 gp=0x3002d88 m=nil [GC worker (idle)]:
runtime.gopark(0x166ad90, 0x303a0c0, 0x1a, 0xa, 0x0)
        /opt/hostedtoolcache/go/1.23.0/x64/src/runtime/proc.go:424 +0x104 fp=0x3058788 sp=0x3058774 pc=0x8ce30
runtime.gcBgMarkWorker(0x30640c0)
        /opt/hostedtoolcache/go/1.23.0/x64/src/runtime/mgc.go:1363 +0xf4 fp=0x30587e4 sp=0x3058788 pc=0x2cbe4
runtime.gcBgMarkStartWorkers.gowrap1()
        /opt/hostedtoolcache/go/1.23.0/x64/src/runtime/mgc.go:1279 +0x28 fp=0x30587ec sp=0x30587e4 pc=0x2cac4
runtime.goexit({})
        /opt/hostedtoolcache/go/1.23.0/x64/src/runtime/asm_arm.s:884 +0x4 fp=0x30587ec sp=0x30587ec pc=0x948a4
created by runtime.gcBgMarkStartWorkers in goroutine 1
        /opt/hostedtoolcache/go/1.23.0/x64/src/runtime/mgc.go:1279 +0x14c

goroutine 7 gp=0x3003d48 m=nil [select]:
runtime.gopark(0x166af08, 0x0, 0x9, 0x3, 0x1)
        /opt/hostedtoolcache/go/1.23.0/x64/src/runtime/proc.go:424 +0x104 fp=0x3053ee8 sp=0x3053ed4 pc=0x8ce30
runtime.selectgo(0x3053fc4, 0x3053fb8, 0x0, 0x0, 0x3, 0x1)
        /opt/hostedtoolcache/go/1.23.0/x64/src/runtime/select.go:335 +0xb68 fp=0x3053f94 sp=0x3053ee8 pc=0x669e8
go.opencensus.io/stats/view.(*worker).start(0x30d91a0)
        /home/runner/go/pkg/mod/[email protected]/stats/view/worker.go:292 +0xbc fp=0x3053fe4 sp=0x3053f94 pc=0x84f0c4
go.opencensus.io/stats/view.init.0.gowrap1()
        /home/runner/go/pkg/mod/[email protected]/stats/view/worker.go:34 +0x28 fp=0x3053fec sp=0x3053fe4 pc=0x84e4a0
runtime.goexit({})
        /opt/hostedtoolcache/go/1.23.0/x64/src/runtime/asm_arm.s:884 +0x4 fp=0x3053fec sp=0x3053fec pc=0x948a4
created by go.opencensus.io/stats/view.init.0 in goroutine 1
        /home/runner/go/pkg/mod/[email protected]/stats/view/worker.go:34 +0xa0

goroutine 8 gp=0x44fa008 m=nil [chan receive]:
runtime.gopark(0x166ad64, 0x3064934, 0xe, 0x7, 0x2)
        /opt/hostedtoolcache/go/1.23.0/x64/src/runtime/proc.go:424 +0x104 fp=0x305478c sp=0x3054778 pc=0x8ce30
runtime.chanrecv(0x3064900, 0x0, 0x1)
        /opt/hostedtoolcache/go/1.23.0/x64/src/runtime/chan.go:639 +0x4e0 fp=0x30547c8 sp=0x305478c pc=0x18674
runtime.chanrecv1(0x3064900, 0x0)
        /opt/hostedtoolcache/go/1.23.0/x64/src/runtime/chan.go:489 +0x20 fp=0x30547dc sp=0x30547c8 pc=0x18164
runtime.unique_runtime_registerUniqueMapCleanup.func1(...)
        /opt/hostedtoolcache/go/1.23.0/x64/src/runtime/mgc.go:1732
runtime.unique_runtime_registerUniqueMapCleanup.gowrap1()
        /opt/hostedtoolcache/go/1.23.0/x64/src/runtime/mgc.go:1735 +0x40 fp=0x30547ec sp=0x30547dc pc=0x2ddb0
runtime.goexit({})
        /opt/hostedtoolcache/go/1.23.0/x64/src/runtime/asm_arm.s:884 +0x4 fp=0x30547ec sp=0x30547ec pc=0x948a4
created by unique.runtime_registerUniqueMapCleanup in goroutine 1
        /opt/hostedtoolcache/go/1.23.0/x64/src/runtime/mgc.go:1730 +0xa4

goroutine 9 gp=0x44fb208 m=nil [select]:
runtime.gopark(0x166af08, 0x0, 0x9, 0x3, 0x1)
        /opt/hostedtoolcache/go/1.23.0/x64/src/runtime/proc.go:424 +0x104 fp=0x3054ef4 sp=0x3054ee0 pc=0x8ce30
runtime.selectgo(0x3054fcc, 0x3054fc4, 0x0, 0x0, 0x2, 0x1)
        /opt/hostedtoolcache/go/1.23.0/x64/src/runtime/select.go:335 +0xb68 fp=0x3054fa0 sp=0x3054ef4 pc=0x669e8
database/sql.(*DB).connectionOpener(0x3091d68, {0x180ae2c, 0x45f5710})
        /opt/hostedtoolcache/go/1.23.0/x64/src/database/sql/sql.go:1253 +0x9c fp=0x3054fdc sp=0x3054fa0 pc=0x42f3d4
database/sql.OpenDB.gowrap1()
        /opt/hostedtoolcache/go/1.23.0/x64/src/database/sql/sql.go:833 +0x38 fp=0x3054fec sp=0x3054fdc pc=0x42d690
runtime.goexit({})
        /opt/hostedtoolcache/go/1.23.0/x64/src/runtime/asm_arm.s:884 +0x4 fp=0x3054fec sp=0x3054fec pc=0x948a4
created by database/sql.OpenDB in goroutine 1
        /opt/hostedtoolcache/go/1.23.0/x64/src/database/sql/sql.go:833 +0x13c

goroutine 10 gp=0x44fb328 m=nil [select]:
runtime.gopark(0x166af08, 0x0, 0x9, 0x3, 0x1)
        /opt/hostedtoolcache/go/1.23.0/x64/src/runtime/proc.go:424 +0x104 fp=0x30556f4 sp=0x30556e0 pc=0x8ce30
runtime.selectgo(0x30557cc, 0x30557c4, 0x0, 0x0, 0x2, 0x1)
        /opt/hostedtoolcache/go/1.23.0/x64/src/runtime/select.go:335 +0xb68 fp=0x30557a0 sp=0x30556f4 pc=0x669e8
database/sql.(*DB).connectionOpener(0x3091e08, {0x180ae2c, 0x45f5740})
        /opt/hostedtoolcache/go/1.23.0/x64/src/database/sql/sql.go:1253 +0x9c fp=0x30557dc sp=0x30557a0 pc=0x42f3d4
database/sql.OpenDB.gowrap1()
        /opt/hostedtoolcache/go/1.23.0/x64/src/database/sql/sql.go:833 +0x38 fp=0x30557ec sp=0x30557dc pc=0x42d690
runtime.goexit({})
        /opt/hostedtoolcache/go/1.23.0/x64/src/runtime/asm_arm.s:884 +0x4 fp=0x30557ec sp=0x30557ec pc=0x948a4
created by database/sql.OpenDB in goroutine 1
        /opt/hostedtoolcache/go/1.23.0/x64/src/database/sql/sql.go:833 +0x13c

goroutine 11 gp=0x44fb448 m=nil [select]:
runtime.gopark(0x166af08, 0x0, 0x9, 0x3, 0x1)
        /opt/hostedtoolcache/go/1.23.0/x64/src/runtime/proc.go:424 +0x104 fp=0x3055ef4 sp=0x3055ee0 pc=0x8ce30
runtime.selectgo(0x3055fcc, 0x3055fc4, 0x0, 0x0, 0x2, 0x1)
        /opt/hostedtoolcache/go/1.23.0/x64/src/runtime/select.go:335 +0xb68 fp=0x3055fa0 sp=0x3055ef4 pc=0x669e8
database/sql.(*DB).connectionOpener(0x3091ea8, {0x180ae2c, 0x45f5770})
        /opt/hostedtoolcache/go/1.23.0/x64/src/database/sql/sql.go:1253 +0x9c fp=0x3055fdc sp=0x3055fa0 pc=0x42f3d4
database/sql.OpenDB.gowrap1()
        /opt/hostedtoolcache/go/1.23.0/x64/src/database/sql/sql.go:833 +0x38 fp=0x3055fec sp=0x3055fdc pc=0x42d690
runtime.goexit({})
        /opt/hostedtoolcache/go/1.23.0/x64/src/runtime/asm_arm.s:884 +0x4 fp=0x3055fec sp=0x3055fec pc=0x948a4
created by database/sql.OpenDB in goroutine 1
        /opt/hostedtoolcache/go/1.23.0/x64/src/database/sql/sql.go:833 +0x13c

goroutine 12 gp=0x44fb568 m=nil [select]:
runtime.gopark(0x166af08, 0x0, 0x9, 0x3, 0x1)
        /opt/hostedtoolcache/go/1.23.0/x64/src/runtime/proc.go:424 +0x104 fp=0x3058ef4 sp=0x3058ee0 pc=0x8ce30
runtime.selectgo(0x3058fcc, 0x3058fc4, 0x0, 0x0, 0x2, 0x1)
        /opt/hostedtoolcache/go/1.23.0/x64/src/runtime/select.go:335 +0xb68 fp=0x3058fa0 sp=0x3058ef4 pc=0x669e8
database/sql.(*DB).connectionOpener(0x3091f48, {0x180ae2c, 0x45f57a0})
        /opt/hostedtoolcache/go/1.23.0/x64/src/database/sql/sql.go:1253 +0x9c fp=0x3058fdc sp=0x3058fa0 pc=0x42f3d4
database/sql.OpenDB.gowrap1()
        /opt/hostedtoolcache/go/1.23.0/x64/src/database/sql/sql.go:833 +0x38 fp=0x3058fec sp=0x3058fdc pc=0x42d690
runtime.goexit({})
        /opt/hostedtoolcache/go/1.23.0/x64/src/runtime/asm_arm.s:884 +0x4 fp=0x3058fec sp=0x3058fec pc=0x948a4
created by database/sql.OpenDB in goroutine 1
        /opt/hostedtoolcache/go/1.23.0/x64/src/database/sql/sql.go:833 +0x13c

goroutine 13 gp=0x44fb688 m=nil [select]:
runtime.gopark(0x166af08, 0x0, 0x9, 0x3, 0x1)
        /opt/hostedtoolcache/go/1.23.0/x64/src/runtime/proc.go:424 +0x104 fp=0x30596f8 sp=0x30596e4 pc=0x8ce30
runtime.selectgo(0x30597dc, 0x30597c8, 0x0, 0x0, 0x2, 0x1)
        /opt/hostedtoolcache/go/1.23.0/x64/src/runtime/select.go:335 +0xb68 fp=0x30597a4 sp=0x30596f8 pc=0x669e8
github.com/pocketbase/pocketbase/core.(*BaseApp).initLogger.func3()
        /home/runner/go/pkg/mod/github.com/pocketbase/[email protected]/core/base.go:1285 +0x9c fp=0x30597ec sp=0x30597a4 pc=0xda065c
runtime.goexit({})
        /opt/hostedtoolcache/go/1.23.0/x64/src/runtime/asm_arm.s:884 +0x4 fp=0x30597ec sp=0x30597ec pc=0x948a4
created by github.com/pocketbase/pocketbase/core.(*BaseApp).initLogger in goroutine 1
        /home/runner/go/pkg/mod/github.com/pocketbase/[email protected]/core/base.go:1281 +0x328

goroutine 17 gp=0x44fb7a8 m=nil [chan receive]:
runtime.gopark(0x166ad64, 0x463c034, 0xe, 0x7, 0x2)
        /opt/hostedtoolcache/go/1.23.0/x64/src/runtime/proc.go:424 +0x104 fp=0x3059f70 sp=0x3059f5c pc=0x8ce30
runtime.chanrecv(0x463c000, 0x0, 0x1)
        /opt/hostedtoolcache/go/1.23.0/x64/src/runtime/chan.go:639 +0x4e0 fp=0x3059fac sp=0x3059f70 pc=0x18674
runtime.chanrecv1(0x463c000, 0x0)
        /opt/hostedtoolcache/go/1.23.0/x64/src/runtime/chan.go:489 +0x20 fp=0x3059fc0 sp=0x3059fac pc=0x18164
github.com/pocketbase/pocketbase.(*PocketBase).Execute.func1()
        /home/runner/go/pkg/mod/github.com/pocketbase/[email protected]/pocketbase.go:162 +0x9c fp=0x3059fec sp=0x3059fc0 pc=0xe9fee8
runtime.goexit({})
        /opt/hostedtoolcache/go/1.23.0/x64/src/runtime/asm_arm.s:884 +0x4 fp=0x3059fec sp=0x3059fec pc=0x948a4
created by github.com/pocketbase/pocketbase.(*PocketBase).Execute in goroutine 1
        /home/runner/go/pkg/mod/github.com/pocketbase/[email protected]/pocketbase.go:159 +0xb4

goroutine 15 gp=0x44fb8c8 m=nil [select]:
runtime.gopark(0x166af08, 0x0, 0x9, 0x3, 0x1)
        /opt/hostedtoolcache/go/1.23.0/x64/src/runtime/proc.go:424 +0x104 fp=0x4629ed8 sp=0x4629ec4 pc=0x8ce30
runtime.selectgo(0x4629fcc, 0x4629fa8, 0x0, 0x0, 0x2, 0x1)
        /opt/hostedtoolcache/go/1.23.0/x64/src/runtime/select.go:335 +0xb68 fp=0x4629f84 sp=0x4629ed8 pc=0x669e8
database/sql.(*DB).connectionCleaner(0x3091d68, 0x29e8d60800)
        /opt/hostedtoolcache/go/1.23.0/x64/src/database/sql/sql.go:1096 +0xe0 fp=0x4629fdc sp=0x4629f84 pc=0x42e83c
database/sql.(*DB).startCleanerLocked.gowrap1()
        /opt/hostedtoolcache/go/1.23.0/x64/src/database/sql/sql.go:1083 +0x38 fp=0x4629fec sp=0x4629fdc pc=0x42e730
runtime.goexit({})
        /opt/hostedtoolcache/go/1.23.0/x64/src/runtime/asm_arm.s:884 +0x4 fp=0x4629fec sp=0x4629fec pc=0x948a4
created by database/sql.(*DB).startCleanerLocked in goroutine 1
        /opt/hostedtoolcache/go/1.23.0/x64/src/database/sql/sql.go:1083 +0x20c

goroutine 19 gp=0x44fbb08 m=nil [select, locked to thread]:
runtime.gopark(0x166af08, 0x0, 0x9, 0x3, 0x1)
        /opt/hostedtoolcache/go/1.23.0/x64/src/runtime/proc.go:424 +0x104 fp=0x462a6ec sp=0x462a6d8 pc=0x8ce30
runtime.selectgo(0x462a7d8, 0x462a7c0, 0x0, 0x0, 0x2, 0x1)
        /opt/hostedtoolcache/go/1.23.0/x64/src/runtime/select.go:335 +0xb68 fp=0x462a798 sp=0x462a6ec pc=0x669e8
runtime.ensureSigM.func1()
        /opt/hostedtoolcache/go/1.23.0/x64/src/runtime/signal_unix.go:1060 +0x1b8 fp=0x462a7ec sp=0x462a798 pc=0x83a5c
runtime.goexit({})
        /opt/hostedtoolcache/go/1.23.0/x64/src/runtime/asm_arm.s:884 +0x4 fp=0x462a7ec sp=0x462a7ec pc=0x948a4
created by runtime.ensureSigM in goroutine 17
        /opt/hostedtoolcache/go/1.23.0/x64/src/runtime/signal_unix.go:1043 +0xf8

goroutine 20 gp=0x4652128 m=5 mp=0x4648008 [syscall]:
runtime.notetsleepg(0x20b6948, 0xffffffffffffffff)
        /opt/hostedtoolcache/go/1.23.0/x64/src/runtime/lock_futex.go:246 +0x24 fp=0x462afc0 sp=0x462afa8 pc=0x1dbdc
os/signal.signal_recv()
        /opt/hostedtoolcache/go/1.23.0/x64/src/runtime/sigqueue.go:152 +0x34 fp=0x462afe0 sp=0x462afc0 pc=0x8f330
os/signal.loop()
        /opt/hostedtoolcache/go/1.23.0/x64/src/os/signal/signal_unix.go:23 +0x14 fp=0x462afec sp=0x462afe0 pc=0x3dbb78
runtime.goexit({})
        /opt/hostedtoolcache/go/1.23.0/x64/src/runtime/asm_arm.s:884 +0x4 fp=0x462afec sp=0x462afec pc=0x948a4
created by os/signal.Notify.func1.1 in goroutine 17
        /opt/hostedtoolcache/go/1.23.0/x64/src/os/signal/signal.go:151 +0x28

Do you have any idea why this dont work? Is it an architecture problem? Or maybe any missing dependency?

Thank you for your help.

Kindest regards.

rjs

The OS that UpSnap is running on

Debian Bullseye, Kernel: 5.10.168-ti-r71

Version of UpSnap

4.3.1

Your docker-compose.yml content

---

Reproduction steps

Execute sudo ./upsnap --dev serve --http=0.0.0.0:8090 without docker, this worked on a other machine

Additional information

No response

@r-j-s r-j-s added the bug Something isn't working label Sep 11, 2024
@r-j-s r-j-s changed the title [BUG] <title>SIGBUS error on BeagleBone Black (CPU: Texas Instruments Sitara AM3358) SIGBUS error on BeagleBone Black (CPU: Texas Instruments Sitara AM3358) Sep 11, 2024
seriousm4x added a commit that referenced this issue Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants