ConfD User Community

Internal error with "show all | nomore"

Hi ,
When show all was triggered. Internal error is observed with below traces.

Aborted: internal error
[error][2022-10-21 12:48:47]

** Reason for termination ==
** {{otts_closed,"otts_nif.c",1692},
    [{otts,get_generation,
           [{otts,#Ref<0.666967711.3812229121.120034>,0,
                  #Ref<0.666967711.3812098049.120035>}],
           []},
     {xds_ram,safe_cache,1,[{file,"xds_ram.erl"},{line,1402}]},
     {xds_ram,tts_cd,2,[{file,"xds_ram.erl"},{line,1420}]},
     {xds_ram,lookup,2,[{file,"xds_ram.erl"},{line,326}]},
     {confd_yang_lib,do_get_elem,3,[{file,"confd_yang_lib.erl"},{line,181}]},
     {cs_dbm,get_delem,5,[{file,"cs_dbm.erl"},{line,230}]},
     {cs_trans,do_sh_get_delem,7,[{file,"cs_trans.erl"},{line,5561}]},
     {cs_trans,sh_get_delem3,8,[{file,"cs_trans.erl"},{line,5295}]},
     {cs_trans,sh_get_delem,8,[{file,"cs_trans.erl"},{line,5252}]},
     {cs_trans,handle_call,3,[{file,"cs_trans.erl"},{line,3801}]},
     {gen_server,try_handle_call,4,[{file,"gen_server.erl"},{line,677}]},
     {gen_server,handle_msg,6,[{file,"gen_server.erl"},{line,706}]},
     {proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,249}]}]}
** Client <0.11638.0> stacktrace
** [{gen,do_call,4,[{file,"gen.erl"},{line,169}]},
    {gen_server,call,3,[{file,"gen_server.erl"},{line,230}]},
    {cs_trans_rng,max_fun,4,[{file,"cs_trans_rng.erl"},{line,5513}]},
    {lists,filtermap,2,[{file,"lists.erl"},{line,1317}]},
    {cs_trans_rng,max,4,[{file,"cs_trans_rng.erl"},{line,5548}]},
    {cs_trans_rng,get_container,9,[{file,"cs_trans_rng.erl"},{line,4210}]},
    {cs_trans_rng,'-loop_root/5-fun-1-',5,
                  [{file,"cs_trans_rng.erl"},{line,2991}]},
    {lists,foldl,3,[{file,"lists.erl"},{line,1263}]},
    {cs_trans_rng,iterate_ikeypath,6,[{file,"cs_trans_rng.erl"},{line,2884}]},
    {cs_trans_rng,show,37,[{file,"cs_trans_rng.erl"},{line,2768}]},
    {cli_cmd_show,show_all,3,[{file,"cli_cmd_show.erl"},{line,475}]},
    {cli_run,cmd_repeat_loop,3,[{file,"cli_run.erl"},{line,1535}]},
    {cli_run,cmd_repeat,2,[{file,"cli_run.erl"},{line,1516}]},
    {cli_run,run_cmd,8,[{file,"cli_run.erl"},{line,1301}]},
    {cli_run,'-do_run_command/7-fun-0-',8,[{file,"cli_run.erl"},{line,562}]}]
{"21-Oct-2022::12:48:47.256",
 {error_report,<0.7838.0>,
     {<0.7851.0>,crash_report,
      [[{initial_call,{cs_trans,init,['Argument__1']}},
        {pid,<0.7851.0>},
        {registered_name,[]},
        {error_info,
            {error,
                {otts_closed,"otts_nif.c",1692},
                [{otts,get_generation,
                     [{otts,#Ref<0.666967711.3812229121.120034>,0,
                          #Ref<0.666967711.3812098049.120035>}],
                     []},
                 {xds_ram,safe_cache,1,[{file,"xds_ram.erl"},{line,1402}]},
                 {xds_ram,tts_cd,2,[{file,"xds_ram.erl"},{line,1420}]},
                 {xds_ram,lookup,2,[{file,"xds_ram.erl"},{line,326}]},
                 {confd_yang_lib,do_get_elem,3,
                     [{file,"confd_yang_lib.erl"},{line,181}]},
                 {cs_dbm,get_delem,5,[{file,"cs_dbm.erl"},{line,230}]},
                 {cs_trans,do_sh_get_delem,7,
                     [{file,"cs_trans.erl"},{line,5561}]},
                 {cs_trans,sh_get_delem3,8,
                     [{file,"cs_trans.erl"},{line,5295}]},
                 {cs_trans,sh_get_delem,8,[{file,"cs_trans.erl"},{line,5252}]},
                 {cs_trans,handle_call,3,[{file,"cs_trans.erl"},{line,3801}]},
                 {gen_server,try_handle_call,4,
                     [{file,"gen_server.erl"},{line,677}]},
                 {gen_server,handle_msg,6,
                     [{file,"gen_server.erl"},{line,706}]},
                 {proc_lib,init_p_do_apply,3,
                     [{file,"proc_lib.erl"},{line,249}]}]}},
        {ancestors,[<0.7842.0>,<0.7838.0>,cli_server,cli_sup,<0.552.0>]},

Another trace at the same time stamp:

{"21-Oct-2022::12:48:47.343",
 {error_report,<0.7838.0>,
  {<0.7842.0>,crash_report,
   [[{initial_call,{cli_backend_server,'-start_link/4-fun-0-',[]}},
     {pid,<0.7842.0>},
     {registered_name,[]},
     {error_info,
      {exit,
       {noproc,{gen_server,call,[<0.7851.0>,end_of_command,infinity]}},
       [{gen_server,call,3,[{file,"gen_server.erl"},{line,234}]},
        {cli_backend_server,do_loop,4,
         [{file,"cli_backend_server.erl"},{line,575}]},
        {proc_lib,init_p,3,[{file,"proc_lib.erl"},{line,234}]}]}},
     {ancestors,[<0.7838.0>,cli_server,cli_sup,<0.552.0>]},
     {message_queue_len,8},
     {messages,
      [terminal_input_ping,terminal_input_ping,terminal_input_ping,
       terminal_input_ping,terminal_input_ping,terminal_input_ping,
       terminal_input_ping,terminal_input_ping]

Above is the confd error dump. Kindly let know if it is a confd issue and why do we see this trace ?

Regards

I can see that Tail-f support is handling this ticket right now. The support engineer has asked you a question, so it would be helpful for you to respond.

Thanks!