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

A crash in rdb serializer #4178

Open
romange opened this issue Nov 25, 2024 · 0 comments
Open

A crash in rdb serializer #4178

romange opened this issue Nov 25, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@romange
Copy link
Collaborator

romange commented Nov 25, 2024

0x00000000004c5dc4
dfly::SerializerBase::SaveString(std::basic_string_view<char, std::char_traits<char> >)
/__w/dragonfly/dragonfly/build/../src/server/rdb_save.cc:1048
0x00000000004ca0e8
dfly::RdbSerializer::SaveSetObject(dfly::CompactObj const&)
/__w/dragonfly/dragonfly/build/../src/server/rdb_save.cc:513
0x00000000004cc53c
dfly::RdbSerializer::SaveObject(dfly::CompactObj const&)
/__w/dragonfly/dragonfly/build/../src/server/rdb_save.cc:409
0x00000000004cc638
dfly::RdbSerializer::SaveValue(dfly::CompactObj const&)
/__w/dragonfly/dragonfly/build/../src/server/rdb_save.cc:329
0x00000000004cc8f0
dfly::RdbSerializer::SaveEntry(dfly::CompactObj const&, dfly::CompactObj const&, unsigned long, unsigned int, unsigned short)
/__w/dragonfly/dragonfly/build/../src/server/rdb_save.cc:392
0x00000000004db134
dfly::SliceSnapshot::SerializeEntry(unsigned short, dfly::CompactObj const&, dfly::CompactObj const&, std::optional<unsigned long>, dfly::RdbSerializer*)
/__w/dragonfly/dragonfly/build/../src/server/snapshot.cc:313
0x00000000004db8a4
dfly::DashTable<dfly::CompactObj, dfly::CompactObj, dfly::detail::PrimeTablePolicy>::Iterator<false, true>::Seek2Occupied()
/__w/dragonfly/dragonfly/build/../src/core/dash.h:497
0x00000000004dbb20
dfly::SliceSnapshot::BucketSaveCb(dfly::DashTable<dfly::CompactObj, dfly::CompactObj, dfly::detail::PrimeTablePolicy>::Iterator<false, true>)
/__w/dragonfly/dragonfly/build/../src/server/snapshot.cc:266
0x00000000004da444
bool std::__invoke_impl<bool, bool (dfly::SliceSnapshot::*&)(dfly::DashTable<dfly::CompactObj, dfly::CompactObj, dfly::detail::PrimeTablePolicy>::Iterator<false, true>), dfly::SliceSnapshot*&, dfly::DashTable<dfly::CompactObj, dfly::CompactObj, dfly::detail::PrimeTablePolicy>::Iterator<false, true> >(std::__invoke_memfun_deref, bool (dfly::SliceSnapshot::*&)(dfly::DashTable<dfly::CompactObj, dfly::CompactObj, dfly::detail::PrimeTablePolicy>::Iterator<false, true>), dfly::SliceSnapshot*&, dfly::DashTable<dfly::CompactObj, dfly::CompactObj, dfly::detail::PrimeTablePolicy>::Iterator<false, true>&&)
/usr/include/c++/9/bits/invoke.h:73
0x00000000004da830
void boost::context::detail::fiber_entry<boost::context::detail::fiber_record<boost::context::fiber, util::fb2::FixedStackAllocator, util::fb2::detail::WorkerFiberImpl<dfly::SliceSnapshot::Start(bool, dfly::Cancellation const*, dfly::SliceSnapshot::SnapshotFlush)::{lambda()#2}>::WorkerFiberImpl<util::fb2::FixedStackAllocator>(std::basic_string_view<char, std::char_traits<char> >, boost::context::preallocated const&, util::fb2::FixedStackAllocator&&, {lambda()#2}&&)::{lambda(boost::context::fiber&&)#1}> >(boost::context::detail::transfer_t)
/__w/dragonfly/dragonfly/build/../src/server/snapshot.cc:96

See here:
https://github.com/dragonflydb/dragonfly/actions/runs/12004873880/job/33460543226#step:6:1200

commit: 43d30e2

@romange romange added the bug Something isn't working label Nov 25, 2024
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