New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
entity-manager terminated by 'std::filesystem::__cxx11::filesystem_error' #8
Comments
I am also facing this issue in tiogapass. root@tiogapass:~# systemctl status xyz.openbmc_project.EntityManager.service -l Jan 01 00:04:09 tiogapass systemd[1]: Starting Entity Manager... |
Here is the full stack back trace:
|
I suspect this is the fix, although to hit this failure, your config files would need to reference a bus that doesn't exist, so I'm guessing this wont fix your system itself, it will just avoid the crash. |
This is a fix to a regression introduced as part of 9b86787 namely, the recursive iterator doesn't check for the existence of a bus path before attempting to open it, which results in a crash when std::filesystem throws an exception. This was reported as part of bug #8 Tested: Launched entity-manager in qemu, which was previously crashing and observed "Unable to open path /sys/bus/i2c/devices/i2c-4" in the journal log, with entity-manager staying running. Signed-off-by: Ed Tanous <edtanous@google.com> Change-Id: I638a66e271df0041d4df75be22eb03c064d9cf68
I'm closing as this has been merged. If this is still an issue, please reopen. |
The issue is found by g220a's QEMU, that the entity-manager is terminated by 'std::filesystem::__cxx11::filesystem_error':
The issue is introduced by 9b86787, if we revert the commit, the issue is gone.
The text was updated successfully, but these errors were encountered: