WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
232629
[GLIB] Many network process crashes when running WPT tests
https://bugs.webkit.org/show_bug.cgi?id=232629
Summary
[GLIB] Many network process crashes when running WPT tests
Martin Robinson
Reported
2021-11-02 10:32:14 PDT
When running WPT tests locally the network process crashes continuously. This only appears when running more than one test at a time and with the WebKit Flatpak build. A message is printed: STDERR: (process:538): GLib-CRITICAL **: 10:07:18.446: Failed to set scheduler settings: Operation not permitted Here is the core dump: crash log for WebKitNetworkProcess (pid 538): [New LWP 641] [New LWP 549] [New LWP 538] [New LWP 551] [New LWP 546] [New LWP 548] [New LWP 568] [New LWP 558] [New LWP 550] [New LWP 556] [New LWP 547] [New LWP 552] [New LWP 554] [New LWP 557] [New LWP 553] [New LWP 555] [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/x86_64-linux-gnu/libthread_db.so.1". Core was generated by `/app/webkit/WebKitBuild/Release/bin/WebKitNetworkProcess 7 11'. Program terminated with signal SIGTRAP, Trace/breakpoint trap. #0 g_logv (log_domain=0x7fc045c9200e "GLib", log_level=G_LOG_LEVEL_CRITICAL, format=<optimized out>, args=<optimized out>) at ../glib/gmessages.c:1417 1417 g_private_set (&g_log_depth, GUINT_TO_POINTER (depth)); [Current thread is 1 (Thread 0x7fa7cedff640 (LWP 641))] Thread 16 (Thread 0x7fa7eddff640 (LWP 555)): #0 0x00007fc045666b5d in __GI___poll (fds=0x7fa7dc003f40, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007fc045c3c5ce in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7fa7dc003f40, timeout=<optimized out>, context=0x7fa7dc000b60) at ../glib/gmain.c:4478 #2 g_main_context_iterate (context=0x7fa7dc000b60, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4170 #3 0x00007fc045c3c943 in g_main_loop_run (loop=0x7fa7dc003e60) at ../glib/gmain.c:4373 #4 0x00007fc0495aa330 in WTF::RunLoop::run() () at /app/webkit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.1.so.0 #5 0x00007fc04953b01a in WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) () at /app/webkit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.1.so.0 #6 0x00007fc0495acd99 in WTF::wtfThreadEntryPoint(void*) () at /app/webkit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.1.so.0 #7 0x00007fc045bcb3ba in start_thread (arg=0x7fa7eddff640) at pthread_create.c:481 #8 0x00007fc045671b03 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 15 (Thread 0x7fa7eeffd640 (LWP 553)): #0 0x00007fc045666b5d in __GI___poll (fds=0x7fa7e4005000, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007fc045c3c5ce in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7fa7e4005000, timeout=<optimized out>, context=0x7fa7e4000b60) at ../glib/gmain.c:4478 #2 g_main_context_iterate (context=0x7fa7e4000b60, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4170 #3 0x00007fc045c3c943 in g_main_loop_run (loop=0x7fa7e4003e60) at ../glib/gmain.c:4373 #4 0x00007fc0495aa330 in WTF::RunLoop::run() () at /app/webkit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.1.so.0 #5 0x00007fc04953b01a in WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) () at /app/webkit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.1.so.0 #6 0x00007fc0495acd99 in WTF::wtfThreadEntryPoint(void*) () at /app/webkit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.1.so.0 #7 0x00007fc045bcb3ba in start_thread (arg=0x7fa7eeffd640) at pthread_create.c:481 #8 0x00007fc045671b03 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 14 (Thread 0x7fa7ecdfd640 (LWP 557)): #0 0x00007fc045666b5d in __GI___poll (fds=0x7fa7d40045a0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007fc045c3c5ce in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7fa7d40045a0, timeout=<optimized out>, context=0x7fa7d4000b60) at ../glib/gmain.c:4478 #2 g_main_context_iterate (context=0x7fa7d4000b60, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4170 #3 0x00007fc045c3c943 in g_main_loop_run (loop=0x7fa7d4003400) at ../glib/gmain.c:4373 #4 0x00007fc0495aa330 in WTF::RunLoop::run() () at /app/webkit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.1.so.0 #5 0x00007fc04953b01a in WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) () at /app/webkit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.1.so.0 #6 0x00007fc0495acd99 in WTF::wtfThreadEntryPoint(void*) () at /app/webkit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.1.so.0 #7 0x00007fc045bcb3ba in start_thread (arg=0x7fa7ecdfd640) at pthread_create.c:481 #8 0x00007fc045671b03 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 13 (Thread 0x7fa7ee7fc640 (LWP 554)): #0 0x00007fc045666b5d in __GI___poll (fds=0x7fa7d8003f70, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007fc045c3c5ce in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7fa7d8003f70, timeout=<optimized out>, context=0x7fa7d8000b60) at ../glib/gmain.c:4478 #2 g_main_context_iterate (context=0x7fa7d8000b60, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4170 #3 0x00007fc045c3c943 in g_main_loop_run (loop=0x7fa7d8003200) at ../glib/gmain.c:4373 #4 0x00007fc0495aa330 in WTF::RunLoop::run() () at /app/webkit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.1.so.0 #5 0x00007fc04953b01a in WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) () at /app/webkit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.1.so.0 #6 0x00007fc0495acd99 in WTF::wtfThreadEntryPoint(void*) () at /app/webkit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.1.so.0 #7 0x00007fc045bcb3ba in start_thread (arg=0x7fa7ee7fc640) at pthread_create.c:481 #8 0x00007fc045671b03 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 12 (Thread 0x7fa7ef7fe640 (LWP 552)): #0 0x00007fc045666b5d in __GI___poll (fds=0x7fa7e0005000, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007fc045c3c5ce in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7fa7e0005000, timeout=<optimized out>, context=0x7fa7e0000b60) at ../glib/gmain.c:4478 #2 g_main_context_iterate (context=0x7fa7e0000b60, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4170 #3 0x00007fc045c3c943 in g_main_loop_run (loop=0x7fa7e0003e60) at ../glib/gmain.c:4373 #4 0x00007fc0495aa330 in WTF::RunLoop::run() () at /app/webkit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.1.so.0 #5 0x00007fc04953b01a in WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) () at /app/webkit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.1.so.0 #6 0x00007fc0495acd99 in WTF::wtfThreadEntryPoint(void*) () at /app/webkit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.1.so.0 #7 0x00007fc045bcb3ba in start_thread (arg=0x7fa7ef7fe640) at pthread_create.c:481 #8 0x00007fc045671b03 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 11 (Thread 0x7fc0022fd640 (LWP 547)): #0 0x00007fc045666b5d in __GI___poll (fds=0x7fa7f8005020, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007fc045c3c5ce in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7fa7f8005020, timeout=<optimized out>, context=0x7fa7f8000b60) at ../glib/gmain.c:4478 #2 g_main_context_iterate (context=0x7fa7f8000b60, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4170 #3 0x00007fc045c3c943 in g_main_loop_run (loop=0x7fa7f8003e60) at ../glib/gmain.c:4373 #4 0x00007fc0495aa330 in WTF::RunLoop::run() () at /app/webkit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.1.so.0 #5 0x00007fc04953b01a in WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) () at /app/webkit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.1.so.0 #6 0x00007fc0495acd99 in WTF::wtfThreadEntryPoint(void*) () at /app/webkit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.1.so.0 #7 0x00007fc045bcb3ba in start_thread (arg=0x7fc0022fd640) at pthread_create.c:481 #8 0x00007fc045671b03 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 10 (Thread 0x7fa7ed5fe640 (LWP 556)): #0 0x00007fc045666b5d in __GI___poll (fds=0x7fa7d0004bd0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007fc045c3c5ce in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7fa7d0004bd0, timeout=<optimized out>, context=0x7fa7d0000b60) at ../glib/gmain.c:4478 #2 g_main_context_iterate (context=0x7fa7d0000b60, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4170 #3 0x00007fc045c3c943 in g_main_loop_run (loop=0x7fa7d0003a30) at ../glib/gmain.c:4373 #4 0x00007fc0495aa330 in WTF::RunLoop::run() () at /app/webkit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.1.so.0 #5 0x00007fc04953b01a in WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) () at /app/webkit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.1.so.0 #6 0x00007fc0495acd99 in WTF::wtfThreadEntryPoint(void*) () at /app/webkit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.1.so.0 #7 0x00007fc045bcb3ba in start_thread (arg=0x7fa7ed5fe640) at pthread_create.c:481 #8 0x00007fc045671b03 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 9 (Thread 0x7fc0008fd640 (LWP 550)): #0 0x00007fc045666b5d in __GI___poll (fds=0x7fa7f4003f40, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007fc045c3c5ce in g_main_context_poll (priority=<optimized out>, n_fds=2, fds=0x7fa7f4003f40, timeout=<optimized out>, context=0x7fa7f4000b60) at ../glib/gmain.c:4478 #2 g_main_context_iterate (context=0x7fa7f4000b60, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4170 #3 0x00007fc045c3c943 in g_main_loop_run (loop=0x7fa7f4003e60) at ../glib/gmain.c:4373 #4 0x00007fc0495aa330 in WTF::RunLoop::run() () at /app/webkit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.1.so.0 #5 0x00007fc04953b01a in WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) () at /app/webkit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.1.so.0 #6 0x00007fc0495acd99 in WTF::wtfThreadEntryPoint(void*) () at /app/webkit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.1.so.0 #7 0x00007fc045bcb3ba in start_thread (arg=0x7fc0008fd640) at pthread_create.c:481 #8 0x00007fc045671b03 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 8 (Thread 0x7fa7cffff640 (LWP 558)): #0 0x00007fc045666b5d in __GI___poll (fds=0x7fa7c80047a0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007fc045c3c5ce in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7fa7c80047a0, timeout=<optimized out>, context=0x7fa7c8000b60) at ../glib/gmain.c:4478 #2 g_main_context_iterate (context=0x7fa7c8000b60, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4170 #3 0x00007fc045c3c943 in g_main_loop_run (loop=0x7fa7c8003a30) at ../glib/gmain.c:4373 #4 0x00007fc0495aa330 in WTF::RunLoop::run() () at /app/webkit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.1.so.0 #5 0x00007fc04953b01a in WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) () at /app/webkit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.1.so.0 #6 0x00007fc0495acd99 in WTF::wtfThreadEntryPoint(void*) () at /app/webkit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.1.so.0 #7 0x00007fc045bcb3ba in start_thread (arg=0x7fa7cffff640) at pthread_create.c:481 #8 0x00007fc045671b03 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 7 (Thread 0x7fa7cf7fe640 (LWP 568)): #0 0x00007fc045666b5d in __GI___poll (fds=0x7fa7c0005000, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007fc045c3c5ce in g_main_context_poll (priority=<optimized out>, n_fds=2, fds=0x7fa7c0005000, timeout=<optimized out>, context=0x7fa7c0000b60) at ../glib/gmain.c:4478 #2 g_main_context_iterate (context=0x7fa7c0000b60, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4170 #3 0x00007fc045c3c943 in g_main_loop_run (loop=0x7fa7c0003e60) at ../glib/gmain.c:4373 #4 0x00007fc0495aa330 in WTF::RunLoop::run() () at /app/webkit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.1.so.0 #5 0x00007fc04953b01a in WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) () at /app/webkit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.1.so.0 #6 0x00007fc0495acd99 in WTF::wtfThreadEntryPoint(void*) () at /app/webkit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.1.so.0 #7 0x00007fc045bcb3ba in start_thread (arg=0x7fa7cf7fe640) at pthread_create.c:481 #8 0x00007fc045671b03 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 6 (Thread 0x7fc0018ff640 (LWP 548)): #0 0x00007fc045666b5d in __GI___poll (fds=0x555f1de1d440, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007fc045c3c5ce in g_main_context_poll (priority=<optimized out>, n_fds=2, fds=0x555f1de1d440, timeout=<optimized out>, context=0x555f1de4d340) at ../glib/gmain.c:4478 #2 g_main_context_iterate (context=context@entry=0x555f1de4d340, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4170 #3 0x00007fc045c3c703 in g_main_context_iteration (context=0x555f1de4d340, may_block=may_block@entry=1) at ../glib/gmain.c:4240 #4 0x00007fc045c3c751 in glib_worker_main (data=<optimized out>) at ../glib/gmain.c:6140 #5 0x00007fc045c67351 in g_thread_proxy (data=0x555f1de45800) at ../glib/gthread.c:827 #6 0x00007fc045bcb3ba in start_thread (arg=0x7fc0018ff640) at pthread_create.c:481 #7 0x00007fc045671b03 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 5 (Thread 0x7fc042c4f640 (LWP 546)): #0 0x00007fc045bd7e1d in __futex_abstimed_wait_common64 (futex_word=futex_word@entry=0x7fc049923d6c <bmalloc::StaticPerProcessStorageTraits<bmalloc::Scavenger>::Storage::s_memory+76>, expected=expected@entry=0, clockid=clockid@entry=1, abstime=abstime@entry=0x7fc042c4eb40, private=private@entry=0, cancel=cancel@entry=true) at ../sysdeps/nptl/futex-internal.c:74 #1 0x00007fc045bd7e8f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x7fc049923d6c <bmalloc::StaticPerProcessStorageTraits<bmalloc::Scavenger>::Storage::s_memory+76>, expected=expected@entry=0, clockid=clockid@entry=1, abstime=abstime@entry=0x7fc042c4eb40, private=private@entry=0) at ../sysdeps/nptl/futex-internal.c:123 #2 0x00007fc045bd1bdb in __pthread_cond_wait_common (abstime=0x7fc042c4eb40, clockid=1, mutex=<optimized out>, cond=0x7fc049923d40 <bmalloc::StaticPerProcessStorageTraits<bmalloc::Scavenger>::Storage::s_memory+32>) at pthread_cond_wait.c:504 #3 __pthread_cond_clockwait (abstime=0x7fc042c4eb40, clockid=1, mutex=<optimized out>, cond=0x7fc049923d40 <bmalloc::StaticPerProcessStorageTraits<bmalloc::Scavenger>::Storage::s_memory+32>) at pthread_cond_wait.c:672 #4 __pthread_cond_clockwait (cond=0x7fc049923d40 <bmalloc::StaticPerProcessStorageTraits<bmalloc::Scavenger>::Storage::s_memory+32>, mutex=<optimized out>, clockid=1, abstime=0x7fc042c4eb40) at pthread_cond_wait.c:660 #5 0x00007fc0495bc2fa in bmalloc::Scavenger::threadRunLoop() () at /app/webkit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.1.so.0 #6 0x00007fc0495bc489 in () at /app/webkit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.1.so.0 #7 0x00007fc0459895e5 in std::execute_native_thread_routine(void*) (__p=0x555f1de10bf0) at ../../../../../libstdc++-v3/src/c++11/thread.cc:82 #8 0x00007fc045bcb3ba in start_thread (arg=0x7fc042c4f640) at pthread_create.c:481 #9 0x00007fc045671b03 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 4 (Thread 0x7fa7effff640 (LWP 551)): #0 0x00007fc045666b5d in __GI___poll (fds=0x7fa7e80032e0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007fc045c3c5ce in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7fa7e80032e0, timeout=<optimized out>, context=0x7fa7e8000b60) at ../glib/gmain.c:4478 #2 g_main_context_iterate (context=0x7fa7e8000b60, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4170 #3 0x00007fc045c3c943 in g_main_loop_run (loop=0x7fa7e8003200) at ../glib/gmain.c:4373 #4 0x00007fc0495aa330 in WTF::RunLoop::run() () at /app/webkit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.1.so.0 #5 0x00007fc04953b01a in WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) () at /app/webkit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.1.so.0 #6 0x00007fc0495acd99 in WTF::wtfThreadEntryPoint(void*) () at /app/webkit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.1.so.0 #7 0x00007fc045bcb3ba in start_thread (arg=0x7fa7effff640) at pthread_create.c:481 #8 0x00007fc045671b03 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 3 (Thread 0x7fc0437379c0 (LWP 538)): #0 __libc_write (nbytes=8, buf=0x7ffc9532b560, fd=29) at ../sysdeps/unix/sysv/linux/write.c:26 #1 __libc_write (fd=29, buf=buf@entry=0x7ffc9532b560, nbytes=nbytes@entry=8) at ../sysdeps/unix/sysv/linux/write.c:24 #2 0x00007fc045c8b75a in g_wakeup_signal (wakeup=0x7fa7c80038c0) at ../glib/gwakeup.c:239 #3 0x00007fc045c39f75 in g_source_set_ready_time (source=0x7fa7c0003e80, ready_time=0) at ../glib/gmain.c:1987 #4 0x00007fc0495a7d89 in WTF::WorkQueueBase::dispatch(WTF::Function<void ()>&&) () at /app/webkit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.1.so.0 #5 0x00007fc04b63f62f in IPC::Connection::sendMessage(WTF::UniqueRef<IPC::Encoder>&&, WTF::OptionSet<IPC::SendOption>) () at /app/webkit/WebKitBuild/Release/lib/libwebkit2gtk-4.1.so.0 #6 0x00007fc04b53de6f in WebKit::NetworkResourceLoader::didFinishLoading(WebCore::NetworkLoadMetrics const&) () at /app/webkit/WebKitBuild/Release/lib/libwebkit2gtk-4.1.so.0 #7 0x00007fc04b6238ab in WebKit::NetworkDataTaskSoup::didFinishRead() () at /app/webkit/WebKitBuild/Release/lib/libwebkit2gtk-4.1.so.0 #8 0x00007fc04b623b30 in WebKit::NetworkDataTaskSoup::readCallback(_GInputStream*, _GAsyncResult*, WebKit::NetworkDataTaskSoup*) () at /app/webkit/WebKitBuild/Release/lib/libwebkit2gtk-4.1.so.0 #9 0x00007fc045e05dbb in async_ready_callback_wrapper (source_object=0x555f1de87080 [SoupClientInputStream], res=0x7fa7f0003ef0, user_data=0x7fc04235c000) at ../gio/ginputstream.c:563 #10 0x00007fc045e3cb29 in g_task_return_now (task=0x7fa7f0003ef0 [GTask]) at ../gio/gtask.c:1219 #11 0x00007fc045e3cb6d in complete_in_idle_cb (task=0x7fa7f0003ef0) at ../gio/gtask.c:1233 #12 0x00007fc045c3c294 in g_main_dispatch (context=0x555f1de3e650) at ../glib/gmain.c:3381 #13 g_main_context_dispatch (context=0x555f1de3e650) at ../glib/gmain.c:4099 #14 0x00007fc045c3c638 in g_main_context_iterate (context=0x555f1de3e650, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4175 #15 0x00007fc045c3c943 in g_main_loop_run (loop=0x555f1de10b30) at ../glib/gmain.c:4373 #16 0x00007fc0495aa330 in WTF::RunLoop::run() () at /app/webkit/WebKitBuild/Release/lib/libjavascriptcoregtk-4.1.so.0 #17 0x00007fc04b61ba4a in WebKit::NetworkProcessMain(int, char**) () at /app/webkit/WebKitBuild/Release/lib/libwebkit2gtk-4.1.so.0 #18 0x00007fc045593b90 in __libc_start_main (main=0x555f1d9508b0 <main>, argc=3, argv=0x7ffc9532bbb8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc9532bba8) at ../csu/libc-start.c:332 #19 0x0000555f1d9508ee in _start () at ../sysdeps/x86_64/start.S:120 Thread 2 (Thread 0x7fc0010fe640 (LWP 549)): #0 0x00007fc045666b5d in __GI___poll (fds=0x555f1de5e030, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007fc045c3c5ce in g_main_context_poll (priority=<optimized out>, n_fds=2, fds=0x555f1de5e030, timeout=<optimized out>, context=0x555f1de5c780) at ../glib/gmain.c:4478 #2 g_main_context_iterate (context=0x555f1de5c780, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4170 #3 0x00007fc045c3c943 in g_main_loop_run (loop=0x555f1de5c870) at ../glib/gmain.c:4373 #4 0x00007fc045eaa3da in gdbus_shared_thread_func (user_data=0x555f1de5c750) at ../gio/gdbusprivate.c:280 #5 0x00007fc045c67351 in g_thread_proxy (data=0x555f1ddf9980) at ../glib/gthread.c:827 #6 0x00007fc045bcb3ba in start_thread (arg=0x7fc0010fe640) at pthread_create.c:481 #7 0x00007fc045671b03 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 1 (Thread 0x7fa7cedff640 (LWP 641)): #0 g_logv (log_domain=0x7fc045c9200e "GLib", log_level=G_LOG_LEVEL_CRITICAL, format=<optimized out>, args=<optimized out>) at ../glib/gmessages.c:1417 #1 0x00007fc045c44073 in g_log (log_domain=log_domain@entry=0x7fc045c9200e "GLib", log_level=log_level@entry=G_LOG_LEVEL_CRITICAL, format=format@entry=0x7fc045cfa150 "Failed to set scheduler settings: %s") at ../glib/gmessages.c:1455 #2 0x00007fc045c9019a in linux_pthread_proxy (data=0x7fa7e00022a0) at ../glib/gthread-posix.c:1263 #3 0x00007fc045bcb3ba in start_thread (arg=0x7fa7cedff640) at pthread_create.c:481 #4 0x00007fc045671b03 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 STDERR: webkitpy.common.system.logutils: [DEBUG] Debug logging enabled. STDERR: flatpakutils: [DEBUG] Using flatpak user dir: /home/martin/work/WebKit/WebKitBuild/UserFlatpak STDERR: flatpakutils: [DEBUG] Building GTK port in /home/martin/work/WebKit/WebKitBuild/GTK/Release STDERR: flatpakutils: [DEBUG] Running flatpak --version STDERR: flatpakutils: [DEBUG] Running flatpak remote-list --help STDERR: flatpakutils: [DEBUG] Executing flatpak remote-list --user --columns=name,title,url STDERR: flatpakutils: [DEBUG] Running flatpak remote-list --user --columns=name,title,url STDERR: flatpakutils: [DEBUG] Running flatpak list --help STDERR: flatpakutils: [DEBUG] Executing flatpak list --user --columns=application,arch,branch,origin -a STDERR: flatpakutils: [DEBUG] Running flatpak list --user --columns=application,arch,branch,origin -a STDERR: flatpakutils: [DEBUG] Running: coredumpctl --
since=@1635872838.403220
dump STDERR: STDERR: flatpakutils: [DEBUG] Running: flatpak run --user --die-with-parent --filesystem=host --allow=devel --talk-name=org.a11y.Bus --talk-name=org.gtk.vfs --talk-name=org.gtk.vfs.* --device=all --device=dri --share=ipc --share=network --socket=pulseaudio --socket=session-bus --socket=system-bus --socket=wayland --socket=x11 --system-talk-name=org.a11y.Bus --system-talk-name=org.freedesktop.GeoClue2 --talk-name=org.freedesktop.Flatpak --talk-name=org.freedesktop.secrets --env=TZ=PST8PDT --env=GTK_MODULES=gail:atk-bridge --
env=WEBKIT_BUGZILLA_USERNAME=mrobinson@webkit.org
--env=WEBKIT_FLATPAK_USER_DIR=/home/martin/work/WebKit/WebKitBuild/UserFlatpak --env=DISPLAY=:0 --env=RUST_SRC_PATH=/home/martin/work/mozilla/rust/src --env=PKG_CONFIG_PATH=/home/martin/work/WebKit/WebKitBuild/GTK/Release --env=PATH=/usr/lib/sdk/llvm12/bin:/usr/bin:/usr/lib/sdk/rust/bin/ --env=NUMBER_OF_PROCESSORS=30 --env=TEST_RUNNER_INJECTED_BUNDLE_FILENAME=/app/webkit/WebKitBuild/Release/lib/libTestRunnerInjectedBundle.so --unset-env=LC_NUMERIC --unset-env=LC_MEASUREMENT --unset-env=LC_PAPER --unset-env=LC_MONETARY --unset-env=LC_IDENTIFICATION --unset-env=LC_ADDRESS --unset-env=LC_TELEPHONE --unset-env=LC_NAME --unset-env=LC_TIME --env=WEBKIT_FLATPAK_LD_PRELOAD=/home/martin/work/WebKit/WebKitBuild/GTK/Release/lib/libsigaction-disabler.so --command=gdb org.webkit.Sdk -ex thread apply all backtrace --batch /app/webkit/WebKitBuild/Release/bin/WebKitNetworkProcess /run/host//tmp/tmpsGH05J STDERR: STDERR: STDERR: warning: Can't open file /tmp/WebKitTestRunners-MDaNvN/ResourceLoadStatistics/2615710192/observations.db-shm during file-backed mapping note processing STDERR: STDERR: warning: core file may not match specified executable file. STDERR: STDERR: warning: the debug information found in "/usr/lib/debug//usr/lib/x86_64-linux-gnu/libicudata.so.69.1.debug" does not match "/usr/lib/x86_64-linux-gnu/libicudata.so.69" (CRC mismatch). STDERR: STDERR: STDERR: warning: the debug information found in "/usr/lib/debug//usr/lib/x86_64-linux-gnu/libicudata.so.69.1.debug" does not match "/usr/lib/x86_64-linux-gnu/libicudata.so.69" (CRC mismatch). STDERR: STDERR: STDERR: warning: the debug information found in "/usr/lib/debug//usr/lib/x86_64-linux-gnu/libdl-2.33.so.debug" does not match "/usr/lib/x86_64-linux-gnu/libdl.so.2" (CRC mismatch). STDERR: STDERR: STDERR: warning: the debug information found in "/usr/lib/debug//usr/lib/x86_64-linux-gnu/libdl-2.33.so.debug" does not match "/usr/lib/x86_64-linux-gnu/libdl.so.2" (CRC mismatch). STDERR: STDERR: STDERR: warning: the debug information found in "/usr/lib/debug//usr/lib/x86_64-linux-gnu/libwayland-egl.so.1.0.0.debug" does not match "/usr/lib/x86_64-linux-gnu/libwayland-egl.so.1" (CRC mismatch). STDERR: STDERR: STDERR: warning: the debug information found in "/usr/lib/debug//usr/lib/x86_64-linux-gnu/libwayland-egl.so.1.0.0.debug" does not match "/usr/lib/x86_64-linux-gnu/libwayland-egl.so.1" (CRC mismatch). STDERR: STDERR: STDERR: warning: the debug information found in "/usr/lib/debug//usr/lib/x86_64-linux-gnu/libX11-xcb.so.1.0.0.debug" does not match "/usr/lib/x86_64-linux-gnu/libX11-xcb.so.1" (CRC mismatch). STDERR: STDERR: STDERR: warning: the debug information found in "/usr/lib/debug//usr/lib/x86_64-linux-gnu/libX11-xcb.so.1.0.0.debug" does not match "/usr/lib/x86_64-linux-gnu/libX11-xcb.so.1" (CRC mismatch). STDERR: STDERR: STDERR: (process:538): GLib-CRITICAL **: 10:07:18.446: Failed to set scheduler settings: Operation not permitted
Attachments
Patch to workaround the issue
(3.00 KB, patch)
2021-11-23 04:06 PST
,
Carlos Garcia Campos
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Philippe Normand
Comment 1
2021-11-02 11:43:47 PDT
That might be related with the RTKit stuff landed recently I think.
Philippe Normand
Comment 2
2021-11-02 11:45:41 PDT
Does this crash happen also after reverting
r284525
?
Carlos Garcia Campos
Comment 3
2021-11-03 01:32:47 PDT
(In reply to Philippe Normand from
comment #1
)
> That might be related with the RTKit stuff landed recently I think.
Why do you think it's related? I don't think there are user interactive threads in the network process
Carlos Garcia Campos
Comment 4
2021-11-03 01:33:08 PDT
Oh, I see STDERR: (process:538): GLib-CRITICAL **: 10:07:18.446: Failed to set scheduler settings: Operation not permitted
Martin Robinson
Comment 5
2021-11-03 01:36:47 PDT
I can confirm that reverting the patch that Philippe mentions fixes this issue.
Carlos Garcia Campos
Comment 6
2021-11-03 01:37:42 PDT
I don't think it's rtkit in any case, because there aren't user interactive threads in the network process and we don't use g_error when it fails. That message comes from GLib and it might be this
https://gitlab.gnome.org/GNOME/tracker/-/issues/180
Lauro Moura
Comment 7
2021-11-04 14:16:44 PDT
FTR, I'm also getting this crash consistently with the following non-WPT test locally: http/tests/media/media-blocked-by-willsendrequest.html In the bots, it timeouts instead.
Carlos Garcia Campos
Comment 8
2021-11-23 04:06:58 PST
Created
attachment 445024
[details]
Patch to workaround the issue
Carlos Garcia Campos
Comment 9
2021-11-23 05:20:37 PST
Committed
r286132
(
244519@main
): <
https://commits.webkit.org/244519@main
>
Radar WebKit Bug Importer
Comment 10
2021-11-23 05:21:22 PST
<
rdar://problem/85700600
>
Carlos Garcia Campos
Comment 11
2021-11-23 05:23:44 PST
Reopening because landed patch is just a workaround.
Michael Catanzaro
Comment 12
2021-11-23 06:16:51 PST
Note that isInsideFlatpak() always returns true in the NetworkProcess when the sandbox is enabled, since it just checks for /.flatpak-info, which gets created by BubblewrapLauncher.cpp even if you're not running inside flatpak.
Michael Catanzaro
Comment 13
2021-11-23 06:17:47 PST
(In reply to Martin Robinson from
comment #0
)
> STDERR: (process:538): GLib-CRITICAL **: 10:07:18.446: Failed to set > scheduler settings: Operation not permitted
Is it caused by selinux?
Carlos Garcia Campos
Comment 14
2021-11-23 06:31:57 PST
(In reply to Michael Catanzaro from
comment #12
)
> Note that isInsideFlatpak() always returns true in the NetworkProcess when > the sandbox is enabled, since it just checks for /.flatpak-info, which gets > created by BubblewrapLauncher.cpp even if you're not running inside flatpak.
But we are not sandboxing the network process
Michael Catanzaro
Comment 15
2021-11-23 06:41:13 PST
Oh yeah, nevermind. :P
Carlos Garcia Campos
Comment 16
2022-12-29 02:11:40 PST
See
https://gitlab.gnome.org/GNOME/glib/-/issues/2769
Carlos Garcia Campos
Comment 17
2022-12-29 02:23:34 PST
Pull request:
https://github.com/WebKit/WebKit/pull/8093
EWS
Comment 18
2023-01-02 06:07:28 PST
Committed
258379@main
(5b9af92f602e): <
https://commits.webkit.org/258379@main
> Reviewed commits have been landed. Closing PR #8093 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug