Bug 257690 - REGRESSION(264582@main): [GTK] UI process crash: Assertion 'this->_M_is_engaged()' failed.
Summary: REGRESSION(264582@main): [GTK] UI process crash: Assertion 'this->_M_is_engag...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: Other
Hardware: PC Linux
: P2 Normal
Assignee: Michael Catanzaro
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-04 13:34 PDT by two
Modified: 2023-06-21 08:54 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description two 2023-06-04 13:34:33 PDT
GNOME Web from flathub prints this in logs and crashes:

```
/usr/include/c++/12.2.0/optional:477: constexpr _Tp& std::_Optional_base_impl<_Tp, _Dp>::_M_get() [with _Tp = MotionEvent; _Dp = std::_Optional_base<MotionEvent, true, true>]: Assertion 'this->_M_is_engaged()' failed.
```

this usually happens during session restore, but can also happen during usage.
Comment 1 Michael Catanzaro 2023-06-05 05:57:57 PDT
We need to see a backtrace taken with gdb, please.
Comment 2 Michael Catanzaro 2023-06-05 10:05:10 PDT
Backtrace here: https://bugzilla.redhat.com/show_bug.cgi?id=2212303
Comment 3 Michael Catanzaro 2023-06-05 10:16:09 PDT
Problem is it's possible for a pointer leave event to occur before any pointer motion event. I thought that was not possible. This is a regression in 2.40.2.
Comment 4 Michael Catanzaro 2023-06-05 10:20:05 PDT
Pull request: https://github.com/WebKit/WebKit/pull/14674
Comment 5 EWS 2023-06-06 06:36:51 PDT
Committed 264895@main (d501d8dce059): <https://commits.webkit.org/264895@main>

Reviewed commits have been landed. Closing PR #14674 and removing active labels.