Hello,
(jetson orin with 4.2.2 with latest hub)
our application runs fine, but when we open the video page on hub the application crashes.
following backtrace:
0x0000fffff3fc8428 in std::_Optional_base::_M_is_engaged() const () from /usr/local/sl_hub/lib/libsl_hub.so
(gdb) bt
#0 0x0000fffff3fc8428 in std::_Optional_base::_M_is_engaged() const ()
at /usr/local/sl_hub/lib/libsl_hub.so
#1 0x0000fffff3fc8410 in std::optional::has_value() const () at /usr/local/sl_hub/lib/libsl_hub.so
#2 0x0000fffff3fc83c0 in rtc::RtpPacketizationConfig::setStartTime(double, rtc::RtpPacketizationConfig::EpochStart, std::optional) () at /usr/local/sl_hub/lib/libsl_hub.so
#3 0x0000fffff3f31570 in sl_webrtc::CommunicatorWebRTC::addToStream(std::shared_ptr<sl_webrtc::Client>, bool) ()
at /usr/local/sl_hub/lib/libsl_hub.so
#4 0x0000fffff3f31868 in std::_Function_handler<void (), sl_webrtc::CommunicatorWebRTC::createStreamClient(rtc::Configuration const&, std::weak_ptrrtc::WebSocket, std::__cxx11::basic_string<char, std::char_traits, std::allocator >, std::vector<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, std::allocator<std::__cxx11::basic_string<char, std::char_traits, std::allocator > > >)::{lambda()#6}>::_M_invoke(std::_Any_data const&) () at /usr/local/sl_hub/lib/libsl_hub.so
#5 0x0000fffff3f681ec in std::function<void ()>::operator()() const () at /usr/local/sl_hub/lib/libsl_hub.so
#6 0x0000fffff3f6bf00 in rtc::synchronized_callback<>::call() const () at /usr/local/sl_hub/lib/libsl_hub.so
#7 0x0000fffff3f6be94 in rtc::synchronized_stored_callback<>::call() const () at /usr/local/sl_hub/lib/libsl_hub.so
#8 0x0000fffff3fea094 in rtc::synchronized_callback<>::operator()() const () at /usr/local/sl_hub/lib/libsl_hub.so
#9 0x0000fffff3fe921c in rtc::impl::Channel::triggerOpen() () at /usr/local/sl_hub/lib/libsl_hub.so
#10 0x0000fffff406adec in rtc::impl::Track::open(std::shared_ptrrtc::impl::DtlsSrtpTransport) ()
at /usr/local/sl_hub/lib/libsl_hub.so
#11 0x0000fffff40045b0 in rtc::impl::PeerConnection::openTracks()::{lambda(std::shared_ptrrtc::impl::Track const&)#1}::operator()(std::shared_ptrrtc::impl::Track const&) const () at /usr/local/sl_hub/lib/libsl_hub.so
#12 0x0000fffff400a68c in std::_Function_handler<void (std::shared_ptrrtc::impl::Track), rtc::impl::PeerConnection::openTracks()::{lambda(std::shared_ptrrtc::impl::Track const&)#1}>::_M_invoke(std::_Any_data const&, std::shared_ptrrtc::impl::Track&&) () at /usr/local/sl_hub/lib/libsl_hub.so
#13 0x0000fffff40175dc in std::function<void (std::shared_ptrrtc::impl::Track)>::operator()(std::shared_ptrrtc::impl::Track) const () at /usr/local/sl_hub/lib/libsl_hub.so
#14 0x0000fffff400438c in rtc::impl::PeerConnection::iterateTracks(std::function<void (std::shared_ptrrtc::impl::Track)>) () at /usr/local/sl_hub/lib/libsl_hub.so
#15 0x0000fffff40047c8 in rtc::impl::PeerConnection::openTracks() () at /usr/local/sl_hub/lib/libsl_hub.so
#16 0x0000fffff402f2ac in void std::__invoke_impl<void, void (rtc::impl::PeerConnection::&)(), std::shared_ptrrtc::impl::PeerConnection&>(std::__invoke_memfun_deref, void (rtc::impl::PeerConnection::&)(), std::shared_ptrrtc::impl::PeerConnection&) () at /usr/local/sl_hub/lib/libsl_hub.so
#17 0x0000fffff4028b1c in std::__invoke_result<void (rtc::impl::PeerConnection::&)(), std::shared_ptrrtc::impl::PeerConnection&>::type std::__invoke<void (rtc::impl::PeerConnection::&)(), std::shared_ptrrtc::impl::PeerConnection&>(void (rtc::impl::PeerConnection::*&)(), std::shared_ptrrtc::impl::PeerConnection&) () at /usr/local/sl_hub/lib/libsl_hub.so
what can we do to fix this instead of disabling hub functionality?