apple / apple/foundationdb

Segfault in 7.1 with BUILD_AZURE_BACKUP turned on, need help to troubleshoot further

Open
#7,570 7 comments 0 reactions 2 assignees Claimed by @harikb View on GitHub
Dominant language
C++
Stars
16.7k
Forks
1.6k
Avg merge
1d 20h
Merged PRs (30d)
126

Description

Hello,

I built a version of foundationdb 7.1 branch to enable backup to Azure blobstore. I took the latest in the 7.1 branch and followed steps outlined [here](https://github.com/FoundationDB/fdb-build-support)

Upon running fdbbackup, it segfaults. However, I am unable to obtain a meaningful location/trace. Looking for advice on how I should get more troubleshooting details.

NOTE: I replaced the binaries on top of a 7.12 release that was installed via dpkg. I am also looking for instructions to build a package from the compiled output (instead of copying over the binaries).

It was built with the following `cmake` options.

$ cmake -DNDEBUG=0 -DBUILD_AZURE_BACKUP=ON -S src/foundationdb -B build_output -G Ninja

// binaries installed and foundationdb restarted
// set sample data via fdbcli - db seems to work for trivial queries (no extensive testing done)

$ export AZURE_KEY= xxxxxxxxxxx
$ fdbbackup start --destcontainer "azure://............./fdbtest02/testing/" --log

SIGNAL: Segmentation fault (11)
Trace: addr2line -e fdbbackup.debug -p -C -f -i 0x7f7fec5bf420
Segmentation fault (core dumped)
$ addr2line -e $(which fdbbackup) -p -C -f -i 0x7f7fec5bf420
?? ??:0

Last few lines of the local trace file

$ tail -n 4 trace.127.0.0.1.32356.1657571034.0ZQNi5.0.1.xml



$ file $(which fdbbackup)
/usr/bin/fdbbackup: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=2e6cc0a000f57ab5bfc6deeff93941b133386cb5, with debug_info, not stripped

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.