ModOrganizer2 / mob

Mod Organizer Builder.
15 stars 22 forks source link

Unhandled exception in mob::for_each_ts() #33

Open isanae opened 4 years ago

isanae commented 4 years ago

Not handling non existing prefix with ignore_ts=true.

.\mob --dry -d C:\MO2-dev\build --ini c:\dev\mob.ini build modorganizer
0.15     [modorganizer]                        running task
0.15     [modorganizer]                        fetching

mob has crashed
*****************************

unhandled exception: recursive_directory_iterator::recursive_directory_iterator: The system cannot find the path specified.: "C:\MO2-dev\build\build\modorganizer_super\modorganizer"

00007FF64699DEC7 C:\dev\projects\mob\src\utility.cpp:47 private: void __cdecl mob::process::read_pipes(bool) __ptr64
00007FF6469A6ABB C:\dev\projects\mob\src\utility.cpp:120 mob::terminate_handler
00007FF646C4895F minkernel\crts\ucrt\src\appcrt\misc\terminate.cpp:49 terminate
00007FF646BDC528 D:\agent\_work\5\s\src\vctools\crt\vcruntime\src\eh\frame.cpp:770 FindHandler<__FrameHandler4>
00007FF646BDDF13 D:\agent\_work\5\s\src\vctools\crt\vcruntime\src\eh\frame.cpp:350 __InternalCxxFrameHandler<__FrameHandler4>
00007FF646BD5C6B D:\agent\_work\5\s\src\vctools\crt\vcruntime\src\eh\risctrnsctrl.cpp:288 __CxxFrameHandler4
00007FFA8E4A11CF __chkstk
00007FFA8E46A209 RtlRaiseException
00007FFA8E469FC3 RtlRaiseException
00007FFA8B79A799 RaiseException
00007FF646BD3DF0 D:\agent\_work\5\s\src\vctools\crt\vcruntime\src\eh\throw.cpp:75 _CxxThrowException
00007FF64686CFD9 C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\VC\Tools\MSVC\14.27.28826\include\filesystem:1812 std::filesystem::_Throw_fs_error
00007FF646971A73 C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\VC\Tools\MSVC\14.27.28826\include\filesystem:2835 std::filesystem::recursive_directory_iterator::recursive_directory_iterator
00007FF646A2A58C C:\dev\projects\mob\src\tools\git.cpp:344 mob::for_each_ts<`mob::git::do_ignore_ts'::`2'::<lambda_1> >
00007FF646A3119F C:\dev\projects\mob\src\tools\git.cpp:374 mob::git::do_ignore_ts
00007FF646A30F79 C:\dev\projects\mob\src\tools\git.cpp:286 mob::git::do_clone
00007FF646A31102 C:\dev\projects\mob\src\tools\git.cpp:246 mob::git::do_clone_or_pull
00007FF646A3156B C:\dev\projects\mob\src\tools\git.cpp:199 mob::git::do_run
00007FF646A3FF66 C:\dev\projects\mob\src\tools\tools.cpp:46 mob::tool::run
00007FF646A0BF5E C:\dev\projects\mob\src\tasks\task.cpp:592 mob::task::run_tool_impl
00007FF6469B2DFE C:\dev\projects\mob\src\tasks\task.h:134 mob::task::run_tool<mob::git &>
00007FF6469CA845 C:\dev\projects\mob\src\tasks\modorganizer.cpp:90 `mob::modorganizer::do_fetch'::`2'::<lambda_2>::operator()
00007FF6469C9033 C:\dev\projects\mob\src\utility.h:177 mob::instrumentable<7>::instrument<1,`mob::modorganizer::do_fetch'::`2'::<lambda_2> >
00007FF6469CBF9E C:\dev\projects\mob\src\tasks\modorganizer.cpp:95 mob::modorganizer::do_fetch
00007FF646A00FE5 C:\dev\projects\mob\src\tasks\task.cpp:497 ``mob::task::fetch'::`2'::<lambda_1>::operator()'::`2'::<lambda_1>::operator()
00007FF6469FA7D2 C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\VC\Tools\MSVC\14.27.28826\include\type_traits:1597 std::invoke<``mob::task::fetch'::`2'::<lambda_1>::operator()'::`2'::<lambda_1> &>
00007FF6469F5162 C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\VC\Tools\MSVC\14.27.28826\include\type_traits:1641 std::_Invoker_ret<void,1>::_Call<``mob::task::fetch'::`2'::<lambda_1>::operator()'::`2'::<lambda_1> &>
00007FF646A03BF9 C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\VC\Tools\MSVC\14.27.28826\include\functional:907 std::_Func_impl_no_alloc<``mob::task::fetch'::`2'::<lambda_1>::operator()'::`2'::<lambda_1>,void>::_Do_call
00007FF646840FBC C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\VC\Tools\MSVC\14.27.28826\include\functional:955 std::_Func_class<void>::operator()
00007FF646A0C30D C:\dev\projects\mob\src\tasks\task.cpp:380 mob::task::threaded_run
00007FF646A01688 C:\dev\projects\mob\src\tasks\task.cpp:511 `mob::task::fetch'::`2'::<lambda_1>::operator()
00007FF646A00C6A C:\dev\projects\mob\src\utility.h:63 `mob::start_thread<`mob::task::fetch'::`2'::<lambda_1> >'::`2'::<lambda_1>::operator()
00007FF6469FA952 C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\VC\Tools\MSVC\14.27.28826\include\type_traits:1597 std::invoke<`mob::start_thread<`mob::task::fetch'::`2'::<lambda_1> >'::`2'::<lambda_1> >
00007FF6469F73DC C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\VC\Tools\MSVC\14.27.28826\include\thread:44 std::thread::_Invoke<std::tuple<`mob::start_thread<`mob::task::fetch'::`2'::<lambda_1> >'::`2'::<lambda_1> >,0>
00007FF646C48A4C minkernel\crts\ucrt\src\appcrt\startup\thread.cpp:97 thread_start<unsigned int (__cdecl*)(void *),1>
00007FFA8DCC7BD4 BaseThreadInitThunk
00007FFA8E46CE51 RtlUserThreadStart