-
Notifications
You must be signed in to change notification settings - Fork 134
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
Comments
I have confirmed that this indeed only occurs on ARM. |
[ Quoting <[email protected]> in "Re: [miekg/pkcs11] Double free or c..." ]
I have confirmed that this indeed only occurs on ARM.
That code doesn't look wrong to me. How can a double free be arch specific? C
compiler?
|
I'm genuinely not sure, however I do know that it's the difference between
compiling on Ubuntu 18.04 x86_64 and Raspbian stretch lite (with latest
stable release of Go) on a Raspberry Pi 3 (armhf). I'll check later to see
which C compiler is being used, but it's going to be from the distribution.
…On Sun, Mar 17, 2019, 1:04 PM Miek Gieben ***@***.***> wrote:
[ Quoting ***@***.***> in "Re: [miekg/pkcs11] Double free
or c..." ]
>I have confirmed that this indeed only occurs on ARM.
That code doesn't look wrong to me. How can a double free be arch
specific? C
compiler?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#103 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AEA4lbZlyXBGEFNWbFSlbD19hQGTOvs1ks5vXj1tgaJpZM4b4Qz2>
.
|
Would GCC 6.3.0 on ARM vs GCC 7.3.0 on x86_64 do it? |
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? |
[ Quoting <[email protected]> in "Re: [miekg/pkcs11] Double free or c..." ]
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?
Maybe? Ive never debugged such a thing. Playing around with golang versions might
yields some insights (and is relatively easy to do).
|
Is there any update on the problem ? i am having a very similar issue on arm linux . |
[ Quoting <[email protected]> in "Re: [miekg/pkcs11] Double free or c..." ]
Is there any update on the problem ? i am having a very similar issue on arm
linux .
Is there an PR?
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I believe this relates to the following line:
pkcs11/pkcs11.go
Line 1332 in 6120d95
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
The text was updated successfully, but these errors were encountered: