google / google/leveldb

Segfault in createFilter()

Open
#425 12 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
C++
Stars
39.4k
Forks
8.2k
PR merge metrics
No merged PRs in 30d

Description

I'm getting segfaults with leveldb 1.19. This is in code that has been working perfectly for more than a year with 1.18. The segfault happens some time during shutdown and looks like a race condition. Valgrind has this to say:

http://pastebin.ubuntu.com/23459626/

gdb shows this stack trace:

http://pastebin.ubuntu.com/23459624/

I can produce the segfault on arm64, amd64, powerpc, s390x, ppc64el, armhf, and i386 simply by changing from libleveldb.so.1.18 to libleveldb.so.1.19

More details here: https://bugs.launchpad.net/ubuntu/+source/thumbnailer/+bug/1640326

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.