Based on kernel log:
./var/log/kern.log:2019-08-29T07:58:32.687 controller-0 kernel: info [ 4068.847731] libvirtd[713586]: segfault at 8 ip 00007f050e93c73c sp 00007ffea29a2130 error 4 in libvirt.so.0.4007.0[7f050e8b7000+334000]
./var/log/kern.log:2019-08-29T08:07:06.779 controller-0 kernel: info [ 4582.879492] libvirtd[409081]: segfault at 8 ip 00007f88be31c73c sp 00007ffc26addbe0 error 4 in libvirt.so.0.4007.0[7f88be297000+334000]
./var/log/kern.log:2019-08-29T08:37:09.127 controller-0 kernel: info [ 1624.857680] libvirtd[131394]: segfault at 8 ip 00007f9033c3773c sp 00007ffe948ed2b0 error 4 in libvirt.so.0.4007.0[7f9033bb2000+334000]
./var/log/kern.log:2019-08-29T15:54:12.410 controller-0 kernel: info [26047.774762] libvirtd[161704]: segfault at 8 ip 00007fc3f4d2b73c sp 00007ffd31a71cf0 error 4 in libvirt.so.0.4007.0[7fc3f4ca6000+334000]
All of them were crashed at same position: 8573c @ libvirt.so.0.4007.0
Based on the disassembly of libvirt.so.0.4007.0 (it might not exactly same as your private build):
util/virauth.c:64
int
virAuthGetConfigFilePathURI(virURIPtr uri, char **path)
{
size_t i;
const char *authenv = getenv("LIBVIRT_AUTH_FILE");
VIR_AUTOFREE(char *) userdir = NULL;
... ...
if (uri) {
for (i = 0; i < uri->paramsCount; i++) {
if (STREQ_NULLABLE(uri->params[i].name, "authfile") && uri->params[i].value) { VIR_DEBUG("Using path from URI '%s'", uri->params[i].value);
line64 ==> if (VIR_STRDUP(*path, uri->params[i].value) < 0) return -1; return 0;
}
}
@peng peng
Could you please provide the debuginfo rpm? It needs to double check whether above disassembly is match?
Based on etc/build.info, it is not from cengn.
I tried to get a similar libvirt debuginfo from http:// mirror. starlingx. cengn.ca/ mirror/ starlingx/ release/ 2.0.0/centos/ outputs/ RPMS/std/ libvirt- debuginfo- 4.7.0-1. tis.101. x86_64. rpm
Based on kernel log: kern.log: 2019-08- 29T07:58: 32.687 controller-0 kernel: info [ 4068.847731] libvirtd[713586]: segfault at 8 ip 00007f050e93c73c sp 00007ffea29a2130 error 4 in libvirt. so.0.4007. 0[7f050e8b7000+ 334000] kern.log: 2019-08- 29T08:07: 06.779 controller-0 kernel: info [ 4582.879492] libvirtd[409081]: segfault at 8 ip 00007f88be31c73c sp 00007ffc26addbe0 error 4 in libvirt. so.0.4007. 0[7f88be297000+ 334000] kern.log: 2019-08- 29T08:37: 09.127 controller-0 kernel: info [ 1624.857680] libvirtd[131394]: segfault at 8 ip 00007f9033c3773c sp 00007ffe948ed2b0 error 4 in libvirt. so.0.4007. 0[7f9033bb2000+ 334000] kern.log: 2019-08- 29T15:54: 12.410 controller-0 kernel: info [26047.774762] libvirtd[161704]: segfault at 8 ip 00007fc3f4d2b73c sp 00007ffd31a71cf0 error 4 in libvirt. so.0.4007. 0[7fc3f4ca6000+ 334000]
./var/log/
./var/log/
./var/log/
./var/log/
All of them were crashed at same position: 8573c @ libvirt.so.0.4007.0
Based on the disassembly of libvirt.so.0.4007.0 (it might not exactly same as your private build):
util/virauth.c:64 gFilePathURI( virURIPtr uri,
char **path) "LIBVIRT_ AUTH_FILE" ); AUTOFREE( char *) userdir = NULL; NULLABLE( uri->params[ i].name, "authfile") &&
uri-> params[ i].value) {
VIR_DEBUG( "Using path from URI '%s'", uri->params[ i].value) ; i].value) < 0)
return -1;
return 0;
int
virAuthGetConfi
{
size_t i;
const char *authenv = getenv(
VIR_
... ...
if (uri) {
for (i = 0; i < uri->paramsCount; i++) {
if (STREQ_
line64 ==> if (VIR_STRDUP(*path, uri->params[
}
}
@peng peng
Could you please provide the debuginfo rpm? It needs to double check whether above disassembly is match?