app crashed when share screen with hardware acceleration enabled
thread #98 (closed), stop reason = EXC_ARITHMETIC (code=EXC_I386_DIV, subcode=0x0)
- frame #0: 0x0000000110c099f7 libring.0.dylib
jami::MediaEncoder::encode(this=0x00007ff524004690, input=std::__1::shared_ptr<DRing::VideoFrame>::element_type @ 0x0000600001d2aae0 strong=4 weak=1, is_keyframe=true, frame_number=1) at media_encoder.cpp:454:22 frame #1: 0x0000000110d76967 libring.0.dylib
jami::video::VideoSender::encodeAndSendVideo(this=0x0000600000ba3120, input_frame=std::__1::shared_ptrDRing::VideoFrame::element_type @ 0x0000600001d2aae0 strong=4 weak=1) at video_sender.cpp:96:28 frame #2: 0x0000000110d76a6d libring.0.dylibjami::video::VideoSender::update(this=0x0000600000ba3120, (null)=0x00007ff5434ae3f0, frame_p=std::__1::shared_ptr<DRing::MediaFrame>::element_type @ 0x0000600001d2aae0 strong=4 weak=1) at video_sender.cpp:109:5 frame #3: 0x0000000110c852da libring.0.dylib
jami::Observable<std::__1::shared_ptrDRing::MediaFrame >::notify(this=0x00007ff5434ae3f0, data=std::__1::shared_ptrDRing::MediaFrame::element_type @ 0x0000600001d2aae0 strong=4 weak=1) at observer.h:138:23 frame #4: 0x0000000110d07056 libring.0.dylibjami::video::VideoGenerator::publishFrame(this=0x00007ff5434ae3f0, frame=nullptr) at video_base.cpp:56:5 frame #5: 0x0000000110d39d1c libring.0.dylib
jami::video::VideoInput::createDecoder(this=0x00007ff54341d5f8, frame=std::__1::shared_ptrDRing::MediaFrame::element_type @ 0x0000600001d2aae0 strong=4 weak=1)::$_3::operator()(std::__1::shared_ptrDRing::MediaFrame const&) at video_input.cpp:278:13 frame #6: 0x0000000110d39cc2 libring.0.dylibdecltype(__f=0x00007ff54341d5f8, __args=std::__1::shared_ptr<DRing::MediaFrame>::element_type @ 0x0000600001d2aae0 strong=4 weak=1)::$_3&>(fp)(std::__1::forward<std::__1::shared_ptr<DRing::MediaFrame> >(fp0))) std::__1::__invoke<jami::video::VideoInput::createDecoder()::$_3&, std::__1::shared_ptr<DRing::MediaFrame> >(jami::video::VideoInput::createDecoder()::$_3&, std::__1::shared_ptr<DRing::MediaFrame>&&) at type_traits:3747:1 frame #7: 0x0000000110d39c62 libring.0.dylib
void std::__1::__invoke_void_return_wrapper::__call<jami::video::VideoInput::createDecoder(__args=0x00007ff54341d5f8, __args=std::__1::shared_ptrDRing::MediaFrame::element_type @ 0x0000600001d2aae0 strong=4 weak=1)::$_3&, std::__1::shared_ptrDRing::MediaFrame >(jami::video::VideoInput::createDecoder()::$_3&, std::__1::shared_ptrDRing::MediaFrame&&) at __functional_base:348:9 frame #8: 0x0000000110d39c22 libring.0.dylibstd::__1::__function::__alloc_func<jami::video::VideoInput::createDecoder()::$_3, std::__1::allocator<jami::video::VideoInput::createDecoder()::$_3>, void (std::__1::shared_ptr<DRing::MediaFrame>&&)>::operator(this=0x00007ff54341d5f8, __arg=std::__1::shared_ptr<DRing::MediaFrame>::element_type @ 0x0000600001d2aae0 strong=4 weak=1)(std::__1::shared_ptr<DRing::MediaFrame>&&) at functional:1553:16 frame #9: 0x0000000110d389a3 libring.0.dylib
std::__1::__function::__func<jami::video::VideoInput::createDecoder()::$_3, std::__1::allocatorjami::video::VideoInput::createDecoder()::$_3, void (std::__1::shared_ptrDRing::MediaFrame&&)>::operator(this=0x00007ff54341d5f0, __arg=std::__1::shared_ptrDRing::MediaFrame::element_type @ 0x0000600001d2aae0 strong=4 weak=1)(std::__1::shared_ptrDRing::MediaFrame&&) at functional:1727:12 frame #10: 0x0000000110c04ffd libring.0.dylibstd::__1::__function::__value_func<void (std::__1::shared_ptr<DRing::MediaFrame>&&)>::operator(this=0x00007ff54341d5f0, __args=std::__1::shared_ptr<DRing::MediaFrame>::element_type @ 0x0000600001d2aae0 strong=4 weak=1)(std::__1::shared_ptr<DRing::MediaFrame>&&) const at functional:1880:16 frame #11: 0x0000000110befaa0 libring.0.dylib
std::__1::function<void (std::__1::shared_ptrDRing::MediaFrame&&)>::operator(this= Lambda in File video_input.cpp at Line 277, __arg=std::__1::shared_ptrDRing::MediaFrame::element_type @ 0x0000600001d2aae0 strong=4 weak=1)(std::__1::shared_ptrDRing::MediaFrame&&) const at functional:2555:12 frame #12: 0x0000000110bef4e4 libring.0.dylibjami::MediaDecoder::decode(this=0x00007ff54341d480, packet=0x00007ff553426b40) at media_decoder.cpp:664:13 frame #13: 0x0000000110c030e0 libring.0.dylib
jami::MediaDecoder::setup(this=0x00006000020ea978, packet=0x00007ff553426b40)::$_4::operator()(AVPacket&) const at media_decoder.cpp:468:75 frame #14: 0x0000000110c030a2 libring.0.dylibdecltype(__f=0x00006000020ea978, __args=0x00007ff553426b40)::$_4&>(fp)(std::__1::forward<AVPacket&>(fp0))) std::__1::__invoke<jami::MediaDecoder::setup(AVMediaType)::$_4&, AVPacket&>(jami::MediaDecoder::setup(AVMediaType)::$_4&, AVPacket&) at type_traits:3747:1 frame #15: 0x0000000110c03042 libring.0.dylib
jami::DecodeStatus std::__1::__invoke_void_return_wrapperjami::DecodeStatus::__call<jami::MediaDecoder::setup(__args=0x00006000020ea978, __args=0x00007ff553426b40)::$_4&, AVPacket&>(jami::MediaDecoder::setup(AVMediaType)::$_4&, AVPacket&) at __functional_base:317:16 frame #16: 0x0000000110c03002 libring.0.dylibstd::__1::__function::__alloc_func<jami::MediaDecoder::setup(AVMediaType)::$_4, std::__1::allocator<jami::MediaDecoder::setup(AVMediaType)::$_4>, jami::DecodeStatus (AVPacket&)>::operator(this=0x00006000020ea978, __arg=0x00007ff553426b40)(AVPacket&) at functional:1553:16 frame #17: 0x0000000110c01d83 libring.0.dylib
std::__1::__function::__func<jami::MediaDecoder::setup(AVMediaType)::$_4, std::__1::allocatorjami::MediaDecoder::setup(AVMediaType)::$_4, jami::DecodeStatus (AVPacket&)>::operator(this=0x00006000020ea970, __arg=0x00007ff553426b40)(AVPacket&) at functional:1727:12 frame #18: 0x0000000110bf748d libring.0.dylibstd::__1::__function::__value_func<jami::DecodeStatus (AVPacket&)>::operator(this=0x00006000020ea970, __args=0x00007ff553426b40)(AVPacket&) const at functional:1880:16 frame #19: 0x0000000110bebf30 libring.0.dylib
std::__1::function<jami::DecodeStatus (AVPacket&)>::operator(this= Lambda in File media_decoder.cpp at Line 468, __arg=0x00007ff553426b40)(AVPacket&) const at functional:2555:12 frame #20: 0x0000000110becbaa libring.0.dylibjami::MediaDemuxer::decode(this=0x00007ff5434ade60) at media_decoder.cpp:385:28 frame #21: 0x0000000110befb24 libring.0.dylib
jami::MediaDecoder::decode(this=0x00007ff54341d480) at media_decoder.cpp:679:26 frame #22: 0x0000000110d29c9a libring.0.dylibjami::video::VideoInput::captureFrame(this=0x00007ff5434ae3f0) at video_input.cpp:218:23 frame #23: 0x0000000110d27d98 libring.0.dylib
jami::video::VideoInput::process(this=0x00007ff5434ae3f0) at video_input.cpp:189:13 frame #24: 0x0000000110d33477 libring.0.dylibdecltype(__f=0x00007000087b2ea8, __a0=0x00007000087b2eb8)).*fp()) std::__1::__invoke<void (jami::video::VideoInput::*&)(), jami::video::VideoInput*&, void>(void (jami::video::VideoInput::*&)(), jami::video::VideoInput*&) at type_traits:3688:1 frame #25: 0x0000000110d333f0 libring.0.dylib
std::__1::__bind_return<void (jami::video::VideoInput::)(), std::__1::tuplejami::video::VideoInput*, std::__1::tuple<>, __is_valid_bind_return<void (jami::video::VideoInput::)(), std::__1::tuplejami::video::VideoInput*, std::__1::tuple<> >::value>::type std::__1::__apply_functor<void (__f=0x00007000087b2ea8, __bound_args=size=1, (null)=__tuple_indices<0> @ 0x00007000087b2c58, __args=size=0)(), std::__1::tuplejami::video::VideoInput*, 0ul, std::__1::tuple<> >(void (jami::video::VideoInput::&)(), std::__1::tuplejami::video::VideoInput*&, std::__1::__tuple_indices<0ul>, std::__1::tuple<>&&) at functional:2852:12 frame #26: 0x0000000110d333a9 libring.0.dylibstd::__1::__bind_return<void (jami::video::VideoInput::*)(), std::__1::tuple<jami::video::VideoInput*>, std::__1::tuple<>, __is_valid_bind_return<void (jami::video::VideoInput::*)(), std::__1::tuple<jami::video::VideoInput*>, std::__1::tuple<> >::value>::type std::__1::__bind<void (this=0x00007000087b2ea8)(), jami::video::VideoInput*>::operator()<>() at functional:2885:20 frame #27: 0x0000000110d3335d libring.0.dylib
decltype(__f=0x00007000087b2ea8)(), jami::video::VideoInput>&>(fp)()) std::__1::__invoke<std::__1::__bind<void (jami::video::VideoInput::)(), jami::video::VideoInput>&>(std::__1::__bind<void (jami::video::VideoInput::)(), jami::video::VideoInput>&) at type_traits:3747:1 frame #28: 0x0000000110d3330d libring.0.dylibvoid std::__1::__invoke_void_return_wrapper<void>::__call<std::__1::__bind<void (__args=0x00007000087b2ea8)(), jami::video::VideoInput*>&>(std::__1::__bind<void (jami::video::VideoInput::*)(), jami::video::VideoInput*>&) at __functional_base:348:9 frame #29: 0x0000000110d332dd libring.0.dylib
std::__1::__function::__alloc_func<std::__1::__bind<void (jami::video::VideoInput::)(), jami::video::VideoInput>, std::__1::allocator<std::__1::__bind<void (jami::video::VideoInput::)(), jami::video::VideoInput> >, void ()>::operator(this=0x00007000087b2ea8)() at functional:1553:16 frame #30: 0x0000000110d3202e libring.0.dylibstd::__1::__function::__func<std::__1::__bind<void (jami::video::VideoInput::*)(), jami::video::VideoInput*>, std::__1::allocator<std::__1::__bind<void (jami::video::VideoInput::*)(), jami::video::VideoInput*> >, void ()>::operator(this=0x00007000087b2ea0)() at functional:1727:12 frame #31: 0x00000001109f55f5 libring.0.dylib
std::__1::__function::__value_func<void ()>::operator(this=0x00007000087b2ea0)() const at functional:1880:16 frame #32: 0x00000001109f4f05 libring.0.dylibstd::__1::function<void ()>::operator(this= Function = jami::video::VideoInput::process() )() const at functional:2555:12 frame #33: 0x0000000110a81db5 libring.0.dylib
jami::ThreadLoop::mainloop(this=0x00007ff5434ae650, tid=0x00007ff5434ae6f8, setup= Function = jami::video::VideoInput::setup() , process= Function = jami::video::VideoInput::process() , cleanup= Function = jami::video::VideoInput::cleanup() )>, std::__1::function<void ()>, std::__1::function<void ()>) at threadloop.cpp:38:17 frame #34: 0x0000000110a84879 libring.0.dylibdecltype(__f=0x0000600001a9cb48, __a0=0x0000600001a9cb58, __args=0x0000600001a9cb60, __args= Function = jami::video::VideoInput::setup() , __args= Function = jami::video::VideoInput::process() , __args= Function = jami::video::VideoInput::cleanup() )).*fp(std::__1::forward<std::__1::reference_wrapper<std::__1::__thread_id> >(fp1), std::__1::forward<std::__1::function<bool ()> >(fp1), std::__1::forward<std::__1::function<void ()> >(fp1), std::__1::forward<std::__1::function<void ()> >(fp1))) std::__1::__invoke<void (jami::ThreadLoop::*)(std::__1::__thread_id&, std::__1::function<bool ()>, std::__1::function<void ()>, std::__1::function<void ()>), jami::ThreadLoop*, std::__1::reference_wrapper<std::__1::__thread_id>, std::__1::function<bool ()>, std::__1::function<void ()>, std::__1::function<void ()>, void>(void (jami::ThreadLoop::*&&)(std::__1::__thread_id&, std::__1::function<bool ()>, std::__1::function<void ()>, std::__1::function<void ()>), jami::ThreadLoop*&&, std::__1::reference_wrapper<std::__1::__thread_id>&&, std::__1::function<bool ()>&&, std::__1::function<void ()>&&, std::__1::function<void ()>&&) at type_traits:3688:1 frame #35: 0x0000000110a84682 libring.0.dylib
void std::__1::__thread_execute<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_deletestd::__1::__thread_struct >, void (jami::ThreadLoop::)(std::__1::__thread_id&, std::__1::function<bool ()>, std::__1::function<void ()>, std::__1::function<void ()>), jami::ThreadLoop, std::__1::reference_wrapperstd::__1::__thread_id, std::__1::function<bool ()>, std::__1::function<void ()>, std::__1::function<void ()>, 2ul, 3ul, 4ul, 5ul, 6ul>(__t=size=7, (null)=__tuple_indices<2, 3, 4, 5, 6> @ 0x00007000087b2f58)(std::__1::__thread_id&, std::__1::function<bool ()>, std::__1::function<void ()>, std::__1::function<void ()>), jami::ThreadLoop*, std::__1::reference_wrapperstd::__1::__thread_id, std::__1::function<bool ()>, std::__1::function<void ()>, std::__1::function<void ()> >&, std::__1::__tuple_indices<2ul, 3ul, 4ul, 5ul, 6ul>) at thread:280:5 frame #36: 0x0000000110a83886 libring.0.dylibvoid* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (jami::ThreadLoop::*)(std::__1::__thread_id&, std::__1::function<bool ()>, std::__1::function<void ()>, std::__1::function<void ()>), jami::ThreadLoop*, std::__1::reference_wrapper<std::__1::__thread_id>, std::__1::function<bool ()>, std::__1::function<void ()>, std::__1::function<void ()> > >(__vp=0x0000600001a9cb40) at thread:291:5 frame #37: 0x00000001108a61b8 libsystem_pthread.dylib
_pthread_start + 224 frame #38: 0x00000001108a1af7 libsystem_pthread.dylib`thread_start + 15