Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stack overflow on shopify.com in media element code #1547

Open
awesomekling opened this issue Sep 27, 2024 · 0 comments
Open

Stack overflow on shopify.com in media element code #1547

awesomekling opened this issue Sep 27, 2024 · 0 comments
Labels
bug Something isn't working has repro We have a way to reproduce this bug.

Comments

@awesomekling
Copy link
Member

Caught this crash with ASAN. Reproducible by loading the landing page at https://shopify.com/ and waiting, but be warned it takes quite a while.

cc @trflynn89 @Zaggy1024

==86615==ERROR: AddressSanitizer: stack-overflow on address 0x00016d227fe0 (pc 0x000105e2f2f0 bp 0x00016d2280b0 sp 0x00016d227fc0 T0)
    #0 0x105e2f2f0 in __sanitizer::StackDepotBase<__sanitizer::StackDepotNode, 1, 20>::Put(__sanitizer::StackTrace, bool*)+0x8 (libclang_rt.asan_osx_dynamic.dylib:arm64e+0x7f2f0)
    #1 0x105db4888 in __asan::asan_malloc(unsigned long, __sanitizer::BufferedStackTrace*)+0x2c (libclang_rt.asan_osx_dynamic.dylib:arm64e+0x4888)
    #2 0x105e04c68 in malloc+0xf8 (libclang_rt.asan_osx_dynamic.dylib:arm64e+0x54c68)
    #3 0x1075f07cc in kmalloc_array(AK::Checked<unsigned long>, AK::Checked<unsigned long>) kmalloc.h:42
    #4 0x108442258 in AK::Vector<JS::StackTraceElement, 0ul>::try_ensure_capacity(unsigned long) Vector.h:640
    #5 0x108441eb4 in AK::Vector<JS::StackTraceElement, 0ul>::try_grow_capacity(unsigned long) Vector.h:632
    #6 0x108441b68 in AK::Vector<JS::StackTraceElement, 0ul>::try_append(JS::StackTraceElement&&) Vector.h:551
    #7 0x1083f743c in JS::VM::stack_trace() const VM.cpp:751
    #8 0x107c6a574 in JS::Error::populate_stack() Error.cpp:80
    #9 0x107c6a28c in JS::Error::Error(JS::Object&) Error.cpp:57
    #10 0x107c6e118 in JS::NonnullGCPtr<JS::InternalError> JS::Heap::allocate<JS::InternalError, JS::NonnullGCPtr<JS::Object>>(JS::Realm&, JS::NonnullGCPtr<JS::Object>&&) Heap.h:54
    #11 0x107c6df50 in JS::InternalError::create(JS::Realm&) Error.cpp:186
    #12 0x107c6e50c in JS::InternalError::create(JS::Realm&, AK::String) Error.cpp:186
    #13 0x107859eb8 in JS::Completion JS::VM::throw_completion<JS::InternalError, AK::String>(AK::String&&) VM.h:196
    #14 0x1077e0540 in JS::Completion JS::VM::throw_completion<JS::InternalError>(JS::ErrorType) VM.h:204
    #15 0x10776541c in JS::VM::push_execution_context(JS::ExecutionContext&, JS::VM::CheckStackSpaceLimitTag) VM.h:114
    #16 0x107c5124c in JS::ECMAScriptFunctionObject::prepare_for_ordinary_call(JS::ExecutionContext&, JS::Object*) ECMAScriptFunctionObject.cpp:628
    #17 0x107c4fe6c in JS::ECMAScriptFunctionObject::internal_call(JS::Value, AK::Span<JS::Value const>) ECMAScriptFunctionObject.cpp:398
    #18 0x107abd78c in JS::call_impl(JS::VM&, JS::Value, JS::Value, AK::Span<JS::Value const>) AbstractOperations.cpp:61
    #19 0x107bd8724 in JS::BoundFunction::internal_call(JS::Value, AK::Span<JS::Value const>) BoundFunction.cpp:68
    #20 0x1120cfd10 in Web::WebIDL::call_user_object_operation(Web::WebIDL::CallbackType&, AK::String const&, AK::Optional<JS::Value>, JS::MarkedVector<JS::Value, 0ul>) AbstractOperations.cpp:193
    #21 0x110d744d4 in JS::Completion Web::WebIDL::call_user_object_operation<Web::DOM::Event*&>(Web::WebIDL::CallbackType&, AK::String const&, AK::Optional<JS::Value>, Web::DOM::Event*&) AbstractOperations.h:34
    #22 0x110d7307c in Web::DOM::EventDispatcher::inner_invoke(Web::DOM::Event&, AK::Vector<JS::Handle<Web::DOM::DOMEventListener>, 0ul>&, Web::DOM::Event::Phase, bool) EventDispatcher.cpp:90
    #23 0x110d74e70 in Web::DOM::EventDispatcher::invoke(Web::DOM::Event::PathEntry&, Web::DOM::Event&, Web::DOM::Event::Phase) EventDispatcher.cpp:152
    #24 0x110d78b88 in Web::DOM::EventDispatcher::dispatch(JS::NonnullGCPtr<Web::DOM::EventTarget>, Web::DOM::Event&, bool) EventDispatcher.cpp:349
    #25 0x110d8d300 in Web::DOM::EventTarget::dispatch_event(Web::DOM::Event&) EventTarget.cpp:822
    #26 0x1113cac14 in Web::HTML::HTMLMediaElement::dispatch_time_update_event() HTMLMediaElement.cpp:1789
    #27 0x11041f0e0 in AK::Function<void ()>::operator()() const Function.h:120
    #28 0x1111e0bd4 in Web::HTML::EventLoop::process() EventLoop.cpp:168
    #29 0x111bd79b0 in JS::SafeFunction<void ()>::operator()() const SafeFunction.h:85
    #30 0x105111eb8 in AK::Function<void ()>::operator()() const Function.h:120
    #31 0x10510e418 in Core::EventReceiver::dispatch_event(Core::Event&, Core::EventReceiver*) EventReceiver.cpp:162
    #32 0x1051861c4 in Core::ThreadEventQueue::process() ThreadEventQueue.cpp:121
    #33 0x1050e17dc in Core::EventLoop::spin_until(AK::Function<bool ()>) EventLoop.cpp:95
    #34 0x111db4914 in Web::Platform::EventLoopPluginSerenity::spin_until(JS::SafeFunction<bool ()>) EventLoopPluginSerenity.cpp:19
    #35 0x1111dedd8 in Web::HTML::EventLoop::spin_until(JS::SafeFunction<bool ()>) EventLoop.cpp:86
    #36 0x1113b5764 in Web::HTML::HTMLMediaElement::seek_element(double, Web::HTML::MediaSeekMode) HTMLMediaElement.cpp:1586
    #37 0x1113b6d40 in Web::HTML::HTMLMediaElement::reached_end_of_media_playback() HTMLMediaElement.cpp:1748
    #38 0x11183044c in AK::Function<void ()>::CallableWrapper<Web::HTML::VideoTrack::VideoTrack(JS::Realm&, JS::NonnullGCPtr<Web::HTML::HTMLMediaElement>, AK::NonnullOwnPtr<Media::PlaybackManager>)::$_1>::call() Function.h:187
    #39 0x103b53ed0 in AK::Function<void ()>::operator()() const Function.h:120
    #40 0x103b5bad8 in AK::ErrorOr<void, AK::Error> Media::PlaybackManager::PlaybackStateHandler::replace_handler_and_delete_this<Media::PlaybackManager::StoppedStateHandler>() PlaybackManager.cpp:341
    #41 0x103b52470 in Media::PlaybackManager::dispatch_decoder_error(Media::DecoderError) PlaybackManager.cpp:122
    #42 0x103b53858 in Media::PlaybackManager::dispatch_frame_queue_item(Media::FrameQueueItem&&) PlaybackManager.cpp:144
    #43 0x103b6b23c in Media::PlaybackManager::SeekingStateHandler::skip_samples_until_timestamp() PlaybackManager.cpp:633
    #44 0x103b541b0 in Media::PlaybackManager::timer_callback() PlaybackManager.cpp:161
    #45 0x105111eb8 in AK::Function<void ()>::operator()() const Function.h:120
    #46 0x10510e418 in Core::EventReceiver::dispatch_event(Core::Event&, Core::EventReceiver*) EventReceiver.cpp:162
    #47 0x1051861c4 in Core::ThreadEventQueue::process() ThreadEventQueue.cpp:121
    #48 0x1050e17dc in Core::EventLoop::spin_until(AK::Function<bool ()>) EventLoop.cpp:95
    #49 0x111db4914 in Web::Platform::EventLoopPluginSerenity::spin_until(JS::SafeFunction<bool ()>) EventLoopPluginSerenity.cpp:19
    #50 0x1111dedd8 in Web::HTML::EventLoop::spin_until(JS::SafeFunction<bool ()>) EventLoop.cpp:86
    #51 0x1113b5764 in Web::HTML::HTMLMediaElement::seek_element(double, Web::HTML::MediaSeekMode) HTMLMediaElement.cpp:1586
    #52 0x1113b6d40 in Web::HTML::HTMLMediaElement::reached_end_of_media_playback() HTMLMediaElement.cpp:1748
    #53 0x11183044c in AK::Function<void ()>::CallableWrapper<Web::HTML::VideoTrack::VideoTrack(JS::Realm&, JS::NonnullGCPtr<Web::HTML::HTMLMediaElement>, AK::NonnullOwnPtr<Media::PlaybackManager>)::$_1>::call() Function.h:187
    #54 0x103b53ed0 in AK::Function<void ()>::operator()() const Function.h:120
    #55 0x103b5bad8 in AK::ErrorOr<void, AK::Error> Media::PlaybackManager::PlaybackStateHandler::replace_handler_and_delete_this<Media::PlaybackManager::StoppedStateHandler>() PlaybackManager.cpp:341
    #56 0x103b52470 in Media::PlaybackManager::dispatch_decoder_error(Media::DecoderError) PlaybackManager.cpp:122
    #57 0x103b53858 in Media::PlaybackManager::dispatch_frame_queue_item(Media::FrameQueueItem&&) PlaybackManager.cpp:144
    #58 0x103b6b23c in Media::PlaybackManager::SeekingStateHandler::skip_samples_until_timestamp() PlaybackManager.cpp:633
    #59 0x103b541b0 in Media::PlaybackManager::timer_callback() PlaybackManager.cpp:161
    #60 0x105111eb8 in AK::Function<void ()>::operator()() const Function.h:120
    #61 0x10510e418 in Core::EventReceiver::dispatch_event(Core::Event&, Core::EventReceiver*) EventReceiver.cpp:162
    #62 0x1051861c4 in Core::ThreadEventQueue::process() ThreadEventQueue.cpp:121
    #63 0x1050e17dc in Core::EventLoop::spin_until(AK::Function<bool ()>) EventLoop.cpp:95
    #64 0x111db4914 in Web::Platform::EventLoopPluginSerenity::spin_until(JS::SafeFunction<bool ()>) EventLoopPluginSerenity.cpp:19
    #65 0x1111dedd8 in Web::HTML::EventLoop::spin_until(JS::SafeFunction<bool ()>) EventLoop.cpp:86
    #66 0x1113b5764 in Web::HTML::HTMLMediaElement::seek_element(double, Web::HTML::MediaSeekMode) HTMLMediaElement.cpp:1586
    #67 0x1113b6d40 in Web::HTML::HTMLMediaElement::reached_end_of_media_playback() HTMLMediaElement.cpp:1748
    #68 0x11183044c in AK::Function<void ()>::CallableWrapper<Web::HTML::VideoTrack::VideoTrack(JS::Realm&, JS::NonnullGCPtr<Web::HTML::HTMLMediaElement>, AK::NonnullOwnPtr<Media::PlaybackManager>)::$_1>::call() Function.h:187
    #69 0x103b53ed0 in AK::Function<void ()>::operator()() const Function.h:120
    #70 0x103b5bad8 in AK::ErrorOr<void, AK::Error> Media::PlaybackManager::PlaybackStateHandler::replace_handler_and_delete_this<Media::PlaybackManager::StoppedStateHandler>() PlaybackManager.cpp:341
    #71 0x103b52470 in Media::PlaybackManager::dispatch_decoder_error(Media::DecoderError) PlaybackManager.cpp:122
    #72 0x103b53858 in Media::PlaybackManager::dispatch_frame_queue_item(Media::FrameQueueItem&&) PlaybackManager.cpp:144
    #73 0x103b6b23c in Media::PlaybackManager::SeekingStateHandler::skip_samples_until_timestamp() PlaybackManager.cpp:633
    #74 0x103b541b0 in Media::PlaybackManager::timer_callback() PlaybackManager.cpp:161
    #75 0x105111eb8 in AK::Function<void ()>::operator()() const Function.h:120
    #76 0x10510e418 in Core::EventReceiver::dispatch_event(Core::Event&, Core::EventReceiver*) EventReceiver.cpp:162
    #77 0x1051861c4 in Core::ThreadEventQueue::process() ThreadEventQueue.cpp:121
    #78 0x1050e17dc in Core::EventLoop::spin_until(AK::Function<bool ()>) EventLoop.cpp:95
    #79 0x111db4914 in Web::Platform::EventLoopPluginSerenity::spin_until(JS::SafeFunction<bool ()>) EventLoopPluginSerenity.cpp:19
    #80 0x1111dedd8 in Web::HTML::EventLoop::spin_until(JS::SafeFunction<bool ()>) EventLoop.cpp:86
    #81 0x1113b5764 in Web::HTML::HTMLMediaElement::seek_element(double, Web::HTML::MediaSeekMode) HTMLMediaElement.cpp:1586
    #82 0x1113b6d40 in Web::HTML::HTMLMediaElement::reached_end_of_media_playback() HTMLMediaElement.cpp:1748
    #83 0x11183044c in AK::Function<void ()>::CallableWrapper<Web::HTML::VideoTrack::VideoTrack(JS::Realm&, JS::NonnullGCPtr<Web::HTML::HTMLMediaElement>, AK::NonnullOwnPtr<Media::PlaybackManager>)::$_1>::call() Function.h:187
    #84 0x103b53ed0 in AK::Function<void ()>::operator()() const Function.h:120
    #85 0x103b5bad8 in AK::ErrorOr<void, AK::Error> Media::PlaybackManager::PlaybackStateHandler::replace_handler_and_delete_this<Media::PlaybackManager::StoppedStateHandler>() PlaybackManager.cpp:341
    #86 0x103b52470 in Media::PlaybackManager::dispatch_decoder_error(Media::DecoderError) PlaybackManager.cpp:122
    #87 0x103b53858 in Media::PlaybackManager::dispatch_frame_queue_item(Media::FrameQueueItem&&) PlaybackManager.cpp:144
    #88 0x103b6b23c in Media::PlaybackManager::SeekingStateHandler::skip_samples_until_timestamp() PlaybackManager.cpp:633
    #89 0x103b541b0 in Media::PlaybackManager::timer_callback() PlaybackManager.cpp:161
    #90 0x105111eb8 in AK::Function<void ()>::operator()() const Function.h:120
    #91 0x10510e418 in Core::EventReceiver::dispatch_event(Core::Event&, Core::EventReceiver*) EventReceiver.cpp:162
    #92 0x1051861c4 in Core::ThreadEventQueue::process() ThreadEventQueue.cpp:121
    #93 0x1050e17dc in Core::EventLoop::spin_until(AK::Function<bool ()>) EventLoop.cpp:95
    #94 0x111db4914 in Web::Platform::EventLoopPluginSerenity::spin_until(JS::SafeFunction<bool ()>) EventLoopPluginSerenity.cpp:19
    #95 0x1111dedd8 in Web::HTML::EventLoop::spin_until(JS::SafeFunction<bool ()>) EventLoop.cpp:86
    #96 0x1113b5764 in Web::HTML::HTMLMediaElement::seek_element(double, Web::HTML::MediaSeekMode) HTMLMediaElement.cpp:1586
    #97 0x1113b6d40 in Web::HTML::HTMLMediaElement::reached_end_of_media_playback() HTMLMediaElement.cpp:1748
    #98 0x11183044c in AK::Function<void ()>::CallableWrapper<Web::HTML::VideoTrack::VideoTrack(JS::Realm&, JS::NonnullGCPtr<Web::HTML::HTMLMediaElement>, AK::NonnullOwnPtr<Media::PlaybackManager>)::$_1>::call() Function.h:187
    #99 0x103b53ed0 in AK::Function<void ()>::operator()() const Function.h:120
    #100 0x103b5bad8 in AK::ErrorOr<void, AK::Error> Media::PlaybackManager::PlaybackStateHandler::replace_handler_and_delete_this<Media::PlaybackManager::StoppedStateHandler>() PlaybackManager.cpp:341
    #101 0x103b52470 in Media::PlaybackManager::dispatch_decoder_error(Media::DecoderError) PlaybackManager.cpp:122
    #102 0x103b53858 in Media::PlaybackManager::dispatch_frame_queue_item(Media::FrameQueueItem&&) PlaybackManager.cpp:144
    #103 0x103b6b23c in Media::PlaybackManager::SeekingStateHandler::skip_samples_until_timestamp() PlaybackManager.cpp:633
    #104 0x103b541b0 in Media::PlaybackManager::timer_callback() PlaybackManager.cpp:161
    #105 0x105111eb8 in AK::Function<void ()>::operator()() const Function.h:120
    #106 0x10510e418 in Core::EventReceiver::dispatch_event(Core::Event&, Core::EventReceiver*) EventReceiver.cpp:162
    #107 0x1051861c4 in Core::ThreadEventQueue::process() ThreadEventQueue.cpp:121
    #108 0x1050e17dc in Core::EventLoop::spin_until(AK::Function<bool ()>) EventLoop.cpp:95
    #109 0x111db4914 in Web::Platform::EventLoopPluginSerenity::spin_until(JS::SafeFunction<bool ()>) EventLoopPluginSerenity.cpp:19
    #110 0x1111dedd8 in Web::HTML::EventLoop::spin_until(JS::SafeFunction<bool ()>) EventLoop.cpp:86
    #111 0x1113b5764 in Web::HTML::HTMLMediaElement::seek_element(double, Web::HTML::MediaSeekMode) HTMLMediaElement.cpp:1586
    #112 0x1113b6d40 in Web::HTML::HTMLMediaElement::reached_end_of_media_playback() HTMLMediaElement.cpp:1748
    #113 0x11183044c in AK::Function<void ()>::CallableWrapper<Web::HTML::VideoTrack::VideoTrack(JS::Realm&, JS::NonnullGCPtr<Web::HTML::HTMLMediaElement>, AK::NonnullOwnPtr<Media::PlaybackManager>)::$_1>::call() Function.h:187
    #114 0x103b53ed0 in AK::Function<void ()>::operator()() const Function.h:120
    #115 0x103b5bad8 in AK::ErrorOr<void, AK::Error> Media::PlaybackManager::PlaybackStateHandler::replace_handler_and_delete_this<Media::PlaybackManager::StoppedStateHandler>() PlaybackManager.cpp:341
    #116 0x103b52470 in Media::PlaybackManager::dispatch_decoder_error(Media::DecoderError) PlaybackManager.cpp:122
    #117 0x103b53858 in Media::PlaybackManager::dispatch_frame_queue_item(Media::FrameQueueItem&&) PlaybackManager.cpp:144
    #118 0x103b6b23c in Media::PlaybackManager::SeekingStateHandler::skip_samples_until_timestamp() PlaybackManager.cpp:633
    #119 0x103b541b0 in Media::PlaybackManager::timer_callback() PlaybackManager.cpp:161
    #120 0x105111eb8 in AK::Function<void ()>::operator()() const Function.h:120
    #121 0x10510e418 in Core::EventReceiver::dispatch_event(Core::Event&, Core::EventReceiver*) EventReceiver.cpp:162
    #122 0x1051861c4 in Core::ThreadEventQueue::process() ThreadEventQueue.cpp:121
    #123 0x1050e17dc in Core::EventLoop::spin_until(AK::Function<bool ()>) EventLoop.cpp:95
    #124 0x111db4914 in Web::Platform::EventLoopPluginSerenity::spin_until(JS::SafeFunction<bool ()>) EventLoopPluginSerenity.cpp:19
    #125 0x1111dedd8 in Web::HTML::EventLoop::spin_until(JS::SafeFunction<bool ()>) EventLoop.cpp:86
    #126 0x1113b5764 in Web::HTML::HTMLMediaElement::seek_element(double, Web::HTML::MediaSeekMode) HTMLMediaElement.cpp:1586
    #127 0x1113b6d40 in Web::HTML::HTMLMediaElement::reached_end_of_media_playback() HTMLMediaElement.cpp:1748
    #128 0x11183044c in AK::Function<void ()>::CallableWrapper<Web::HTML::VideoTrack::VideoTrack(JS::Realm&, JS::NonnullGCPtr<Web::HTML::HTMLMediaElement>, AK::NonnullOwnPtr<Media::PlaybackManager>)::$_1>::call() Function.h:187
    #129 0x103b53ed0 in AK::Function<void ()>::operator()() const Function.h:120
    #130 0x103b5bad8 in AK::ErrorOr<void, AK::Error> Media::PlaybackManager::PlaybackStateHandler::replace_handler_and_delete_this<Media::PlaybackManager::StoppedStateHandler>() PlaybackManager.cpp:341
    #131 0x103b52470 in Media::PlaybackManager::dispatch_decoder_error(Media::DecoderError) PlaybackManager.cpp:122
    #132 0x103b53858 in Media::PlaybackManager::dispatch_frame_queue_item(Media::FrameQueueItem&&) PlaybackManager.cpp:144
    #133 0x103b6b23c in Media::PlaybackManager::SeekingStateHandler::skip_samples_until_timestamp() PlaybackManager.cpp:633
    #134 0x103b541b0 in Media::PlaybackManager::timer_callback() PlaybackManager.cpp:161
    #135 0x105111eb8 in AK::Function<void ()>::operator()() const Function.h:120
    #136 0x10510e418 in Core::EventReceiver::dispatch_event(Core::Event&, Core::EventReceiver*) EventReceiver.cpp:162
    #137 0x1051861c4 in Core::ThreadEventQueue::process() ThreadEventQueue.cpp:121
    #138 0x1050e17dc in Core::EventLoop::spin_until(AK::Function<bool ()>) EventLoop.cpp:95
    #139 0x111db4914 in Web::Platform::EventLoopPluginSerenity::spin_until(JS::SafeFunction<bool ()>) EventLoopPluginSerenity.cpp:19
    #140 0x1111dedd8 in Web::HTML::EventLoop::spin_until(JS::SafeFunction<bool ()>) EventLoop.cpp:86
    #141 0x1113b5764 in Web::HTML::HTMLMediaElement::seek_element(double, Web::HTML::MediaSeekMode) HTMLMediaElement.cpp:1586
    #142 0x1113b6d40 in Web::HTML::HTMLMediaElement::reached_end_of_media_playback() HTMLMediaElement.cpp:1748
    #143 0x11183044c in AK::Function<void ()>::CallableWrapper<Web::HTML::VideoTrack::VideoTrack(JS::Realm&, JS::NonnullGCPtr<Web::HTML::HTMLMediaElement>, AK::NonnullOwnPtr<Media::PlaybackManager>)::$_1>::call() Function.h:187
    #144 0x103b53ed0 in AK::Function<void ()>::operator()() const Function.h:120
    #145 0x103b5bad8 in AK::ErrorOr<void, AK::Error> Media::PlaybackManager::PlaybackStateHandler::replace_handler_and_delete_this<Media::PlaybackManager::StoppedStateHandler>() PlaybackManager.cpp:341
    #146 0x103b52470 in Media::PlaybackManager::dispatch_decoder_error(Media::DecoderError) PlaybackManager.cpp:122
    #147 0x103b53858 in Media::PlaybackManager::dispatch_frame_queue_item(Media::FrameQueueItem&&) PlaybackManager.cpp:144
    #148 0x103b6b23c in Media::PlaybackManager::SeekingStateHandler::skip_samples_until_timestamp() PlaybackManager.cpp:633
    #149 0x103b541b0 in Media::PlaybackManager::timer_callback() PlaybackManager.cpp:161
    #150 0x105111eb8 in AK::Function<void ()>::operator()() const Function.h:120
    #151 0x10510e418 in Core::EventReceiver::dispatch_event(Core::Event&, Core::EventReceiver*) EventReceiver.cpp:162
    #152 0x1051861c4 in Core::ThreadEventQueue::process() ThreadEventQueue.cpp:121
    #153 0x1050e17dc in Core::EventLoop::spin_until(AK::Function<bool ()>) EventLoop.cpp:95
    #154 0x111db4914 in Web::Platform::EventLoopPluginSerenity::spin_until(JS::SafeFunction<bool ()>) EventLoopPluginSerenity.cpp:19
    #155 0x1111dedd8 in Web::HTML::EventLoop::spin_until(JS::SafeFunction<bool ()>) EventLoop.cpp:86
    #156 0x1113b5764 in Web::HTML::HTMLMediaElement::seek_element(double, Web::HTML::MediaSeekMode) HTMLMediaElement.cpp:1586
    #157 0x1113b6d40 in Web::HTML::HTMLMediaElement::reached_end_of_media_playback() HTMLMediaElement.cpp:1748
    #158 0x11183044c in AK::Function<void ()>::CallableWrapper<Web::HTML::VideoTrack::VideoTrack(JS::Realm&, JS::NonnullGCPtr<Web::HTML::HTMLMediaElement>, AK::NonnullOwnPtr<Media::PlaybackManager>)::$_1>::call() Function.h:187
    #159 0x103b53ed0 in AK::Function<void ()>::operator()() const Function.h:120
    #160 0x103b5bad8 in AK::ErrorOr<void, AK::Error> Media::PlaybackManager::PlaybackStateHandler::replace_handler_and_delete_this<Media::PlaybackManager::StoppedStateHandler>() PlaybackManager.cpp:341
    #161 0x103b52470 in Media::PlaybackManager::dispatch_decoder_error(Media::DecoderError) PlaybackManager.cpp:122
    #162 0x103b53858 in Media::PlaybackManager::dispatch_frame_queue_item(Media::FrameQueueItem&&) PlaybackManager.cpp:144
    #163 0x103b6b23c in Media::PlaybackManager::SeekingStateHandler::skip_samples_until_timestamp() PlaybackManager.cpp:633
    #164 0x103b541b0 in Media::PlaybackManager::timer_callback() PlaybackManager.cpp:161
    #165 0x105111eb8 in AK::Function<void ()>::operator()() const Function.h:120
    #166 0x10510e418 in Core::EventReceiver::dispatch_event(Core::Event&, Core::EventReceiver*) EventReceiver.cpp:162
    #167 0x1051861c4 in Core::ThreadEventQueue::process() ThreadEventQueue.cpp:121
    #168 0x1050e17dc in Core::EventLoop::spin_until(AK::Function<bool ()>) EventLoop.cpp:95
    #169 0x111db4914 in Web::Platform::EventLoopPluginSerenity::spin_until(JS::SafeFunction<bool ()>) EventLoopPluginSerenity.cpp:19
    #170 0x1111dedd8 in Web::HTML::EventLoop::spin_until(JS::SafeFunction<bool ()>) EventLoop.cpp:86
    #171 0x1113b5764 in Web::HTML::HTMLMediaElement::seek_element(double, Web::HTML::MediaSeekMode) HTMLMediaElement.cpp:1586
    #172 0x1113b6d40 in Web::HTML::HTMLMediaElement::reached_end_of_media_playback() HTMLMediaElement.cpp:1748
    #173 0x11183044c in AK::Function<void ()>::CallableWrapper<Web::HTML::VideoTrack::VideoTrack(JS::Realm&, JS::NonnullGCPtr<Web::HTML::HTMLMediaElement>, AK::NonnullOwnPtr<Media::PlaybackManager>)::$_1>::call() Function.h:187
    #174 0x103b53ed0 in AK::Function<void ()>::operator()() const Function.h:120
    #175 0x103b5bad8 in AK::ErrorOr<void, AK::Error> Media::PlaybackManager::PlaybackStateHandler::replace_handler_and_delete_this<Media::PlaybackManager::StoppedStateHandler>() PlaybackManager.cpp:341
    #176 0x103b52470 in Media::PlaybackManager::dispatch_decoder_error(Media::DecoderError) PlaybackManager.cpp:122
    #177 0x103b53858 in Media::PlaybackManager::dispatch_frame_queue_item(Media::FrameQueueItem&&) PlaybackManager.cpp:144
    #178 0x103b6b23c in Media::PlaybackManager::SeekingStateHandler::skip_samples_until_timestamp() PlaybackManager.cpp:633
    #179 0x103b541b0 in Media::PlaybackManager::timer_callback() PlaybackManager.cpp:161
    #180 0x105111eb8 in AK::Function<void ()>::operator()() const Function.h:120
    #181 0x10510e418 in Core::EventReceiver::dispatch_event(Core::Event&, Core::EventReceiver*) EventReceiver.cpp:162
    #182 0x1051861c4 in Core::ThreadEventQueue::process() ThreadEventQueue.cpp:121
    #183 0x1050e17dc in Core::EventLoop::spin_until(AK::Function<bool ()>) EventLoop.cpp:95
    #184 0x111db4914 in Web::Platform::EventLoopPluginSerenity::spin_until(JS::SafeFunction<bool ()>) EventLoopPluginSerenity.cpp:19
    #185 0x1111dedd8 in Web::HTML::EventLoop::spin_until(JS::SafeFunction<bool ()>) EventLoop.cpp:86
    #186 0x1113b5764 in Web::HTML::HTMLMediaElement::seek_element(double, Web::HTML::MediaSeekMode) HTMLMediaElement.cpp:1586
    #187 0x1113b6d40 in Web::HTML::HTMLMediaElement::reached_end_of_media_playback() HTMLMediaElement.cpp:1748
    #188 0x11183044c in AK::Function<void ()>::CallableWrapper<Web::HTML::VideoTrack::VideoTrack(JS::Realm&, JS::NonnullGCPtr<Web::HTML::HTMLMediaElement>, AK::NonnullOwnPtr<Media::PlaybackManager>)::$_1>::call() Function.h:187
    #189 0x103b53ed0 in AK::Function<void ()>::operator()() const Function.h:120
    #190 0x103b5bad8 in AK::ErrorOr<void, AK::Error> Media::PlaybackManager::PlaybackStateHandler::replace_handler_and_delete_this<Media::PlaybackManager::StoppedStateHandler>() PlaybackManager.cpp:341
    #191 0x103b52470 in Media::PlaybackManager::dispatch_decoder_error(Media::DecoderError) PlaybackManager.cpp:122
    #192 0x103b53858 in Media::PlaybackManager::dispatch_frame_queue_item(Media::FrameQueueItem&&) PlaybackManager.cpp:144
    #193 0x103b6b23c in Media::PlaybackManager::SeekingStateHandler::skip_samples_until_timestamp() PlaybackManager.cpp:633
    #194 0x103b541b0 in Media::PlaybackManager::timer_callback() PlaybackManager.cpp:161
    #195 0x105111eb8 in AK::Function<void ()>::operator()() const Function.h:120
    #196 0x10510e418 in Core::EventReceiver::dispatch_event(Core::Event&, Core::EventReceiver*) EventReceiver.cpp:162
    #197 0x1051861c4 in Core::ThreadEventQueue::process() ThreadEventQueue.cpp:121
    #198 0x1050e17dc in Core::EventLoop::spin_until(AK::Function<bool ()>) EventLoop.cpp:95
    #199 0x111db4914 in Web::Platform::EventLoopPluginSerenity::spin_until(JS::SafeFunction<bool ()>) EventLoopPluginSerenity.cpp:19
    #200 0x1111dedd8 in Web::HTML::EventLoop::spin_until(JS::SafeFunction<bool ()>) EventLoop.cpp:86
    #201 0x1113b5764 in Web::HTML::HTMLMediaElement::seek_element(double, Web::HTML::MediaSeekMode) HTMLMediaElement.cpp:1586
    #202 0x1113b6d40 in Web::HTML::HTMLMediaElement::reached_end_of_media_playback() HTMLMediaElement.cpp:1748
    #203 0x11183044c in AK::Function<void ()>::CallableWrapper<Web::HTML::VideoTrack::VideoTrack(JS::Realm&, JS::NonnullGCPtr<Web::HTML::HTMLMediaElement>, AK::NonnullOwnPtr<Media::PlaybackManager>)::$_1>::call() Function.h:187
    #204 0x103b53ed0 in AK::Function<void ()>::operator()() const Function.h:120
    #205 0x103b5bad8 in AK::ErrorOr<void, AK::Error> Media::PlaybackManager::PlaybackStateHandler::replace_handler_and_delete_this<Media::PlaybackManager::StoppedStateHandler>() PlaybackManager.cpp:341
    #206 0x103b52470 in Media::PlaybackManager::dispatch_decoder_error(Media::DecoderError) PlaybackManager.cpp:122
    #207 0x103b53858 in Media::PlaybackManager::dispatch_frame_queue_item(Media::FrameQueueItem&&) PlaybackManager.cpp:144
    #208 0x103b6b23c in Media::PlaybackManager::SeekingStateHandler::skip_samples_until_timestamp() PlaybackManager.cpp:633
    #209 0x103b541b0 in Media::PlaybackManager::timer_callback() PlaybackManager.cpp:161
    #210 0x105111eb8 in AK::Function<void ()>::operator()() const Function.h:120
    #211 0x10510e418 in Core::EventReceiver::dispatch_event(Core::Event&, Core::EventReceiver*) EventReceiver.cpp:162
    #212 0x1051861c4 in Core::ThreadEventQueue::process() ThreadEventQueue.cpp:121
    #213 0x1050e17dc in Core::EventLoop::spin_until(AK::Function<bool ()>) EventLoop.cpp:95
    #214 0x111db4914 in Web::Platform::EventLoopPluginSerenity::spin_until(JS::SafeFunction<bool ()>) EventLoopPluginSerenity.cpp:19
    #215 0x1111dedd8 in Web::HTML::EventLoop::spin_until(JS::SafeFunction<bool ()>) EventLoop.cpp:86
    #216 0x1113b5764 in Web::HTML::HTMLMediaElement::seek_element(double, Web::HTML::MediaSeekMode) HTMLMediaElement.cpp:1586
    #217 0x1113b6d40 in Web::HTML::HTMLMediaElement::reached_end_of_media_playback() HTMLMediaElement.cpp:1748
    #218 0x11183044c in AK::Function<void ()>::CallableWrapper<Web::HTML::VideoTrack::VideoTrack(JS::Realm&, JS::NonnullGCPtr<Web::HTML::HTMLMediaElement>, AK::NonnullOwnPtr<Media::PlaybackManager>)::$_1>::call() Function.h:187
    #219 0x103b53ed0 in AK::Function<void ()>::operator()() const Function.h:120
    #220 0x103b5bad8 in AK::ErrorOr<void, AK::Error> Media::PlaybackManager::PlaybackStateHandler::replace_handler_and_delete_this<Media::PlaybackManager::StoppedStateHandler>() PlaybackManager.cpp:341
    #221 0x103b52470 in Media::PlaybackManager::dispatch_decoder_error(Media::DecoderError) PlaybackManager.cpp:122
    #222 0x103b53858 in Media::PlaybackManager::dispatch_frame_queue_item(Media::FrameQueueItem&&) PlaybackManager.cpp:144
    #223 0x103b6b23c in Media::PlaybackManager::SeekingStateHandler::skip_samples_until_timestamp() PlaybackManager.cpp:633
    #224 0x103b541b0 in Media::PlaybackManager::timer_callback() PlaybackManager.cpp:161
    #225 0x105111eb8 in AK::Function<void ()>::operator()() const Function.h:120
    #226 0x10510e418 in Core::EventReceiver::dispatch_event(Core::Event&, Core::EventReceiver*) EventReceiver.cpp:162
    #227 0x1051861c4 in Core::ThreadEventQueue::process() ThreadEventQueue.cpp:121
    #228 0x1050e17dc in Core::EventLoop::spin_until(AK::Function<bool ()>) EventLoop.cpp:95
    #229 0x111db4914 in Web::Platform::EventLoopPluginSerenity::spin_until(JS::SafeFunction<bool ()>) EventLoopPluginSerenity.cpp:19
    #230 0x1111dedd8 in Web::HTML::EventLoop::spin_until(JS::SafeFunction<bool ()>) EventLoop.cpp:86
    #231 0x1113b5764 in Web::HTML::HTMLMediaElement::seek_element(double, Web::HTML::MediaSeekMode) HTMLMediaElement.cpp:1586
    #232 0x1113b6d40 in Web::HTML::HTMLMediaElement::reached_end_of_media_playback() HTMLMediaElement.cpp:1748
    #233 0x11183044c in AK::Function<void ()>::CallableWrapper<Web::HTML::VideoTrack::VideoTrack(JS::Realm&, JS::NonnullGCPtr<Web::HTML::HTMLMediaElement>, AK::NonnullOwnPtr<Media::PlaybackManager>)::$_1>::call() Function.h:187
    #234 0x103b53ed0 in AK::Function<void ()>::operator()() const Function.h:120
    #235 0x103b5bad8 in AK::ErrorOr<void, AK::Error> Media::PlaybackManager::PlaybackStateHandler::replace_handler_and_delete_this<Media::PlaybackManager::StoppedStateHandler>() PlaybackManager.cpp:341
    #236 0x103b52470 in Media::PlaybackManager::dispatch_decoder_error(Media::DecoderError) PlaybackManager.cpp:122
    #237 0x103b53858 in Media::PlaybackManager::dispatch_frame_queue_item(Media::FrameQueueItem&&) PlaybackManager.cpp:144
    #238 0x103b6b23c in Media::PlaybackManager::SeekingStateHandler::skip_samples_until_timestamp() PlaybackManager.cpp:633
    #239 0x103b541b0 in Media::PlaybackManager::timer_callback() PlaybackManager.cpp:161
    #240 0x105111eb8 in AK::Function<void ()>::operator()() const Function.h:120
    #241 0x10510e418 in Core::EventReceiver::dispatch_event(Core::Event&, Core::EventReceiver*) EventReceiver.cpp:162
    #242 0x1051861c4 in Core::ThreadEventQueue::process() ThreadEventQueue.cpp:121
    #243 0x1050e17dc in Core::EventLoop::spin_until(AK::Function<bool ()>) EventLoop.cpp:95
    #244 0x111db4914 in Web::Platform::EventLoopPluginSerenity::spin_until(JS::SafeFunction<bool ()>) EventLoopPluginSerenity.cpp:19
    #245 0x1111dedd8 in Web::HTML::EventLoop::spin_until(JS::SafeFunction<bool ()>) EventLoop.cpp:86
    #246 0x1113b5764 in Web::HTML::HTMLMediaElement::seek_element(double, Web::HTML::MediaSeekMode) HTMLMediaElement.cpp:1586
    #247 0x1113b6d40 in Web::HTML::HTMLMediaElement::reached_end_of_media_playback() HTMLMediaElement.cpp:1748
    #248 0x11183044c in AK::Function<void ()>::CallableWrapper<Web::HTML::VideoTrack::VideoTrack(JS::Realm&, JS::NonnullGCPtr<Web::HTML::HTMLMediaElement>, AK::NonnullOwnPtr<Media::PlaybackManager>)::$_1>::call() Function.h:187
    #249 0x103b53ed0 in AK::Function<void ()>::operator()() const Function.h:120
    #250 0x103b5bad8 in AK::ErrorOr<void, AK::Error> Media::PlaybackManager::PlaybackStateHandler::replace_handler_and_delete_this<Media::PlaybackManager::StoppedStateHandler>() PlaybackManager.cpp:341
    #251 0x103b52470 in Media::PlaybackManager::dispatch_decoder_error(Media::DecoderError) PlaybackManager.cpp:122
    #252 0x103b53858 in Media::PlaybackManager::dispatch_frame_queue_item(Media::FrameQueueItem&&) PlaybackManager.cpp:144
    #253 0x103b6b23c in Media::PlaybackManager::SeekingStateHandler::skip_samples_until_timestamp() PlaybackManager.cpp:633
    #254 0x103b541b0 in Media::PlaybackManager::timer_callback() PlaybackManager.cpp:161
@awesomekling awesomekling added bug Something isn't working has repro We have a way to reproduce this bug. labels Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working has repro We have a way to reproduce this bug.
Projects
None yet
Development

No branches or pull requests

1 participant