termux / termux-packages

A package build system for Termux.
https://termux.dev
Other
13.34k stars 3.07k forks source link

[Bug]: go raises `SIGSYS: bad system call` #21180

Closed absolutelynotmonika closed 3 months ago

absolutelynotmonika commented 3 months ago

Problem description

go raises

SIGSYS: bad system call
PC=0x64ccefc700 m=5 sigcode=1

when trying to compile a project/file

What steps will reproduce the bug?

go build
go run

or any other project/file-building command

What is the expected behavior?

No response

System information

Termux Variables:
TERMUX_API_VERSION=0.50.1
TERMUX_APK_RELEASE=F_DROID
TERMUX_APP_PACKAGE_MANAGER=apt
TERMUX_APP_PID=5260
TERMUX_IS_DEBUGGABLE_BUILD=0
TERMUX_MAIN_PACKAGE_FORMAT=debian
TERMUX_VERSION=0.118.0
TERMUX__USER_ID=0
Packages CPU architecture:
aarch64
termux-tools version:
1.43.3
Android version:
10
Kernel build information:
Linux localhost 4.9.190+ #1 SMP PREEMPT Wed Mar 8 11:04:15 CST 2023 aarch64 Android
Biswa96 commented 3 months ago

Could you provide the project link to reproduce the issue?

absolutelynotmonika commented 3 months ago

my bad I closed the issue actually its any project and file, even a hello wold

absolutelynotmonika commented 3 months ago

man I really forgot to not close the issue on commenting...

Biswa96 commented 3 months ago

I can not reproduce the issue with a simple hello world program.

$ go run main.go
hello world

$ go version
go version go1.23.0 android/arm64

If you can reproduce the issue with hello world, try to look into the strace output for any clue.

absolutelynotmonika commented 3 months ago

yeah im slr

absolutelynotmonika commented 3 months ago

missclicked. anyway, yeah im sorry, ill do that right now.

absolutelynotmonika commented 3 months ago

it seems to come from the garbage collector from what im reading, the stack trace is really long and I don't if I could or should send all my it

absolutelynotmonika commented 3 months ago

i don't really get what I should do, to be honest, i havent opened that many issues before this one.