Bug 106442

Summary: process /usr/bin/Xwayland consume 100% CPU resources and GUI stop respond
Product: Wayland Reporter: mikhail.v.gavrilov
Component: XWaylandAssignee: Wayland bug list <wayland-bugs>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium CC: adee.edu
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: htop screenshot
Xwayland backtrace
yet another Xwayland backtrace
Unity backtrace
Unity backtrace
gnome-shell backtrace
Xwayland backtrace

Description mikhail.v.gavrilov 2018-05-08 16:41:26 UTC
Created attachment 139427 [details]
htop screenshot

process /usr/bin/Xwayland consume 100% CPU resources and GUI stop respond
Comment 1 mikhail.v.gavrilov 2018-05-08 16:42:38 UTC
Created attachment 139428 [details]
Xwayland backtrace
Comment 2 mikhail.v.gavrilov 2018-05-08 18:31:57 UTC
Created attachment 139430 [details]
yet another Xwayland backtrace
Comment 3 mikhail.v.gavrilov 2018-05-08 18:34:25 UTC
# readlink /proc/1849/fd/29 
socket:[86922]
Comment 4 mikhail.v.gavrilov 2018-05-09 21:16:54 UTC
Found good reproducing case:

1) install Unity Editor from location:
https://beta.unity3d.com/download/170f0691b973/UnitySetup-2018.1.0f2
2) launch Unity Editor
$ Unity-2018.1.0f2/Editor/Unity

After it happens described bug

$ inxi -bM
System:    Host: localhost.localdomain Kernel: 4.17.0-0.rc3.git4.1.fc29.x86_64 x86_64 bits: 64
           Desktop: Gnome 3.29.1 Distro: Fedora release 29 (Rawhide)
Machine:   Device: desktop System: Gigabyte product: Z87M-D3H serial: N/A
           Mobo: Gigabyte model: Z87M-D3H serial: N/A UEFI: American Megatrends v: F11 date: 08/12/2014
Battery    hidpp__0: charge: N/A condition: NA/NA Wh
CPU:       Quad core Intel Core i7-4770 (-MT-MCP-) speed/max: 2016/3900 MHz
Graphics:  Card: Advanced Micro Devices [AMD/ATI] Vega 10 XT [Radeon RX Vega 64]
           Display Server: wayland (X.org 119999.5 ) drivers: modesetting,ati (unloaded: fbdev,vesa)
           Resolution: 3840x2160@59.98hz
           OpenGL: renderer: Radeon RX Vega (VEGA10, DRM 3.25.0, 4.17.0-0.rc3.git4.1.fc29.x86_64, LLVM 6.0.0)
           version: 4.5 Mesa 18.1.0-rc3
Network:   Card: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller driver: r8169
Drives:    HDD Total Size: 16241.0GB (19.5% used)
Info:      Processes: 391 Uptime: 2:12 Memory: 10490.8/32037.0MB Client: Shell (bash) inxi: 2.3.56
Comment 5 Daniel Stone 2018-05-10 08:51:30 UTC
This sounds like a Unity or Mesa issue; X is trying to write to the client's socket, but it is blocked on write, which means the client is not responsive.

It would be good to get a backtrace from the Unity process.
Comment 6 mikhail.v.gavrilov 2018-05-10 15:52:41 UTC
Created attachment 139468 [details]
Unity backtrace
Comment 7 mikhail.v.gavrilov 2018-05-10 16:01:57 UTC
Comment on attachment 139468 [details]
Unity backtrace

