Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Server crash #24

Closed
odedponcz opened this issue Apr 25, 2022 · 0 comments
Closed

Server crash #24

odedponcz opened this issue Apr 25, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@odedponcz
Copy link
Collaborator

run this (I wrote this twice on purpose):
./runtest --host localhost --port 6379 --tags -cluster:skip --ignore-encoding --ignore-digest --quiet --singledb --single unit/type/list --skiptest "check compression" --skiptest "LPOS|LMOV|BLMPOP|BRPOPLPUSH|RPOPLPUSH|LMPOP|CLIENT|STORE" --tags -needs:debug --skiptest "client unblock tests" --skiptest "List ziplist of various encodings"

./runtest --host localhost --port 6379 --tags -cluster:skip --ignore-encoding --ignore-digest --quiet --singledb --single unit/type/list --skiptest "check compression" --skiptest "LPOS|LMOV|BLMPOP|BRPOPLPUSH|RPOPLPUSH|LMPOP|CLIENT|STORE" --tags -needs:debug --skiptest "client unblock tests" --skiptest "List ziplist of various encodings"

and the result would be:

I20220425 12:34:33.987037 63776 main_service.cc:361] Got: [BLPOP,blist1{t},blist2{t},1]
/home/oded/stratto/dragonfly/src/server/engine_shard_set.cc:274:30: runtime error: member call on misaligned address 0xbebebebebebebebe for type 'struct Transaction', which requires 8 byte alignment
0xbebebebebebebebe: note: pointer points here

/home/oded/stratto/dragonfly/src/server/transaction.cc:1138:25: runtime error: member call on misaligned address 0xbebebebebebebebe for type 'struct Transaction', which requires 8 byte alignment
0xbebebebebebebebe: note: pointer points here

/home/oded/stratto/dragonfly/src/server/transaction.h:202:34: runtime error: member access within misaligned address 0xbebebebebebebebe for type 'const struct Transaction', which requires 8 byte alignment
0xbebebebebebebebe: note: pointer points here

/home/oded/stratto/dragonfly/src/server/transaction.h:202:34: runtime error: member call on misaligned address 0xbebebebebebebefe for type 'const struct InlinedVector', which requires 8 byte alignment
0xbebebebebebebefe: note: pointer points here

/home/oded/stratto/dragonfly/src/server/transaction.h:202:18: runtime error: member access within misaligned address 0xbebebebebebebebe for type 'const struct Transaction', which requires 8 byte alignment
0xbebebebebebebebe: note: pointer points here

/home/oded/stratto/dragonfly/build-dbg/_deps/abseil_cpp-src/absl/container/inlined_vector.h:271:61: runtime error: member access within misaligned address 0xbebebebebebebefe for type 'const struct InlinedVector', which requires 8 byte alignment
0xbebebebebebebefe: note: pointer points here

/home/oded/stratto/dragonfly/build-dbg/_deps/abseil_cpp-src/absl/container/inlined_vector.h:271:61: runtime error: member call on misaligned address 0xbebebebebebebefe for type 'const struct Storage', which requires 8 byte alignment
0xbebebebebebebefe: note: pointer points here

/home/oded/stratto/dragonfly/build-dbg/_deps/abseil_cpp-src/absl/container/inlined_vector.h:271:44: runtime error: member access within misaligned address 0xbebebebebebebefe for type 'const struct InlinedVector', which requires 8 byte alignment
0xbebebebebebebefe: note: pointer points here

/home/oded/stratto/dragonfly/build-dbg/_deps/abseil_cpp-src/absl/container/internal/inlined_vector.h:326:64: runtime error: member call on misaligned address 0xbebebebebebebefe for type 'const struct Storage', which requires 8 byte alignment
0xbebebebebebebefe: note: pointer points here

/home/oded/stratto/dragonfly/build-dbg/_deps/abseil_cpp-src/absl/container/internal/inlined_vector.h:323:38: runtime error: member access within misaligned address 0xbebebebebebebefe for type 'const struct Storage', which requires 8 byte alignment
0xbebebebebebebefe: note: pointer points here

/home/oded/stratto/dragonfly/build-dbg/_deps/abseil_cpp-src/absl/container/internal/inlined_vector.h:323:38: runtime error: member call on misaligned address 0xbebebebebebebefe for type 'const struct Metadata', which requires 8 byte alignment
0xbebebebebebebefe: note: pointer points here

/home/oded/stratto/dragonfly/build-dbg/_deps/abseil_cpp-src/absl/container/internal/inlined_vector.h:323:12: runtime error: member access within misaligned address 0xbebebebebebebefe for type 'const struct Storage', which requires 8 byte alignment
0xbebebebebebebefe: note: pointer points here

/home/oded/stratto/dragonfly/build-dbg/_deps/abseil_cpp-src/absl/container/internal/compressed_tuple.h:265:28: runtime error: member access within misaligned address 0xbebebebebebebefe for type 'const struct CompressedTuple', which requires 8 byte alignment
0xbebebebebebebefe: note: pointer points here

/home/oded/stratto/dragonfly/build-dbg/_deps/abseil_cpp-src/absl/container/internal/compressed_tuple.h:265:28: runtime error: member call on misaligned address 0xbebebebebebebefe for type 'const struct Storage', which requires 8 byte alignment
0xbebebebebebebefe: note: pointer points here

