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
error: to_string called on an uninitialized ip_address_t, addr_type: 0 compiling rethinkdb on Raspberry #7124
Comments
Previously seen in #3863 -- I guess it wasn't fixed as was claimed. |
My current theory is that it's a compilation or stdlib bug, or some other platform-specific glitch. I have only briefly looked over the code, but my understanding is:
It is theoretically possible I have overlooked some place where an ip address could be passed uninitialized. It's also possible some other memory corruption bug is overwriting the memory with zero, and the problem isn't the logic around ip addresses. Maybe if you pass |
A little update. Not always the error is
And passing -- Right now, I'm trying to compile it on an other Raspberry PI OS (aarch64), to check if there is also the same error. |
Okay, I tried with the other Raspberry and I can confirm that the same error occurs. Sometimes the error is
sometimes is the
GCC version on this Raspberry is also 10.2.1 |
Hi @srh |
@davide1995 No, I haven't been thinking about this at all. |
Just trying to compile and run rethinkdb on a Raspberry PI OS 64 bit (aarch64).
Compilation through:
seems works correctly, thus no error is generated.
After that, when I move inside build/release and start the rethinkdb binary file following error occurs:
The text was updated successfully, but these errors were encountered: