ClickHouse: macOS build segfaults on start if built with Xcode 15.0
You have to provide the following information whenever possible.
I built the current master
branch on my machine (macOS Sonoma, Apple Silicon), and clickhouse server
segfaults with the following output:
libunwind: stepWithCompactEncoding - invalid compact unwind encoding
2023.10.12 13:52:09.000704 [ 3329714 ] {} <Trace> BaseDaemon: Received signal 6
2023.10.12 13:52:09.000861 [ 3329954 ] {} <Fatal> BaseDaemon: ########## Short fault info ############
2023.10.12 13:52:09.000877 [ 3329954 ] {} <Fatal> BaseDaemon: (version 23.10.1.1, build id: , git hash: fac83efdd25541b42baa6e47b8b71d18f4f47867) (from thread 3329639) Received signal 6
2023.10.12 13:52:09.000891 [ 3329954 ] {} <Fatal> BaseDaemon: Signal description: Abort trap: 6
2023.10.12 13:52:09.000895 [ 3329954 ] {} <Fatal> BaseDaemon:
2023.10.12 13:52:09.000901 [ 3329954 ] {} <Fatal> BaseDaemon: Stack trace: 0x000000018412711c
2023.10.12 13:52:09.000906 [ 3329954 ] {} <Fatal> BaseDaemon: ########################################
2023.10.12 13:52:09.000909 [ 3329954 ] {} <Fatal> BaseDaemon: (version 23.10.1.1, build id: , git hash: fac83efdd25541b42baa6e47b8b71d18f4f47867) (from thread 3329639) (no query) Received signal Abort trap: 6 (6)
2023.10.12 13:52:09.000912 [ 3329954 ] {} <Fatal> BaseDaemon:
2023.10.12 13:52:09.000914 [ 3329954 ] {} <Fatal> BaseDaemon: Stack trace: 0x000000018412711c
2023.10.12 13:52:09.000920 [ 3329954 ] {} <Fatal> BaseDaemon: 0. 0x18412711c
2023.10.12 13:52:09.001008 [ 3329954 ] {} <Fatal> BaseDaemon: This ClickHouse version is not official and should be upgraded to the official build.
[1] 7995 abort ./build/programs/clickhouse server
My colleague reported the same issue on their macbook as well.
Does it reproduce on recent release?
No
About this issue
- Original URL
- State: closed
- Created 9 months ago
- Reactions: 4
- Comments: 28 (24 by maintainers)
That would be awesome. Suggest to use start from the last release (https://github.com/ClickHouse/ClickHouse/releases/tag/v23.9.1.1854-stable) from 29 Sep. There is a good chance it still worked in this release. If so, then use
git bisect
to find the culprit.Ran into the same error. I have a slight suspicious that my PR #55147 could be related, doing another build with it reverted right now.
Error
libunwind: stepWithCompactEncoding - invalid compact unwind encoding
occurred in the past when a non-default linker was used: #42470Making a macOS build on macOS right now …