/home/oded/stratto/dragonfly/build-dbg/_deps/abseil_cpp-src/absl/container/internal/compressed_tuple.h:265:28: runtime error: member access within misaligned address 0xbebebebebebebefe for type 'const struct CompressedTuple', which requires 8 byte alignment
0xbebebebebebebefe: note: pointer points here

/home/oded/stratto/dragonfly/build-dbg/_deps/abseil_cpp-src/absl/container/internal/compressed_tuple.h:109:44: runtime error: member access within misaligned address 0xbebebebebebebefe for type 'const struct Storage', which requires 8 byte alignment
0xbebebebebebebefe: note: pointer points here

/home/oded/stratto/dragonfly/build-dbg/_deps/abseil_cpp-src/absl/container/internal/compressed_tuple.h:109:44: runtime error: reference binding to misaligned address 0xbebebebebebebefe for type 'const long unsigned int', which requires 8 byte alignment
0xbebebebebebebefe: note: pointer points here

/home/oded/stratto/dragonfly/build-dbg/_deps/abseil_cpp-src/absl/container/internal/compressed_tuple.h:109:44: runtime error: member access within misaligned address 0xbebebebebebebefe for type 'const struct Storage', which requires 8 byte alignment
0xbebebebebebebefe: note: pointer points here

/home/oded/stratto/dragonfly/build-dbg/_deps/abseil_cpp-src/absl/container/internal/compressed_tuple.h:265:29: runtime error: reference binding to misaligned address 0xbebebebebebebefe for type 'const ElemT', which requires 8 byte alignment
0xbebebebebebebefe: note: pointer points here

/home/oded/stratto/dragonfly/build-dbg/_deps/abseil_cpp-src/absl/container/internal/inlined_vector.h:323:38: runtime error: reference binding to misaligned address 0xbebebebebebebefe for type 'const SizeType', which requires 8 byte alignment
0xbebebebebebebefe: note: pointer points here

/home/oded/stratto/dragonfly/build-dbg/_deps/abseil_cpp-src/absl/container/internal/inlined_vector.h:326:64: runtime error: load of misaligned address 0xbebebebebebebefe for type 'const SizeType', which requires 8 byte alignment
0xbebebebebebebefe: note: pointer points here

*** SIGSEGV received at time=1650879273 on cpu 1 ***
PC: @ 0x563ccd660db7 (unknown) absl::lts_20211102::inlined_vector_internal::Storage<>::GetSize()
@ 0x563cce12e942 64 absl::lts_20211102::WriteFailureInfo()
@ 0x563cce12eb47 96 absl::lts_20211102::AbslFailureSignalHandler()
@ 0x7feac3d003c0 (unknown) (unknown)
@ 0x563ccd65cc60 32 absl::lts_20211102::InlinedVector<>::size()
@ 0x563ccd6f61b7 48 dfly::Transaction::SidToId()
@ 0x563ccd6d744f 528 dfly::Transaction::NotifySuspended()
@ 0x563ccd8853d1 80 dfly::EngineShard::NotifyWatchQueue()
@ 0x563ccd886875 1360 dfly::EngineShard::ProcessAwakened()
@ 0x563ccd6b8425 1216 dfly::Transaction::RunInShard()
@ 0x563ccd88243e 1376 dfly::EngineShard::PollExecution()
@ 0x563ccd6c5d04 448 dfly::Transaction::ExecuteAsync()::{lambda()#1}::operator()()
@ 0x563ccd6ea9f7 48 std::_Function_handler<>::_M_invoke()
@ 0x563ccdb3600b 48 std::function<>::operator()()
@ 0x563ccdc0f948 352 util::fibers_ext::FiberQueue::Run()
@ 0x563ccd87d56d 384 dfly::EngineShard::EngineShard()::{lambda()#2}::operator()()
@ 0x563ccd891cd5 48 std::__invoke_impl<>()
@ 0x563ccd8915de 32 std::__invoke<>()
@ 0x563ccd890d7a 32 std::_apply_impl<>()
@ 0x563ccd890df1 48 std::apply<>()
@ 0x563ccd891111 240 boost::fibers::worker_context<>::run
()
@ 0x563ccd894741 96 std::__invoke_impl<>()
@ 0x563ccd894252 96 std::__invoke<>()
@ 0x563ccd893f89 224 std::_Bind<>::__call<>()
@ 0x563ccd893be9 176 std::_Bind<>::operator()<>()
@ 0x563ccd893a2d 80 std::__invoke_impl<>()
@ 0x563ccd8935fb 80 std::__invoke<>()
@ 0x563ccd893410 80 std::invoke<>()
@ 0x563ccd892d7d 256 boost::context::detail::fiber_record<>::run()
@ 0x563ccd892450 224 boost::context::detail::fiber_entry<>()
@ 0x7feac4ab51cf (unknown) make_fcontext
Segmentation fault (core dumped)

@odedponcz odedponcz added the bug Something isn't working label Apr 25, 2022
@romange romange changed the title Server crush Server crash Apr 25, 2022
romange added a commit that referenced this issue Apr 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants