Bug 259303 - [WPE][GTK] WebProcess crashes at the end of every GLib API test
Summary: [WPE][GTK] WebProcess crashes at the end of every GLib API test
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WPE WebKit (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-18 03:34 PDT by Vitaly Dyackhov
Modified: 2023-07-18 07:43 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vitaly Dyackhov 2023-07-18 03:34:04 PDT
Here's the call stack:

```
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007f77fc459d25 in WTF::HashTable<_GObject*, _GObject*, WTF::IdentityExtractor, WTF::DefaultHash<_GObject*>, WTF::HashTraits<_GObject*>, WTF::HashTraits<_GObject*> >::keyCount (this=0x7f77fc46a280 <s_watchedObjects>)
    at /home/vitaly/Projects/WebKit/WebKitBuild/Debug/WTF/Headers/wtf/HashTable.h:595
595	        unsigned keyCount() const { return m_table ? reinterpret_cast_ptr<unsigned*>(m_table)[keyCountOffset] : 0; }
[Current thread is 1 (LWP 133245)]
(gdb) where
#0  0x00007f77fc459d25 in WTF::HashTable<_GObject*, _GObject*, WTF::IdentityExtractor, WTF::DefaultHash<_GObject*>, WTF::HashTraits<_GObject*>, WTF::HashTraits<_GObject*> >::keyCount (this=0x7f77fc46a280 <s_watchedObjects>)
    at /home/vitaly/Projects/WebKit/WebKitBuild/Debug/WTF/Headers/wtf/HashTable.h:595
#1  0x00007f77fc458e9c in WTF::HashTable<_GObject*, _GObject*, WTF::IdentityExtractor, WTF::DefaultHash<_GObject*>, WTF::HashTraits<_GObject*>, WTF::HashTraits<_GObject*> >::isEmpty (this=0x7f77fc46a280 <s_watchedObjects>)
    at /home/vitaly/Projects/WebKit/WebKitBuild/Debug/WTF/Headers/wtf/HashTable.h:461
#2  0x00007f77fc458560 in WTF::HashSet<_GObject*, WTF::DefaultHash<_GObject*>, WTF::HashTraits<_GObject*>, WTF::HashTableTraits>::isEmpty
    (this=0x7f77fc46a280 <s_watchedObjects>) at /home/vitaly/Projects/WebKit/WebKitBuild/Debug/WTF/Headers/wtf/HashSet.h:251
#3  0x00007f77fc457138 in checkLeaks () at /home/vitaly/Projects/WebKit/Tools/TestWebKitAPI/Tests/WebKitGLib/WebProcessTest.cpp:41
#4  0x00007f77fc45786d in checkLeaksAtExit () at /home/vitaly/Projects/WebKit/Tools/TestWebKitAPI/Tests/WebKitGLib/WebProcessTest.cpp:114
#5  0x00007f7966e47d9e in _dl_close_worker (map=<optimized out>, force=<optimized out>) at dl-close.c:288
#6  0x00007f79524394a5 in ?? ()
#7  0x0000000000000000 in ?? ()
```
Comment 1 Vitaly Dyackhov 2023-07-18 04:09:11 PDT
Pull request: https://github.com/WebKit/WebKit/pull/15904
Comment 2 EWS 2023-07-18 07:43:15 PDT
Committed 266127@main (4b27f17f5ade): <https://commits.webkit.org/266127@main>

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