Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 737068 - dev-lang/crystal-0.35.1 sometimes fails to compile: Invalid memory access (signal 11) at address
Summary: dev-lang/crystal-0.35.1 sometimes fails to compile: Invalid memory access (si...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Sergei Trofimovich (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-14 06:50 UTC by Agostino Sarubbo
Modified: 2021-07-05 07:37 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,9.84 KB, text/plain)
2020-08-14 06:50 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2020-08-14 06:50:40 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-lang/crystal-0.35.1 fails to compile.
Discovered on: amd64 (internal ref: tinderbox)

NOTE:
This machine uses a clang/LLVM toolchain.
If you think that this issue is strictly related to clang/LLVM please block bug 408963. If you think that this issue is strictly related to the LLD linker, please block bug 731004.
Comment 1 Agostino Sarubbo gentoo-dev 2020-08-14 06:50:42 UTC
Created attachment 654556 [details]
build.log

build log and emerge --info
Comment 2 Sergei Trofimovich (RETIRED) gentoo-dev 2020-08-14 07:23:07 UTC
Yeah, I also occasionally see such crashes:
"""
CRYSTAL_CONFIG_LIBRARY_PATH="" CRYSTAL_CONFIG_BUILD_COMMIT="" SOURCE_DATE_EPOCH="1597361476" ./bin/crystal build --release --stats --progress --threads 16 --link-flags="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=lld -Wl,--defsym=__gentoo_check_ldflags__=0" --verbose  -o .build/crystal src/compiler/crystal.cr -D without_openssl -D without_zlib
...
Codegen (crystal):                 00:00:08.061026833 (1236.71MB)
Invalid memory access (signal 11) at address 0x7fbc3e2e85a8
[0x7fbc8291bf96] ???
[0x7fbc82865beb] ???
[0x7fbc836e9831] ???
make: *** [Makefile:121: .build/crystal] Error 11
"""

It's probably a bug in already built bin/crystal binary. Needs detailed debugging.
Comment 3 Sergei Trofimovich (RETIRED) gentoo-dev 2021-07-05 07:37:28 UTC
Did not happen to me lately on recent versions. Perhaps was fixed? Please reopen or file a new bug if happens again.