speedb-io / speedb

A RocksDB compliant high performance scalable embedded key-value store
https://www.speedb.io/
Apache License 2.0
921 stars 72 forks source link

stress test error: InitiateFlushesThread assertion fail - num_running_flushes_ > 0 #812

Closed Yuval-Ariel closed 10 months ago

Yuval-Ariel commented 10 months ago
db_stress: memtable/write_buffer_manager.cc:751: void rocksdb::WriteBufferManager::InitiateFlushesThread(): Assertion `num_running_flushes_ > 0U\' failed.
Received signal 6 (Aborted)
Invoking GDB for stack trace...
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007f485e4ea42f in __GI___wait4 (pid=14993, stat_loc=0x7f484d7fd250, options=0, usage=0x0) at ../sysdeps/unix/sysv/linux/wait4.c:30
30\t../sysdeps/unix/sysv/linux/wait4.c: No such file or directory.
#4  <signal handler called>
#5  __pthread_kill_implementation (no_tid=0, signo=6, threadid=139948514604608) at ./nptl/pthread_kill.c:44
44\t./nptl/pthread_kill.c: No such file or directory.
#6  __pthread_kill_internal (signo=6, threadid=139948514604608) at ./nptl/pthread_kill.c:78
78\tin ./nptl/pthread_kill.c
#7  __GI___pthread_kill (threadid=139948514604608, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
89\tin ./nptl/pthread_kill.c
#8  0x00007f485e442476 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
26\t../sysdeps/posix/raise.c: No such file or directory.
#9  0x00007f485e4287f3 in __GI_abort () at ./stdlib/abort.c:79
79\t./stdlib/abort.c: No such file or directory.
#10 0x00007f485e42871b in __assert_fail_base (fmt=0x7f485e5dd150 "%s%s%s:%u: %s%sAssertion `%s\' failed.\
%n", assertion=0x7f4860e9aaa0 "num_running_flushes_ > 0U", file=0x7f4860e9a080 "memtable/write_buffer_manager.cc", line=751, function=<optimized out>) at ./assert/assert.c:92
92\t./assert/assert.c: No such file or directory.
#11 0x00007f485e439e96 in __GI___assert_fail (assertion=0x7f4860e9aaa0 "num_running_flushes_ > 0U", file=0x7f4860e9a080 "memtable/write_buffer_manager.cc", line=751, function=0x7f4860e9aa00 "void rocksdb::WriteBufferManager::InitiateFlushesThread()") at ./assert/assert.c:101
101\tin ./assert/assert.c
#12 0x00007f486011c829 in rocksdb::WriteBufferManager::InitiateFlushesThread (this=0x616000306380) at memtable/write_buffer_manager.cc:751
751\t          assert(num_running_flushes_ > 0U);
#13 0x00007f485e8dc253 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
#14 0x00007f485e494ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
442\t./nptl/pthread_create.c: No such file or directory.
#15 0x00007f485e526a40 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
81\t../sysdeps/unix/sysv/linux/x86_64/clone3.S: No such file or directory.
[Inferior 1 (process 14718) detached]
'

further documentation in ~/proac_err in instance 170