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

Double free or corruption (!prev): 0x63f00550 #103

Open
techninja1008 opened this issue Mar 17, 2019 · 8 comments
Open

Double free or corruption (!prev): 0x63f00550 #103

techninja1008 opened this issue Mar 17, 2019 · 8 comments

Comments

@techninja1008
Copy link

I believe this relates to the following line:

pkcs11/pkcs11.go

Line 1332 in 6120d95

C.free(unsafe.Pointer(sig))

I encountered this whilst using ThalesIgnite/crypto11 to add PKCS#11 support to cloudflare/cfssl. This seems to only occur on ARM, as the trace comes from running it on a raspberry pi, and I have been able to get it to work successfully on x86.

Full trace can be found at https://pastebin.com/au1ieLbp

@techninja1008
Copy link
Author

I have confirmed that this indeed only occurs on ARM.

@miekg
Copy link
Owner

miekg commented Mar 17, 2019 via email

@techninja1008
Copy link
Author

techninja1008 commented Mar 17, 2019 via email

@techninja1008
Copy link
Author

Would GCC 6.3.0 on ARM vs GCC 7.3.0 on x86_64 do it?

@techninja1008
Copy link
Author

Cross compiling to ARM on an x86_64 host using GCC 7.3.0 still yields the same result. Could it be a GO ARM bug?

@miekg
Copy link
Owner

miekg commented Mar 17, 2019 via email

@dogusural
Copy link

dogusural commented Jun 9, 2020

Is there any update on the problem ? i am having a very similar issue on arm linux .

@miekg
Copy link
Owner

miekg commented Jun 12, 2020 via email

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

3 participants