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
vmstorage custom build crashes for versions 1.87.3, 1.87.5, 1.87.14 #6208
Comments
@jinlongwang I'm removing the @f41gh7 @zekker6 do you any opinion on why this problem could happen? |
@jinlongwang Could you also provide a As far as I can see based on the shared command, you're using gcc to perform the build while official binaries are using musl. This can cause some issues in code which is using CGO. |
given error related to the case when object was marked as free by garbage collector. But at the next GC cycle a pointer for it is still in-use. It could happen in the following cases:
Both cases are possible if you have an issue with golang compiler. I'd recommend to pin minor version number for build image, e.g. |
This looks like it's most likely an issue with the gcc version. The gcc in the VM compilation image is 13.2.1, while the version with which we previously had issues was 6.x. I have now recompiled a version using gcc12 and am currently monitoring it. Due to company environment constraints, I cant used gcc 13.2.1 |
Describe the bug
crash snapshot
main crash info
runtime: marked free object in span 0x7fce6fa713e8, elemsize=320 freeindex=0 (bad use of unsafe.Pointer? try -d=checkptr)
some context
RUN apt-get update && apt-get install -y make rsync gcc g++ pkg-config cmake build-essential bzip2 nasm \ zlib1g-dev libelf-dev libelf1 libglib2.0-dev autoconf automake libtool libmagickwand-dev python-dev libcrypto++-dev clang curl libssl-dev libpq-dev \ openssl default-libmysqlclient-dev && apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
To Reproduce
random crash
Version
vmstorage-20240428-135734-heads-cluster_1.87.14-0-g7e9bc13f8
base: cluster_1.87.14
there is no any code change
Logs
No response
Screenshots
No response
Used command-line flags
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: