Skip to content

Unable to run on Android in Termux #506

Description

@Zambito1

I attempted to install with both go install github.com/basecamp/basecamp-cli/cmd/basecamp@latest and from the install script. In both cases, I got this SIGSYS error and trace:

 $ basecamp -h
SIGSYS: bad system call
PC=0x1b6c0 m=0 sigcode=1

goroutine 1 gp=0x731b5421e0 m=0 mp=0x16c1ae0 [syscall, locked to thread]:
syscall.Syscall6(0x1b7, 0xffffffffffffff9c, 0x731b688380, 0x1, 0x200, 0x0, 0x0)
        syscall/syscall_linux.go:96 +0x2c fp=0x731b620bc0 sp=0x731b620b60 pc=0xea28c
syscall.faccessat2(0xffffffffffffff9c, {0x731b688300?, 0x731b688340?}, 0x1, 0x200)
        syscall/zsyscall_linux_arm64.go:33 +0x80 fp=0x731b620c20 sp=0x731b620bc0 pc=0xe73a0
syscall.Faccessat(0xffffffffffffff9c, {0x731b688300, 0x38}, 0x1, 0x200)
        syscall/syscall_linux.go:167 +0x3c fp=0x731b620d00 sp=0x731b620c20 pc=0xe500c
internal/syscall/unix.Eaccess(...)
        internal/syscall/unix/eaccess.go:23
os/exec.findExecutable({0x731b688300, 0x38})
        os/exec/lp_unix.go:31 +0x64 fp=0x731b620d50 sp=0x731b620d00 pc=0x458714
os/exec.lookPath({0xb464a1, 0x14})
        os/exec/lp_unix.go:67 +0x244 fp=0x731b620df0 sp=0x731b620d50 pc=0x458a84
os/exec.LookPath(...)
        os/exec/lookpath.go:29
github.com/atotto/clipboard.init.0()
        github.com/atotto/clipboard@v0.1.4/clipboard_unix.go:80 +0x2b8 fp=0x731b620e10 sp=0x731b620df0 pc=0x742ca8
runtime.doInit1(0x15a2b30)
        runtime/proc.go:8103 +0xc4 fp=0x731b620f30 sp=0x731b620e10 pc=0x6e364
runtime.doInit(...)
        runtime/proc.go:8070
runtime.main()
        runtime/proc.go:258 +0x244 fp=0x731b620fd0 sp=0x731b620f30 pc=0x5e474
runtime.goexit({})
        runtime/asm_arm64.s:1447 +0x4 fp=0x731b620fd0 sp=0x731b620fd0 pc=0x99424

