kythe: Segmentation fault when indexing chromium compilation
Hello,
I finished building the chromium compilation and got chromium_linux.kzip (Here is the link) around 4GBs. I want to get its graph representation and I used cxx indexer to index it as /opt/kythe/indexers/cxx_indexer chromium_linux.kzip > chromium_linux.entries
. However, I got a Segmentation fault when the entries file is around 125GBs like
warning: could not detect path style for
warning: working directory is not absolute
*** SIGSEGV received at time=1686842396 on cpu 8 ***
PC: @ 0x55999e976bb1 (unknown) kythe::IndexVFS::FileRecordForPath()
@ 0x5599a3356f3c 64 absl::WriteFailureInfo()
@ 0x5599a3356bd8 288 absl::AbslFailureSignalHandler()
@ 0x7fa21b242520 970895328 (unknown)
@ 0x55999e9780ad 1232 kythe::IndexVFS::FileRecordForPathRoot()
@ 0x55999e977061 1904 kythe::IndexVFS::FileRecordForPath()
@ 0x55999e9780ad 1232 kythe::IndexVFS::FileRecordForPathRoot()
@ 0x55999e977061 1904 kythe::IndexVFS::FileRecordForPath()
@ 0x55999e9780ad 1232 kythe::IndexVFS::FileRecordForPathRoot()
@ 0x55999e977061 1904 kythe::IndexVFS::FileRecordForPath()
@ 0x55999e9780ad 1232 kythe::IndexVFS::FileRecordForPathRoot()
@ 0x55999e977061 1904 kythe::IndexVFS::FileRecordForPath()
@ 0x55999e9780ad 1232 kythe::IndexVFS::FileRecordForPathRoot()
@ 0x55999e977061 1904 kythe::IndexVFS::FileRecordForPath()
@ 0x55999e9780ad 1232 kythe::IndexVFS::FileRecordForPathRoot()
@ 0x55999e977061 1904 kythe::IndexVFS::FileRecordForPath()
@ 0x55999e9780ad 1232 kythe::IndexVFS::FileRecordForPathRoot()
@ 0x55999e977061 1904 kythe::IndexVFS::FileRecordForPath()
@ 0x55999e9780ad 1232 kythe::IndexVFS::FileRecordForPathRoot()
@ 0x55999e977061 1904 kythe::IndexVFS::FileRecordForPath()
@ 0x55999e9780ad 1232 kythe::IndexVFS::FileRecordForPathRoot()
@ 0x55999e977061 1904 kythe::IndexVFS::FileRecordForPath()
@ 0x55999e9780ad 1232 kythe::IndexVFS::FileRecordForPathRoot()
@ 0x55999e977061 1904 kythe::IndexVFS::FileRecordForPath()
@ 0x55999e9780ad 1232 kythe::IndexVFS::FileRecordForPathRoot()
@ 0x55999e977061 1904 kythe::IndexVFS::FileRecordForPath()
@ 0x55999e9780ad 1232 kythe::IndexVFS::FileRecordForPathRoot()
@ 0x55999e977061 1904 kythe::IndexVFS::FileRecordForPath()
@ 0x55999e9780ad 1232 kythe::IndexVFS::FileRecordForPathRoot()
@ 0x55999e977061 1904 kythe::IndexVFS::FileRecordForPath()
@ 0x55999e9780ad 1232 kythe::IndexVFS::FileRecordForPathRoot()
@ 0x55999e977061 1904 kythe::IndexVFS::FileRecordForPath()
@ 0x55999e9780ad 1232 kythe::IndexVFS::FileRecordForPathRoot()
@ ... and at least 1000 more frames
Segmentation fault (core dumped)
Am I building the kzip file incorrectly or using the indexer incorrectly? Any help is appreciated.
OS: Ubuntu 22.04.2 LTS CPU: AMD x86_64 RAM: 128GBs kythe release version: 0.0.61 (passed all bazel tests)
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 16 (8 by maintainers)
GOOGLE_LOGTOSTDERR=1
needs to be set as an environment variable