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

Bug inside dragonfly connection #694

Closed
dranikpg opened this issue Jan 16, 2023 · 0 comments · Fixed by #695
Closed

Bug inside dragonfly connection #694

dranikpg opened this issue Jan 16, 2023 · 0 comments · Fixed by #695
Labels
bug Something isn't working

Comments

@dranikpg
Copy link
Contributor

Steps to reproduce on latest main:

pytest dragonfly/replication_test.py -svx -k 'all'

Crashes with

dragonfly: _deps/abseil_cpp-src/absl/container/inlined_vector.h:321: absl::lts_20220623::InlinedVector<absl::lts_20220623::Span<char>, 6>::operator[](absl::lts_20220623::InlinedVector<absl::lts_20220623::Span<char>, 6>::size_type)::<lambda()>: Assertion `false && "i < size()"' failed.

To view the ibacktrace:

pytest dragonfly/replication_test.py -svx -k 'all' --gdb 
fg 1
bt

Gives

#13 0x00007ffff6c81e26 in __GI___assert_fail (assertion=0x555557ef0136 "false && \"i < size()\"", file=0x555557eeff88 "_deps/abseil_cpp-src/absl/container/inlined_vector.h", line=321, 
    function=0x555557ef0088 "absl::lts_20220623::InlinedVector<absl::lts_20220623::Span<char>, 6>::operator[](absl::lts_20220623::InlinedVector<absl::lts_20220623::Span<char>, 6>::size_type)::<lambda()>") at assert.c:101
#14 0x0000555557839912 in absl::lts_20220623::InlinedVector<absl::lts_20220623::Span<char>, 6ul, std::allocator<absl::lts_20220623::Span<char> > >::operator[](unsigned long)::{lambda()#1}::operator()() const (__closure=0x7fffe808b3e7)
    at _deps/abseil_cpp-src/absl/container/inlined_vector.h:321
#15 0x0000555557839987 in absl::lts_20220623::InlinedVector<absl::lts_20220623::Span<char>, 6ul, std::allocator<absl::lts_20220623::Span<char> > >::operator[] (this=0x567f8260380, i=9)
    at _deps/abseil_cpp-src/absl/container/inlined_vector.h:321
#16 0x000055555781627a in facade::Connection::Request::SetArgs (this=0x567f8260380, args=std::vector of length 14, capacity 16 = {...}) at ../src/facade/dragonfly_connection.cc:185
#17 0x0000555557816967 in facade::Connection::Request::Emplace (this=0x567f8260380, args=std::vector of length 14, capacity 16 = {...}, capacity=43) at ../src/facade/dragonfly_connection.cc:216
#18 0x000055555782bb1f in facade::Connection::FromArgs (this=0x7fffe006c580, args=std::vector of length 14, capacity 16 = {...}, heap=0x7ffff66d4000) at ../src/facade/dragonfly_connection.cc:792
#19 0x0000555557823f31 in facade::Connection::ParseRedis (this=0x7fffe006c580) at ../src/facade/dragonfly_connection.cc:534
#20 0x0000555557827506 in facade::Connection::IoLoop (this=0x7fffe006c580, peer=0x7fffe006c550) at ../src/facade/dragonfly_connection.cc:652
#21 0x0000555557820818 in facade::Connection::ConnectionFlow (this=0x7fffe006c580, peer=0x7fffe006c550) at ../src/facade/dragonfly_connection.cc:451
#22 0x000055555781c81b in facade::Connection::HandleRequests (this=0x7fffe006c580) at ../src/facade/dragonfly_connection.cc:348
#23 0x0000555557b7c1a9 in util::ListenerInterface::RunSingleConnection (this=0x5555593f7c00, conn=0x7fffe006c580) at ../helio/util/listener_interface.cc:169
#24 0x0000555557b77c89 in operator() (__closure=0x7fffe808bd60) at ../helio/util/listener_interface.cc:116
#25 0x0000555557b8fb8c in std::__invoke_impl<void, util::ListenerInterface::RunAcceptLoop()::<lambda()> >(std::__invoke_other, struct {...} &&) (__f=...) at /usr/include/c++/11/bits/invoke.h:61
@dranikpg dranikpg added the bug Something isn't working label Jan 16, 2023
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

Successfully merging a pull request may close this issue.

1 participant