Occasional crash in daemon mode only
Describe the bug When editing files while Evoke runs in daemon mode, it will occasionally crash with the following stack trace (under screenshots). Looks to be caused by an invalid assumption within inotify-cpp.
To Reproduce Steps to reproduce the behavior:
- Run 'evoke -d' in a project
- Save some source file participating in the build
- Wait for the build to refresh
- Crash happens
Expected behavior No crash; clean rebuilds.
Screenshots
#4 0x00007ffff7443af1 in std::terminate() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#5 0x00007ffff7443d24 in cxa_throw () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#6 0x00007ffff7bb9435 in void boost::throw_exceptionstd::out_of_range(std::out_of_range const&) ()
from /usr/lib/libinotify-cpp.so
#7 0x00007ffff7bb7222 in boost::filesystem::path const& boost::bimaps::detail::non_mutable_data_unique_map_view_access<boost::bimaps::views::map_view<boost::bimaps::relation::member_at::left, boost::bimaps::detail::bimap_core<int, boost::filesystem::path, mpl::na, mpl::na, mpl_::na> >, boost::bimaps::relation::member_at::left, boost::bimaps::detail::bimap_core<int, boost::filesystem::path, mpl_::na, mpl_::na, mpl_::na> >::at
System (please complete the following information):
- OS: Ubuntu 18.04
- Compiler: Clang 9 (but probably not related)
- Version: 9
- Usage/IDE: Command line
Additional context Only happens in daemon mode, not a mainline bug.