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 in polyglot tests: fake_archive_exc_t #1219

Closed
Tryneus opened this issue Aug 1, 2013 · 4 comments
Closed

Server crash in polyglot tests: fake_archive_exc_t #1219

Tryneus opened this issue Aug 1, 2013 · 4 comments
Assignees
Milestone

Comments

@Tryneus
Copy link
Member

Tryneus commented Aug 1, 2013

Version: rethinkdb 1.7.3-492-gcfefee-dirty (GCC 4.6.3)
error: Error in ../src/errors.cc at line 110:
error: Uncaught exception of type "fake_archive_exc_t"
error: Backtrace:
error: Wed Jul 31 20:59:31 2013

       1: ../../build/release/rethinkdb() [0x93b712]
       2: ../../build/release/rethinkdb() [0x936750]
       3: ../../build/release/rethinkdb() [0x93696f]
       4: +0xb5846 at 0x2ad278926846 (/usr/lib/x86_64-linux-gnu/libstdc++.so.6)
       5: +0xb5873 at 0x2ad278926873 (/usr/lib/x86_64-linux-gnu/libstdc++.so.6)
       6: +0xb596e at 0x2ad27892696e (/usr/lib/x86_64-linux-gnu/libstdc++.so.6)
       7: ../../build/release/rethinkdb() [0x6a7e02] mailbox_t<void ()(rdb_protocol_t::read_response_t)>::read_impl_t::read(read_stream_t*) + 2146
       8: ../../build/release/rethinkdb() [0x90d0ee] mailbox_manager_t::mailbox_read_coroutine(int, unsigned long, string_read_stream_t*) + 238
       9: ../../build/release/rethinkdb() [0x43a91e] coro_t::run() + 46
error: Exiting.

(Notes added for function names)

It looks like there's a problem with rdb_protocol_t::read_response_t deserialization. I think I've run into something similar before that when an uninitialized value was serialized, it would crash the receiving side. Perhaps some recent change to rdb_protocol_t::read_response_t has allowed for this.

@Tryneus
Copy link
Member Author

Tryneus commented Aug 2, 2013

I have an idea for how to track this whole class of bugs down, will be implementing it shortly.

@ghost ghost assigned Tryneus Aug 2, 2013
@Tryneus
Copy link
Member Author

Tryneus commented Aug 5, 2013

Well, that didn't work out too well. I may have a fix for this instance, though. This error is rather repeatable, it shows up after a few iterations using:

while [ $? == 0 ]; do make py_polyglot TEST=sindex-api; done

@Tryneus
Copy link
Member Author

Tryneus commented Aug 5, 2013

Implemented and up in review 790.

@Tryneus
Copy link
Member Author

Tryneus commented Aug 5, 2013

This has been approved and merged to next in commit 070e117. Will be in release 1.8.

@Tryneus Tryneus closed this as completed Aug 5, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant