[Webkit-unassigned] [Bug 257798] [GTK] Slow to create WebKitWebView (30 seconds delay) with sandbox
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jun 23 04:45:05 PDT 2023
https://bugs.webkit.org/show_bug.cgi?id=257798
--- Comment #24 from roded <webkit-bugzilla at rodedb.com> ---
Hi,
Giving it a shot with MiniBrowser, not sure I got this right, please let me know otherwise.
Executed /usr/lib/webkit2gtk-4.1/MiniBrowser --enable-sandbox and while it was loading, started gdb:
sudo DEBUGINFOD_URLS="https://debuginfod.archlinux.org/" gdb --pid=360894
This GDB supports auto-downloading debuginfo from the following URLs:
<https://debuginfod.archlinux.org>
Enable debuginfod for this session? (y or [n]) y
Debuginfod has been enabled.
To make this setting permanent, add 'set debuginfod enabled on' to .gdbinit.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
0x00007f3ed7f13c0f in __GI___poll (fds=0x562f86803200, nfds=3, timeout=13096) at ../sysdeps/unix/sysv/linux/poll.c:29
29 return SYSCALL_CANCEL (poll, fds, nfds, timeout);
(gdb) t a a bt
Thread 12 (Thread 0x7f3e5f7fe6c0 (LWP 370673) "ReceiveQueue"):
#0 0x00007f3ed7f13c0f in __GI___poll (fds=0x7f3e50039970, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1 0x00007f3ede23e17f in () at /usr/lib/libglib-2.0.so.0
#2 0x00007f3ede1e0c7f in g_main_loop_run () at /usr/lib/libglib-2.0.so.0
#3 0x00007f3ed91137d2 in WTF::RunLoop::run() () at /usr/lib/libjavascriptcoregtk-4.1.so.0
#4 0x00007f3ed91152cd in () at /usr/lib/libjavascriptcoregtk-4.1.so.0
#5 0x00007f3ed7e9d44b in start_thread (arg=<optimized out>) at pthread_create.c:444
#6 0x00007f3ed7f20e40 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
Thread 11 (Thread 0x7f3e5ffff6c0 (LWP 370672) "ReceiveQueue"):
#0 0x00007f3ed7f13c0f in __GI___poll (fds=0x7f3e58023510, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1 0x00007f3ede23e17f in () at /usr/lib/libglib-2.0.so.0
#2 0x00007f3ede1e0c7f in g_main_loop_run () at /usr/lib/libglib-2.0.so.0
#3 0x00007f3ed91137d2 in WTF::RunLoop::run() () at /usr/lib/libjavascriptcoregtk-4.1.so.0
#4 0x00007f3ed91152cd in () at /usr/lib/libjavascriptcoregtk-4.1.so.0
#5 0x00007f3ed7e9d44b in start_thread (arg=<optimized out>) at pthread_create.c:444
#6 0x00007f3ed7f20e40 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
Thread 10 (Thread 0x7f3e5effd6c0 (LWP 370657) "pool-MiniBrowse"):
#0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1 0x00007f3ede237d03 in g_cond_wait_until () at /usr/lib/libglib-2.0.so.0
#2 0x00007f3ede1abf83 in () at /usr/lib/libglib-2.0.so.0
#3 0x00007f3ede1ac127 in g_async_queue_timeout_pop () at /usr/lib/libglib-2.0.so.0
#4 0x00007f3ede213846 in () at /usr/lib/libglib-2.0.so.0
#5 0x00007f3ede20e315 in () at /usr/lib/libglib-2.0.so.0
#6 0x00007f3ed7e9d44b in start_thread (arg=<optimized out>) at pthread_create.c:444
#7 0x00007f3ed7f20e40 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
Thread 9 (Thread 0x7f3e6cffb6c0 (LWP 370651) "IconDatabase"):
#0 0x00007f3ed7f13c0f in __GI___poll (fds=0x7f3e64001020, nfds=1, timeout=10000) at ../sysdeps/unix/sysv/linux/poll.c:29
#1 0x00007f3ede23e17f in () at /usr/lib/libglib-2.0.so.0
#2 0x00007f3ede1e0c7f in g_main_loop_run () at /usr/lib/libglib-2.0.so.0
#3 0x00007f3ed91137d2 in WTF::RunLoop::run() () at /usr/lib/libjavascriptcoregtk-4.1.so.0
#4 0x00007f3ed91152cd in () at /usr/lib/libjavascriptcoregtk-4.1.so.0
#5 0x00007f3ed7e9d44b in start_thread (arg=<optimized out>) at pthread_create.c:444
#6 0x00007f3ed7f20e40 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
Thread 8 (Thread 0x7f3e6d7fc6c0 (LWP 370650) "PressureMonitor"):
#0 0x00007f3ed7e99f0e in __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x7f3e6d7faee0, op=393, expected=0, futex_word=0x7f3ec1088160) at futex-internal.c:57
#1 __futex_abstimed_wait_common (futex_word=futex_word at entry=0x7f3ec1088160, expected=expected at entry=0, clockid=clockid at entry=0, abstime=abstime at entry=0x7f3e6d7faee0, private=private at entry=0, cancel=cancel at entry=true) at futex-internal.c:87
--Type <RET> for more, q to quit, c to continue without paging--
#2 0x00007f3ed7e99f8f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word at entry=0x7f3ec1088160, expected=expected at entry=0, clockid=clockid at entry=0, abstime=abstime at entry=0x7f3e6d7faee0, private=private at entry=0) at futex-internal.c:139
#3 0x00007f3ed7e9cab5 in __pthread_cond_wait_common (abstime=0x7f3e6d7faee0, clockid=0, mutex=0x7f3ec1088110, cond=0x7f3ec1088138) at pthread_cond_wait.c:503
#4 ___pthread_cond_timedwait64 (cond=0x7f3ec1088138, mutex=0x7f3ec1088110, abstime=0x7f3e6d7faee0) at pthread_cond_wait.c:643
#5 0x00007f3ed9126f0e in WTF::ThreadCondition::timedWait(WTF::Mutex&, WTF::WallTime) () at /usr/lib/libjavascriptcoregtk-4.1.so.0
#6 0x00007f3ed90ba445 in WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) () at /usr/lib/libjavascriptcoregtk-4.1.so.0
#7 0x00007f3ed90dd34d in WTF::sleep(WTF::Seconds) () at /usr/lib/libjavascriptcoregtk-4.1.so.0
#8 0x00007f3edaee9331 in () at /usr/lib/libwebkit2gtk-4.1.so.0
#9 0x00007f3edaeea653 in () at /usr/lib/libwebkit2gtk-4.1.so.0
#10 0x00007f3ed91152cd in () at /usr/lib/libjavascriptcoregtk-4.1.so.0
#11 0x00007f3ed7e9d44b in start_thread (arg=<optimized out>) at pthread_create.c:444
#12 0x00007f3ed7f20e40 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
Thread 7 (Thread 0x7f3e6dffd6c0 (LWP 370648) "ebsiteDataStore"):
#0 0x00007f3ed7f13c0f in __GI___poll (fds=0x7f3e60001020, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1 0x00007f3ede23e17f in () at /usr/lib/libglib-2.0.so.0
#2 0x00007f3ede1e0c7f in g_main_loop_run () at /usr/lib/libglib-2.0.so.0
#3 0x00007f3ed91137d2 in WTF::RunLoop::run() () at /usr/lib/libjavascriptcoregtk-4.1.so.0
#4 0x00007f3ed91152cd in () at /usr/lib/libjavascriptcoregtk-4.1.so.0
#5 0x00007f3ed7e9d44b in start_thread (arg=<optimized out>) at pthread_create.c:444
#6 0x00007f3ed7f20e40 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
Thread 6 (Thread 0x7f3ec0ffd6c0 (LWP 370647) "HashSaltStorage"):
#0 0x00007f3ed7f13c0f in __GI___poll (fds=0x7f3e68001020, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1 0x00007f3ede23e17f in () at /usr/lib/libglib-2.0.so.0
#2 0x00007f3ede1e0c7f in g_main_loop_run () at /usr/lib/libglib-2.0.so.0
#3 0x00007f3ed91137d2 in WTF::RunLoop::run() () at /usr/lib/libjavascriptcoregtk-4.1.so.0
#4 0x00007f3ed91152cd in () at /usr/lib/libjavascriptcoregtk-4.1.so.0
#5 0x00007f3ed7e9d44b in start_thread (arg=<optimized out>) at pthread_create.c:444
#6 0x00007f3ed7f20e40 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
Thread 5 (Thread 0x7f3ec37fe6c0 (LWP 370646) "MiniBrowser"):
#0 0x00007f3ed7e99f0e in __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x7f3ec37fd2c0, op=393, expected=0, futex_word=0x7f3eb000e990) at futex-internal.c:57
#1 __futex_abstimed_wait_common (futex_word=futex_word at entry=0x7f3eb000e990, expected=expected at entry=0, clockid=clockid at entry=0, abstime=abstime at entry=0x7f3ec37fd2c0, private=private at entry=0, cancel=cancel at entry=true) at futex-internal.c:87
#2 0x00007f3ed7e99f8f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word at entry=0x7f3eb000e990, expected=expected at entry=0, clockid=clockid at entry=0, abstime=abstime at entry=0x7f3ec37fd2c0, private=private at entry=0) at futex-internal.c:139
#3 0x00007f3ed7e9cab5 in __pthread_cond_wait_common (abstime=0x7f3ec37fd2c0, clockid=0, mutex=0x7f3eb000e940, cond=0x7f3eb000e968) at pthread_cond_wait.c:503
#4 ___pthread_cond_timedwait64 (cond=0x7f3eb000e968, mutex=0x7f3eb000e940, abstime=0x7f3ec37fd2c0) at pthread_cond_wait.c:643
#5 0x00007f3ed91788ec in () at /usr/lib/libjavascriptcoregtk-4.1.so.0
#6 0x00007f3ed7e9d44b in start_thread (arg=<optimized out>) at pthread_create.c:444
--Type <RET> for more, q to quit, c to continue without paging--
#7 0x00007f3ed7f20e40 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
Thread 4 (Thread 0x7f3ec3fff6c0 (LWP 370645) "gdbus"):
#0 0x00007f3ed7f13c0f in __GI___poll (fds=0x7f3eb8000b90, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1 0x00007f3ede23e17f in () at /usr/lib/libglib-2.0.so.0
#2 0x00007f3ede1e0c7f in g_main_loop_run () at /usr/lib/libglib-2.0.so.0
#3 0x00007f3ed990ed3c in () at /usr/lib/libgio-2.0.so.0
#4 0x00007f3ede20e315 in () at /usr/lib/libglib-2.0.so.0
#5 0x00007f3ed7e9d44b in start_thread (arg=<optimized out>) at pthread_create.c:444
#6 0x00007f3ed7f20e40 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
Thread 3 (Thread 0x7f3ec8fc16c0 (LWP 370644) "gmain"):
#0 0x00007f3ed7f13c0f in __GI___poll (fds=0x7f3ebc000b90, nfds=5, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1 0x00007f3ede23e17f in () at /usr/lib/libglib-2.0.so.0
#2 0x00007f3ede1e01a2 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3 0x00007f3ede1e01f2 in () at /usr/lib/libglib-2.0.so.0
#4 0x00007f3ede20e315 in () at /usr/lib/libglib-2.0.so.0
#5 0x00007f3ed7e9d44b in start_thread (arg=<optimized out>) at pthread_create.c:444
#6 0x00007f3ed7f20e40 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
Thread 2 (Thread 0x7f3ec97c26c0 (LWP 370643) "pool-spawner"):
#0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1 0x00007f3ede2377b5 in g_cond_wait () at /usr/lib/libglib-2.0.so.0
#2 0x00007f3ede1abfb4 in () at /usr/lib/libglib-2.0.so.0
#3 0x00007f3ede212f9e in () at /usr/lib/libglib-2.0.so.0
#4 0x00007f3ede20e315 in () at /usr/lib/libglib-2.0.so.0
#5 0x00007f3ed7e9d44b in start_thread (arg=<optimized out>) at pthread_create.c:444
#6 0x00007f3ed7f20e40 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
Thread 1 (Thread 0x7f3eca0a1300 (LWP 370642) "MiniBrowser"):
#0 0x00007f3ed7f13c0f in __GI___poll (fds=0x562f86803200, nfds=3, timeout=13096) at ../sysdeps/unix/sysv/linux/poll.c:29
#1 0x00007f3ede23e17f in () at /usr/lib/libglib-2.0.so.0
#2 0x00007f3ede1e01a2 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3 0x00007f3ed98dc3be in g_application_run () at /usr/lib/libgio-2.0.so.0
#4 0x0000562f8461e2ef in ()
#5 0x00007f3ed7e39850 in __libc_start_call_main (main=main at entry=0x562f8461e020, argc=argc at entry=2, argv=argv at entry=0x7ffd56935f48) at ../sysdeps/nptl/libc_start_call_main.h:58
#6 0x00007f3ed7e3990a in __libc_start_main_impl (main=0x562f8461e020, argc=2, argv=0x7ffd56935f48, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffd56935f38) at ../csu/libc-start.c:360
#7 0x0000562f8461e4a5 in ()
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230623/f59cc438/attachment-0001.htm>
More information about the webkit-unassigned
mailing list