siren commented on issue #2900:
URL: https://github.com/apache/kvrocks/issues/2900#issuecomment-2837415616
Sure, here we go:
E20250429 04:17:35.238234 51 signal_util.h:34] Ooops! Apache Kvrocks
version 2.10.1 (commit dc4d5303) got signal: Segmentation fault (11)
E20250429 04:17:35.324774 51 signal_util.h:36] Stack trace (most recent
call first):
#0 0x000055f3055bfd4d in SegvHandler at /usr/bin/kvrocks
#1 0x00007f756d8c904f in __sigaction at /lib/x86_64-linux-gnu/libc.so.6
#2 0x000055f3057cdf6f in engine::Storage::Get(engine::Context&,
rocksdb::ReadOptions const&, rocksdb::ColumnFamilyHandle*, rocksdb::Slice
const&, std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> >*) at /usr/bin/kvrocks
#3 0x000055f3057f648e in redis::List::PopMulti(engine::Context&,
rocksdb::Slice const&, bool, unsigned int,
std::vector<std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > > >*) at /usr/bin/kvrocks
#4 0x000055f30581e2b0 in
redis::CommandBPop::TryPopFromList(engine::Context&) [clone .constprop.0] at
/usr/bin/kvrocks
#5 0x000055f30568f47d in redis::CommandBPop::OnBlockingWrite() at
/usr/bin/kvrocks
#6 0x000055f305699955 in EvbufCallbackBase<redis::BlockingCommander, false,
true, true>::writeCB(bufferevent*, void*) at /usr/bin/kvrocks
#7 0x000055f305ecad99 in bufferevent_run_deferred_callbacks_unlocked at
bufferevent.c
#8 0x000055f305ed2bc3 in event_process_active_single_queue at event.c
#9 0x000055f305ed325e in event_process_active at event.c
#10 0x000055f305ed5018 in event_base_loop.constprop.0 at event.c
#11 0x000055f3057a250d in
std::thread::_State_impl<std::thread::_Invoker<std::tuple<util::CreateThread<WorkerThread::Start()::{lambda()#1}>(char
const*, WorkerThread::Start()::{lambda()#1})::{lambda()#1}> > >::_M_run() at
/usr/bin/kvrocks
#12 0x000055f3060e8612 in execute_native_thread_routine at thread.o
#13 0x00007f756d916143 in pthread_condattr_setpshared at
/lib/x86_64-linux-gnu/libc.so.6
#14 0x00007f756d995a3f in __clone at /lib/x86_64-linux-gnu/libc.so.6
E20250429 04:17:35.324891 51 signal_util.h:37]
It appears that if I start the redis client that brpops before there is any
data it crashes consistently when i start to lpush.
But if there's data and writing continues it seems to run fine... until I
restart the reader and start to write to empty list.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]