Persistent cdb created causing Internal Error, how to debug?

Hi All!

We are storing some persistent data and that is stored in O.cdb and whenever we load a config we copy and replace A.cdb and C.cdb. We have found that this O.cdb causes some issue with a particular config. Btw when loading in phase 0 it reads the configs and terminates with internal error…

confd HA_INFO_IS_NONE
Internal error: Supervision terminated
Internal error: Component terminated (application_controller) ({application_terminated,cdb,shutdown})
Daemon died status=19

Now when we delete this O.cdb, this configuration loads fine. Please note with O.cdb someother config was loading fine…

rgds
Balaji

We are getting following details when print error.

** When Server state == {state,0,undefined,none,undefined,^M
{<<“primary”>>,{1507,324078,254709}},^M
always,async,"/root/config/data",confspec,^M
undefined,[],2,[],[],^M
{subs,[],[],0,[],undefined},^M
mix,^M
[{filename,"/root/config/data/O.cdb"}],^M
{xds_mix,^M
{xds_ramdisk,^M
{xds_ram,^M
{otts,#Port<0.954>,0},^M
36948300,0,[],[],36948300,undefined,undefined,^M
undefined},^M
read,false,#Fun<xds_mix.0.127730820>,^M
“/root/config/data/O.cdb”,^M
{file_descriptor,prim_file,{#Port<0.961>,45}},^M
raw,-1,-1,[],169572,undefined,50,7339,undefined,50,^M
0}}}^M
** Reason for termination == ^M
** {bad_return_value,{error,{cs_error,undefined,bad_value,bad_value,undefined,^M
undefined,undefined,^M
{5},^M
undefined,false}}}^M