segfault at 10 ip 00007fbb33028d4e sp 00007ffd8d3bf380 error 4 in libdbus-1.so.3.19.13[7fbb33027000+2e000]
Srinadh Penugonda
srinadh0 at yahoo.com
Tue Sep 28 22:55:11 UTC 2021
Pardon my sentence in the below email.
I meant, the crash didnt happen while instantiating the host_client.It happened while trying to execute the remote host module.
try { syslog(LOG_CRIT, "initlizing host_client"); keyhandler_proxy_c host_client(get_dbusconn(), path.c_str(), name.c_str()); syslog(LOG_CRIT, "host_client is initialized");
vector<string> vals = {"pwEncrypt","eventd"};
syslog(LOG_CRIT, "calling key_ctl"); ret = host_client.key_ctl(vals); syslog(LOG_CRIT, "key_ctl returned"); } catch (DBus::Error & ex) { syslog(LOG_CRIT, "hostquery - DBus Exception %s\n", ex.what()); }
~~ Thanks, Srinadh
On Tuesday, September 28, 2021, 03:50:07 PM PDT, Srinadh Penugonda <srinadh0 at yahoo.com> wrote:
I see that it is after this line and it happened while executing this line:
ret = host_client.key_ctl(vals);
Sep 28 22:48:30.780370+00:00 2021 sonic CRIT eventd#eventd[23]: HostQuery - tokens[0] keyhandler tokens[1] key_ctlSep 28 22:48:30.780453+00:00 2021 sonic CRIT eventd#eventd[23]: HostQuery - val_p[0] pwEncrypt val_p[1] eventdSep 28 22:48:30.780558+00:00 2021 sonic CRIT eventd#eventd[23]: HOstQuery - name org.SONiC.HostService.keyhandler path /org/SONiC/HostService/keyhandlerSep 28 22:48:30.780647+00:00 2021 sonic CRIT eventd#eventd[23]: initlizing host_clientSep 28 22:48:30.782241+00:00 2021 sonic CRIT eventd#eventd[23]: host_client is initializedSep 28 22:48:30.782374+00:00 2021 sonic CRIT eventd#eventd[23]: calling key_ctlSep 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]
~~ Thanks, Srinadh
On Tuesday, September 28, 2021, 03:35:53 PM PDT, Lawrence D'Oliveiro <ldo at geek-central.gen.nz> wrote:
On Tue, 28 Sep 2021 20:50:32 +0000 (UTC), Srinadh Penugonda wrote:
> keyhandler_proxy_c host_client(get_dbusconn(), path.c_str(), name.c_str());
Is the crash happening before or after this line? Add some more debugs
to find out, perhaps.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dbus/attachments/20210928/c197ae12/attachment.htm>
More information about the dbus
mailing list