>[Thread debugging using libthread_db enabled]
>Using host libthread_db library "/lib64/libthread_db.so.1".
>Missing separate debuginfo for /usr/lib64/gtk-2.0/modules/libcanberra-gtk-module.so
>Try: dnf --enablerepo='*debug*' install /usr/lib/debug/.build-id/2b/d3f7d60ec3798e9c81fae9c48e639bc2398e22.debug
>Missing separate debuginfo for /lib64/libcanberra-gtk.so.0
>Try: dnf --enablerepo='*debug*' install /usr/lib/debug/.build-id/6e/5fb9aad8fa1bdeeb01e9319e1b130953860cc4.debug
>Missing separate debuginfo for /lib64/libGLX_mesa.so.0
>Try: dnf --enablerepo='*debug*' install /usr/lib/debug/.build-id/aa/293bf073b7205ae43b6c1ecc0a7ae8a5bafbd4.debug
>Missing separate debuginfo for /lib64/libnssckbi.so
>Try: dnf --enablerepo='*debug*' install /usr/lib/debug/.build-id/9e/f9ffee6b70ddcb09b99775bf43c42f2e1c070e.debug
>0x00007f252c466469 in __GI___poll (fds=fds@entry=0x7ffc515cd848, nfds=nfds@entry=1, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
>29	  return SYSCALL_CANCEL (poll, fds, nfds, timeout);
>(gdb) thread apply all bt
>
>Thread 36 (Thread 0x7f24ea617700 (LWP 12584)):
>#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x7f24ea6169c8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
>#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x7f24ea616978, cond=0x7f24ea6169a0) at pthread_cond_wait.c:502
>#2  __pthread_cond_wait (cond=0x7f24ea6169a0, mutex=0x7f24ea616978) at pthread_cond_wait.c:655
>#3  0x00007f252ecd92f3 in base::WaitableEvent::TimedWait(base::TimeDelta const&) () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#4  0x00007f252ecd93a4 in base::WaitableEvent::Wait() () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#5  0x00007f252ecb993d in base::MessagePumpDefault::Run(base::MessagePump::Delegate*) () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#6  0x00007f252eccd7ad in base::RunLoop::Run() () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#7  0x00007f252ecb4635 in base::MessageLoop::Run() () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#8  0x00007f252ece0127 in base::Thread::ThreadMain() () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#9  0x00007f252ecdc26c in base::(anonymous namespace)::ThreadFunc(void*) () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#10 0x00007f253303b5f4 in start_thread (arg=<optimized out>) at pthread_create.c:463
>#11 0x00007f252c470f2f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
>
>Thread 35 (Thread 0x7f24eae18700 (LWP 12581)):
>#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x7f24eae17598) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
>#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x7f24eae175a8, cond=0x7f24eae17570) at pthread_cond_wait.c:502
>#2  __pthread_cond_wait (cond=0x7f24eae17570, mutex=0x7f24eae175a8) at pthread_cond_wait.c:655
>#3  0x00007f252fbbd0f8 in mojo::system::Waiter::Wait(unsigned long, unsigned int*) () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#4  0x00007f252fbb1a98 in mojo::system::Core::WaitManyInternal(unsigned int const*, unsigned int const*, unsigned int, unsigned long) () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#5  0x00007f252fbac612 in mojo::common::MessagePumpMojo::DoInternalWork(mojo::common::MessagePumpMojo::RunState const&, bool) () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#6  0x00007f252fbacb9e in mojo::common::MessagePumpMojo::DoRunLoop(mojo::common::MessagePumpMojo::RunState*, base::MessagePump::Delegate*) () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#7  0x00007f252fbacc92 in mojo::common::MessagePumpMojo::Run(base::MessagePump::Delegate*) () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#8  0x00007f252eccd7ad in base::RunLoop::Run() () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#9  0x00007f252ecb4635 in base::MessageLoop::Run() () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#10 0x00007f252ece0127 in base::Thread::ThreadMain() () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#11 0x00007f252ecdc26c in base::(anonymous namespace)::ThreadFunc(void*) () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#12 0x00007f253303b5f4 in start_thread (arg=<optimized out>) at pthread_create.c:463
>#13 0x00007f252c470f2f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
>
>Thread 34 (Thread 0x7f24ebc43700 (LWP 12574)):
>#0  0x00007f252c466469 in __GI___poll (fds=0x119f01036100, nfds=3, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
>#1  0x00007f2534487b06 in g_main_context_poll (priority=<optimized out>, n_fds=3, fds=0x119f01036100, timeout=<optimized out>, context=0x119f00eec9a0) at gmain.c:4204
>#2  g_main_context_iterate (context=0x119f00eec9a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3898
>#3  0x00007f2534487ec2 in g_main_loop_run (loop=0x119f01001cd0) at gmain.c:4099
>#4  0x00007f2534ea76ba in gdbus_shared_thread_func (user_data=0x119f00ffdcc0) at gdbusprivate.c:275
>#5  0x00007f25344afcea in g_thread_proxy (data=0x119f00eb64a0) at gthread.c:784
>#6  0x00007f253303b5f4 in start_thread (arg=<optimized out>) at pthread_create.c:463
>#7  0x00007f252c470f2f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
>
>Thread 33 (Thread 0x7f24ec9a8700 (LWP 12573)):
>#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x119f00e5a458) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
>#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x119f00e5a408, cond=0x119f00e5a430) at pthread_cond_wait.c:502
>#2  __pthread_cond_wait (cond=0x119f00e5a430, mutex=0x119f00e5a408) at pthread_cond_wait.c:655
>#3  0x00007f252ecdef3d in base::SequencedWorkerPool::Inner::ThreadLoop(base::SequencedWorkerPool::Worker*) () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#4  0x00007f252ecdf5dd in base::SequencedWorkerPool::Worker::Run() () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#5  0x00007f252ecdfe51 in base::SimpleThread::ThreadMain() () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#6  0x00007f252ecdc26c in base::(anonymous namespace)::ThreadFunc(void*) () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#7  0x00007f253303b5f4 in start_thread (arg=<optimized out>) at pthread_create.c:463
>#8  0x00007f252c470f2f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
>---Type <return> to continue, or q <return> to quit---
>
>Thread 32 (Thread 0x7f24ed1a9700 (LWP 12572)):
>#0  0x00007f252c466469 in __GI___poll (fds=0x119f00fda5b0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
>#1  0x00007f2534487b06 in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x119f00fda5b0, timeout=<optimized out>, context=0x119f00eecbb0) at gmain.c:4204
>#2  g_main_context_iterate (context=context@entry=0x119f00eecbb0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3898
>#3  0x00007f2534487c30 in g_main_context_iteration (context=0x119f00eecbb0, may_block=may_block@entry=1) at gmain.c:3964
>#4  0x00007f2534487c81 in glib_worker_main (data=<optimized out>) at gmain.c:5773
>#5  0x00007f25344afcea in g_thread_proxy (data=0x119f00eb6400) at gthread.c:784
>#6  0x00007f253303b5f4 in start_thread (arg=<optimized out>) at pthread_create.c:463
>#7  0x00007f252c470f2f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
>
>Thread 31 (Thread 0x7f24ed9aa700 (LWP 12571)):
>#0  0x00007f252c466469 in __GI___poll (fds=0x119f00fdac00, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
>#1  0x00007f2534487b06 in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x119f00fdac00, timeout=<optimized out>, context=0x119f00ec5dc0) at gmain.c:4204
>#2  g_main_context_iterate (context=context@entry=0x119f00ec5dc0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3898
>#3  0x00007f2534487c30 in g_main_context_iteration (context=context@entry=0x119f00ec5dc0, may_block=may_block@entry=1) at gmain.c:3964
>#4  0x00007f24ed9b2e4d in dconf_gdbus_worker_thread (user_data=0x119f00ec5dc0) at ../gdbus/dconf-gdbus-thread.c:82
>#5  0x00007f25344afcea in g_thread_proxy (data=0x119f00b17b70) at gthread.c:784
>#6  0x00007f253303b5f4 in start_thread (arg=<optimized out>) at pthread_create.c:463
>#7  0x00007f252c470f2f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
>
>Thread 30 (Thread 0x7f24ee3e7700 (LWP 12569)):
>#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x7f24ee3e69c8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
>#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x7f24ee3e6978, cond=0x7f24ee3e69a0) at pthread_cond_wait.c:502
>#2  __pthread_cond_wait (cond=0x7f24ee3e69a0, mutex=0x7f24ee3e6978) at pthread_cond_wait.c:655
>#3  0x00007f252ecd92f3 in base::WaitableEvent::TimedWait(base::TimeDelta const&) () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#4  0x00007f252ecd93a4 in base::WaitableEvent::Wait() () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#5  0x00007f252ecb993d in base::MessagePumpDefault::Run(base::MessagePump::Delegate*) () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#6  0x00007f252eccd7ad in base::RunLoop::Run() () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#7  0x00007f252ecb4635 in base::MessageLoop::Run() () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#8  0x00007f252ece0127 in base::Thread::ThreadMain() () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#9  0x00007f252ecdc26c in base::(anonymous namespace)::ThreadFunc(void*) () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#10 0x00007f253303b5f4 in start_thread (arg=<optimized out>) at pthread_create.c:463
>#11 0x00007f252c470f2f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
>
>Thread 29 (Thread 0x7f24eebe8700 (LWP 12568)):
>#0  0x00007f252c47124f in epoll_wait (epfd=52, events=0x119f00f97300, maxevents=32, timeout=213324) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
>#1  0x00007f252ecf12fc in epoll_dispatch () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#2  0x00007f252ecef4e7 in event_base_loop () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#3  0x00007f252ec78365 in base::MessagePumpLibevent::Run(base::MessagePump::Delegate*) () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#4  0x00007f252eccd7ad in base::RunLoop::Run() () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#5  0x00007f252ecb4635 in base::MessageLoop::Run() () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#6  0x00007f252f4f9f25 in content::BrowserThreadImpl::IOThreadRun(base::MessageLoop*) () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#7  0x00007f252f4fa03b in content::BrowserThreadImpl::Run(base::MessageLoop*) () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#8  0x00007f252ece0127 in base::Thread::ThreadMain() () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#9  0x00007f252ecdc26c in base::(anonymous namespace)::ThreadFunc(void*) () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#10 0x00007f253303b5f4 in start_thread (arg=<optimized out>) at pthread_create.c:463
>#11 0x00007f252c470f2f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
>
>Thread 28 (Thread 0x7f24ef3e9700 (LWP 12567)):
>#0  0x00007f252c47124f in epoll_wait (epfd=47, events=0x119f00f97780, maxevents=32, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
>---Type <return> to continue, or q <return> to quit---
>#1  0x00007f252ecf12fc in epoll_dispatch () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#2  0x00007f252ecef4e7 in event_base_loop () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#3  0x00007f252ec782c1 in base::MessagePumpLibevent::Run(base::MessagePump::Delegate*) () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#4  0x00007f252eccd7ad in base::RunLoop::Run() () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#5  0x00007f252ecb4635 in base::MessageLoop::Run() () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#6  0x00007f252f4f9ea5 in content::BrowserThreadImpl::CacheThreadRun(base::MessageLoop*) () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#7  0x00007f252f4fa09b in content::BrowserThreadImpl::Run(base::MessageLoop*) () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#8  0x00007f252ece0127 in base::Thread::ThreadMain() () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#9  0x00007f252ecdc26c in base::(anonymous namespace)::ThreadFunc(void*) () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#10 0x00007f253303b5f4 in start_thread (arg=<optimized out>) at pthread_create.c:463
>#11 0x00007f252c470f2f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
>
>Thread 27 (Thread 0x7f24efbea700 (LWP 12566)):
>#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x7f24efbe9678) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
>#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x7f24efbe9628, cond=0x7f24efbe9650) at pthread_cond_wait.c:502
>#2  __pthread_cond_wait (cond=0x7f24efbe9650, mutex=0x7f24efbe9628) at pthread_cond_wait.c:655
>#3  0x00007f252ecd92f3 in base::WaitableEvent::TimedWait(base::TimeDelta const&) () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#4  0x00007f252ecd93a4 in base::WaitableEvent::Wait() () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#5  0x00007f252ecb993d in base::MessagePumpDefault::Run(base::MessagePump::Delegate*) () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#6  0x00007f252eccd7ad in base::RunLoop::Run() () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#7  0x00007f252ecb4635 in base::MessageLoop::Run() () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#8  0x00007f252f4f9e25 in content::BrowserThreadImpl::ProcessLauncherThreadRun(base::MessageLoop*) () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#9  0x00007f252f4fa08b in content::BrowserThreadImpl::Run(base::MessageLoop*) () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#10 0x00007f252ece0127 in base::Thread::ThreadMain() () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#11 0x00007f252ecdc26c in base::(anonymous namespace)::ThreadFunc(void*) () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#12 0x00007f253303b5f4 in start_thread (arg=<optimized out>) at pthread_create.c:463
>#13 0x00007f252c470f2f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
>
>Thread 26 (Thread 0x7f24f03eb700 (LWP 12565)):
>#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x7f24f03ea678) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
>#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x7f24f03ea628, cond=0x7f24f03ea650) at pthread_cond_wait.c:502
>#2  __pthread_cond_wait (cond=0x7f24f03ea650, mutex=0x7f24f03ea628) at pthread_cond_wait.c:655
>#3  0x00007f252ecd92f3 in base::WaitableEvent::TimedWait(base::TimeDelta const&) () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#4  0x00007f252ecd93a4 in base::WaitableEvent::Wait() () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#5  0x00007f252ecb993d in base::MessagePumpDefault::Run(base::MessagePump::Delegate*) () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#6  0x00007f252eccd7ad in base::RunLoop::Run() () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#7  0x00007f252ecb4635 in base::MessageLoop::Run() () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#8  0x00007f252f4f9da5 in content::BrowserThreadImpl::FileUserBlockingThreadRun(base::MessageLoop*) () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#9  0x00007f252f4fa07b in content::BrowserThreadImpl::Run(base::MessageLoop*) () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#10 0x00007f252ece0127 in base::Thread::ThreadMain() () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#11 0x00007f252ecdc26c in base::(anonymous namespace)::ThreadFunc(void*) () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#12 0x00007f253303b5f4 in start_thread (arg=<optimized out>) at pthread_create.c:463
>#13 0x00007f252c470f2f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
>
>Thread 25 (Thread 0x7f24f0bec700 (LWP 12564)):
>#0  0x00007f252c47124f in epoll_wait (epfd=42, events=0x119f00ecd000, maxevents=32, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
>#1  0x00007f252ecf12fc in epoll_dispatch () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#2  0x00007f252ecef4e7 in event_base_loop () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#3  0x00007f252ec782c1 in base::MessagePumpLibevent::Run(base::MessagePump::Delegate*) () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#4  0x00007f252eccd7ad in base::RunLoop::Run() () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#5  0x00007f252ecb4635 in base::MessageLoop::Run() () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>---Type <return> to continue, or q <return> to quit---
>#6  0x00007f252f4f9d25 in content::BrowserThreadImpl::FileThreadRun(base::MessageLoop*) () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#7  0x00007f252f4fa06b in content::BrowserThreadImpl::Run(base::MessageLoop*) () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#8  0x00007f252ece0127 in base::Thread::ThreadMain() () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#9  0x00007f252ecdc26c in base::(anonymous namespace)::ThreadFunc(void*) () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#10 0x00007f253303b5f4 in start_thread (arg=<optimized out>) at pthread_create.c:463
>#11 0x00007f252c470f2f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
>
>Thread 24 (Thread 0x7f24f13ed700 (LWP 12563)):
>#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x7f24f13ec678) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
>#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x7f24f13ec628, cond=0x7f24f13ec650) at pthread_cond_wait.c:502
>#2  __pthread_cond_wait (cond=0x7f24f13ec650, mutex=0x7f24f13ec628) at pthread_cond_wait.c:655
>#3  0x00007f252ecd92f3 in base::WaitableEvent::TimedWait(base::TimeDelta const&) () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#4  0x00007f252ecd93a4 in base::WaitableEvent::Wait() () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#5  0x00007f252ecb993d in base::MessagePumpDefault::Run(base::MessagePump::Delegate*) () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#6  0x00007f252eccd7ad in base::RunLoop::Run() () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#7  0x00007f252ecb4635 in base::MessageLoop::Run() () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#8  0x00007f252f4f9ca5 in content::BrowserThreadImpl::DBThreadRun(base::MessageLoop*) () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#9  0x00007f252f4fa05b in content::BrowserThreadImpl::Run(base::MessageLoop*) () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#10 0x00007f252ece0127 in base::Thread::ThreadMain() () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#11 0x00007f252ecdc26c in base::(anonymous namespace)::ThreadFunc(void*) () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#12 0x00007f253303b5f4 in start_thread (arg=<optimized out>) at pthread_create.c:463
>#13 0x00007f252c470f2f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
>
>Thread 23 (Thread 0x7f24f13fe700 (LWP 12562)):
>#0  futex_abstimed_wait_cancelable (private=0, abstime=0x0, expected=0, futex_word=0x119f00ec5ca8) at ../sysdeps/unix/sysv/linux/futex-internal.h:205
>#1  do_futex_wait (sem=sem@entry=0x119f00ec5ca8, abstime=0x0) at sem_waitcommon.c:111
>#2  0x00007f2533043f38 in __new_sem_wait_slow (sem=0x119f00ec5ca8, abstime=0x0) at sem_waitcommon.c:181
>#3  0x00007f252ffbb870 in v8::internal::Semaphore::Wait() () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#4  0x00007f25300387e8 in v8::internal::SweeperThread::Run() () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#5  0x00007f25300c775f in v8::internal::ThreadEntry(void*) () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#6  0x00007f253303b5f4 in start_thread (arg=<optimized out>) at pthread_create.c:463
>#7  0x00007f252c470f2f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
>
>Thread 22 (Thread 0x7f24f140f700 (LWP 12561)):
>#0  futex_abstimed_wait_cancelable (private=0, abstime=0x0, expected=0, futex_word=0x119f00ec5bf8) at ../sysdeps/unix/sysv/linux/futex-internal.h:205
>#1  do_futex_wait (sem=sem@entry=0x119f00ec5bf8, abstime=0x0) at sem_waitcommon.c:111
>#2  0x00007f2533043f38 in __new_sem_wait_slow (sem=0x119f00ec5bf8, abstime=0x0) at sem_waitcommon.c:181
>#3  0x00007f252ffbb870 in v8::internal::Semaphore::Wait() () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#4  0x00007f25300387e8 in v8::internal::SweeperThread::Run() () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#5  0x00007f25300c775f in v8::internal::ThreadEntry(void*) () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#6  0x00007f253303b5f4 in start_thread (arg=<optimized out>) at pthread_create.c:463
>#7  0x00007f252c470f2f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
>
>Thread 21 (Thread 0x7f25038af700 (LWP 12560)):
>#0  futex_abstimed_wait_cancelable (private=0, abstime=0x0, expected=0, futex_word=0x119f00ec5b48) at ../sysdeps/unix/sysv/linux/futex-internal.h:205
>#1  do_futex_wait (sem=sem@entry=0x119f00ec5b48, abstime=0x0) at sem_waitcommon.c:111
>#2  0x00007f2533043f38 in __new_sem_wait_slow (sem=0x119f00ec5b48, abstime=0x0) at sem_waitcommon.c:181
>#3  0x00007f252ffbb870 in v8::internal::Semaphore::Wait() () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#4  0x00007f25300387e8 in v8::internal::SweeperThread::Run() () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#5  0x00007f25300c775f in v8::internal::ThreadEntry(void*) () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#6  0x00007f253303b5f4 in start_thread (arg=<optimized out>) at pthread_create.c:463
>---Type <return> to continue, or q <return> to quit---
>#7  0x00007f252c470f2f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
>
>Thread 20 (Thread 0x7f24f1c10700 (LWP 12559)):
>#0  futex_abstimed_wait_cancelable (private=0, abstime=0x0, expected=0, futex_word=0x119f00eafdd8) at ../sysdeps/unix/sysv/linux/futex-internal.h:205
>#1  do_futex_wait (sem=sem@entry=0x119f00eafdd8, abstime=0x0) at sem_waitcommon.c:111
>#2  0x00007f2533043f38 in __new_sem_wait_slow (sem=0x119f00eafdd8, abstime=0x0) at sem_waitcommon.c:181
>#3  0x00007f252ffbb870 in v8::internal::Semaphore::Wait() () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#4  0x00007f252ffa1bec in v8::internal::OptimizingCompilerThread::Run() () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#5  0x00007f25300c775f in v8::internal::ThreadEntry(void*) () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#6  0x00007f253303b5f4 in start_thread (arg=<optimized out>) at pthread_create.c:463
>#7  0x00007f252c470f2f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
>
>Thread 19 (Thread 0x7f2502411700 (LWP 12558)):
>#0  0x00007f252c466469 in __GI___poll (fds=fds@entry=0x119f00f16f60, nfds=nfds@entry=3, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
>#1  0x00007f2503675e35 in poll (__timeout=-1, __nfds=3, __fds=0x119f00f16f60) at /usr/include/bits/poll2.h:46
>#2  poll_func (ufds=0x119f00f16f60, nfds=3, timeout=-1, userdata=0x119f00eb0cf0) at pulse/thread-mainloop.c:69
>#3  0x00007f2503667418 in pa_mainloop_poll (m=m@entry=0x119f00e11c00) at pulse/mainloop.c:824
>#4  0x00007f2503667a62 in pa_mainloop_iterate (m=0x119f00e11c00, block=<optimized out>, retval=0x0) at pulse/mainloop.c:926
>#5  0x00007f2503667b10 in pa_mainloop_run (m=0x119f00e11c00, retval=retval@entry=0x0) at pulse/mainloop.c:945
>#6  0x00007f2503675d7d in thread (userdata=0x119f00ea0900) at pulse/thread-mainloop.c:100
>#7  0x00007f25034149bc in internal_thread_func (userdata=0x119f00eb0d80) at pulsecore/thread-posix.c:81
>#8  0x00007f253303b5f4 in start_thread (arg=<optimized out>) at pthread_create.c:463
>#9  0x00007f252c470f2f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
>
>Thread 18 (Thread 0x7f25040b7700 (LWP 12557)):
>#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x7f25040b69c8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
>#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x7f25040b6978, cond=0x7f25040b69a0) at pthread_cond_wait.c:502
>#2  __pthread_cond_wait (cond=0x7f25040b69a0, mutex=0x7f25040b6978) at pthread_cond_wait.c:655
>#3  0x00007f252ecd92f3 in base::WaitableEvent::TimedWait(base::TimeDelta const&) () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#4  0x00007f252ecd93a4 in base::WaitableEvent::Wait() () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#5  0x00007f252ecb993d in base::MessagePumpDefault::Run(base::MessagePump::Delegate*) () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#6  0x00007f252eccd7ad in base::RunLoop::Run() () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#7  0x00007f252ecb4635 in base::MessageLoop::Run() () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#8  0x00007f252ece0127 in base::Thread::ThreadMain() () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#9  0x00007f252ecdc26c in base::(anonymous namespace)::ThreadFunc(void*) () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#10 0x00007f253303b5f4 in start_thread (arg=<optimized out>) at pthread_create.c:463
>#11 0x00007f252c470f2f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
>
>Thread 17 (Thread 0x7f25040d8700 (LWP 12556)):
>#0  futex_reltimed_wait_cancelable (private=0, reltime=0x7f25040d7830, expected=0, futex_word=0x119f00ef2f4c) at ../sysdeps/unix/sysv/linux/futex-internal.h:142
>#1  __pthread_cond_wait_common (abstime=0x7f25040d78d0, mutex=0x119f00ef2ef8, cond=0x119f00ef2f20) at pthread_cond_wait.c:533
>#2  __pthread_cond_timedwait (cond=0x119f00ef2f20, mutex=0x119f00ef2ef8, abstime=0x7f25040d78d0) at pthread_cond_wait.c:667
>#3  0x00007f252ecd8be2 in base::ConditionVariable::TimedWait(base::TimeDelta const&) () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#4  0x00007f252ece2d63 in base::PosixDynamicThreadPool::WaitForTask() () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#5  0x00007f252ece2f7b in base::(anonymous namespace)::WorkerThread::ThreadMain() () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#6  0x00007f252ecdc26c in base::(anonymous namespace)::ThreadFunc(void*) () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#7  0x00007f253303b5f4 in start_thread (arg=<optimized out>) at pthread_create.c:463
>#8  0x00007f252c470f2f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
>
>Thread 16 (Thread 0x7f25040f9700 (LWP 12555)):
>#0  futex_reltimed_wait_cancelable (private=0, reltime=0x7f25040f8830, expected=0, futex_word=0x119f00ef2f48) at ../sysdeps/unix/sysv/linux/futex-internal.h:142
>---Type <return> to continue, or q <return> to quit---
>#1  __pthread_cond_wait_common (abstime=0x7f25040f88d0, mutex=0x119f00ef2ef8, cond=0x119f00ef2f20) at pthread_cond_wait.c:533
>#2  __pthread_cond_timedwait (cond=0x119f00ef2f20, mutex=0x119f00ef2ef8, abstime=0x7f25040f88d0) at pthread_cond_wait.c:667
>#3  0x00007f252ecd8be2 in base::ConditionVariable::TimedWait(base::TimeDelta const&) () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#4  0x00007f252ece2d63 in base::PosixDynamicThreadPool::WaitForTask() () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#5  0x00007f252ece2f7b in base::(anonymous namespace)::WorkerThread::ThreadMain() () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#6  0x00007f252ecdc26c in base::(anonymous namespace)::ThreadFunc(void*) () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#7  0x00007f253303b5f4 in start_thread (arg=<optimized out>) at pthread_create.c:463
>#8  0x00007f252c470f2f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
>
>Thread 15 (Thread 0x7f25048fa700 (LWP 12554)):
>#0  0x00007f252c468887 in __GI___select (nfds=35, readfds=0x7f25048f95c0, writefds=0x0, exceptfds=0x0, timeout=0x0) at ../sysdeps/unix/sysv/linux/select.c:41
>#1  0x00007f252eca3715 in base::(anonymous namespace)::InotifyReaderCallback(base::(anonymous namespace)::InotifyReader*, int, int) () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#2  0x00007f252ecb5215 in base::MessageLoop::RunTask(base::PendingTask const&) () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#3  0x00007f252ecb5cd1 in base::MessageLoop::DeferOrRunPendingTask(base::PendingTask const&) () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#4  0x00007f252ecb9545 in base::MessageLoop::DoWork() () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#5  0x00007f252ecb98f9 in base::MessagePumpDefault::Run(base::MessagePump::Delegate*) () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#6  0x00007f252eccd7ad in base::RunLoop::Run() () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#7  0x00007f252ecb4635 in base::MessageLoop::Run() () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#8  0x00007f252ece0127 in base::Thread::ThreadMain() () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#9  0x00007f252ecdc26c in base::(anonymous namespace)::ThreadFunc(void*) () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#10 0x00007f253303b5f4 in start_thread (arg=<optimized out>) at pthread_create.c:463
>#11 0x00007f252c470f2f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
>
>Thread 14 (Thread 0x7f25050fb700 (LWP 12553)):
>#0  0x00007f252c47124f in epoll_wait (epfd=27, events=0x119f00ecda80, maxevents=32, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
>#1  0x00007f252ecf12fc in epoll_dispatch () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#2  0x00007f252ecef4e7 in event_base_loop () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#3  0x00007f252ec782c1 in base::MessagePumpLibevent::Run(base::MessagePump::Delegate*) () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#4  0x00007f252eccd7ad in base::RunLoop::Run() () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#5  0x00007f252ecb4635 in base::MessageLoop::Run() () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#6  0x00007f252ece0127 in base::Thread::ThreadMain() () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#7  0x00007f252ecdc26c in base::(anonymous namespace)::ThreadFunc(void*) () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#8  0x00007f253303b5f4 in start_thread (arg=<optimized out>) at pthread_create.c:463
>#9  0x00007f252c470f2f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
>
>Thread 13 (Thread 0x7f25058fc700 (LWP 12551)):
>#0  0x00007f252c466469 in __GI___poll (fds=0x7f25058fb8e0, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
>#1  0x00007f252f6d454a in content::SandboxIPCHandler::Run() () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#2  0x00007f252ecdfd4e in base::DelegateSimpleThread::Run() () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#3  0x00007f252ecdfe51 in base::SimpleThread::ThreadMain() () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#4  0x00007f252ecdc26c in base::(anonymous namespace)::ThreadFunc(void*) () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#5  0x00007f253303b5f4 in start_thread (arg=<optimized out>) at pthread_create.c:463
>#6  0x00007f252c470f2f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
>
>Thread 12 (Thread 0x7f2506bfd700 (LWP 12536)):
>#0  0x00007f25330453b0 in __GI___nanosleep (requested_time=0x7f2506bfc820, remaining=0x0) at ../sysdeps/unix/sysv/linux/nanosleep.c:28
>#1  0x0000000000cd81c3 in ThreadHelper::SleepInSeconds ()
>#2  0x0000000001257017 in CurlRequest::MessageThread ()
>#3  0x00000000012570f9 in CurlRequest::_ThreadEntryPoint ()
>#4  0x0000000000cd7cd9 in Thread::RunThreadWrapper ()
>#5  0x00007f253303b5f4 in start_thread (arg=<optimized out>) at pthread_create.c:463
>---Type <return> to continue, or q <return> to quit---
>#6  0x00007f252c470f2f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
>
>Thread 11 (Thread 0x7f25073fe700 (LWP 12534)):
>#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x119f00ab6478) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
>#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x119f00ab6428, cond=0x119f00ab6450) at pthread_cond_wait.c:502
>#2  __pthread_cond_wait (cond=cond@entry=0x119f00ab6450, mutex=mutex@entry=0x119f00ab6428) at pthread_cond_wait.c:655
>#3  0x00007f250f9faf83 in cnd_wait (mtx=0x119f00ab6428, cond=0x119f00ab6450) at ../../include/c11/threads_posix.h:155
>#4  util_queue_thread_func (input=input@entry=0x119f00ab01a0) at u_queue.c:255
>#5  0x00007f250f9fac9b in impl_thrd_routine (p=<optimized out>) at ../../include/c11/threads_posix.h:87
>#6  0x00007f253303b5f4 in start_thread (arg=<optimized out>) at pthread_create.c:463
>#7  0x00007f252c470f2f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
>
>Thread 10 (Thread 0x7f2507c5f700 (LWP 12533)):
>#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x119f00d54f18) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
>#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x119f00d54ec8, cond=0x119f00d54ef0) at pthread_cond_wait.c:502
>#2  __pthread_cond_wait (cond=cond@entry=0x119f00d54ef0, mutex=mutex@entry=0x119f00d54ec8) at pthread_cond_wait.c:655
>#3  0x00007f250f9faf83 in cnd_wait (mtx=0x119f00d54ec8, cond=0x119f00d54ef0) at ../../include/c11/threads_posix.h:155
>#4  util_queue_thread_func (input=input@entry=0x119f00ab0180) at u_queue.c:255
>#5  0x00007f250f9fac9b in impl_thrd_routine (p=<optimized out>) at ../../include/c11/threads_posix.h:87
>#6  0x00007f253303b5f4 in start_thread (arg=<optimized out>) at pthread_create.c:463
>#7  0x00007f252c470f2f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
>
>Thread 9 (Thread 0x7f2508460700 (LWP 12532)):
>#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x119f00d54f18) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
>#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x119f00d54ec8, cond=0x119f00d54ef0) at pthread_cond_wait.c:502
>#2  __pthread_cond_wait (cond=cond@entry=0x119f00d54ef0, mutex=mutex@entry=0x119f00d54ec8) at pthread_cond_wait.c:655
>#3  0x00007f250f9faf83 in cnd_wait (mtx=0x119f00d54ec8, cond=0x119f00d54ef0) at ../../include/c11/threads_posix.h:155
>#4  util_queue_thread_func (input=input@entry=0x119f00ab0160) at u_queue.c:255
>#5  0x00007f250f9fac9b in impl_thrd_routine (p=<optimized out>) at ../../include/c11/threads_posix.h:87
>#6  0x00007f253303b5f4 in start_thread (arg=<optimized out>) at pthread_create.c:463
>#7  0x00007f252c470f2f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
>
>Thread 8 (Thread 0x7f2508c61700 (LWP 12531)):
>#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x119f00d54e08) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
>#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x119f00d54db8, cond=0x119f00d54de0) at pthread_cond_wait.c:502
>#2  __pthread_cond_wait (cond=cond@entry=0x119f00d54de0, mutex=mutex@entry=0x119f00d54db8) at pthread_cond_wait.c:655
>#3  0x00007f250f9faf83 in cnd_wait (mtx=0x119f00d54db8, cond=0x119f00d54de0) at ../../include/c11/threads_posix.h:155
>#4  util_queue_thread_func (input=input@entry=0x119f00ab0130) at u_queue.c:255
>#5  0x00007f250f9fac9b in impl_thrd_routine (p=<optimized out>) at ../../include/c11/threads_posix.h:87
>#6  0x00007f253303b5f4 in start_thread (arg=<optimized out>) at pthread_create.c:463
>#7  0x00007f252c470f2f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
>
>Thread 7 (Thread 0x7f2509462700 (LWP 12530)):
>#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x119f00d54e08) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
>#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x119f00d54db8, cond=0x119f00d54de0) at pthread_cond_wait.c:502
>#2  __pthread_cond_wait (cond=cond@entry=0x119f00d54de0, mutex=mutex@entry=0x119f00d54db8) at pthread_cond_wait.c:655
>#3  0x00007f250f9faf83 in cnd_wait (mtx=0x119f00d54db8, cond=0x119f00d54de0) at ../../include/c11/threads_posix.h:155
>#4  util_queue_thread_func (input=input@entry=0x119f00ab0110) at u_queue.c:255
>#5  0x00007f250f9fac9b in impl_thrd_routine (p=<optimized out>) at ../../include/c11/threads_posix.h:87
>#6  0x00007f253303b5f4 in start_thread (arg=<optimized out>) at pthread_create.c:463
>#7  0x00007f252c470f2f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
>---Type <return> to continue, or q <return> to quit---
>
>Thread 6 (Thread 0x7f2509c63700 (LWP 12529)):
>#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x119f00d54e08) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
>#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x119f00d54db8, cond=0x119f00d54de0) at pthread_cond_wait.c:502
>#2  __pthread_cond_wait (cond=cond@entry=0x119f00d54de0, mutex=mutex@entry=0x119f00d54db8) at pthread_cond_wait.c:655
>#3  0x00007f250f9faf83 in cnd_wait (mtx=0x119f00d54db8, cond=0x119f00d54de0) at ../../include/c11/threads_posix.h:155
>#4  util_queue_thread_func (input=input@entry=0x119f00ab00f0) at u_queue.c:255
>#5  0x00007f250f9fac9b in impl_thrd_routine (p=<optimized out>) at ../../include/c11/threads_posix.h:87
>#6  0x00007f253303b5f4 in start_thread (arg=<optimized out>) at pthread_create.c:463
>#7  0x00007f252c470f2f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
>
>Thread 5 (Thread 0x7f250a464700 (LWP 12528)):
>#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x119ef9ad70c0) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
>#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x119ef9ad7070, cond=0x119ef9ad7098) at pthread_cond_wait.c:502
>#2  __pthread_cond_wait (cond=cond@entry=0x119ef9ad7098, mutex=mutex@entry=0x119ef9ad7070) at pthread_cond_wait.c:655
>#3  0x00007f250f9faf83 in cnd_wait (mtx=0x119ef9ad7070, cond=0x119ef9ad7098) at ../../include/c11/threads_posix.h:155
>#4  util_queue_thread_func (input=input@entry=0x119f00ab00d0) at u_queue.c:255
>#5  0x00007f250f9fac9b in impl_thrd_routine (p=<optimized out>) at ../../include/c11/threads_posix.h:87
>#6  0x00007f253303b5f4 in start_thread (arg=<optimized out>) at pthread_create.c:463
>#7  0x00007f252c470f2f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
>
>Thread 4 (Thread 0x7f250b080700 (LWP 12527)):
>#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x119f00d544f0) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
>#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x119f00d544a0, cond=0x119f00d544c8) at pthread_cond_wait.c:502
>#2  __pthread_cond_wait (cond=cond@entry=0x119f00d544c8, mutex=mutex@entry=0x119f00d544a0) at pthread_cond_wait.c:655
>#3  0x00007f250f9faf83 in cnd_wait (mtx=0x119f00d544a0, cond=0x119f00d544c8) at ../../include/c11/threads_posix.h:155
>#4  util_queue_thread_func (input=input@entry=0x119f00ab0410) at u_queue.c:255
>#5  0x00007f250f9fac9b in impl_thrd_routine (p=<optimized out>) at ../../include/c11/threads_posix.h:87
>#6  0x00007f253303b5f4 in start_thread (arg=<optimized out>) at pthread_create.c:463
>#7  0x00007f252c470f2f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
>
>Thread 3 (Thread 0x7f2520b8b700 (LWP 12526)):
>#0  futex_abstimed_wait_cancelable (private=0, abstime=0x0, expected=0, futex_word=0x119ef9afac20) at ../sysdeps/unix/sysv/linux/futex-internal.h:205
>#1  do_futex_wait (sem=sem@entry=0x119ef9afac20, abstime=0x0) at sem_waitcommon.c:111
>#2  0x00007f2533043f38 in __new_sem_wait_slow (sem=0x119ef9afac20, abstime=0x0) at sem_waitcommon.c:181
>#3  0x0000000002debbf2 in SDL_SemWait_REAL ()
>#4  0x0000000002debc46 in SDL_SemWaitTimeout_REAL ()
>#5  0x0000000002ddc0e7 in SDL_TimerThread ()
>#6  0x0000000002ddbda4 in SDL_RunThread ()
>#7  0x0000000002deb9b2 in RunThread ()
>#8  0x00007f253303b5f4 in start_thread (arg=<optimized out>) at pthread_create.c:463
>#9  0x00007f252c470f2f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
>
>Thread 2 (Thread 0x7f252138c700 (LWP 12525)):
>#0  futex_abstimed_wait_cancelable (private=0, abstime=0x0, expected=0, futex_word=0x119efbe92310) at ../sysdeps/unix/sysv/linux/futex-internal.h:205
>#1  do_futex_wait (sem=sem@entry=0x119efbe92310, abstime=0x0) at sem_waitcommon.c:111
>#2  0x00007f2533043f38 in __new_sem_wait_slow (sem=0x119efbe92310, abstime=0x0) at sem_waitcommon.c:181
>#3  0x0000000000ddf624 in profiling::Dispatcher::Run ()
>#4  0x0000000000ddf6d9 in profiling::Dispatcher::ThreadFunc ()
>#5  0x0000000000cd7cd9 in Thread::RunThreadWrapper ()
>#6  0x00007f253303b5f4 in start_thread (arg=<optimized out>) at pthread_create.c:463
>---Type <return> to continue, or q <return> to quit---
>#7  0x00007f252c470f2f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
>
>Thread 1 (Thread 0x7f2535c9eb00 (LWP 12524)):
>#0  0x00007f252c466469 in __GI___poll (fds=fds@entry=0x7ffc515cd848, nfds=nfds@entry=1, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
>#1  0x00007f2528edd04f in poll (__timeout=-1, __nfds=1, __fds=0x7ffc515cd848) at /usr/include/bits/poll2.h:46
>#2  _xcb_conn_wait () at xcb_conn.c:479
>#3  0x00007f2528ede9bf in wait_for_reply (c=c@entry=0x119f00ec6000, request=request@entry=282, e=e@entry=0x7ffc515cda20) at xcb_in.c:516
>#4  0x00007f2528edeb35 in xcb_wait_for_reply64 (c=c@entry=0x119f00ec6000, request=282, e=e@entry=0x7ffc515cda20) at xcb_in.c:560
>#5  0x00007f25338b0c18 in _XReply (dpy=dpy@entry=0x119ef9af6400, rep=rep@entry=0x7ffc515cdac0, extra=extra@entry=0, discard=discard@entry=1) at xcb_io.c:596
>#6  0x00007f253389724b in _XGetWindowAttributes (dpy=dpy@entry=0x119ef9af6400, w=w@entry=52428802, attr=attr@entry=0x119f00d283d0) at GetWAttrs.c:115
>#7  0x00007f25338973bd in XGetWindowAttributes (dpy=0x119ef9af6400, w=52428802, attr=0x119f00d283d0) at GetWAttrs.c:150
>#8  0x00007f252f794f82 in content::SoftwareOutputDeviceX11::SoftwareOutputDeviceX11(ui::Compositor*) () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#9  0x00007f252f78fee2 in content::CreateSoftwareOutputDevice(ui::Compositor*) () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#10 0x00007f252f791ea8 in content::GpuProcessTransportFactory::CreateOutputSurface(ui::Compositor*, bool) () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#11 0x00007f252fb6e3cf in ui::Compositor::CreateOutputSurface(bool) () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#12 0x00007f252edae0e7 in cc::LayerTreeHost::CreateOutputSurface() () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#13 0x00007f252edd2713 in cc::SingleThreadProxy::CreateAndInitializeOutputSurface() () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#14 0x00007f252edae94d in cc::LayerTreeHost::Composite(base::TimeTicks) () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#15 0x00007f252fb70649 in ui::Compositor::Draw() () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#16 0x00007f252ecb5215 in base::MessageLoop::RunTask(base::PendingTask const&) () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#17 0x00007f252ecb5cd1 in base::MessageLoop::DeferOrRunPendingTask(base::PendingTask const&) () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#18 0x00007f252ecb9545 in base::MessageLoop::DoWork() () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#19 0x00007f252ec77eb9 in base::MessagePumpGlib::Run(base::MessagePump::Delegate*) () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#20 0x00007f252eccd7ad in base::RunLoop::Run() () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#21 0x00007f252ebb0865 in CefBrowserMessageLoop::DoMessageLoopIteration() () from /home/mikhail/Unity-2018.1.0f2/Editor/libcef.so
>#22 0x0000000001b4eb6d in MessageWorkerCallback ()
>#23 0x00007f25344840eb in g_idle_dispatch (source=0x119f00fff5a0, callback=0x1b4eae0 <MessageWorkerCallback()>, user_data=0x0) at gmain.c:5535
>#24 0x00007f25344877cd in g_main_dispatch (context=0x119f00acfa50) at gmain.c:3177
>#25 g_main_context_dispatch (context=context@entry=0x119f00acfa50) at gmain.c:3830
>#26 0x00007f2534487b98 in g_main_context_iterate (context=0x119f00acfa50, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3903
>#27 0x00007f2534487ec2 in g_main_loop_run (loop=0x119f00fc1340) at gmain.c:4099
>#28 0x00007f25354ff703 in IA__gtk_dialog_run (dialog=0x119f00ffc0b0) at gtkdialog.c:1094
>#29 0x0000000001b36c23 in RunGtkDialog ()
>#30 0x0000000001b4ec2a in NativeWebViewWindowHelper::Run ()
>#31 0x0000000001893674 in HomeWindowCefPrivate::Show ()
>#32 0x000000000188d216 in HomeWindow::Show ()
>#33 0x000000000199f5ff in Application::InitProjectSettings ()
>#34 0x00000000019a0113 in Application::InitializeProject ()
>#35 0x0000000001b50b88 in InitializeUnity ()
>#36 0x00007f2534488291 in g_timeout_dispatch (source=0x119f00af8620, callback=0x1b50a10 <InitializeUnity()>, user_data=0x0) at gmain.c:4650
>#37 0x00007f25344877cd in g_main_dispatch (context=0x119f00acfa50) at gmain.c:3177
>#38 g_main_context_dispatch (context=context@entry=0x119f00acfa50) at gmain.c:3830
>#39 0x00007f2534487b98 in g_main_context_iterate (context=0x119f00acfa50, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3903
>#40 0x00007f2534487ec2 in g_main_loop_run (loop=0x119f00aa4f20) at gmain.c:4099
>#41 0x00007f253558395f in IA__gtk_main () at gtkmain.c:1270
>#42 0x0000000000538053 in main ()
>(gdb) 
>(gdb) 
>(gdb) 
>(gdb)
Comment 8 mikhail.v.gavrilov 2018-05-10 16:02:15 UTC
Created attachment 139470 [details]
Unity backtrace
Comment 9 mikhail.v.gavrilov 2018-05-10 16:06:55 UTC
(In reply to Daniel Stone from comment #5)
> It would be good to get a backtrace from the Unity process.

I  added backtrace from the Unity process at comment 8.
Comment 10 Chris Wilson 2018-05-10 16:11:43 UTC
(In reply to mikhail.v.gavrilov from comment #2)
> Created attachment 139430 [details]
> yet another Xwayland backtrace

WriteToClient (who=who@entry=0x13ac670, count=count@entry=-4, __buf=__buf@entry=0x7ffc5733d520

count=-4? Seems suspicious.
Comment 11 Chris Wilson 2018-05-10 16:16:02 UTC
glamor_fds_from_pixmap is returning -1 on error, proc_dri3_buffers_from_pixmap expects 0 on error.

diff --git a/dri3/dri3_request.c b/dri3/dri3_request.c
index e34bebedb..79e3c8e2c 100644
--- a/dri3/dri3_request.c
+++ b/dri3/dri3_request.c
@@ -520,7 +520,7 @@ proc_dri3_buffers_from_pixmap(ClientPtr client)
     }
 
     num_fds = dri3_fds_from_pixmap(pixmap, fds, strides, offsets, &modifier);
-    if (num_fds == 0)
+    if (num_fds <= 0)
         return BadPixmap;
 
     rep.nfd = num_fds;
Comment 12 mikhail.v.gavrilov 2018-05-10 17:21:09 UTC
I tested patch from comment #11 and sure that this issue was fixed with this patch.
Chris, thanks for amazing work.
Comment 13 mikhail.v.gavrilov 2018-05-11 03:18:27 UTC
Chris, can you also look this bug?
https://bugs.freedesktop.org/show_bug.cgi?id=106472
Comment 14 mikhail.v.gavrilov 2018-05-12 14:02:06 UTC
(In reply to Chris Wilson from comment #11)
> glamor_fds_from_pixmap is returning -1 on error,
> proc_dri3_buffers_from_pixmap expects 0 on error.
> 
> diff --git a/dri3/dri3_request.c b/dri3/dri3_request.c
> index e34bebedb..79e3c8e2c 100644
> --- a/dri3/dri3_request.c
> +++ b/dri3/dri3_request.c
> @@ -520,7 +520,7 @@ proc_dri3_buffers_from_pixmap(ClientPtr client)
>      }
>  
>      num_fds = dri3_fds_from_pixmap(pixmap, fds, strides, offsets,
> &modifier);
> -    if (num_fds == 0)
> +    if (num_fds <= 0)
>          return BadPixmap;
>  
>      rep.nfd = num_fds;

Today this problem happened on patched system.
But case was different:
1. launch Firefox
2. switch firefox in fullscrenn mode by F11
-- here GUI hung and gnome-shell process begin consume 100%
I got backtrace from gnome-shell process and after it Xwayland begins consume 100%

All backtraces attached below.
Comment 15 mikhail.v.gavrilov 2018-05-12 14:02:35 UTC
Created attachment 139523 [details]
gnome-shell backtrace
Comment 16 mikhail.v.gavrilov 2018-05-12 14:04:26 UTC
Created attachment 139524 [details]
Xwayland backtrace
Comment 17 Olivier Fourdan 2018-05-14 06:59:15 UTC
(In reply to mikhail.v.gavrilov from comment #14)
> Today this problem happened on patched system.
> But case was different:
> 1. launch Firefox
> 2. switch firefox in fullscrenn mode by F11
> -- here GUI hung and gnome-shell process begin consume 100%
> I got backtrace from gnome-shell process and after it Xwayland begins
> consume 100%
> 
> All backtraces attached below.

I reckon this is a different issue.

Does it happen if you use the menu (View → Fullscreen) instead of the keyboard?
Comment 18 adee.edu 2018-05-14 20:27:43 UTC
I found a reliable way to trigger the symptom:
enter about:support page in Firefox. Xwayland starts spinning.

Interestingly this only happens with mesa 18.1 and later.
Comment 19 mikhail.v.gavrilov 2018-05-15 04:07:53 UTC
(In reply to Olivier Fourdan from comment #17)
> 
> I reckon this is a different issue.
> 
> Does it happen if you use the menu (View → Fullscreen) instead of the
> keyboard?

This is not 100% reproducible case. Second issue happened once and no repeated again.


(In reply to adee.edu from comment #18)
> I found a reliable way to trigger the symptom:
> enter about:support page in Firefox. Xwayland starts spinning.
> 
> Interestingly this only happens with mesa 18.1 and later.

This is not happens on my system. I am using mesa 18.1 too

$ inxi -bM
System:    Host: localhost.localdomain Kernel: 4.17.0-0.rc4.git2.1.fc29.x86_64 x86_64 bits: 64
           Desktop: Gnome 3.29.1 Distro: Fedora release 29 (Rawhide)
Machine:   Device: desktop System: Gigabyte product: Z87M-D3H serial: N/A
           Mobo: Gigabyte model: Z87M-D3H serial: N/A UEFI: American Megatrends v: F11 date: 08/12/2014
Battery    hidpp__0: charge: N/A condition: NA/NA Wh
CPU:       Quad core Intel Core i7-4770 (-MT-MCP-) speed/max: 3726/3900 MHz
Graphics:  Card: Advanced Micro Devices [AMD/ATI] Vega 10 XT [Radeon RX Vega 64]
           Display Server: wayland (X.org 12 ) drivers: modesetting,fbdev,vesa Resolution: 3840x2160@59.98hz
           OpenGL: renderer: Radeon RX Vega (VEGA10, DRM 3.25.0, 4.17.0-0.rc4.git2.1.fc29.x86_64, LLVM 6.0.0)
           version: 4.5 Mesa 18.1.0-rc3
Network:   Card: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller driver: r8169
Drives:    HDD Total Size: 16241.0GB (19.6% used)
Info:      Processes: 407 Uptime: 31 min Memory: 13153.8/32036.9MB Client: Shell (bash) inxi: 2.3.56
Comment 20 Daniel Stone 2018-06-04 07:35:11 UTC
(In reply to Olivier Fourdan from comment #17)
> (In reply to mikhail.v.gavrilov from comment #14)
> > Today this problem happened on patched system.
> > But case was different:
> > 1. launch Firefox
> > 2. switch firefox in fullscrenn mode by F11
> > -- here GUI hung and gnome-shell process begin consume 100%
> > I got backtrace from gnome-shell process and after it Xwayland begins
> > consume 100%
> > 
> > All backtraces attached below.
> 
> I reckon this is a different issue.

That sounds much more like a Mesa/amdgpu-kernel issue to me. Could you please open a separate issue to track that? In the meantime, I'll mark this as fixed as a patch for the original issue has been merged.
Comment 21 mikhail.v.gavrilov 2018-06-04 08:24:19 UTC
(In reply to Daniel Stone from comment #20)
> That sounds much more like a Mesa/amdgpu-kernel issue to me. Could you
> please open a separate issue to track that? In the meantime, I'll mark this
> as fixed as a patch for the original issue has been merged.


Please wait...
In which xorg-x11-server version was applied patch from comment #c11?
I am curious because xorg-x11-server 1.20 which shipped in Fedora 29 (Rawhide) not contain this patch. And I need every time after mesa upgrade in distribution rebuild xorg-x11-server packages with this patch. I would like to not spend more for this time.
Comment 22 Daniel Stone 2018-06-04 08:38:24 UTC
Two patches which fix this issue very slightly differently are not yet in a release, but are in master:
https://cgit.freedesktop.org/xorg/xserver/commit/?id=3da999a0390407d512bf784e4faf01482bfff9ea
https://cgit.freedesktop.org/xorg/xserver/commit/?id=4d5950ce14676f970d9de97380929a93948b98f2
Comment 23 Olivier Fourdan 2018-06-04 08:50:36 UTC
Rawhide (f29) has the fix, see https://bugzilla.redhat.com/show_bug.cgi?id=1579067

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.