Package: librocksdb-dev
Version: 7.2.2-5
Severity: normal
X-Debbugs-Cc: linasveps...@gmail.com

Dear Maintainer,

Software that I maintain is generating the error message
```
./db/column_family.cc:1494: rocksdb::ColumnFamilySet::~ColumnFamilySet(): 
Assertion `last_ref' failed.
```
when closing a rocks DB (by running the C++ destructor for the open
RockDB handle).  Some notes:

1) My system works great on Debian stable and multiple Ubuntu releases.
   (They're Rocks version 6 I think...)

2) I don't use ColumnFamilies. I don't use anything fancy in Rocks, just
   plain-old simple stuff.

3) Searching the net, it seems like lots of major users (ceph, mariadb)
   hit this bug in 2019. There's a claim that it was a Rocks bug, and
   it seems it was fixed in 2019, but I have not found the patch.

   There seem to have been no reports of this in 2021 or 2022. 

I'm certain this is an issue with RocksDB, and not the way that I am
using it.

I cannot think of any additional details that I can provide that would
be relevant. My package that si affected by this is
https://github.com/opencog/atomspace-rocks -- two unit tests fail,
hitting the above bug. The bug reproduces reliably.

I think the bug is benign, in that it only happens when shutting down, 
and I assume there is no data corruption as the result of it, but ...
I dunno.

-- linas


-- System Information:
Debian Release: bookworm/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.18.0-2-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages librocksdb-dev depends on:
ii  libbz2-dev     1.0.8-5
ii  libgflags-dev  2.2.2-2
ii  liblz4-dev     1.9.3-2
ii  librocksdb7.2  7.2.2-5
ii  libsnappy-dev  1.1.9-2
ii  libzstd-dev    1.5.2+dfsg-1
ii  zlib1g-dev     1:1.2.11.dfsg-4

librocksdb-dev recommends no packages.

librocksdb-dev suggests no packages.

-- no debconf information

Reply via email to