New Comment on Issue #github

Pcp Integration <[email protected]>
Newsgroups gmane.comp.sysutils.pcp
Message-ID <[email protected]>

[pcp:master] New Comment on Issue #118 reported pmDestroyContext: pthread_mutex_destroy(c_lock) failed: Device or resource busy, failed second try as well ( https://github.com/performancecopilot/pcp/issues/118 )
By fche ( https://github.com/fche ) :

Possibly relevant: intermittent crashes of pmmgr are observed with error messages like:

> 
> 
> 
> Unexpected error 9 on netlink descriptor 7
> 
> 

This message comes from glibc, and is basically an assertion failure. glibc 2.23's release notes describe the situation thusly:

> 
> 
> 
> getaddrinfo now detects certain invalid responses on an internal netlink
> socket. If such responses are received, an affected process will terminate
> with an error message of "Unexpected error on netlink descriptor " or
> "Unexpected netlink response of size on descriptor ". The most likely cause
> for these errors is a multi-threaded application which erroneously closes
> and reuses the netlink file descriptor while it is used by getaddrinfo.
> 
> 

again implicating multithreading & socket handling in libpcp.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.