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

RethinkDB local cluster crashing from non-unique (all the same) generated instance names #5643

Closed
dalanmiller opened this issue Apr 11, 2016 · 12 comments
Assignees
Labels
Milestone

Comments

@dalanmiller
Copy link
Contributor

Creating three node local cluster, rethinkdb (2.3.0 from Homebrew) will run fine until connected to from WebGUI, in this case on localhost:8083.

✘ dalanmiller@dalanmiller  ~  rethinkdb -d 3 -o 3 --join localhost:29017
Running rethinkdb 2.3.0 (CLANG 7.3.0 (clang-703.0.29))...
Running on Darwin 15.4.0 x86_64
Loading data from directory /Users/dalanmiller/3
Listening for intracluster connections on port 29018
Connected to server "dalanmiller_local_j4s" a6e298f1-e7e5-476a-bf58-fba929ed96ab
Listening for client driver connections on port 28018
Listening for administrative HTTP connections on port 8083
Listening on cluster addresses: 127.0.0.1, ::1
Listening on driver addresses: 127.0.0.1, ::1
Listening on http addresses: 127.0.0.1, ::1
To fully expose RethinkDB on the network, bind to all addresses by running rethinkdb with the `--bind all` command line option.
Server ready, "dalanmiller_local_j4s" 36ad7c94-8dc8-4917-89de-c03bbf565eaf
Connected to server "dalanmiller_local_j4s" 5fb8bb9e-bd9c-49b9-a9d4-33f6d39ec40b
Version: rethinkdb 2.3.0 (CLANG 7.3.0 (clang-703.0.29))
error: Error in src/clustering/administration/servers/server_status.cc at line 95:
error: Guarantee failed: [!server_connect_builder.add( server_name_or_uuid.as_str(), ql::datum_t::boolean(is_connected))]
error: Backtrace:
error: Mon Apr 11 15:08:25 2016

       1 [0x10730e4a4]: 0   rethinkdb                           0x000000010730e4a4 _Z19rethinkdb_backtracePPvi + 132 at 0x10730e4a4 ()
       2 [0x106ef59b8]: 0   rethinkdb                           0x0000000106ef59b8 _ZN11backtrace_tC2Ev + 80 at 0x106ef59b8 ()
       3 [0x106ef6ac9]: 0   rethinkdb                           0x0000000106ef6ac9 _ZN26lazy_backtrace_formatter_tC2Ev + 39 at 0x106ef6ac9 ()
       4 [0x106ef5646]: 0   rethinkdb                           0x0000000106ef5646 _Z16format_backtraceb + 25 at 0x106ef5646 ()
       5 [0x107117b53]: 0   rethinkdb                           0x0000000107117b53 _Z18report_fatal_errorPKciS0_z + 406 at 0x107117b53 ()
       6 [0x1070265c4]: 0   rethinkdb                           0x00000001070265c4 _ZN40server_status_artificial_table_backend_t10format_rowERK11server_id_tRK9peer_id_tRK28cluster_directory_metadata_tP8signal_tPN2ql7datum_tEP11admin_err_t + 1280 at 0x1070265c4 ()
       7 [0x107021f3f]: 0   rethinkdb                           0x0000000107021f3f _ZN40common_server_artificial_table_backend_t23read_all_rows_as_vectorEP8signal_tPNSt3__16vectorIN2ql7datum_tENS2_9allocatorIS5_EEEEP11admin_err_t + 235 at 0x107021f3f ()
       8 [0x10714d27a]: 0   rethinkdb                           0x000000010714d27a _ZN26artificial_table_backend_t23read_all_rows_as_streamEN2ql14backtrace_id_tERKNS0_11datumspec_tE9sorting_tP8signal_tP9counted_tINS0_14datum_stream_tEEP11admin_err_t + 106 at 0x10714d27a ()
       9 [0x10714ab56]: 0   rethinkdb                           0x000000010714ab56 _ZN18artificial_table_t8read_allEPN2ql5env_tERKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS0_14backtrace_id_tESB_RKNS0_11datumspec_tE9sorting_t11read_mode_t + 324 at 0x10714ab56 ()
       10 [0x1072f9d94]: 0   rethinkdb                           0x00000001072f9d94 _ZN2ql7table_t6as_seqEPNS_5env_tERKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_14backtrace_id_tERKNS_13datum_range_tE9sorting_t + 250 at 0x1072f9d94 ()
       11 [0x1072f9c87]: 0   rethinkdb                           0x00000001072f9c87 _ZN2ql13table_slice_t6as_seqEPNS_5env_tENS_14backtrace_id_tE + 85 at 0x1072f9c87 ()
       12 [0x1072fdc6e]: 0   rethinkdb                           0x00000001072fdc6e _ZN2ql5val_t6as_seqEPNS_5env_tE + 88 at 0x1072fdc6e ()
       13 [0x1072cd01b]: 0   rethinkdb                           0x00000001072cd01b _ZNK2ql20obj_or_seq_op_impl_t22eval_impl_dereferencedEPKNS_6term_tEPNS_11scope_env_tEPNS_6args_tERK12scoped_ptr_tINS_5val_tEENSt3__18functionIFSA_vEEE + 1075 at 0x1072cd01b ()
       14 [0x1072ceb97]: 0   rethinkdb                           0x00000001072ceb97 _ZNK2ql14bracket_term_t9eval_implEPNS_11scope_env_tEPNS_6args_tENS_12eval_flags_tE + 295 at 0x1072ceb97 ()
       15 [0x10721ab61]: 0   rethinkdb                           0x000000010721ab61 _ZNK2ql9op_term_t9term_evalEPNS_11scope_env_tENS_12eval_flags_tE + 1045 at 0x10721ab61 ()
       16 [0x1072a2b69]: 0   rethinkdb                           0x00000001072a2b69 _ZNK2ql14runtime_term_t21eval_on_current_stackEPNS_11scope_env_tENS_12eval_flags_tE + 183 at 0x1072a2b69 ()
       17 [0x1072a2cf0]: 0   rethinkdb                           0x00000001072a2cf0 _ZNK2ql14runtime_term_t4evalEPNS_11scope_env_tENS_12eval_flags_tE + 90 at 0x1072a2cf0 ()
       18 [0x10721adee]: 0   rethinkdb                           0x000000010721adee _ZNK2ql9op_term_t18maybe_grouped_dataEPNS_11scope_env_tEPNS_8argvec_tENS_12eval_flags_tEP9counted_tINS_14grouped_data_tEEP12scoped_ptr_tINS_5val_tEE + 84 at 0x10721adee ()
       19 [0x10721a7c7]: 0   rethinkdb                           0x000000010721a7c7 _ZNK2ql9op_term_t9term_evalEPNS_11scope_env_tENS_12eval_flags_tE + 123 at 0x10721a7c7 ()
       20 [0x1072a2b69]: 0   rethinkdb                           0x00000001072a2b69 _ZNK2ql14runtime_term_t21eval_on_current_stackEPNS_11scope_env_tENS_12eval_flags_tE + 183 at 0x1072a2b69 ()
       21 [0x1072a2cf0]: 0   rethinkdb                           0x00000001072a2cf0 _ZNK2ql14runtime_term_t4evalEPNS_11scope_env_tENS_12eval_flags_tE + 90 at 0x1072a2cf0 ()
       22 [0x10721adee]: 0   rethinkdb                           0x000000010721adee _ZNK2ql9op_term_t18maybe_grouped_dataEPNS_11scope_env_tEPNS_8argvec_tENS_12eval_flags_tEP9counted_tINS_14grouped_data_tEEP12scoped_ptr_tINS_5val_tEE + 84 at 0x10721adee ()
       23 [0x10721a7c7]: 0   rethinkdb                           0x000000010721a7c7 _ZNK2ql9op_term_t9term_evalEPNS_11scope_env_tENS_12eval_flags_tE + 123 at 0x10721a7c7 ()
       24 [0x1072a2b69]: 0   rethinkdb                           0x00000001072a2b69 _ZNK2ql14runtime_term_t21eval_on_current_stackEPNS_11scope_env_tENS_12eval_flags_tE + 183 at 0x1072a2b69 ()
       25 [0x1072a2cf0]: 0   rethinkdb                           0x00000001072a2cf0 _ZNK2ql14runtime_term_t4evalEPNS_11scope_env_tENS_12eval_flags_tE + 90 at 0x1072a2cf0 ()
       26 [0x10721adee]: 0   rethinkdb                           0x000000010721adee _ZNK2ql9op_term_t18maybe_grouped_dataEPNS_11scope_env_tEPNS_8argvec_tENS_12eval_flags_tEP9counted_tINS_14grouped_data_tEEP12scoped_ptr_tINS_5val_tEE + 84 at 0x10721adee ()
       27 [0x10721a7c7]: 0   rethinkdb                           0x000000010721a7c7 _ZNK2ql9op_term_t9term_evalEPNS_11scope_env_tENS_12eval_flags_tE + 123 at 0x10721a7c7 ()
       28 [0x1072a2b69]: 0   rethinkdb                           0x00000001072a2b69 _ZNK2ql14runtime_term_t21eval_on_current_stackEPNS_11scope_env_tENS_12eval_flags_tE + 183 at 0x1072a2b69 ()
       29 [0x1072a2cf0]: 0   rethinkdb                           0x00000001072a2cf0 _ZNK2ql14runtime_term_t4evalEPNS_11scope_env_tENS_12eval_flags_tE + 90 at 0x1072a2cf0 ()
       30 [0x1072b5b1c]: 0   rethinkdb                           0x00000001072b5b1c _ZNK2ql15make_obj_term_t9term_evalEPNS_11scope_env_tENS_12eval_flags_tE + 242 at 0x1072b5b1c ()
       31 [0x1072a2b69]: 0   rethinkdb                           0x00000001072a2b69 _ZNK2ql14runtime_term_t21eval_on_current_stackEPNS_11scope_env_tENS_12eval_flags_tE + 183 at 0x1072a2b69 ()
       32 [0x1072a2cf0]: 0   rethinkdb                           0x00000001072a2cf0 _ZNK2ql14runtime_term_t4evalEPNS_11scope_env_tENS_12eval_flags_tE + 90 at 0x1072a2cf0 ()
       33 [0x1072b5b1c]: 0   rethinkdb                           0x00000001072b5b1c _ZNK2ql15make_obj_term_t9term_evalEPNS_11scope_env_tENS_12eval_flags_tE + 242 at 0x1072b5b1c ()
       34 [0x1072a2b69]: 0   rethinkdb                           0x00000001072a2b69 _ZNK2ql14runtime_term_t21eval_on_current_stackEPNS_11scope_env_tENS_12eval_flags_tE + 183 at 0x1072a2b69 ()
       35 [0x1072a2cf0]: 0   rethinkdb                           0x00000001072a2cf0 _ZNK2ql14runtime_term_t4evalEPNS_11scope_env_tENS_12eval_flags_tE + 90 at 0x1072a2cf0 ()
       36 [0x10726eeb6]: 0   rethinkdb                           0x000000010726eeb6 _ZN2ql13query_cache_t5ref_t3runEPNS_5env_tEPNS_10response_tE + 110 at 0x10726eeb6 ()
       37 [0x10726e71d]: 0   rethinkdb                           0x000000010726e71d _ZN2ql13query_cache_t5ref_t13fill_responseEPNS_10response_tE + 265 at 0x10726e71d ()
       38 [0x10727088d]: 0   rethinkdb                           0x000000010727088d _ZN18rdb_query_server_t9run_queryEPN2ql14query_params_tEPNS0_10response_tEP8signal_t + 199 at 0x10727088d ()
       39 [0x106f2ec4c]: 0   rethinkdb                           0x0000000106f2ec4c _ZN14query_server_t6handleERK10http_req_tP10http_res_tP8signal_t + 2356 at 0x106f2ec4c ()
       40 [0x107130ae5]: 0   rethinkdb                           0x0000000107130ae5 _ZN18routing_http_app_t6handleERK10http_req_tP10http_res_tP8signal_t + 391 at 0x107130ae5 ()
       41 [0x107130ae5]: 0   rethinkdb                           0x0000000107130ae5 _ZN18routing_http_app_t6handleERK10http_req_tP10http_res_tP8signal_t + 391 at 0x107130ae5 ()
       42 [0x10712a89b]: 0   rethinkdb                           0x000000010712a89b _ZN13http_server_t11handle_connERK12scoped_ptr_tI27linux_tcp_conn_descriptor_tEN14auto_drainer_t6lock_tE + 269 at 0x10712a89b ()
       43 [0x10712caa7]: 0   rethinkdb                           0x000000010712caa7 _ZNK5boost4_mfi3mf2Iv13http_server_tRK12scoped_ptr_tI27linux_tcp_conn_descriptor_tEN14auto_drainer_t6lock_tEEclEPS2_S7_S9_ + 69 at 0x10712caa7 ()
       44 [0x10712ca37]: 0   rethinkdb                           0x000000010712ca37 _ZN5boost3_bi5list3INS0_5valueIP13http_server_tEENS_3argILi1EEENS2_IN14auto_drainer_t6lock_tEEEEclINS_4_mfi3mf2IvS3_RK12scoped_ptr_tI27linux_tcp_conn_descriptor_tES9_EENS0_7rrlist1IRSH_EEEEvNS0_4typeIvEERT_RT0_i + 57 at 0x10712ca37 ()
       45 [0x10712c9ce]: 0   rethinkdb                           0x000000010712c9ce _ZNSt3__110__function6__funcIN5boost3_bi6bind_tIvNS2_4_mfi3mf2Iv13http_server_tRK12scoped_ptr_tI27linux_tcp_conn_descriptor_tEN14auto_drainer_t6lock_tEEENS3_5list3INS3_5valueIPS7_EENS2_3argILi1EEENSH_ISE_EEEEEENS_9allocatorISO_EEFvRSA_EEclESR_ + 34 at 0x10712c9ce ()
       46 [0x106eeaa2a]: 0   rethinkdb                           0x0000000106eeaa2a _ZN32linux_nonthrowing_tcp_listener_t6handleEi + 50 at 0x106eeaa2a ()
       47 [0x106eeeddc]: 0   rethinkdb                           0x0000000106eeeddc _ZN6coro_t3runEv + 70 at 0x106eeeddc ()
error: Exiting.
[1]    84881 trace trap  rethinkdb -d 3 -o 3 --join localhost:29017
@dalanmiller
Copy link
Contributor Author

Same result when I try to connect via Python driver.

@nighelles nighelles self-assigned this Apr 11, 2016
@mlucy
Copy link
Member

mlucy commented Apr 11, 2016

@dalanmiller -- is this in the released version?

It looks like the last two people to touch the file were @nighelles and @danielmewes .

@dalanmiller
Copy link
Contributor Author

Yup, straight from homebrew.

Looks like they are all getting the same name? They all have this line:

Server ready, "dalanmiller_local_j4s" 5fb8bb9e-bd9c-49b9-a9d4-33f6d39ec40b

@nighelles
Copy link

Yeah, changing the names to be different for each server should be a temporary workaround. I'm looking into fixing this.

@dalanmiller
Copy link
Contributor Author

Same error when renaming and retagging all members:

✘ dalanmiller@dalanmiller  ~  rethinkdb -d 2 -o 2 --bind all -n cluster2 -t cluster2
WARNING: ignoring --server-name because this server already has a name.
Running rethinkdb 2.3.0 (CLANG 7.3.0 (clang-703.0.29))...
Running on Darwin 15.4.0 x86_64
Loading data from directory /Users/dalanmiller/2
Listening for intracluster connections on port 29017
Listening for client driver connections on port 28017
Listening for administrative HTTP connections on port 8082
Listening on cluster addresses: 127.0.0.1, 192.168.64.1, 192.168.0.202, 192.168.0.223, ::1, fc6d:91d7:b5f:8b68:5e8e:519c:25a2:1273, fe80::1%1, fe80::4da:35ff:fe7e:3673%9, fe80::12dd:b1ff:fec9:1016%4, fe80::12dd:b1ff:fec9:1016%11, fe80::9ef3:87ff:feb6:f84e%5
Listening on driver addresses: 127.0.0.1, 192.168.64.1, 192.168.0.202, 192.168.0.223, ::1, fc6d:91d7:b5f:8b68:5e8e:519c:25a2:1273, fe80::1%1, fe80::4da:35ff:fe7e:3673%9, fe80::12dd:b1ff:fec9:1016%4, fe80::12dd:b1ff:fec9:1016%11, fe80::9ef3:87ff:feb6:f84e%5
Listening on http addresses: 127.0.0.1, 192.168.64.1, 192.168.0.202, 192.168.0.223, ::1, fc6d:91d7:b5f:8b68:5e8e:519c:25a2:1273, fe80::1%1, fe80::4da:35ff:fe7e:3673%9, fe80::12dd:b1ff:fec9:1016%4, fe80::12dd:b1ff:fec9:1016%11, fe80::9ef3:87ff:feb6:f84e%5
Server ready, "dalanmiller_local_j4s" a6e298f1-e7e5-476a-bf58-fba929ed96ab
Connected to server "dalanmiller_local_j4s" 36ad7c94-8dc8-4917-89de-c03bbf565eaf
Connected to server "dalanmiller_local_j4s" 5fb8bb9e-bd9c-49b9-a9d4-33f6d39ec40b
Version: rethinkdb 2.3.0 (CLANG 7.3.0 (clang-703.0.29))
error: Error in src/clustering/administration/servers/server_status.cc at line 95:
error: Guarantee failed: [!server_connect_builder.add( server_name_or_uuid.as_str(), ql::datum_t::boolean(is_connected))]
error: Backtrace:
error: Mon Apr 11 15:37:31 2016

       1 [0x1043744a4]: 0   rethinkdb                           0x00000001043744a4 _Z19rethinkdb_backtracePPvi + 132 at 0x1043744a4 ()
       2 [0x103f5b9b8]: 0   rethinkdb                           0x0000000103f5b9b8 _ZN11backtrace_tC2Ev + 80 at 0x103f5b9b8 ()
       3 [0x103f5cac9]: 0   rethinkdb                           0x0000000103f5cac9 _ZN26lazy_backtrace_formatter_tC2Ev + 39 at 0x103f5cac9 ()
       4 [0x103f5b646]: 0   rethinkdb                           0x0000000103f5b646 _Z16format_backtraceb + 25 at 0x103f5b646 ()
       5 [0x10417db53]: 0   rethinkdb                           0x000000010417db53 _Z18report_fatal_errorPKciS0_z + 406 at 0x10417db53 ()
       6 [0x10408c5c4]: 0   rethinkdb                           0x000000010408c5c4 _ZN40server_status_artificial_table_backend_t10format_rowERK11server_id_tRK9peer_id_tRK28cluster_directory_metadata_tP8signal_tPN2ql7datum_tEP11admin_err_t + 1280 at 0x10408c5c4 ()
       7 [0x104087f3f]: 0   rethinkdb                           0x0000000104087f3f _ZN40common_server_artificial_table_backend_t23read_all_rows_as_vectorEP8signal_tPNSt3__16vectorIN2ql7datum_tENS2_9allocatorIS5_EEEEP11admin_err_t + 235 at 0x104087f3f ()
       8 [0x1041b327a]: 0   rethinkdb                           0x00000001041b327a _ZN26artificial_table_backend_t23read_all_rows_as_streamEN2ql14backtrace_id_tERKNS0_11datumspec_tE9sorting_tP8signal_tP9counted_tINS0_14datum_stream_tEEP11admin_err_t + 106 at 0x1041b327a ()
       9 [0x1041b0b56]: 0   rethinkdb                           0x00000001041b0b56 _ZN18artificial_table_t8read_allEPN2ql5env_tERKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS0_14backtrace_id_tESB_RKNS0_11datumspec_tE9sorting_t11read_mode_t + 324 at 0x1041b0b56 ()
       10 [0x10435fd94]: 0   rethinkdb                           0x000000010435fd94 _ZN2ql7table_t6as_seqEPNS_5env_tERKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_14backtrace_id_tERKNS_13datum_range_tE9sorting_t + 250 at 0x10435fd94 ()
       11 [0x10435fc87]: 0   rethinkdb                           0x000000010435fc87 _ZN2ql13table_slice_t6as_seqEPNS_5env_tENS_14backtrace_id_tE + 85 at 0x10435fc87 ()
       12 [0x104363c6e]: 0   rethinkdb                           0x0000000104363c6e _ZN2ql5val_t6as_seqEPNS_5env_tE + 88 at 0x104363c6e ()
       13 [0x10433301b]: 0   rethinkdb                           0x000000010433301b _ZNK2ql20obj_or_seq_op_impl_t22eval_impl_dereferencedEPKNS_6term_tEPNS_11scope_env_tEPNS_6args_tERK12scoped_ptr_tINS_5val_tEENSt3__18functionIFSA_vEEE + 1075 at 0x10433301b ()
       14 [0x104334b97]: 0   rethinkdb                           0x0000000104334b97 _ZNK2ql14bracket_term_t9eval_implEPNS_11scope_env_tEPNS_6args_tENS_12eval_flags_tE + 295 at 0x104334b97 ()
       15 [0x104280b61]: 0   rethinkdb                           0x0000000104280b61 _ZNK2ql9op_term_t9term_evalEPNS_11scope_env_tENS_12eval_flags_tE + 1045 at 0x104280b61 ()
       16 [0x104308b69]: 0   rethinkdb                           0x0000000104308b69 _ZNK2ql14runtime_term_t21eval_on_current_stackEPNS_11scope_env_tENS_12eval_flags_tE + 183 at 0x104308b69 ()
       17 [0x104308cf0]: 0   rethinkdb                           0x0000000104308cf0 _ZNK2ql14runtime_term_t4evalEPNS_11scope_env_tENS_12eval_flags_tE + 90 at 0x104308cf0 ()
       18 [0x104280dee]: 0   rethinkdb                           0x0000000104280dee _ZNK2ql9op_term_t18maybe_grouped_dataEPNS_11scope_env_tEPNS_8argvec_tENS_12eval_flags_tEP9counted_tINS_14grouped_data_tEEP12scoped_ptr_tINS_5val_tEE + 84 at 0x104280dee ()
       19 [0x1042807c7]: 0   rethinkdb                           0x00000001042807c7 _ZNK2ql9op_term_t9term_evalEPNS_11scope_env_tENS_12eval_flags_tE + 123 at 0x1042807c7 ()
       20 [0x104308b69]: 0   rethinkdb                           0x0000000104308b69 _ZNK2ql14runtime_term_t21eval_on_current_stackEPNS_11scope_env_tENS_12eval_flags_tE + 183 at 0x104308b69 ()
       21 [0x104308cf0]: 0   rethinkdb                           0x0000000104308cf0 _ZNK2ql14runtime_term_t4evalEPNS_11scope_env_tENS_12eval_flags_tE + 90 at 0x104308cf0 ()
       22 [0x104280dee]: 0   rethinkdb                           0x0000000104280dee _ZNK2ql9op_term_t18maybe_grouped_dataEPNS_11scope_env_tEPNS_8argvec_tENS_12eval_flags_tEP9counted_tINS_14grouped_data_tEEP12scoped_ptr_tINS_5val_tEE + 84 at 0x104280dee ()
       23 [0x1042807c7]: 0   rethinkdb                           0x00000001042807c7 _ZNK2ql9op_term_t9term_evalEPNS_11scope_env_tENS_12eval_flags_tE + 123 at 0x1042807c7 ()
       24 [0x104308b69]: 0   rethinkdb                           0x0000000104308b69 _ZNK2ql14runtime_term_t21eval_on_current_stackEPNS_11scope_env_tENS_12eval_flags_tE + 183 at 0x104308b69 ()
       25 [0x104308cf0]: 0   rethinkdb                           0x0000000104308cf0 _ZNK2ql14runtime_term_t4evalEPNS_11scope_env_tENS_12eval_flags_tE + 90 at 0x104308cf0 ()
       26 [0x104280dee]: 0   rethinkdb                           0x0000000104280dee _ZNK2ql9op_term_t18maybe_grouped_dataEPNS_11scope_env_tEPNS_8argvec_tENS_12eval_flags_tEP9counted_tINS_14grouped_data_tEEP12scoped_ptr_tINS_5val_tEE + 84 at 0x104280dee ()
       27 [0x1042807c7]: 0   rethinkdb                           0x00000001042807c7 _ZNK2ql9op_term_t9term_evalEPNS_11scope_env_tENS_12eval_flags_tE + 123 at 0x1042807c7 ()
       28 [0x104308b69]: 0   rethinkdb                           0x0000000104308b69 _ZNK2ql14runtime_term_t21eval_on_current_stackEPNS_11scope_env_tENS_12eval_flags_tE + 183 at 0x104308b69 ()
       29 [0x104308cf0]: 0   rethinkdb                           0x0000000104308cf0 _ZNK2ql14runtime_term_t4evalEPNS_11scope_env_tENS_12eval_flags_tE + 90 at 0x104308cf0 ()
       30 [0x10431bb1c]: 0   rethinkdb                           0x000000010431bb1c _ZNK2ql15make_obj_term_t9term_evalEPNS_11scope_env_tENS_12eval_flags_tE + 242 at 0x10431bb1c ()
       31 [0x104308b69]: 0   rethinkdb                           0x0000000104308b69 _ZNK2ql14runtime_term_t21eval_on_current_stackEPNS_11scope_env_tENS_12eval_flags_tE + 183 at 0x104308b69 ()
       32 [0x104308cf0]: 0   rethinkdb                           0x0000000104308cf0 _ZNK2ql14runtime_term_t4evalEPNS_11scope_env_tENS_12eval_flags_tE + 90 at 0x104308cf0 ()
       33 [0x10431bb1c]: 0   rethinkdb                           0x000000010431bb1c _ZNK2ql15make_obj_term_t9term_evalEPNS_11scope_env_tENS_12eval_flags_tE + 242 at 0x10431bb1c ()
       34 [0x104308b69]: 0   rethinkdb                           0x0000000104308b69 _ZNK2ql14runtime_term_t21eval_on_current_stackEPNS_11scope_env_tENS_12eval_flags_tE + 183 at 0x104308b69 ()
       35 [0x104308cf0]: 0   rethinkdb                           0x0000000104308cf0 _ZNK2ql14runtime_term_t4evalEPNS_11scope_env_tENS_12eval_flags_tE + 90 at 0x104308cf0 ()
       36 [0x1042d4eb6]: 0   rethinkdb                           0x00000001042d4eb6 _ZN2ql13query_cache_t5ref_t3runEPNS_5env_tEPNS_10response_tE + 110 at 0x1042d4eb6 ()
       37 [0x1042d471d]: 0   rethinkdb                           0x00000001042d471d _ZN2ql13query_cache_t5ref_t13fill_responseEPNS_10response_tE + 265 at 0x1042d471d ()
       38 [0x1042d688d]: 0   rethinkdb                           0x00000001042d688d _ZN18rdb_query_server_t9run_queryEPN2ql14query_params_tEPNS0_10response_tEP8signal_t + 199 at 0x1042d688d ()
       39 [0x103f94c4c]: 0   rethinkdb                           0x0000000103f94c4c _ZN14query_server_t6handleERK10http_req_tP10http_res_tP8signal_t + 2356 at 0x103f94c4c ()
       40 [0x104196ae5]: 0   rethinkdb                           0x0000000104196ae5 _ZN18routing_http_app_t6handleERK10http_req_tP10http_res_tP8signal_t + 391 at 0x104196ae5 ()
       41 [0x104196ae5]: 0   rethinkdb                           0x0000000104196ae5 _ZN18routing_http_app_t6handleERK10http_req_tP10http_res_tP8signal_t + 391 at 0x104196ae5 ()
       42 [0x10419089b]: 0   rethinkdb                           0x000000010419089b _ZN13http_server_t11handle_connERK12scoped_ptr_tI27linux_tcp_conn_descriptor_tEN14auto_drainer_t6lock_tE + 269 at 0x10419089b ()
       43 [0x104192aa7]: 0   rethinkdb                           0x0000000104192aa7 _ZNK5boost4_mfi3mf2Iv13http_server_tRK12scoped_ptr_tI27linux_tcp_conn_descriptor_tEN14auto_drainer_t6lock_tEEclEPS2_S7_S9_ + 69 at 0x104192aa7 ()
       44 [0x104192a37]: 0   rethinkdb                           0x0000000104192a37 _ZN5boost3_bi5list3INS0_5valueIP13http_server_tEENS_3argILi1EEENS2_IN14auto_drainer_t6lock_tEEEEclINS_4_mfi3mf2IvS3_RK12scoped_ptr_tI27linux_tcp_conn_descriptor_tES9_EENS0_7rrlist1IRSH_EEEEvNS0_4typeIvEERT_RT0_i + 57 at 0x104192a37 ()
       45 [0x1041929ce]: 0   rethinkdb                           0x00000001041929ce _ZNSt3__110__function6__funcIN5boost3_bi6bind_tIvNS2_4_mfi3mf2Iv13http_server_tRK12scoped_ptr_tI27linux_tcp_conn_descriptor_tEN14auto_drainer_t6lock_tEEENS3_5list3INS3_5valueIPS7_EENS2_3argILi1EEENSH_ISE_EEEEEENS_9allocatorISO_EEFvRSA_EEclESR_ + 34 at 0x1041929ce ()
       46 [0x103f50a2a]: 0   rethinkdb                           0x0000000103f50a2a _ZN32linux_nonthrowing_tcp_listener_t6handleEi + 50 at 0x103f50a2a ()
       47 [0x103f54ddc]: 0   rethinkdb                           0x0000000103f54ddc _ZN6coro_t3runEv + 70 at 0x103f54ddc ()
error: Exiting.
[1]    90693 trace trap  rethinkdb -d 2 -o 2 --bind all -n cluster2 -t cluster2

@dalanmiller dalanmiller changed the title Error occurs when accessing RethinkDB from WebUI RethinkDB local cluster crashing from non-unique (all the same) generated instance names Apr 11, 2016
@dalanmiller
Copy link
Contributor Author

Identified that all names being generated for the rethinkdb instances on Mac OS X 10.11.4 are identical and not randomizing.

Work-around: Remove data directory (or else originally generated name will be used) and specify -n and -t flags for each instance of RethinkDB.

@nighelles
Copy link

The fix for the crash with duplicate names is in review 3595, implemented in nighelles/5643.

@nighelles
Copy link

The crash is fixed in next.

@danielmewes
Copy link
Member

@nighelles Can you backport the fix to the v2.3.x branch please?

@danielmewes danielmewes reopened this Apr 19, 2016
@danielmewes danielmewes added this to the 2.3.x milestone Apr 19, 2016
@danielmewes
Copy link
Member

(re-opened for backporting)

@nighelles
Copy link

This is in 2.3.x

@danielmewes danielmewes modified the milestones: 2.3.x, 2.3.1 Apr 20, 2016
@snackycracky
Copy link

snackycracky commented Apr 22, 2016

I have this as well in 2.3.0 with slightly different stacktrace.

screenshot 2016-04-22 15 26 42

I was doing a rethinkdb dump

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants