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
[SR-8846] Assertion `FieldInfo.count(FD) && "Invalid field for record!"' failed. #51353
Comments
@swift-ci create |
one line repro (assuming docker is installed):
output is
|
so as soon as we look at any member of an 27 static inline int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d) {
28 //void *x = ((RSA*)r)->n;
29 memset(r, 0, sizeof(RSA));
30 return 0;
31 } but uncommenting line 28 crashes clang. The real code is in |
ok, so tannernelson (JIRA User) found what's needed: By only declaring the functions in the header files and putting the actual implementations in Just making them Still, this should be fixed. |
Environment
Swift 4.2 release.
Ubuntu 16.04
Additional Detail from JIRA
md5: b5264cf2d8e59d1efb118c26dfc2003b
Issue Description:
Git repo: https://github.com/vapor/crypto
Commit hash: 13e0acacb5bdd27f0031930854798254f2156060
Run: swift build
See: vapor/open-crypto#75 (comment)
The text was updated successfully, but these errors were encountered: