<html><head></head><body><div class="ydp4377aafdyahoo-style-wrap" style="font-family: lucida console, sans-serif; font-size: 16px;"><div><div dir="ltr" data-setdir="false">Pardon my sentence in the below email.</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">I meant, the crash didnt happen while instantiating the host_client.</div><div dir="ltr" data-setdir="false">It happened while trying to execute the remote host module.<br><br><div><div> try {</div><div> syslog(LOG_CRIT, "initlizing host_client");</div><div> keyhandler_proxy_c host_client(get_dbusconn(), path.c_str(), name.c_str());</div><div> syslog(LOG_CRIT, "host_client is initialized");</div><div><br></div><div> vector<string> vals = {"pwEncrypt","eventd"};</div><div><br></div><div> syslog(LOG_CRIT, "calling key_ctl");</div><div> ret = host_client.key_ctl(vals);</div><div> syslog(LOG_CRIT, "key_ctl returned");</div><div> } catch (DBus::Error & ex) {</div><div> syslog(LOG_CRIT, "hostquery - DBus Exception %s\n", ex.what());</div><div> }<br></div><div><br></div></div><br></div><div><br></div><div class="ydp4377aafdsignature"><div style="font-family:sans-serif;font-size:16px;"><div style="font-family:sans-serif;font-size:16px;" dir="ltr"><span><span style="color:rgb(0, 0, 0);font-family:sans-serif;font-size:16px;">~~ Thanks, Srinadh</span></span><br></div><div style="font-family:sans-serif;font-size:16px;" dir="ltr"><br></div></div></div></div><div><br></div>
</div><div id="ydpce1fc7e8yahoo_quoted_3342663665" class="ydpce1fc7e8yahoo_quoted">
<div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
<div>
On Tuesday, September 28, 2021, 03:50:07 PM PDT, Srinadh Penugonda <srinadh0@yahoo.com> wrote:
</div>
<div><br></div>
<div><br></div>
<div><div id="ydpce1fc7e8yiv9374510538"><div><div class="ydpce1fc7e8yiv9374510538ydp803050d5yahoo-style-wrap" style="font-family:lucida console, sans-serif;font-size:16px;"><div><div dir="ltr">I see that it is after this line and it happened while executing this line:</div><div dir="ltr"><br clear="none"><div><div> ret = host_client.key_ctl(vals);</div><div><br clear="none"></div></div><br clear="none"></div><div dir="ltr"><div><div>Sep 28 22:48:30.780370+00:00 2021 sonic CRIT eventd#eventd[23]: HostQuery - tokens[0] keyhandler tokens[1] key_ctl</div><div>Sep 28 22:48:30.780453+00:00 2021 sonic CRIT eventd#eventd[23]: HostQuery - val_p[0] pwEncrypt val_p[1] eventd</div><div>Sep 28 22:48:30.780558+00:00 2021 sonic CRIT eventd#eventd[23]: HOstQuery - name org.SONiC.HostService.keyhandler path /org/SONiC/HostService/keyhandler</div><div>Sep 28 22:48:30.780647+00:00 2021 sonic CRIT eventd#eventd[23]: initlizing host_client</div><div>Sep 28 22:48:30.782241+00:00 2021 sonic CRIT eventd#eventd[23]: host_client is initialized</div><div>Sep 28 22:48:30.782374+00:00 2021 sonic CRIT eventd#eventd[23]: calling key_ctl</div><div>Sep 28 22:48:30.818787+00:00 2021 sonic CRIT kernel: [23913.893706] eventd[18586]: segfault at 10 ip 00007fe7706f0d4e sp 00007fff97c75a70 error 4 in libdbus-1.so.3.19.13[7fe7706ef000+2e000]</div><div><br clear="none"></div></div><br clear="none"></div><div dir="ltr"><br clear="none"></div><div><br clear="none"></div><div class="ydpce1fc7e8yiv9374510538ydp803050d5signature"><div style="font-family:sans-serif;font-size:16px;"><div dir="ltr" style="font-family:sans-serif;font-size:16px;"><span><span style="color:rgb(0, 0, 0);font-family:sans-serif;font-size:16px;">~~ Thanks, Srinadh</span></span></div><div style="font-family:sans-serif;font-size:16px;"><div><br clear="none"></div><div><br clear="none"></div></div></div></div></div>
<div><br clear="none"></div><div><br clear="none"></div>
</div><div class="ydpce1fc7e8yiv9374510538yqt8271343837" id="ydpce1fc7e8yiv9374510538yqt52706"><div class="ydpce1fc7e8yiv9374510538ydp938dafc1yahoo_quoted" id="ydpce1fc7e8yiv9374510538ydp938dafc1yahoo_quoted_3817550349">
<div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
<div>
On Tuesday, September 28, 2021, 03:35:53 PM PDT, Lawrence D'Oliveiro <ldo@geek-central.gen.nz> wrote:
</div>
<div><br clear="none"></div>
<div><br clear="none"></div>
<div><div dir="ltr">On Tue, 28 Sep 2021 20:50:32 +0000 (UTC), Srinadh Penugonda wrote:<div class="ydpce1fc7e8yiv9374510538ydp938dafc1yqt6066378467" id="ydpce1fc7e8yiv9374510538ydp938dafc1yqtfd56862"><br clear="none"><br clear="none">> keyhandler_proxy_c host_client(get_dbusconn(), path.c_str(), name.c_str());</div><br clear="none"><br clear="none">Is the crash happening before or after this line? Add some more debugs<br clear="none">to find out, perhaps.<div class="ydpce1fc7e8yiv9374510538ydp938dafc1yqt6066378467" id="ydpce1fc7e8yiv9374510538ydp938dafc1yqtfd76284"><br clear="none"></div></div></div>
</div>
</div></div></div></div></div>
</div>
</div></body></html>