goroutine 2 gp=0x731b542780 m=nil [force gc (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
        runtime/proc.go:462 +0xbc fp=0x731b5b2f90 sp=0x731b5b2f70 pc=0x91e3c
runtime.goparkunlock(...)
        runtime/proc.go:468
runtime.forcegchelper()
        runtime/proc.go:375 +0xb4 fp=0x731b5b2fd0 sp=0x731b5b2f90 pc=0x5e804
runtime.goexit({})
        runtime/asm_arm64.s:1447 +0x4 fp=0x731b5b2fd0 sp=0x731b5b2fd0 pc=0x99424
created by runtime.init.7 in goroutine 1
        runtime/proc.go:363 +0x24

goroutine 3 gp=0x731b542d20 m=nil [GC sweep wait]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
        runtime/proc.go:462 +0xbc fp=0x731b5b3770 sp=0x731b5b3750 pc=0x91e3c
runtime.goparkunlock(...)
        runtime/proc.go:468
runtime.bgsweep(0x731b5d2000)
        runtime/mgcsweep.go:279 +0x9c fp=0x731b5b37b0 sp=0x731b5b3770 pc=0x48d5c
runtime.gcenable.gowrap1()
        runtime/mgc.go:214 +0x20 fp=0x731b5b37d0 sp=0x731b5b37b0 pc=0x3a290
runtime.goexit({})
        runtime/asm_arm64.s:1447 +0x4 fp=0x731b5b37d0 sp=0x731b5b37d0 pc=0x99424
created by runtime.gcenable in goroutine 1
        runtime/mgc.go:214 +0x6c

goroutine 4 gp=0x731b542f00 m=nil [GC scavenge wait]:
runtime.gopark(0x731b5d2000?, 0xdc6db0?, 0x1?, 0x0?, 0x731b542f00?)
        runtime/proc.go:462 +0xbc fp=0x731b5b3f60 sp=0x731b5b3f40 pc=0x91e3c
runtime.goparkunlock(...)
        runtime/proc.go:468
runtime.(*scavengerState).park(0x16bf600)
        runtime/mgcscavenge.go:425 +0x5c fp=0x731b5b3f90 sp=0x731b5b3f60 pc=0x4695c
runtime.bgscavenge(0x731b5d2000)
        runtime/mgcscavenge.go:653 +0x44 fp=0x731b5b3fb0 sp=0x731b5b3f90 pc=0x46e74
runtime.gcenable.gowrap2()
        runtime/mgc.go:215 +0x20 fp=0x731b5b3fd0 sp=0x731b5b3fb0 pc=0x3a250
runtime.goexit({})
        runtime/asm_arm64.s:1447 +0x4 fp=0x731b5b3fd0 sp=0x731b5b3fd0 pc=0x99424
created by runtime.gcenable in goroutine 1
        runtime/mgc.go:215 +0xac

goroutine 17 gp=0x731b6043c0 m=nil [GOMAXPROCS updater (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
        runtime/proc.go:462 +0xbc fp=0x731b5ae770 sp=0x731b5ae750 pc=0x91e3c
runtime.goparkunlock(...)
        runtime/proc.go:468
runtime.updateMaxProcsGoroutine()
        runtime/proc.go:7095 +0xf4 fp=0x731b5ae7d0 sp=0x731b5ae770 pc=0x6d064
runtime.goexit({})
        runtime/asm_arm64.s:1447 +0x4 fp=0x731b5ae7d0 sp=0x731b5ae7d0 pc=0x99424
created by runtime.defaultGOMAXPROCSUpdateEnable in goroutine 1
        runtime/proc.go:7083 +0x48

goroutine 18 gp=0x731b6045a0 m=nil [finalizer wait]:
runtime.gopark(0x731b5b25b8?, 0x33d40?, 0xd8?, 0x25?, 0x5eaa4?)
        runtime/proc.go:462 +0xbc fp=0x731b5b2580 sp=0x731b5b2560 pc=0x91e3c
runtime.runFinalizers()
        runtime/mfinal.go:210 +0x100 fp=0x731b5b27d0 sp=0x731b5b2580 pc=0x392b0
runtime.goexit({})
        runtime/asm_arm64.s:1447 +0x4 fp=0x731b5b27d0 sp=0x731b5b27d0 pc=0x99424
created by runtime.createfing in goroutine 1
        runtime/mfinal.go:172 +0x78

r0      0xffffffffffffff9c
r1      0x731b688380
r2      0x1
r3      0x200
r4      0x0
r5      0x0
r6      0x0
r7      0x2
r8      0x1b7
r9      0x1
r10     0x2f7273752f73656c
r11     0x6d7265742f6e6962
r12     0x6270696c632d7875
r13     0x7465732d6472616f
r14     0x4
r15     0x27f540545cc4
r16     0x731b6203a0
r17     0x731b620ca0
r18     0x0
r19     0xe
r20     0x7fed917e60
r21     0x16c1ae0
r22     0x731b544000
r23     0x3cb9d69707
r24     0x0
r25     0x52349a7031f4916
r26     0xdc62d8
r27     0x2
r28     0x731b5421e0
r29     0x731b620af8
lr      0xea1d0
sp      0x731b620b00
pc      0x1b6c0
fault   0x0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions