Program terminated with signal SIGSEGV, Segmentation fault.
|
#0 0x00000000004c4189 in mongoc_cluster_fetch_stream_single (
|
cluster=0x1444a48, server_id=1, reconnect_ok=true, error=0x2ba301e7f800)
|
at src/mongoc/mongoc-cluster.c:1699
|
1699 if (sd->type == MONGOC_SERVER_UNKNOWN) {
|
|
(gdb) #0 0x00000000004c4189 in mongoc_cluster_fetch_stream_single (
|
cluster=0x1444a48, server_id=1, reconnect_ok=true, error=0x2ba301e7f800)
|
at src/mongoc/mongoc-cluster.c:1699
|
topology = 0x142f230
|
sd = 0x0
|
stream = 0x2ba320002df0
|
scanner_node = 0x14444b0
|
expire_at = 171032527
|
__func__ = "mongoc_cluster_fetch_stream_single"
|
|
#1 0x00000000004c3cf6 in _mongoc_cluster_stream_for_server (
|
cluster=0x1444a48, server_id=1, reconnect_ok=true, error=0x0)
|
at src/mongoc/mongoc-cluster.c:1552
|
topology = 0x142f230
|
server_stream = 0xd2b28e6
|
err_local = {domain = 0, code = 0,
|
message = '\000' <repeats 503 times>}
|
err_ptr = 0x2ba301e7f800
|
|
#2 0x00000000004c478b in _mongoc_cluster_stream_for_optype (
|
cluster=0x1444a48, optype=MONGOC_SS_READ, read_prefs=0x0, error=0x0)
|
at src/mongoc/mongoc-cluster.c:1932
|
server_stream = 0x2ba301e7fc80
|
server_id = 1
|
topology = 0x142f230
|
__func__ = "_mongoc_cluster_stream_for_optype"
|
|
#3 0x00000000004c47c2 in mongoc_cluster_stream_for_reads (cluster=0x1444a48,
|
read_prefs=0x0, error=0x0) at src/mongoc/mongoc-cluster.c:1962
|
No locals.
|
|
#4 0x00000000004bd8e1 in mongoc_client_command_simple (client=0x1444a40,
|
db_name=0x5163c0 "test", command=0x1442630, read_prefs=0x0, reply=0x0,
|
error=0x0) at src/mongoc/mongoc-client.c:1527
|
cluster = 0x1444a48
|
server_stream = 0x0
|
parts = {assembled = {db_name = 0x5163c0 "test",
|
query_flags = MONGOC_QUERY_NONE, command = 0x0,
|
command_name = 0x0, payload = 0x0, payload_size = 0,
|
payload_identifier = 0x0,
|
server_stream = 0x2ba2fe7a1bfd <sched_getcpu+45>,
|
operation_id = 1}, user_query_flags = MONGOC_QUERY_NONE,
|
body = 0x1442630, extra = {flags = 3, len = 5,
|
padding = "\005\000\000\000\000+\000\000 \374\347\001\243+\000\000\240\324C\001\000\000\000\000\240\324C\001\000\000\000\000H\322n\376\242+\000\000 \374\347\001\243+\000\000\240\324C\001\000\000\000\000\240\324C\001\000\000\000\000`\374\347\001\243+\000\000`\374\347\001\243+\000\000\240\324C\001\000\000\000\000\240\324C\001\000\000\000\000H\322n\376\242+\000\000`\374\347\001\243+\000\000\240\324C\001\000\000\000"}, read_prefs = 0x0, assembled_body = {flags = 3,
|
len = 5,
|
padding = "\005\000\000\000\000\000\000\000\361\002\030\376\\\324\377\377\002", '\000' <repeats 15 times>, "\060\000\000\000\000\000\000\000\020\375\347\001\243+\000\000\000\000\000\000\000\000\000\000\324+\000 [", '\000' <repeats 19 times>, "\210\000\000\000\000\000\000\000\241\002\030\376\\\324\377\377\200\000\000\000\000\000\000\000\002\000\000\000\000\000\000\000\200\000\000\000\000\000\000"}, is_write_command = false, session = 0x0}
|
ret = false
|
__func__ = "mongoc_client_command_simple"
|
|
#5 0x000000000040ab29 in background_mongoc_client_command_simple (
|
data=0x1442750) at tests/mock_server/future-functions.c:60
|
future = 0x1442750
|
return_value = {type = future_value_bool_type, {bool_value = 104,
|
char_ptr_value = 0x2ba2fea71868 <__elf_set___libc_thread_subfreeres_element_res_thread_freeres__> "\340ȁ\376\242+",
|
char_ptr_ptr_value = 0x2ba2fea71868 <__elf_set___libc_thread_subfreeres_element_res_thread_freeres__>, int_value = -22603672,
|
int64_t_value = 47979057059944, size_t_value = 47979057059944,
|
ssize_t_value = 47979057059944, uint32_t_value = 4272363624,
|
const_char_ptr_value = 0x2ba2fea71868 <__elf_set___libc_thread_subfreeres_element_res_thread_freeres__> "\340ȁ\376\242+",
|
bson_error_ptr_value = 0x2ba2fea71868 <__elf_set___libc_thread_subfreeres_element_res_thread_freeres__>,
|
bson_ptr_value = 0x2ba2fea71868 <__elf_set___libc_thread_subfreeres_element_res_thread_freeres__>,
|
const_bson_ptr_value = 0x2ba2fea71868 <__elf_set___libc_thread_subfreeres_element_res_thread_freeres__>,
|
const_bson_ptr_ptr_value = 0x2ba2fea71868 <__elf_set___libc_thread_subfreeres_element_res_thread_freeres__>,
|
mongoc_bulk_operation_ptr_value = 0x2ba2fea71868 <__elf_set___libc_thread_subfreeres_element_res_thread_freeres__>,
|
mongoc_client_ptr_value = 0x2ba2fea71868 <__elf_set___libc_thread_subfreeres_element_res_thread_freeres__>,
|
mongoc_collection_ptr_value = 0x2ba2fea71868 <__elf_set___libc_thread_subfreeres_element_res_thread_freeres__>,
|
mongoc_cursor_ptr_value = 0x2ba2fea71868 <__elf_set___libc_thread_subfreeres_element_res_thread_freeres__>,
|
mongoc_database_ptr_value = 0x2ba2fea71868 <__elf_set___libc_thread_subfreeres_element_res_thread_freeres__>,
|
mongoc_gridfs_file_ptr_value = 0x2ba2fea71868 <__elf_set___libc_thread_subfreeres_element_res_thread_freeres__>,
|
mongoc_gridfs_ptr_value = 0x2ba2fea71868 <__elf_set___libc_thread_subfreeres_element_res_thread_freeres__>,
|
mongoc_insert_flags_t_value = (unknown: 4272363624),
|
mongoc_iovec_ptr_value = 0x2ba2fea71868 <__elf_set___libc_thread_subfreeres_element_res_thread_freeres__>,
|
mongoc_query_flags_t_value = (MONGOC_QUERY_OPLOG_REPLAY | MONGOC_QUERY_AWAIT_DATA | MONGOC_QUERY_EXHAUST | unknown: 4272363520),
|
const_mongoc_index_opt_t_value = 0x2ba2fea71868 <__elf_set___libc_thread_subfreeres_element_res_thread_freeres__>,
|
mongoc_server_description_ptr_value = 0x2ba2fea71868 <__elf_set___libc_thread_subfreeres_element_res_thread_freeres__>,
|
mongoc_ss_optype_t_value = (unknown: 4272363624),
|
mongoc_topology_ptr_value = 0x2ba2fea71868 <__elf_set___libc_thread_subfreeres_element_res_thread_freeres__>,
|
mongoc_write_concern_ptr_value = 0x2ba2fea71868 <__elf_set___libc_thread_subfreeres_element_res_thread_freeres__>,
|
const_mongoc_find_and_modify_opts_ptr_value = 0x2ba2fea71868 <__elf_set___libc_thread_subfreeres_element_res_thread_freeres__>,
|
const_mongoc_iovec_ptr_value = 0x2ba2fea71868 <__elf_set___libc_thread_subfreeres_element_res_thread_freeres__>,
|
const_mongoc_read_prefs_ptr_value = 0x2ba2fea71868 <__elf_set___libc_thread_subfreeres_element_res_thread_freeres__>,
|
const_mongoc_write_concern_ptr_value = 0x2ba2fea71868 <__elf_set___libc_thread_subfreeres_element_res_thread_freeres__>}}
|
|
#6 0x00002ba2fe49d184 in start_thread (arg=0x2ba301e80700)
|
at pthread_create.c:312
|
__res = <optimized out>
|
pd = 0x2ba301e80700
|
now = <optimized out>
|
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {47979111646976,
|
-4498533311176941977, 0, 0, 47979111647680, 47979111646976,
|
-7577310743905083801, -7578428587681554841},
|
mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0},
|
data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
|
not_first_call = <optimized out>
|
pagesize_m1 = <optimized out>
|
sp = <optimized out>
|
freesize = <optimized out>
|
__PRETTY_FUNCTION__ = "start_thread"
|
|
#7 0x00002ba2fe7b0ffd in clone ()
|
at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
|
No locals.
|
|
(gdb) quit
|