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

registe func panic in the go1.22.0 on linux amd64 #222

Open
jiftle opened this issue Apr 4, 2024 · 7 comments
Open

registe func panic in the go1.22.0 on linux amd64 #222

jiftle opened this issue Apr 4, 2024 · 7 comments

Comments

@jiftle
Copy link

jiftle commented Apr 4, 2024

  1. open lib or registe func panic in the go1.22.0 on linux amd64 'fault segment', use cgo_enabled=0
  2. but in the go1.20.13 is ok
> uname -a
Linux john-PC 5.15.77-amd64-desktop #2 SMP Thu Jun 15 16:06:18 CST 2023 x86_64 GNU/Linux
> cat /etc/os-release
PRETTY_NAME="Deepin 20.9"
NAME="Deepin"
VERSION_ID="20.9"
VERSION="20.9"
VERSION_CODENAME="apricot"
ID=Deepin
HOME_URL="https://www.deepin.org/"
BUG_REPORT_URL="https://bbs.deepin.org/"
@TotallyGamerJet
Copy link
Collaborator

Could you provide the stack trace? And specifically which C function you were trying to call? Since the tests currently pass in the CI

@jiftle
Copy link
Author

jiftle commented Apr 4, 2024

i will try go test of purego

@jiftle
Copy link
Author

jiftle commented Apr 4, 2024

go 1.22 , change asm code align 16byte to 8byte ?

@TotallyGamerJet
Copy link
Collaborator

go 1.22 , change asm code align 16byte to 8byte ?

We test go 1.22 in the CI and everything passes. If you have an issue please provide a way to reproduce it

@TotallyGamerJet
Copy link
Collaborator

@jiftle are you still having problems in which you can share a way to reproduce?

@jiftle
Copy link
Author

jiftle commented Jun 4, 2024

@jiftle are you still having problems in which you can share a way to reproduce?

use go1.20.13,the problem is missing.

@TotallyGamerJet
Copy link
Collaborator

use go1.20.13,the problem is missing.

Can I close this then?

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

2 participants