# Crashing application when starting video stream through hub

**URL:** <https://community.stereolabs.com/t/crashing-application-when-starting-video-stream-through-hub/7728>\
**Category:** C++\
**Tags:** jetson\
**Created:** [December 17, 2024, 11:47am UTC](https://community.stereolabs.com/t/crashing-application-when-starting-video-stream-through-hub/7728 "2024-12-17T11:47:29Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Martijn](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/m/dbc845/32.png) [@Martijn](https://community.stereolabs.com/u/Martijn)\
**Post date:** [December 17, 2024, 11:47am UTC](https://community.stereolabs.com/t/crashing-application-when-starting-video-stream-through-hub/7728/1 "2024-12-17T11:47:29Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![Martijn](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/m/dbc845/32.png) [@Martijn](https://community.stereolabs.com/u/Martijn)\
**Post date:** [December 17, 2024, 12:02pm UTC](https://community.stereolabs.com/t/crashing-application-when-starting-video-stream-through-hub/7728/2 "2024-12-17T12:02:47Z")

</div>

also building the hub tutorial\_02 and testing it will result in the same behaivor.

---

<div class="post-metadata">

**Author:** ![mattrouss](https://community.stereolabs.com/user_avatar/community.stereolabs.com/mattrouss/32/2452_2.png) [@mattrouss](https://community.stereolabs.com/u/mattrouss)\
**Post date:** [December 17, 2024, 4:53pm UTC](https://community.stereolabs.com/t/crashing-application-when-starting-video-stream-through-hub/7728/3 "2024-12-17T16:53:03Z")

</div>

Hi @Martijn,

I apologize for the issue, we will take a look at this and investigate the cause of the issue.

---

<div class="post-metadata">

**Author:** ![Martijn](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/m/dbc845/32.png) [@Martijn](https://community.stereolabs.com/u/Martijn)\
**Post date:** [January 2, 2025, 12:34pm UTC](https://community.stereolabs.com/t/crashing-application-when-starting-video-stream-through-hub/7728/4 "2025-01-02T12:34:53Z")

</div>

Hello Mattrouss,

Is there any update on this streaming issue? We really need this live video streaming and now it is useless.

---

<div class="post-metadata">

**Author:** ![mattrouss](https://community.stereolabs.com/user_avatar/community.stereolabs.com/mattrouss/32/2452_2.png) [@mattrouss](https://community.stereolabs.com/u/mattrouss)\
**Post date:** [January 6, 2025, 4:58pm UTC](https://community.stereolabs.com/t/crashing-application-when-starting-video-stream-through-hub/7728/5 "2025-01-06T16:58:26Z")

</div>

Hi @Martijn,

Sorry for the delay, I have indeed been able to reproduce the issue with ZED SDK 4.2.2, and the latest edge agent, and I will continue to investigate the issue further.

Streaming with the ZED SDK 4.2.1 seems functional however. This version is included in Camera Manager 0.1.6, can you confirm that you have a stream using this version of the app?

---

<div class="post-metadata">

**Author:** ![Martijn](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/m/dbc845/32.png) [@Martijn](https://community.stereolabs.com/u/Martijn)\
**Post date:** [January 7, 2025, 8:34am UTC](https://community.stereolabs.com/t/crashing-application-when-starting-video-stream-through-hub/7728/7 "2025-01-07T08:34:37Z")

</div>

I try to install Camera Manager 0.1.6 but get the following error:

[Info] [2025/01/Tu 08:24:26 am] Waiting for device to start the operation…  
[Info] [2025/01/Tu 08:24:27 am] Application Camera Manager 0.1.6 downloaded successfully.  
[Error] [2025/01/Tu 08:24:27 am] Cannot deploy application. L4T R36.3 is not supported by the application

I also wanted to download the ZED SDK 4.2.1 to build and test myself but can’t find them anymore on the website, can only download 4.2.2 or 4.1.4

so what can I do?

---

<div class="post-metadata">

**Author:** ![mattrouss](https://community.stereolabs.com/user_avatar/community.stereolabs.com/mattrouss/32/2452_2.png) [@mattrouss](https://community.stereolabs.com/u/mattrouss)\
**Post date:** [January 7, 2025, 5:26pm UTC](https://community.stereolabs.com/t/crashing-application-when-starting-video-stream-through-hub/7728/8 "2025-01-07T17:26:27Z")

</div>

I am preparing a new version of Camera Manager compatible with L4T36.3 for you to test, it will be released tomorrow

---

<div class="post-metadata">

**Author:** ![mattrouss](https://community.stereolabs.com/user_avatar/community.stereolabs.com/mattrouss/32/2452_2.png) [@mattrouss](https://community.stereolabs.com/u/mattrouss)\
**Post date:** [January 9, 2025, 10:04am UTC](https://community.stereolabs.com/t/crashing-application-when-starting-video-stream-through-hub/7728/9 "2025-01-09T10:04:06Z")

</div>

Hi @Martijn,

I have updated Camera Manager to version 0.1.7, which includes ZED SDK 4.2.1. I have tested on Ubuntu 22.04 and L4T35.1, I will try it additionally on L4T36.3

---

<div class="post-metadata">

**Author:** ![Martijn](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/m/dbc845/32.png) [@Martijn](https://community.stereolabs.com/u/Martijn)\
**Post date:** [January 9, 2025, 10:57am UTC](https://community.stereolabs.com/t/crashing-application-when-starting-video-stream-through-hub/7728/10 "2025-01-09T10:57:03Z")

</div>

Hello,

I tested your release and first time building had some troubles. I removed it and deployed again and after some time it was working.  
then I saw the jpeg page every 2-3 seconds camera update… but when i clicked on it to get the webrtc stream, it crashed directly.  
so simulair behaivor with my own build application on sdk 4.2.2

---

<div class="post-metadata">

**Author:** ![Martijn](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/m/dbc845/32.png) [@Martijn](https://community.stereolabs.com/u/Martijn)\
**Post date:** [January 13, 2025, 2:33pm UTC](https://community.stereolabs.com/t/crashing-application-when-starting-video-stream-through-hub/7728/11 "2025-01-13T14:33:44Z")

</div>

I updated the zed SDK to 4.2.3 and re-test the situation, but the application crashes also as soon as we start the web rtc video stream. Any update on when this issue is fixed?
