Harness constantly prints boost::filesystem errors and sometimes aborts
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
unity-scopes-api (Ubuntu) |
Fix Released
|
Undecided
|
Michi Henning | ||
unity-scopes-shell (Ubuntu) |
Invalid
|
Critical
|
Unassigned |
Bug Description
terminate called after throwing an instance of 'boost:
what(): boost::
scoperegistry: no remote registry configured, only local scopes will be available
Aborted
When running the tests locally, many similar messages to this are repeated, but often without aborting. On the jenkins armhf builder, it seems to cause an abort fairly consistently, due to this unhandled exception. This also causes the python3 process to hang, which causes further errors to show up in the logs, as the chroot apparently cannot unmount /run/shm when this happens.
Related branches
- dobey (community): Approve
- PS Jenkins bot (community): Approve (continuous-integration)
- Paweł Stołowski (community): Needs Information
-
Diff: 887 lines (+215/-162)14 files modifieddebian/libunity-scopes3.symbols (+2/-0)
include/unity/scopes/internal/Utils.h (+2/-0)
scoperegistry/scoperegistry.cpp (+8/-19)
src/scopes/internal/RuntimeConfig.cpp (+2/-8)
src/scopes/internal/RuntimeImpl.cpp (+23/-30)
src/scopes/internal/Utils.cpp (+63/-24)
src/scopes/internal/smartscopes/SmartScopesClient.cpp (+2/-2)
test/gtest/scopes/Aggregation/CMakeLists.txt (+0/-39)
test/gtest/scopes/Aggregation/Zmq.ini.in (+0/-2)
test/gtest/scopes/internal/RuntimeConfig/CMakeLists.txt (+8/-1)
test/gtest/scopes/internal/RuntimeConfig/RuntimeConfig_test.cpp (+35/-35)
test/gtest/scopes/internal/Utils/CMakeLists.txt (+1/-0)
test/gtest/scopes/internal/Utils/Utils_test.cpp (+68/-2)
unity-scopes.map (+1/-0)
Changed in unity-scopes-api (Ubuntu): | |
status: | New → Fix Committed |
assignee: | nobody → Michi Henning (michihenning) |
Changed in unity-scopes-shell (Ubuntu): | |
assignee: | Michi Henning (michihenning) → nobody |
Changed in unity-scopes-shell (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in unity-scopes-api (Ubuntu): | |
status: | Fix Committed → Fix Released |
Changed in unity-scopes-shell (Ubuntu): | |
status: | Fix Committed → Invalid |
Any chance of a stack trace? That would be really useful. How can I reproduce this?
Looking at the code, I think the issue here may be that the registry is running in a non-standard location and there is no unity-scopes directory under .local/share (or .local/share itself doesn't exist).
Pawel ran into something similar yesterday when running in a chroot. I think I have a fair idea of what's going on, but would still appreciate a stack trace, if possible. In particular, I'm interested in termination due to the uncaught exception. That clearly is a bug in our code but, without a stack trace, it might be difficult to identify the exact source.
I'll see what I can learn from the code.