Couchabase Query Service is crashing during installation using Docker for 7.0.0-beta version

Hi,

Couchbase Version - Couchbase 7.0.0-beta
Docker Version - Docker version 19.03.11-ol, build 2a9c376
OS - Linux bld13509109 4.1.12-124.50.2.el7uek.x86_64 #2 SMP Tue Apr 20 12:55:20 PDT 2021 x86_64 x86_64 x86_64 GNU/Linux

After installing the server using the command

docker run -d --name couchbase-dev -p xxxxx-xxxxx:8091-8094 -p xxxxx-xxxxx:11210-11211 couchbase:7.0.0-beta

Below is the crash report.

2021-06-14 10:54:08.801475
client_info: undefined
label: {gen_server,terminate}
last_message: {<0.19755.2>,{exit_status,1}}
log:
name: <0.19749.2>
reason: {abnormal,1}
state: {state,<0.19755.2>,{query,"/opt/couchbase/bin/cbq-engine",["–datastore=http://127.0.0.1:8091","–http=:8093","–configstore=http://127.0.0.1:8091","–enterprise=true","–ipv4=required","–ipv6=optional","–https=:18093","–certfile=/opt/couchbase/var/lib/couchbase/config/memcached-cert.pem","–keyfile=/opt/couchbase/var/lib/couchbase/config/memcached-key.pem"],[via_goport,exit_status,stderr_to_stdout,{env,[{“GOTRACEBACK”,“single”},{“CBAUTH_REVRPC_URL”,“http://%40:b3fcc0ea9f6c6a8968c9673020b5c885@127.0.0.1:8091/cbq-engine”}]}]},{ringbuffer,1065,1024,{[{<<95,116,105,109,101,61,50,48,50,49,45,48,54,45,49,52,84,49,48,58,53,52,58,48,56,46,55,57,56,43,48,48,58,48,48,32,95,108,101,118,101,108,61,69,82,82,79,82,32,95,109,115,103,61,99,98,113,45,101,110,103,105,110,101,32,40,72,84,84,80,95,65,68,68,82,32,58,56,48,57,51,41,32,101,120,105,116,105,110,103,32,119,105,116,104,32,101,114,114,111,114,58,32,70,97,105,108,101,100,32,116,111,32,115,116,97,114,116,32,115,101,114,118,105,99,101,58,32,108,105,115,116,101,110,32,116,99,112,54,32,58,56,48,57,51,58,32,115,111,99,107,101,116,58,32,97,100,100,114,101,115,115,32,102,97,109,105,108,121,32,110,111,116,32,115,117,112,112,111,114,116,101,100,32,98,121,32,112,114,111,116,111,99,111,108,32,10>>,197},{<<95,116,105,109,101,61,50,48,50,49,45,48,54,45,49,52,84,49,48,58,53,52,58,48,56,46,55,57,53,43,48,48,58,48,48,32,95,108,101,118,101,108,61,73,78,70,79,32,95,109,115,103,61,32,67,101,114,116,105,102,105,99,97,116,101,115,32,104,97,118,101,32,98,101,101,110,32,114,101,102,114,101,115,104,101,100,32,98,121,32,110,115,32,115,101,114,118,101,114,32,32,10>>,102},{<<95,116,105,109,101,61,50,48,50,49,45,48,54,45,49,52,84,49,48,58,53,52,58,48,56,46,55,57,53,43,48,48,58,48,48,32,95,108,101,118,101,108,61,73,78,70,79,32,95,109,115,103,61,83,116,97,114,116,105,110,103,32,97,117,100,105,116,32,119,111,114,107,101,114,32,50,32,10,95,116,105,109,101,61,50,48,50,49,45,48,54,45,49,52,84,49,48,58,53,52,58,48,56,46,55,57,53,43,48,48,58,48,48,32,95,108,101,118,101,108,61,73,78,70,79,32,95,109,115,103,61,83,116,97,114,116,105,110,103,32,97,117,100,105,116,32,119,111,114,107,101,114,32,52,32,10,95,116,105,109,101,61,50,48,50,49,45,48,54,45,49,52,84,49,48,58,53,52,58,48,56,46,55,57,53,43,48,48,58,48,48,32,95,108,101,118,101,108,61,73,78,70,79,32,95,109,115,103,61,83,116,97,114,116,105,110,103,32,97,117,100,105,116,32,115,101,116,116,105,110,103,115,32,119,111,114,107,101,114,32,49,46,32,10,95,116,105,109,101,61,50,48,50,49,45,48,54,45,49,52,84,49,48,58,53,52,58,48,56,46,55,57,53,43,48,48,58,48,48,32,95,108,101,118,101,108,61,73,78,70,79,32,95,109,115,103,61,83,116,97,114,116,105,110,103,32,97,117,100,105,116,32,119,111,114,107,101,114,32,51,32,10,95,116,105,109,101,61,50,48,50,49,45,48,54,45,49,52,84,49,48,58,53,52,58,48,56,46,55,57,53,43,48,48,58,48,48,32,95,108,101,118,101,108,61,73,78,70,79,32,95,109,115,103,61,83,116,97,114,116,105,110,103,32,97,117,100,105,116,32,119,111,114,107,101,114,32,49,32,10>>,400}],[{<<95,116,105,109,101,61,50,48,50,49,45,48,54,45,49,52,84,49,48,58,53,52,58,48,56,46,55,57,53,43,48,48,58,48,48,32,95,108,101,118,101,108,61,73,78,70,79,32,95,109,115,103,61,99,98,113,45,101,110,103,105,110,101,32,115,116,97,114,116,101,100,32,118,101,114,115,105,111,110,61,55,46,48,46,48,45,78,49,81,76,32,100,97,116,97,115,116,111,114,101,61,104,116,116,112,58,47,47,49,50,55,46,48,46,48,46,49,58,56,48,57,49,32,109,97,120,45,99,111,110,99,117,114,114,101,110,99,121,61,52,32,108,111,103,108,101,118,101,108,61,73,78,70,79,32,115,101,114,118,105,99,101,114,115,61,49,54,32,112,108,117,115,45,115,101,114,118,105,99,101,114,115,61,54,52,32,115,99,97,110,45,99,97,112,61,53,49,50,32,112,105,112,101,108,105,110,101,45,99,97,112,61,53,49,50,32,112,105,112,101,108,105,110,101,45,98,97,116,99,104,61,49,54,32,114,101,113,117,101,115,116,45,99,97,112,61,50,53,54,32,114,101,113,117,101,115,116,45,115,105,122,101,45,99,97,112,61,54,55,49,48,56,56,54,52,32,109,97,120,45,105,110,100,101,120,45,97,112,105,61,52,32,109,97,120,45,112,97,114,97,108,108,101,108,105,115,109,61,49,32,110,49,113,108,45,102,101,97,116,45,99,116,114,108,61,55,54,32,117,115,101,45,99,98,111,61,116,114,117,101,32,116,105,109,101,111,117,116,61,48,115,32,116,120,116,105,109,101,111,117,116,61,48,115,32,10>>,366}]}},query,undefined,,0}
2021-06-14 10:54:08.802131 crash_report #{label=>{proc_lib,crash},report=>[[{initial_call,{ns_port_server,init,[‘Argument__1’]}},{pid,<0.19749.2>},{registered_name,},{error_info,{exit,{abnormal,1},[{gen_server,handle_common_reply,8,[{file,“gen_server.erl”},{line,751}]},{proc_lib,init_p_do_apply,3,[{file,“proc_lib.erl”},{line,249}]}]}},{ancestors,[<0.19748.2>,<0.19747.2>,ns_child_ports_sup,ns_babysitter_sup,<0.106.0>]},{message_queue_len,1},{messages,[{‘EXIT’,<0.19755.2>,normal}]},{links,[<0.19748.2>]},{dictionary,},{trap_exit,true},{status,running},{heap_size,4185},{stack_size,27},{reductions,23501}],]}
2021-06-14 10:54:13.803594
client_info: undefined
label: {gen_server,terminate}
last_message: {die,{abnormal,1}}
log:
name: <0.19748.2>
reason: {abnormal,1}
state: {state,query,5000,-576447184941042715,undefined,infinity}
2021-06-14 10:54:13.803906 crash_report #{label=>{proc_lib,crash},report=>[[{initial_call,{supervisor_cushion,init,[‘Argument__1’]}},{pid,<0.19748.2>},{registered_name,},{error_info,{exit,{abnormal,1},[{gen_server,handle_common_reply,8,[{file,“gen_server.erl”},{line,751}]},{proc_lib,init_p_do_apply,3,[{file,“proc_lib.erl”},{line,249}]}]}},{ancestors,[<0.19747.2>,ns_child_ports_sup,ns_babysitter_sup,<0.106.0>]},{message_queue_len,0},{messages,},{links,[<0.19747.2>]},{dictionary,},{trap_exit,true},{status,running},{heap_size,2586},{stack_size,27},{reductions,10510}],]}
2021-06-14 10:54:13.804293 crash_report #{label=>{proc_lib,crash},report=>[[{initial_call,{erlang,apply,[‘Argument__1’,‘Argument__2’]}},{pid,<0.19747.2>},{registered_name,},{error_info,{exit,{abnormal,1},[{restartable,loop,4,[{file,“src/restartable.erl”},{line,69}]},{proc_lib,init_p_do_apply,3,[{file,“proc_lib.erl”},{line,249}]}]}},{ancestors,[ns_child_ports_sup,ns_babysitter_sup,<0.106.0>]},{message_queue_len,0},{messages,},{links,[<0.123.0>]},{dictionary,},{trap_exit,true},{status,running},{heap_size,1598},{stack_size,27},{reductions,2781}],]}
2021-06-14 10:54:13.804595 supervisor_report #{label=>{supervisor,child_terminated},report=>[{supervisor,{local,ns_child_ports_sup}},{errorContext,child_terminated},{reason,{abnormal,1}},{offender,[{pid,<0.19747.2>},{id,{query,"/opt/couchbase/bin/cbq-engine",["–datastore=http://127.0.0.1:8091","–http=:8093","–configstore=http://127.0.0.1:8091","–enterprise=true","–ipv4=required","–ipv6=optional","–https=:18093","–certfile=/opt/couchbase/var/lib/couchbase/config/memcached-cert.pem","–keyfile=/opt/couchbase/var/lib/couchbase/config/memcached-key.pem"],[via_goport,exit_status,stderr_to_stdout,{env,[{“GOTRACEBACK”,“single”},{“CBAUTH_REVRPC_URL”,<<100,77,21,247,138,236,183,63,146,245,104,144,143,51,173,102,48,90,16,226,137,211,172,191,149,211,249,72,107,211,188,157>>}]},{log,“query.log”}]}},{mfargs,{restartable,start_link,[{supervisor_cushion,start_link,[query,5000,infinity,ns_port_server,start_link,[#Fun<ns_child_ports_sup.4.12324699>]]},86400000]}},{restart_type,permanent},{shutdown,infinity},{child_type,worker}]}]}

Is this something that is now fixed in any latest version ?

Thanks,
Bishnu

I have tested both 7.0.0-beta and community-7.0.0-beta version and both servers are crashing the query service. It does indicate a problem in the core build. But not sure what is it. Please let me know if you need any further information regarding this crash.

Thanks