sftp output handler causes crash instead of ordered failure probably when not started from home dir
Job #3530 failed for 0e036aaf: #5 (closed) 0x00007f45e5281993 in __cxxabiv1::__cxa_throw ( obj=obj@entry=0x7f45a0001fd0, tinfo=0x55d830 <_ZTISt13runtime_error@@GLIBCXX_3.4>, dest=0x453320 _ZNSt13runtime_errorD1Ev@plt) at ../../../../libstdc++-v3/libsupc++/eh_throw.cc:87 #6 (closed) 0x00000000004600f6 in goodval<int, int, char [18], options::single<std::basic_string<char, std::char_traits, std::allocator > > > ( handler=..., goodvalue=0, call=) at /opt/rh/devtoolset-9/root/usr/include/c++/9/ext/new_allocator.h:89 #7 libsshCommon::openSessions (this=0x7f45a0000b48) at /home/gitlab-runner/builds/fnsAm8xV/1/ewmscp/ewmscp/src/libsshCommon.cpp:56 #8 0x00000000004da195 in libsshCommon::reconnectSessions() () at /home/gitlab-runner/builds/fnsAm8xV/1/ewmscp/ewmscp/src/libsshCommon.cpp:107 #9 0x00000000004d95b8 in goodval<int, int, char [18], options::single<std::basic_string<char, std::char_traits, std::allocator > > > ( handler=..., goodvalue=0, call=) at /opt/rh/devtoolset-9/root/usr/include/c++/9/bits/basic_string.h:6416 #10 libsshCommon::openSessions() () at /home/gitlab-runner/builds/fnsAm8xV/1/ewmscp/ewmscp/src/libsshCommon.cpp:56 #11 (closed) 0x00000000004e0a6e in libssh (this=0x7f45a0000b40, __in_chrg=, __vtt_parm=) at /home/gitlab-runner/builds/fnsAm8xV/1/ewmscp/ewmscp/src/pathHandler.h:6 #12 (closed) outputHandler::base::factoryTemplateoutputHandler::libssh::create ( this=) at /home/gitlab-runner/builds/fnsAm8xV/1/ewmscp/ewmscp/src/outputHandlerLibssh.cpp:20 #13 0x00000000004878b1 in newHandler (name=...) at /home/gitlab-runner/builds/fnsAm8xV/1/ewmscp/ewmscp/src/outputHandler.h:83 #14 copyRequest::perThreadData::perThreadData() () at /home/gitlab-runner/builds/fnsAm8xV/1/ewmscp/ewmscp/src/copyRequest.cpp:172 #15 0x0000000000489eca in copyRequest::base::processQueue(waitQueues::simplecopyRequest::base&, waitQueues::simplecopyRequest::base&, waitQueues::timed<copyRequest::base, std::chrono::_V2::steady_clock>&) () at /home/gitlab-runner/builds/fnsAm8xV/1/ewmscp/ewmscp/src/copyRequest.cpp:1831