Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Monitor touch and Application Freeze



  • The SW application freezes only if installed on a machine equipped with a touch monitor and mouse, but it does not freeze if installed on a non-touch device (eg laptop or on a workstation connected to a non-touch monitor).
    I'm using fedora 25 and QT 5.8.
    I'm not using QML but Widgets.

    Can I somehow intervene on the application side by intercepting the error and avoiding that the application of freezes, for example intercepting the outcome with the log and avoiding the application freezes?
    There is a version of the most up-to-date library that I could substitute for the one without changing the Qt version?

    I will send you the pieces of the log below for details.
    Thank you in advance


    DBG 20190730 16:12:38.519 XInput 2.2: Selecting press/release/motion events in addition to touch

    DBG 20190730 16:12:38.520 XInput 2.2: Selecting press/release/motion events in addition to touch

    DBG 20190730 16:12:40.682 XI2 mouse enter 1920,24, mode 0, detail 4, time 12861855

    DBG 20190730 16:12:40.684 XI2 mouse enter 1920,24, mode 0, detail 3, time 12861855

    DBG 20190730 16:12:40.684 XI2 mouse motion 1920,24, time 12861857, source MouseEventNotSynthesized

    DBG 20190730 16:12:40.691 XI2 mouse motion 1920,24, time 12861863, source MouseEventNotSynthesized

    DBG 20190730 16:12:40.786 XI2 mouse motion 1916,32, time 12861958, source MouseEventNotSynthesized

    DBG 20190730 16:12:40.794 XI2 mouse motion 1917,32, time 12861966, source MouseEventNotSynthesized

    DBG 20190730 16:12:40.802 XI2 mouse motion 1920,33, time 12861975, source MouseEventNotSynthesized

    DBG 20190730 16:12:40.810 XI2 mouse leave, mode 0, detail 3, time 12861983

    DBG 20190730 16:12:40.810 XI2 mouse leave, mode 0, detail 4, time 12861983

    DBG 20190730 16:13:39.240 XInput 2.2: Selecting press/release/motion events in addition to touch

    DBG 20190730 16:13:39.241 input device Virtual core XTEST pointer ID 4

    DBG 20190730 16:13:39.241 has 10 buttons

    DBG 20190730 16:13:39.241 has valuator "Rel X" recognized? true

    DBG 20190730 16:13:39.241 has valuator "Rel Y" recognized? true

    DBG 20190730 16:13:39.241 it's a scrolling device

    DBG 20190730 16:13:39.241 input device HID 046a:004b ID 9

    DBG 20190730 16:13:39.241 has 9 buttons

    DBG 20190730 16:13:39.241 has valuator "Rel X" recognized? true

    DBG 20190730 16:13:39.241 has valuator "Rel Y" recognized? true

    DBG 20190730 16:13:39.241 has valuator "Rel Horiz Scroll" recognized? true

    DBG 20190730 16:13:39.241 has valuator "Rel Vert Scroll" recognized? true

    DBG 20190730 16:13:39.241 it's a scrolling device

    DBG 20190730 18:53:14.494 XI2 touch event type 18 seq 14966 detail 40 pos 257.8, 17.9 root pos 257.8, 59.9 on window 140002a

    DBG 20190730 18:53:14.494 valuator Abs MT Position X value 4399.932861 from range 0.000000 -> 65535.000000

    DBG 20190730 18:53:14.494 valuator Abs MT Position Y value 3631.944580 from range 0.000000 -> 65535.000000

    DBG 20190730 18:53:14.494 touchpoint 40 state 1 pos norm QPointF(0.0671387,0.0554199) area QRectF(257.809,59.8526 0x0) pressure -1



  • Qt Champions 2019

    @elybeta Did you run your app through a debugger to see what happens when it freezes?



  • I launched the application in debug with QtCreator. The last functions in which the application entered are not functions of my applications but functions of the qt libraries. After it crashes the application does not enter any brackpoint because the application is blocked.

    I'm trying to re-fill the notify class to try to intercept the touch event that blocks the application so it can be managed.

    bool Application::notify(QObject* receiver, QEvent* event)
    {
        try
        {
    
            qDebug("sending event %s to object %s (%s)", typeid(*event).name(), qPrintable(receiver->objectName()),
                   typeid(*receiver).name());
           return QApplication::notify(receiver, event);
    
        }
        catch (std::exception &e)
        {
            qFatal("Error %s sending event %s to object %s (%s)",
                e.what(), typeid(*event).name(), qPrintable(receiver->objectName()),
                typeid(*receiver).name());
        }
        catch (...)
        {
            qFatal("Error <unknown> sending event %s to object %s (%s)",
                typeid(*event).name(), qPrintable(receiver->objectName()),
                typeid(*receiver).name());
        }
        return false;
    }
    

    I saw that in the following blog they talk about the problem of the library used for touch:
    [https://development.qt-project.narkive.com/iDMACXfX/multitouch-on-top-of-xinput-2-2]

    The error that the log prints to me is in this class:

    [https://code.qt.io/cgit/qt/qtbase.git/tree/src/plugins/platforms/xcb/qxcbconnection_xi2.cpp]

    Thank you a lot!


  • Qt Champions 2019

    @elybeta said in Monitor touch and Application Freeze:

    The error that the log prints to me is in this class:

    Can you post the stack trace after crash?



  • This post is deleted!


  • @jsulm: Sorry I'm wrong writing, the application does not crash but freeze.
    Below is a part of the stack:

    Thread 31 (Thread 0x7fffa27f4700 (LWP 10557)):
    #0  0x00007ffff54b7480 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
    #1  0x00007fffb9622a33 in thread_function () at /usr/lib64/dri/swrast_dri.so
    #2  0x00007fffb9622897 in impl_thrd_routine () at /usr/lib64/dri/swrast_dri.so
    #3  0x00007ffff54b173a in start_thread () at /lib64/libpthread.so.0
    #4  0x00007ffff4943e7f in clone () at /lib64/libc.so.6
    Thread 30 (Thread 0x7fffa2ff5700 (LWP 10556)):
    #0  0x00007ffff54b7480 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
    #1  0x00007fffb9622a33 in thread_function () at /usr/lib64/dri/swrast_dri.so
    #2  0x00007fffb9622897 in impl_thrd_routine () at /usr/lib64/dri/swrast_dri.so
    #3  0x00007ffff54b173a in start_thread () at /lib64/libpthread.so.0
    #4  0x00007ffff4943e7f in clone () at /lib64/libc.so.6
    Thread 29 (Thread 0x7fffa37f6700 (LWP 10555)):
    #0  0x00007ffff54b7480 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
    #1  0x00007fffb9622a33 in thread_function () at /usr/lib64/dri/swrast_dri.so
    #2  0x00007fffb9622897 in impl_thrd_routine () at /usr/lib64/dri/swrast_dri.so
    #3  0x00007ffff54b173a in start_thread () at /lib64/libpthread.so.0
    #4  0x00007ffff4943e7f in clone () at /lib64/libc.so.6
    Thread 28 (Thread 0x7fffa3ff7700 (LWP 10554)):
    #0  0x00007ffff54b7480 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
    #1  0x00007fffb9622a33 in thread_function () at /usr/lib64/dri/swrast_dri.so
    #2  0x00007fffb9622897 in impl_thrd_routine () at /usr/lib64/dri/swrast_dri.so
    #3  0x00007ffff54b173a in start_thread () at /lib64/libpthread.so.0
    #4  0x00007ffff4943e7f in clone () at /lib64/libc.so.6
    Thread 27 (Thread 0x7fffa47f8700 (LWP 10553)):
    #0  0x00007ffff54b7480 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
    #1  0x00007fffb9622a33 in thread_function () at /usr/lib64/dri/swrast_dri.so
    #2  0x00007fffb9622897 in impl_thrd_routine () at /usr/lib64/dri/swrast_dri.so
    #3  0x00007ffff54b173a in start_thread () at /lib64/libpthread.so.0
    #4  0x00007ffff4943e7f in clone () at /lib64/libc.so.6
    Thread 26 (Thread 0x7fffa4ff9700 (LWP 10552)):
    #0  0x00007ffff54b7480 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
    #1  0x00007fffb9622a33 in thread_function () at /usr/lib64/dri/swrast_dri.so
    #2  0x00007fffb9622897 in impl_thrd_routine () at /usr/lib64/dri/swrast_dri.so
    #3  0x00007ffff54b173a in start_thread () at /lib64/libpthread.so.0
    #4  0x00007ffff4943e7f in clone () at /lib64/libc.so.6
    Thread 25 (Thread 0x7fffa57fa700 (LWP 10551)):
    #0  0x00007ffff54b7480 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
    #1  0x00007fffb9622a33 in thread_function () at /usr/lib64/dri/swrast_dri.so
    #2  0x00007fffb9622897 in impl_thrd_routine () at /usr/lib64/dri/swrast_dri.so
    #3  0x00007ffff54b173a in start_thread () at /lib64/libpthread.so.0
    #4  0x00007ffff4943e7f in clone () at /lib64/libc.so.6
    Thread 24 (Thread 0x7fffa5ffb700 (LWP 10550)):
    #0  0x00007ffff54b7480 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
    #1  0x00007fffb9622a33 in thread_function () at /usr/lib64/dri/swrast_dri.so
    #2  0x00007fffb9622897 in impl_thrd_routine () at /usr/lib64/dri/swrast_dri.so
    #3  0x00007ffff54b173a in start_thread () at /lib64/libpthread.so.0
    #4  0x00007ffff4943e7f in clone () at /lib64/libc.so.6
    Thread 23 (Thread 0x7fffa67fc700 (LWP 10549)):
    #0  0x00007ffff54b7480 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
    #1  0x00007fffb9622a33 in thread_function () at /usr/lib64/dri/swrast_dri.so
    #2  0x00007fffb9622897 in impl_thrd_routine () at /usr/lib64/dri/swrast_dri.so
    #3  0x00007ffff54b173a in start_thread () at /lib64/libpthread.so.0
    #4  0x00007ffff4943e7f in clone () at /lib64/libc.so.6
    Thread 22 (Thread 0x7fffa6ffd700 (LWP 10548)):
    #0  0x00007ffff54b7480 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
    #1  0x00007fffb9622a33 in thread_function () at /usr/lib64/dri/swrast_dri.so
    #2  0x00007fffb9622897 in impl_thrd_routine () at /usr/lib64/dri/swrast_dri.so
    #3  0x00007ffff54b173a in start_thread () at /lib64/libpthread.so.0
    #4  0x00007ffff4943e7f in clone () at /lib64/libc.so.6
    Thread 21 (Thread 0x7fffa77fe700 (LWP 10547)):
    #0  0x00007ffff54b7480 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
    #1  0x00007fffb9622a33 in thread_function () at /usr/lib64/dri/swrast_dri.so
    #2  0x00007fffb9622897 in impl_thrd_routine () at /usr/lib64/dri/swrast_dri.so
    #3  0x00007ffff54b173a in start_thread () at /lib64/libpthread.so.0
    #4  0x00007ffff4943e7f in clone () at /lib64/libc.so.6
    Thread 20 (Thread 0x7fffa7fff700 (LWP 10546)):
    #0  0x00007ffff54b7480 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
    #1  0x00007fffb9622a33 in thread_function () at /usr/lib64/dri/swrast_dri.so
    #2  0x00007fffb9622897 in impl_thrd_routine () at /usr/lib64/dri/swrast_dri.so
    #3  0x00007ffff54b173a in start_thread () at /lib64/libpthread.so.0
    #4  0x00007ffff4943e7f in clone () at /lib64/libc.so.6
    Thread 19 (Thread 0x7fffaca1e700 (LWP 10545)):
    #0  0x00007ffff54b7480 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
    #1  0x00007fffb9622a33 in thread_function () at /usr/lib64/dri/swrast_dri.so
    #2  0x00007fffb9622897 in impl_thrd_routine () at /usr/lib64/dri/swrast_dri.so
    #3  0x00007ffff54b173a in start_thread () at /lib64/libpthread.so.0
    #4  0x00007ffff4943e7f in clone () at /lib64/libc.so.6
    Thread 18 (Thread 0x7fffad21f700 (LWP 10544)):
    #0  0x00007ffff54b7480 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
    #1  0x00007fffb9622a33 in thread_function () at /usr/lib64/dri/swrast_dri.so
    #2  0x00007fffb9622897 in impl_thrd_routine () at /usr/lib64/dri/swrast_dri.so
    #3  0x00007ffff54b173a in start_thread () at /lib64/libpthread.so.0
    #4  0x00007ffff4943e7f in clone () at /lib64/libc.so.6
    Thread 17 (Thread 0x7fffd10ca700 (LWP 10543)):
    #0  0x00007ffff54b7480 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
    #1  0x00007fffb9622a33 in thread_function () at /usr/lib64/dri/swrast_dri.so
    #2  0x00007fffb9622897 in impl_thrd_routine () at /usr/lib64/dri/swrast_dri.so
    #3  0x00007ffff54b173a in start_thread () at /lib64/libpthread.so.0
    #4  0x00007ffff4943e7f in clone () at /lib64/libc.so.6
    Thread 16 (Thread 0x7fffbb7fe700 (LWP 10542)):
    #0  0x00007ffff54b7480 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
    #1  0x00007fffb9622a33 in thread_function () at /usr/lib64/dri/swrast_dri.so
    #2  0x00007fffb9622897 in impl_thrd_routine () at /usr/lib64/dri/swrast_dri.so
    #3  0x00007ffff54b173a in start_thread () at /lib64/libpthread.so.0
    #4  0x00007ffff4943e7f in clone () at /lib64/libc.so.6
    Thread 14 (Thread 0x7fffbbfff700 (LWP 10540)):
    #0  0x00007ffff4937f3d in poll () at /lib64/libc.so.6
    #1  0x00007ffff144f166 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
    #2  0x00007ffff144f27c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
    #3  0x00007ffff5c17cbf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /home/administrator1/Qt5.8.0/5.8/gcc_64/lib/libQt5Core.so.5
    #4  0x00007ffff5bc59ca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /home/administrator1/Qt5.8.0/5.8/gcc_64/lib/libQt5Core.so.5
    #5  0x00007ffff59fabdc in QThread::exec() () at /home/administrator1/Qt5.8.0/5.8/gcc_64/lib/libQt5Core.so.5
    #6  0x0000000000425436 in UDPReceiverThread::run() (this=0x1ae98e0) at ../Common/Network/udpreceiverthread.cpp:31
            connected = true
    #7  0x00007ffff59ff549 in  () at /home/administrator1/Qt5.8.0/5.8/gcc_64/lib/libQt5Core.so.5
    #8  0x00007ffff54b173a in start_thread () at /lib64/libpthread.so.0
    #9  0x00007ffff4943e7f in clone () at /lib64/libc.so.6
    Thread 12 (Thread 0x7fffd08c9700 (LWP 10538)):
    #0  0x00000000004320cd in Application::notify(QObject*, QEvent*) (this=0x7fffffffe0c0, receiver=0x7fffb4002a80, event=0x7fffd08c8bf0) at main.cpp:50
            __PRETTY_FUNCTION__ = "virtual bool Application::notify(QObject*, QEvent*)"
    #1  0x00007ffff5bc7458 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /home/administrator1/Qt5.8.0/5.8/gcc_64/lib/libQt5Core.so.5
    #2  0x00007ffff5c1815d in  () at /home/administrator1/Qt5.8.0/5.8/gcc_64/lib/libQt5Core.so.5
    #3  0x00007ffff144ee52 in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
    #4  0x00007ffff144f1d0 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
    #5  0x00007ffff144f27c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
    #6  0x00007ffff5c17cbf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /home/administrator1/Qt5.8.0/5.8/gcc_64/lib/libQt5Core.so.5
    #7  0x00007ffff5bc59ca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /home/administrator1/Qt5.8.0/5.8/gcc_64/lib/libQt5Core.so.5
    #8  0x00007ffff59fabdc in QThread::exec() () at /home/administrator1/Qt5.8.0/5.8/gcc_64/lib/libQt5Core.so.5
    #9  0x0000000000425436 in UDPReceiverThread::run() (this=0x1bdf6f0) at ../Common/Network/udpreceiverthread.cpp:31
            connected = true
    #10 0x00007ffff59ff549 in  () at /home/administrator1/Qt5.8.0/5.8/gcc_64/lib/libQt5Core.so.5
    #11 0x00007ffff54b173a in start_thread () at /lib64/libpthread.so.0
    #12 0x00007ffff4943e7f in clone () at /lib64/libc.so.6
    Thread 10 (Thread 0x7fffd20cc700 (LWP 10536)):
    #0  0x00000000004320cd in Application::notify(QObject*, QEvent*) (this=0x7fffffffe0c0, receiver=0x7fffbc003300, event=0x7fffd20cbbf0) at main.cpp:50
            __PRETTY_FUNCTION__ = "virtual bool Application::notify(QObject*, QEvent*)"
    #1  0x00007ffff5bc7458 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /home/administrator1/Qt5.8.0/5.8/gcc_64/lib/libQt5Core.so.5
    #2  0x00007ffff5c1815d in  () at /home/administrator1/Qt5.8.0/5.8/gcc_64/lib/libQt5Core.so.5
    #3  0x00007ffff144ee52 in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
    #4  0x00007ffff144f1d0 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
    #5  0x00007ffff144f27c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
    #6  0x00007ffff5c17cbf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /home/administrator1/Qt5.8.0/5.8/gcc_64/lib/libQt5Core.so.5
    #7  0x00007ffff5bc59ca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /home/administrator1/Qt5.8.0/5.8/gcc_64/lib/libQt5Core.so.5
    #8  0x00007ffff59fabdc in QThread::exec() () at /home/administrator1/Qt5.8.0/5.8/gcc_64/lib/libQt5Core.so.5
    #9  0x0000000000425436 in UDPReceiverThread::run() (this=0x15026b0) at ../Common/Network/udpreceiverthread.cpp:31
            connected = true
    #10 0x00007ffff59ff549 in  () at /home/administrator1/Qt5.8.0/5.8/gcc_64/lib/libQt5Core.so.5
    #11 0x00007ffff54b173a in start_thread () at /lib64/libpthread.so.0
    #12 0x00007ffff4943e7f in clone () at /lib64/libc.so.6
    Thread 8 (Thread 0x7fffd18cb700 (LWP 10534)):
    #0  0x00000000004320d4 in Application::notify(QObject*, QEvent*) (this=0x7fffffffe0c0, receiver=0x7fffc0002790, event=0x7fffd18cabf0) at main.cpp:50
            __PRETTY_FUNCTION__ = "virtual bool Application::notify(QObject*, QEvent*)"
    #1  0x00007ffff5bc7458 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /home/administrator1/Qt5.8.0/5.8/gcc_64/lib/libQt5Core.so.5
    #2  0x00007ffff5c1815d in  () at /home/administrator1/Qt5.8.0/5.8/gcc_64/lib/libQt5Core.so.5
    #3  0x00007ffff144ee52 in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
    #4  0x00007ffff144f1d0 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
    #5  0x00007ffff144f27c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
    #6  0x00007ffff5c17cbf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /home/administrator1/Qt5.8.0/5.8/gcc_64/lib/libQt5Core.so.5
    #7  0x00007ffff5bc59ca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /home/administrator1/Qt5.8.0/5.8/gcc_64/lib/libQt5Core.so.5
    #8  0x00007ffff59fabdc in QThread::exec() () at /home/administrator1/Qt5.8.0/5.8/gcc_64/lib/libQt5Core.so.5
    #9  0x0000000000425436 in UDPReceiverThread::run() (this=0x2001c80) at ../Common/Network/udpreceiverthread.cpp:31
            connected = true
    #10 0x00007ffff59ff549 in  () at /home/administrator1/Qt5.8.0/5.8/gcc_64/lib/libQt5Core.so.5
    #11 0x00007ffff54b173a in start_thread () at /lib64/libpthread.so.0
    #12 0x00007ffff4943e7f in clone () at /lib64/libc.so.6
    Thread 6 (Thread 0x7fffd28cd700 (LWP 10532)):
    #0  0x00000000004320d4 in Application::notify(QObject*, QEvent*) (this=0x7fffffffe0c0, receiver=0x7fffc8002850, event=0x7fffd28ccbf0) at main.cpp:50
            __PRETTY_FUNCTION__ = "virtual bool Application::notify(QObject*, QEvent*)"
    #1  0x00007ffff5bc7458 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /home/administrator1/Qt5.8.0/5.8/gcc_64/lib/libQt5Core.so.5
    #2  0x00007ffff5c1815d in  () at /home/administrator1/Qt5.8.0/5.8/gcc_64/lib/libQt5Core.so.5
    #3  0x00007ffff144ee52 in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
    #4  0x00007ffff144f1d0 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
    #5  0x00007ffff144f27c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
    #6  0x00007ffff5c17cbf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /home/administrator1/Qt5.8.0/5.8/gcc_64/lib/libQt5Core.so.5
    #7  0x00007ffff5bc59ca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /home/administrator1/Qt5.8.0/5.8/gcc_64/lib/libQt5Core.so.5
    #8  0x00007ffff59fabdc in QThread::exec() () at /home/administrator1/Qt5.8.0/5.8/gcc_64/lib/libQt5Core.so.5
    #9  0x0000000000425436 in UDPReceiverThread::run() (this=0x1be7390) at ../Common/Network/udpreceiverthread.cpp:31
            connected = true
    #10 0x00007ffff59ff549 in  () at /home/administrator1/Qt5.8.0/5.8/gcc_64/lib/libQt5Core.so.5
    #11 0x00007ffff54b173a in start_thread () at /lib64/libpthread.so.0
    #12 0x00007ffff4943e7f in clone () at /lib64/libc.so.6
    Thread 5 (Thread 0x7fffd96e0700 (LWP 10530)):
    #0  0x00007ffff4937f3d in poll () at /lib64/libc.so.6
    #1  0x00007ffff144f166 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
    #2  0x00007ffff144f27c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
    #3  0x00007ffff5c17cbf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /home/administrator1/Qt5.8.0/5.8/gcc_64/lib/libQt5Core.so.5
    #4  0x00007ffff5bc59ca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /home/administrator1/Qt5.8.0/5.8/gcc_64/lib/libQt5Core.so.5
    #5  0x00007ffff59fabdc in QThread::exec() () at /home/administrator1/Qt5.8.0/5.8/gcc_64/lib/libQt5Core.so.5
    #6  0x00007fffe8fd5535 in  () at /home/administrator1/Qt5.8.0/5.8/gcc_64/lib/libQt5DBus.so.5
    #7  0x00007ffff59ff549 in  () at /home/administrator1/Qt5.8.0/5.8/gcc_64/lib/libQt5Core.so.5
    #8  0x00007ffff54b173a in start_thread () at /lib64/libpthread.so.0
    #9  0x00007ffff4943e7f in clone () at /lib64/libc.so.6
    Thread 4 (Thread 0x7fffd3fff700 (LWP 10529)):
    #0  0x00007ffff4937f3d in poll () at /lib64/libc.so.6
    #1  0x00007ffff144f166 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
    #2  0x00007ffff144f4f2 in g_main_loop_run () at /lib64/libglib-2.0.so.0
    #3  0x00007fffe42b2a76 in gdbus_shared_thread_func () at /lib64/libgio-2.0.so.0
    #4  0x00007ffff1476b93 in g_thread_proxy () at /lib64/libglib-2.0.so.0
    #5  0x00007ffff54b173a in start_thread () at /lib64/libpthread.so.0
    #6  0x00007ffff4943e7f in clone () at /lib64/libc.so.6
    Thread 3 (Thread 0x7fffdb7b4700 (LWP 10528)):
    #0  0x00007ffff4937f3d in poll () at /lib64/libc.so.6
    #1  0x00007ffff144f166 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
    #2  0x00007ffff144f27c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
    #3  0x00007ffff144f2c1 in glib_worker_main () at /lib64/libglib-2.0.so.0
    #4  0x00007ffff1476b93 in g_thread_proxy () at /lib64/libglib-2.0.so.0
    #5  0x00007ffff54b173a in start_thread () at /lib64/libpthread.so.0
    #6  0x00007ffff4943e7f in clone () at /lib64/libc.so.6
    Thread 2 (Thread 0x7fffe6830700 (LWP 10527)):
    #0  0x00007ffff4937f3d in poll () at /lib64/libc.so.6
    #1  0x00007ffff053dd10 in _xcb_conn_wait () at /lib64/libxcb.so.1
    #2  0x00007ffff053faa9 in xcb_wait_for_event () at /lib64/libxcb.so.1
    #3  0x00007fffe9284429 in  () at /home/administrator1/Qt5.8.0/5.8/gcc_64/lib/libQt5XcbQpa.so.5
    #4  0x00007ffff59ff549 in  () at /home/administrator1/Qt5.8.0/5.8/gcc_64/lib/libQt5Core.so.5
    #5  0x00007ffff54b173a in start_thread () at /lib64/libpthread.so.0
    #6  0x00007ffff4943e7f in clone () at /lib64/libc.so.6
    Thread 1 (Thread 0x7ffff7fc9740 (LWP 10520)):
    #0  0x00007ffff54b7480 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
    #1  0x00007ffff0ed5b8d in _XReply () at /lib64/libX11.so.6
    #2  0x00007ffff0ed8641 in _XSeqSyncFunction () at /lib64/libX11.so.6
    #3  0x00007ffff0ed7df3 in _XError () at /lib64/libX11.so.6
    #4  0x00007ffff0ed4d07 in handle_error () at /lib64/libX11.so.6
    #5  0x00007ffff0ed4dc5 in handle_response () at /lib64/libX11.so.6
    #6  0x00007ffff0ed5c66 in _XReply () at /lib64/libX11.so.6
    #7  0x00007ffff0ed8641 in _XSeqSyncFunction () at /lib64/libX11.so.6
    #8  0x00007ffff0ed7df3 in _XError () at /lib64/libX11.so.6
    #9  0x00007ffff0ed4d07 in handle_error () at /lib64/libX11.so.6
    #10 0x00007ffff0ed4dc5 in handle_response () at /lib64/libX11.so.6
    #11 0x00007ffff0ed5c66 in _XReply () at /lib64/libX11.so.6
    #12 0x00007ffff0ed8641 in _XSeqSyncFunction () at /lib64/libX11.so.6
    #13 0x00007ffff0ed7df3 in _XError () at /lib64/libX11.so.6
    #14 0x00007ffff0ed4d07 in handle_error () at /lib64/libX11.so.6
    #15 0x00007ffff0ed4dc5 in handle_response () at /lib64/libX11.so.6
    #16 0x00007ffff0ed5c66 in _XReply () at /lib64/libX11.so.6
    #17 0x00007ffff0ed8641 in _XSeqSyncFunction () at /lib64/libX11.so.6
    #18 0x00007ffff0ed7df3 in _XError () at /lib64/libX11.so.6
    #19 0x00007ffff0ed4d07 in handle_error () at /lib64/libX11.so.6
    #20 0x00007ffff0ed4dc5 in handle_response () at /lib64/libX11.so.6
    #21 0x00007ffff0ed5c66 in _XReply () at /lib64/libX11.so.6
    #22 0x00007ffff0ed8641 in _XSeqSyncFunction () at /lib64/libX11.so.6
    #23 0x00007ffff0ed7df3 in _XError () at /lib64/libX11.so.6
    #24 0x00007ffff0ed4d07 in handle_error () at /lib64/libX11.so.6
    #25 0x00007ffff0ed4dc5 in handle_response () at /lib64/libX11.so.6
    #26 0x00007ffff0ed5c66 in _XReply () at /lib64/libX11.so.6
    #27 0x00007ffff0ed8641 in _XSeqSyncFunction () at /lib64/libX11.so.6
    #28 0x00007ffff0ed7df3 in _XError () at /lib64/libX11.so.6
    #29 0x00007ffff0ed4d07 in handle_error () at /lib64/libX11.so.6
    #30 0x00007ffff0ed4dc5 in handle_response () at /lib64/libX11.so.6
    #31 0x00007ffff0ed5c66 in _XReply () at /lib64/libX11.so.6
    #32 0x00007ffff0ed8641 in _XSeqSyncFunction () at /lib64/libX11.so.6
    #33 0x00007ffff0ed7df3 in _XError () at /lib64/libX11.so.6
    #34 0x00007ffff0ed4d07 in handle_error () at /lib64/libX11.so.6
    #35 0x00007ffff0ed4dc5 in handle_response () at /lib64/libX11.so.6
    #36 0x00007ffff0ed5c66 in _XReply () at /lib64/libX11.so.6
    #37 0x00007ffff0ed8641 in _XSeqSyncFunction () at /lib64/libX11.so.6
    #38 0x00007ffff0ed7df3 in _XError () at /lib64/libX11.so.6
    #39 0x00007ffff0ed4d07 in handle_error () at /lib64/libX11.so.6
    #40 0x00007ffff0ed4dc5 in handle_response () at /lib64/libX11.so.6
    #41 0x00007ffff0ed5c66 in _XReply () at /lib64/libX11.so.6
    #42 0x00007ffff0ed8641 in _XSeqSyncFunction () at /lib64/libX11.so.6
    #43 0x00007ffff0ed7df3 in _XError () at /lib64/libX11.so.6
    #44 0x00007ffff0ed4d07 in handle_error () at /lib64/libX11.so.6
    #45 0x00007ffff0ed4dc5 in handle_response () at /lib64/libX11.so.6
    #46 0x00007ffff0ed5c66 in _XReply () at /lib64/libX11.so.6
    #47 0x00007ffff0ed8641 in _XSeqSyncFunction () at /lib64/libX11.so.6
    #48 0x00007ffff0ed7df3 in _XError () at /lib64/libX11.so.6
    #49 0x00007ffff0ed4d07 in handle_error () at /lib64/libX11.so.6
    #50 0x00007ffff0ed4dc5 in handle_response () at /lib64/libX11.so.6
    #51 0x00007ffff0ed5c66 in _XReply () at /lib64/libX11.so.6
    #52 0x00007ffff0ed8641 in _XSeqSyncFunction () at /lib64/libX11.so.6
    #53 0x00007ffff0ed7df3 in _XError () at /lib64/libX11.so.6
    #54 0x00007ffff0ed4d07 in handle_error () at /lib64/libX11.so.6
    #55 0x00007ffff0ed4dc5 in handle_response () at /lib64/libX11.so.6
    #56 0x00007ffff0ed5c66 in _XReply () at /lib64/libX11.so.6
    #57 0x00007ffff0ed8641 in _XSeqSyncFunction () at /lib64/libX11.so.6
    #58 0x00007ffff0ec3167 in XLockDisplay () at /lib64/libX11.so.6
    #59 0x00007fffe580d9fc in  () at /home/administrator1/Qt5.8.0/5.8/gcc_64/plugins/xcbglintegrations/libqxcb-glx-integration.so
    #60 0x00007fffe9287ff9 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) () at /home/administrator1/Qt5.8.0/5.8/gcc_64/lib/libQt5XcbQpa.so.5
    #61 0x00007fffe9288b40 in QXcbConnection::processXcbEvents() () at /home/administrator1/Qt5.8.0/5.8/gcc_64/lib/libQt5XcbQpa.so.5
    #62 0x00007ffff5bf1211 in QObject::event(QEvent*) () at /home/administrator1/Qt5.8.0/5.8/gcc_64/lib/libQt5Core.so.5
    #63 0x00007ffff6f21dcc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /home/administrator1/Qt5.8.0/5.8/gcc_64/lib/libQt5Widgets.so.5
    #64 0x00007ffff6f29236 in QApplication::notify(QObject*, QEvent*) () at /home/administrator1/Qt5.8.0/5.8/gcc_64/lib/libQt5Widgets.so.5
    #65 0x00000000004320ed in Application::notify(QObject*, QEvent*) (this=0x7fffffffe0c0, receiver=0x762410, event=0x7fffe000a860) at main.cpp:50
            __PRETTY_FUNCTION__ = "virtual bool Application::notify(QObject*, QEvent*)"
    #66 0x00007ffff5bc7458 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /home/administrator1/Qt5.8.0/5.8/gcc_64/lib/libQt5Core.so.5
    #67 0x00007ffff5bc9a4b in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /home/administrator1/Qt5.8.0/5.8/gcc_64/lib/libQt5Core.so.5
    #68 0x00007ffff5c178b3 in  () at /home/administrator1/Qt5.8.0/5.8/gcc_64/lib/libQt5Core.so.5
    #69 0x00007ffff144ee52 in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
    #70 0x00007ffff144f1d0 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
    #71 0x00007ffff144f27c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
    #72 0x00007ffff5c17cbf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /home/administrator1/Qt5.8.0/5.8/gcc_64/lib/libQt5Core.so.5
    #73 0x00007ffff5bc59ca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /home/administrator1/Qt5.8.0/5.8/gcc_64/lib/libQt5Core.so.5
    #74 0x00007ffff5bcd9f4 in QCoreApplication::exec() () at /home/administrator1/Qt5.8.0/5.8/gcc_64/lib/libQt5Core.so.5
    #75 0x00000000004328f5 in main(int, char**) (argc=1, argv=0x7fffffffe298) at main.cpp:129
            a = {<QApplication> = {<No data fields>}, <No data fields>}
            parser = {d = 0x889db0}
            normalOption = {d = {d = 0xa5d770}}
            settingsLogger = {isLogEnabled = true, filterRules = {static null = {<No data fields>}, d = 0x8915d0}}
            filterRules = {static null = {<No data fields>}, d = 0x8915d0}
            isLogEnabled = true
            __PRETTY_FUNCTION__ = "int main(int, char**)"


  • @jsulm:
    Below is a part of the assembly:

    0x7ffff0ed5aa0                   41 57                          push   r15
    0x7ffff0ed5aa2  <+0x0002>        41 56                          push   r14
    0x7ffff0ed5aa4  <+0x0004>        41 55                          push   r13
    0x7ffff0ed5aa6  <+0x0006>        41 54                          push   r12
    0x7ffff0ed5aa8  <+0x0008>        55                             push   rbp
    0x7ffff0ed5aa9  <+0x0009>        53                             push   rbx
    0x7ffff0ed5aaa  <+0x000a>        48 83 ec 38                    sub    rsp,0x38
    0x7ffff0ed5aae  <+0x000e>        89 4c 24 1c                    mov    DWORD PTR [rsp+0x1c],ecx
    0x7ffff0ed5ab2  <+0x0012>        48 8b 8f 30 0a 00 00           mov    rcx,QWORD PTR [rdi+0xa30]
    0x7ffff0ed5ab9  <+0x0019>        64 48 8b 04 25 28 00 00 00     mov    rax,QWORD PTR fs:0x28
    0x7ffff0ed5ac2  <+0x0022>        48 89 44 24 28                 mov    QWORD PTR [rsp+0x28],rax
    0x7ffff0ed5ac7  <+0x0027>        31 c0                          xor    eax,eax
    0x7ffff0ed5ac9  <+0x0029>        48 89 74 24 08                 mov    QWORD PTR [rsp+0x8],rsi
    0x7ffff0ed5ace  <+0x002e>        89 54 24 18                    mov    DWORD PTR [rsp+0x18],edx
    0x7ffff0ed5ad2  <+0x0032>        48 83 79 28 00                 cmp    QWORD PTR [rcx+0x28],0x0
    0x7ffff0ed5ad7  <+0x0037>        0f 85 f6 03 00 00              jne    0x7ffff0ed5ed3 <_XReply+1075>
    0x7ffff0ed5add  <+0x003d>        48 8b 97 f8 00 00 00           mov    rdx,QWORD PTR [rdi+0xf8]
    0x7ffff0ed5ae4  <+0x0044>        31 c0                          xor    eax,eax
    0x7ffff0ed5ae6  <+0x0046>        48 89 fb                       mov    rbx,rdi
    0x7ffff0ed5ae9  <+0x0049>        83 e2 01                       and    edx,0x1
    0x7ffff0ed5aec  <+0x004c>        48 89 54 24 10                 mov    QWORD PTR [rsp+0x10],rdx
    0x7ffff0ed5af1  <+0x0051>        74 23                          je     0x7ffff0ed5b16 <_XReply+118>
    0x7ffff0ed5af3  <+0x0053>        48 8b 4c 24 28                 mov    rcx,QWORD PTR [rsp+0x28]
    0x7ffff0ed5af8  <+0x0058>        64 48 33 0c 25 28 00 00 00     xor    rcx,QWORD PTR fs:0x28
    0x7ffff0ed5b01  <+0x0061>        0f 85 3d 04 00 00              jne    0x7ffff0ed5f44 <_XReply+1188>
    0x7ffff0ed5b07  <+0x0067>        48 83 c4 38                    add    rsp,0x38
    0x7ffff0ed5b0b  <+0x006b>        5b                             pop    rbx
    0x7ffff0ed5b0c  <+0x006c>        5d                             pop    rbp
    0x7ffff0ed5b0d  <+0x006d>        41 5c                          pop    r12
    0x7ffff0ed5b0f  <+0x006f>        41 5d                          pop    r13
    0x7ffff0ed5b11  <+0x0071>        41 5e                          pop    r14
    0x7ffff0ed5b13  <+0x0073>        41 5f                          pop    r15
    0x7ffff0ed5b15  <+0x0075>        c3                             ret
    0x7ffff0ed5b16  <+0x0076>        31 f6                          xor    esi,esi
    0x7ffff0ed5b18  <+0x0078>        31 d2                          xor    edx,edx
    0x7ffff0ed5b1a  <+0x007a>        4c 8b 39                       mov    r15,QWORD PTR [rcx]
    0x7ffff0ed5b1d  <+0x007d>        e8 9e 9f fd ff                 call   0x7ffff0eafac0
    0x7ffff0ed5b22  <+0x0082>        48 8b 83 30 0a 00 00           mov    rax,QWORD PTR [rbx+0xa30]
    0x7ffff0ed5b29  <+0x0089>        48 8b b3 98 00 00 00           mov    rsi,QWORD PTR [rbx+0x98]
    0x7ffff0ed5b30  <+0x0090>        4c 8b 60 10                    mov    r12,QWORD PTR [rax+0x10]
    0x7ffff0ed5b34  <+0x0094>        4d 85 e4                       test   r12,r12
    0x7ffff0ed5b37  <+0x0097>        74 07                          je     0x7ffff0ed5b40 <_XReply+160>
    0x7ffff0ed5b39  <+0x0099>        49 3b 74 24 08                 cmp    rsi,QWORD PTR [r12+0x8]
    0x7ffff0ed5b3e  <+0x009e>        74 0b                          je     0x7ffff0ed5b4b <_XReply+171>
    0x7ffff0ed5b40  <+0x00a0>        48 89 df                       mov    rdi,rbx
    0x7ffff0ed5b43  <+0x00a3>        e8 68 f4 ff ff                 call   0x7ffff0ed4fb0 <append_pending_request>
    0x7ffff0ed5b48  <+0x00a8>        49 89 c4                       mov    r12,rax
    0x7ffff0ed5b4b  <+0x00ab>        41 c7 44 24 10 01 00 00 00     mov    DWORD PTR [r12+0x10],0x1
    0x7ffff0ed5b54  <+0x00b4>        48 8b 83 30 0a 00 00           mov    rax,QWORD PTR [rbx+0xa30]
    0x7ffff0ed5b5b  <+0x00bb>        4c 8d 74 24 20                 lea    r14,[rsp+0x20]
    0x7ffff0ed5b60  <+0x00c0>        48 8b 68 08                    mov    rbp,QWORD PTR [rax+0x8]
    0x7ffff0ed5b64  <+0x00c4>        0f 1f 40 00                    nop    DWORD PTR [rax+0x0]
    0x7ffff0ed5b68  <+0x00c8>        49 39 ec                       cmp    r12,rbp
    0x7ffff0ed5b6b  <+0x00cb>        74 33                          je     0x7ffff0ed5ba0 <_XReply+256>
    0x7ffff0ed5b6d  <+0x00cd>        8b 4d 10                       mov    ecx,DWORD PTR [rbp+0x10]
    0x7ffff0ed5b70  <+0x00d0>        85 c9                          test   ecx,ecx
    0x7ffff0ed5b72  <+0x00d2>        74 2c                          je     0x7ffff0ed5ba0 <_XReply+256>
    0x7ffff0ed5b74  <+0x00d4>        48 8b 93 50 09 00 00           mov    rdx,QWORD PTR [rbx+0x950]
    0x7ffff0ed5b7b  <+0x00db>        48 85 d2                       test   rdx,rdx
    0x7ffff0ed5b7e  <+0x00de>        74 e8                          je     0x7ffff0ed5b68 <_XReply+200>
    0x7ffff0ed5b80  <+0x00e0>        48 8b 78 60                    mov    rdi,QWORD PTR [rax+0x60]
    0x7ffff0ed5b84  <+0x00e4>        48 8b 32                       mov    rsi,QWORD PTR [rdx]
    0x7ffff0ed5b87  <+0x00e7>        ff 92 80 00 00 00              call   QWORD PTR [rdx+0x80]
    0x7ffff0ed5b8d  <+0x00ed>        48 8b 83 30 0a 00 00           mov    rax,QWORD PTR [rbx+0xa30]
    0x7ffff0ed5b94  <+0x00f4>        48 8b 68 08                    mov    rbp,QWORD PTR [rax+0x8]
    0x7ffff0ed5b98  <+0x00f8>        49 39 ec                       cmp    r12,rbp
    0x7ffff0ed5b9b  <+0x00fb>        75 d0                          jne    0x7ffff0ed5b6d <_XReply+205>
    0x7ffff0ed5b9d  <+0x00fd>        0f 1f 00                       nop    DWORD PTR [rax]
    0x7ffff0ed5ba0  <+0x0100>        c7 45 10 01 00 00 00           mov    DWORD PTR [rbp+0x10],0x1
    0x7ffff0ed5ba7  <+0x0107>        48 8b 83 68 09 00 00           mov    rax,QWORD PTR [rbx+0x968]
    0x7ffff0ed5bae  <+0x010e>        48 85 c0                       test   rax,rax
    0x7ffff0ed5bb1  <+0x0111>        74 06                          je     0x7ffff0ed5bb9 <_XReply+281>
    0x7ffff0ed5bb3  <+0x0113>        48 89 df                       mov    rdi,rbx
    0x7ffff0ed5bb6  <+0x0116>        ff 50 08                       call   QWORD PTR [rax+0x8]
    0x7ffff0ed5bb9  <+0x0119>        48 8b 75 08                    mov    rsi,QWORD PTR [rbp+0x8]
    0x7ffff0ed5bbd  <+0x011d>        4c 89 f2                       mov    rdx,r14
    0x7ffff0ed5bc0  <+0x0120>        4c 89 ff                       mov    rdi,r15
    0x7ffff0ed5bc3  <+0x0123>        e8 28 a6 fd ff                 call   0x7ffff0eb01f0
    0x7ffff0ed5bc8  <+0x0128>        49 89 c5                       mov    r13,rax
    0x7ffff0ed5bcb  <+0x012b>        48 8b 83 50 09 00 00           mov    rax,QWORD PTR [rbx+0x950]
    0x7ffff0ed5bd2  <+0x0132>        48 85 c0                       test   rax,rax
    0x7ffff0ed5bd5  <+0x0135>        74 0e                          je     0x7ffff0ed5be5 <_XReply+325>
    0x7ffff0ed5bd7  <+0x0137>        be 01 00 00 00                 mov    esi,0x1
    0x7ffff0ed5bdc  <+0x013c>        48 89 df                       mov    rdi,rbx
    0x7ffff0ed5bdf  <+0x013f>        ff 90 88 00 00 00              call   QWORD PTR [rax+0x88]
    0x7ffff0ed5be5  <+0x0145>        48 8b 8b 30 0a 00 00           mov    rcx,QWORD PTR [rbx+0xa30]
    0x7ffff0ed5bec  <+0x014c>        8b 51 40                       mov    edx,DWORD PTR [rcx+0x40]
    0x7ffff0ed5bef  <+0x014f>        85 d2                          test   edx,edx
    0x7ffff0ed5bf1  <+0x0151>        0f 84 9d 00 00 00              je     0x7ffff0ed5c94 <_XReply+500>
    0x7ffff0ed5bf7  <+0x0157>        c7 45 10 00 00 00 00           mov    DWORD PTR [rbp+0x10],0x0
    0x7ffff0ed5bfe  <+0x015e>        48 8b 83 50 09 00 00           mov    rax,QWORD PTR [rbx+0x950]
    0x7ffff0ed5c05  <+0x0165>        48 85 c0                       test   rax,rax
    0x7ffff0ed5c08  <+0x0168>        74 11                          je     0x7ffff0ed5c1b <_XReply+379>
    0x7ffff0ed5c0a  <+0x016a>        48 8b 93 30 0a 00 00           mov    rdx,QWORD PTR [rbx+0xa30]
    0x7ffff0ed5c11  <+0x0171>        48 8b 7a 60                    mov    rdi,QWORD PTR [rdx+0x60]
    0x7ffff0ed5c15  <+0x0175>        ff 90 98 00 00 00              call   QWORD PTR [rax+0x98]
    0x7ffff0ed5c1b  <+0x017b>        48 8b 45 08                    mov    rax,QWORD PTR [rbp+0x8]
    0x7ffff0ed5c1f  <+0x017f>        48 89 c2                       mov    rdx,rax
    0x7ffff0ed5c22  <+0x0182>        48 2b 93 98 00 00 00           sub    rdx,QWORD PTR [rbx+0x98]
    0x7ffff0ed5c29  <+0x0189>        48 85 d2                       test   rdx,rdx
    0x7ffff0ed5c2c  <+0x018c>        0f 8f 17 03 00 00              jg     0x7ffff0ed5f49 <_XReply+1193>
    0x7ffff0ed5c32  <+0x0192>        4d 85 ed                       test   r13,r13
    0x7ffff0ed5c35  <+0x0195>        48 89 83 90 00 00 00           mov    QWORD PTR [rbx+0x90],rax
    0x7ffff0ed5c3c  <+0x019c>        0f 84 d3 00 00 00              je     0x7ffff0ed5d15 <_XReply+629>
    0x7ffff0ed5c42  <+0x01a2>        49 39 ec                       cmp    r12,rbp
    0x7ffff0ed5c45  <+0x01a5>        0f 84 de 00 00 00              je     0x7ffff0ed5d29 <_XReply+649>
    0x7ffff0ed5c4b  <+0x01ab>        48 8b 74 24 20                 mov    rsi,QWORD PTR [rsp+0x20]
    0x7ffff0ed5c50  <+0x01b0>        48 85 f6                       test   rsi,rsi
    0x7ffff0ed5c53  <+0x01b3>        0f 84 97 00 00 00              je     0x7ffff0ed5cf0 <_XReply+592>
    0x7ffff0ed5c59  <+0x01b9>        ba 01 00 00 00                 mov    edx,0x1
    0x7ffff0ed5c5e  <+0x01be>        48 89 df                       mov    rdi,rbx
    0x7ffff0ed5c61  <+0x01c1>        e8 da f0 ff ff                 call   0x7ffff0ed4d40 <handle_response>
    0x7ffff0ed5c66  <+0x01c6>        48 8b 83 30 0a 00 00           mov    rax,QWORD PTR [rbx+0xa30]
    0x7ffff0ed5c6d  <+0x01cd>        48 8b 68 08                    mov    rbp,QWORD PTR [rax+0x8]
    0x7ffff0ed5c71  <+0x01d1>        e9 f2 fe ff ff                 jmp    0x7ffff0ed5b68 <_XReply+200>
    0x7ffff0ed5c76  <+0x01d6>        66 2e 0f 1f 84 00 00 00 00 00  nop    WORD PTR cs:[rax+rax*1+0x0]
    0x7ffff0ed5c80  <+0x01e0>        48 8b 79 50                    mov    rdi,QWORD PTR [rcx+0x50]
    0x7ffff0ed5c84  <+0x01e4>        48 8b 30                       mov    rsi,QWORD PTR [rax]
    0x7ffff0ed5c87  <+0x01e7>        ff 90 80 00 00 00              call   QWORD PTR [rax+0x80]
    0x7ffff0ed5c8d  <+0x01ed>        48 8b 8b 30 0a 00 00           mov    rcx,QWORD PTR [rbx+0xa30]
    0x7ffff0ed5c94  <+0x01f4>        8b 51 58                       mov    edx,DWORD PTR [rcx+0x58]
    0x7ffff0ed5c97  <+0x01f7>        eb 13                          jmp    0x7ffff0ed5cac <_XReply+524>
    0x7ffff0ed5c99  <+0x01f9>        0f 1f 80 00 00 00 00           nop    DWORD PTR [rax+0x0]
    0x7ffff0ed5ca0  <+0x0200>        48 8b 83 50 09 00 00           mov    rax,QWORD PTR [rbx+0x950]
    0x7ffff0ed5ca7  <+0x0207>        48 85 c0                       test   rax,rax
    0x7ffff0ed5caa  <+0x020a>        75 d4                          jne    0x7ffff0ed5c80 <_XReply+480>
    0x7ffff0ed5cac  <+0x020c>        85 d2                          test   edx,edx
    0x7ffff0ed5cae  <+0x020e>        75 f0                          jne    0x7ffff0ed5ca0 <_XReply+512>
    0x7ffff0ed5cb0  <+0x0210>        48 89 df                       mov    rdi,rbx
    0x7ffff0ed5cb3  <+0x0213>        e8 f8 f4 ff ff                 call   0x7ffff0ed51b0 <poll_for_event>
    0x7ffff0ed5cb8  <+0x0218>        48 85 c0                       test   rax,rax
    0x7ffff0ed5cbb  <+0x021b>        0f 84 36 ff ff ff              je     0x7ffff0ed5bf7 <_XReply+343>
    0x7ffff0ed5cc1  <+0x0221>        0f 1f 80 00 00 00 00           nop    DWORD PTR [rax+0x0]
    0x7ffff0ed5cc8  <+0x0228>        ba 01 00 00 00                 mov    edx,0x1
    0x7ffff0ed5ccd  <+0x022d>        48 89 c6                       mov    rsi,rax
    0x7ffff0ed5cd0  <+0x0230>        48 89 df                       mov    rdi,rbx
    0x7ffff0ed5cd3  <+0x0233>        e8 68 f0 ff ff                 call   0x7ffff0ed4d40 <handle_response>
    0x7ffff0ed5cd8  <+0x0238>        48 89 df                       mov    rdi,rbx
    0x7ffff0ed5cdb  <+0x023b>        e8 d0 f4 ff ff                 call   0x7ffff0ed51b0 <poll_for_event>
    0x7ffff0ed5ce0  <+0x0240>        48 85 c0                       test   rax,rax
    0x7ffff0ed5ce3  <+0x0243>        75 e3                          jne    0x7ffff0ed5cc8 <_XReply+552>
    0x7ffff0ed5ce5  <+0x0245>        e9 0d ff ff ff                 jmp    0x7ffff0ed5bf7 <_XReply+343>
    0x7ffff0ed5cea  <+0x024a>        66 0f 1f 44 00 00              nop    WORD PTR [rax+rax*1+0x0]
    0x7ffff0ed5cf0  <+0x0250>        4d 85 ed                       test   r13,r13
    0x7ffff0ed5cf3  <+0x0253>        74 10                          je     0x7ffff0ed5d05 <_XReply+613>
    0x7ffff0ed5cf5  <+0x0255>        ba 01 00 00 00                 mov    edx,0x1
    0x7ffff0ed5cfa  <+0x025a>        4c 89 ee                       mov    rsi,r13
    0x7ffff0ed5cfd  <+0x025d>        48 89 df                       mov    rdi,rbx
    0x7ffff0ed5d00  <+0x0260>        e8 3b f0 ff ff                 call   0x7ffff0ed4d40 <handle_response>
    0x7ffff0ed5d05  <+0x0265>        48 8b 83 30 0a 00 00           mov    rax,QWORD PTR [rbx+0xa30]
    0x7ffff0ed5d0c  <+0x026c>        48 8b 68 08                    mov    rbp,QWORD PTR [rax+0x8]
    0x7ffff0ed5d10  <+0x0270>        e9 53 fe ff ff                 jmp    0x7ffff0ed5b68 <_XReply+200>
    0x7ffff0ed5d15  <+0x0275>        48 89 ee                       mov    rsi,rbp
    0x7ffff0ed5d18  <+0x0278>        48 89 df                       mov    rdi,rbx
    0x7ffff0ed5d1b  <+0x027b>        e8 e0 f0 ff ff                 call   0x7ffff0ed4e00 <dequeue_pending_request>
    0x7ffff0ed5d20  <+0x0280>        49 39 ec                       cmp    r12,rbp
    0x7ffff0ed5d23  <+0x0283>        0f 85 22 ff ff ff              jne    0x7ffff0ed5c4b <_XReply+427>
    0x7ffff0ed5d29  <+0x0289>        48 89 df                       mov    rdi,rbx
    0x7ffff0ed5d2c  <+0x028c>        e8 7f ed ff ff                 call   0x7ffff0ed4ab0 <check_internal_connections>
    0x7ffff0ed5d31  <+0x0291>        48 8b 83 30 0a 00 00           mov    rax,QWORD PTR [rbx+0xa30]
    0x7ffff0ed5d38  <+0x0298>        48 8b 78 18                    mov    rdi,QWORD PTR [rax+0x18]
    0x7ffff0ed5d3c  <+0x029c>        48 85 ff                       test   rdi,rdi
    0x7ffff0ed5d3f  <+0x029f>        74 49                          je     0x7ffff0ed5d8a <_XReply+746>
    0x7ffff0ed5d41  <+0x02a1>        80 3f 00                       cmp    BYTE PTR [rdi],0x0
    0x7ffff0ed5d44  <+0x02a4>        75 44                          jne    0x7ffff0ed5d8a <_XReply+746>
    0x7ffff0ed5d46  <+0x02a6>        48 8b 8b 90 00 00 00           mov    rcx,QWORD PTR [rbx+0x90]
    0x7ffff0ed5d4d  <+0x02ad>        8b 77 20                       mov    esi,DWORD PTR [rdi+0x20]
    0x7ffff0ed5d50  <+0x02b0>        48 ba 00 00 00 00 ff ff ff ff  movabs rdx,0xffffffff00000000
    0x7ffff0ed5d5a  <+0x02ba>        48 21 ca                       and    rdx,rcx
    0x7ffff0ed5d5d  <+0x02bd>        48 09 f2                       or     rdx,rsi
    0x7ffff0ed5d60  <+0x02c0>        48 be 00 00 00 00 01 00 00 00  movabs rsi,0x100000000
    0x7ffff0ed5d6a  <+0x02ca>        48 39 d1                       cmp    rcx,rdx
    0x7ffff0ed5d6d  <+0x02cd>        48 0f 46 74 24 10              cmovbe rsi,QWORD PTR [rsp+0x10]
    0x7ffff0ed5d73  <+0x02d3>        48 01 f2                       add    rdx,rsi
    0x7ffff0ed5d76  <+0x02d6>        48 39 d1                       cmp    rcx,rdx
    0x7ffff0ed5d79  <+0x02d9>        75 0f                          jne    0x7ffff0ed5d8a <_XReply+746>
    0x7ffff0ed5d7b  <+0x02db>        48 89 7c 24 20                 mov    QWORD PTR [rsp+0x20],rdi
    0x7ffff0ed5d80  <+0x02e0>        48 c7 40 18 00 00 00 00        mov    QWORD PTR [rax+0x18],0x0
    0x7ffff0ed5d88  <+0x02e8>        eb 0a                          jmp    0x7ffff0ed5d94 <_XReply+756>
    0x7ffff0ed5d8a  <+0x02ea>        48 8b 7c 24 20                 mov    rdi,QWORD PTR [rsp+0x20]
    0x7ffff0ed5d8f  <+0x02ef>        48 85 ff                       test   rdi,rdi
    0x7ffff0ed5d92  <+0x02f2>        74 7c                          je     0x7ffff0ed5e10 <_XReply+880>
    0x7ffff0ed5d94  <+0x02f4>        48 8b 07                       mov    rax,QWORD PTR [rdi]
    0x7ffff0ed5d97  <+0x02f7>        48 8b 4c 24 08                 mov    rcx,QWORD PTR [rsp+0x8]
    0x7ffff0ed5d9c  <+0x02fc>        48 89 01                       mov    QWORD PTR [rcx],rax
    0x7ffff0ed5d9f  <+0x02ff>        48 8b 47 08                    mov    rax,QWORD PTR [rdi+0x8]
    0x7ffff0ed5da3  <+0x0303>        48 89 41 08                    mov    QWORD PTR [rcx+0x8],rax
    0x7ffff0ed5da7  <+0x0307>        48 8b 47 10                    mov    rax,QWORD PTR [rdi+0x10]
    0x7ffff0ed5dab  <+0x030b>        48 89 41 10                    mov    QWORD PTR [rcx+0x10],rax
    0x7ffff0ed5daf  <+0x030f>        48 8b 47 18                    mov    rax,QWORD PTR [rdi+0x18]
    0x7ffff0ed5db3  <+0x0313>        48 89 41 18                    mov    QWORD PTR [rcx+0x18],rax
    0x7ffff0ed5db7  <+0x0317>        0f b6 47 01                    movzx  eax,BYTE PTR [rdi+0x1]
    0x7ffff0ed5dbb  <+0x031b>        3c 0b                          cmp    al,0xb
    0x7ffff0ed5dbd  <+0x031d>        77 35                          ja     0x7ffff0ed5df4 <_XReply+852>
    0x7ffff0ed5dbf  <+0x031f>        3c 0a                          cmp    al,0xa
    0x7ffff0ed5dc1  <+0x0321>        73 41                          jae    0x7ffff0ed5e04 <_XReply+868>
    0x7ffff0ed5dc3  <+0x0323>        3c 07                          cmp    al,0x7
    0x7ffff0ed5dc5  <+0x0325>        75 06                          jne    0x7ffff0ed5dcd <_XReply+813>
    0x7ffff0ed5dc7  <+0x0327>        80 7f 0a 2f                    cmp    BYTE PTR [rdi+0xa],0x2f
    0x7ffff0ed5dcb  <+0x032b>        74 37                          je     0x7ffff0ed5e04 <_XReply+868>
    0x7ffff0ed5dcd  <+0x032d>        48 89 fe                       mov    rsi,rdi
    0x7ffff0ed5dd0  <+0x0330>        ba 01 00 00 00                 mov    edx,0x1
    0x7ffff0ed5dd5  <+0x0335>        48 89 df                       mov    rdi,rbx
    0x7ffff0ed5dd8  <+0x0338>        e8 c3 ee ff ff                 call   0x7ffff0ed4ca0 <handle_error>
    0x7ffff0ed5ddd  <+0x033d>        48 8b 7c 24 20                 mov    rdi,QWORD PTR [rsp+0x20]
    0x7ffff0ed5de2  <+0x0342>        89 44 24 08                    mov    DWORD PTR [rsp+0x8],eax
    0x7ffff0ed5de6  <+0x0346>        e8 75 97 fd ff                 call   0x7ffff0eaf560
    0x7ffff0ed5deb  <+0x034b>        8b 44 24 08                    mov    eax,DWORD PTR [rsp+0x8]
    0x7ffff0ed5def  <+0x034f>        e9 ff fc ff ff                 jmp    0x7ffff0ed5af3 <_XReply+83>
    0x7ffff0ed5df4  <+0x0354>        3c 0f                          cmp    al,0xf
    0x7ffff0ed5df6  <+0x0356>        75 d5                          jne    0x7ffff0ed5dcd <_XReply+813>
    0x7ffff0ed5df8  <+0x0358>        0f b6 47 0a                    movzx  eax,BYTE PTR [rdi+0xa]
    0x7ffff0ed5dfc  <+0x035c>        3c 55                          cmp    al,0x55
    0x7ffff0ed5dfe  <+0x035e>        74 04                          je     0x7ffff0ed5e04 <_XReply+868>
    0x7ffff0ed5e00  <+0x0360>        3c 5c                          cmp    al,0x5c
    0x7ffff0ed5e02  <+0x0362>        75 c9                          jne    0x7ffff0ed5dcd <_XReply+813>
    0x7ffff0ed5e04  <+0x0364>        e8 57 97 fd ff                 call   0x7ffff0eaf560
    0x7ffff0ed5e09  <+0x0369>        31 c0                          xor    eax,eax
    0x7ffff0ed5e0b  <+0x036b>        e9 e3 fc ff ff                 jmp    0x7ffff0ed5af3 <_XReply+83>
    0x7ffff0ed5e10  <+0x0370>        4d 85 ed                       test   r13,r13
    0x7ffff0ed5e13  <+0x0373>        0f 84 b2 00 00 00              je     0x7ffff0ed5ecb <_XReply+1067>
    0x7ffff0ed5e19  <+0x0379>        8b 4c 24 18                    mov    ecx,DWORD PTR [rsp+0x18]
    0x7ffff0ed5e1d  <+0x037d>        4c 89 68 28                    mov    QWORD PTR [rax+0x28],r13
    0x7ffff0ed5e21  <+0x0381>        48 8b 83 30 0a 00 00           mov    rax,QWORD PTR [rbx+0xa30]
    0x7ffff0ed5e28  <+0x0388>        8d 14 8d 20 00 00 00           lea    edx,[rcx*4+0x20]
    0x7ffff0ed5e2f  <+0x038f>        89 50 34                       mov    DWORD PTR [rax+0x34],edx
    0x7ffff0ed5e32  <+0x0392>        48 8b 83 30 0a 00 00           mov    rax,QWORD PTR [rbx+0xa30]
    0x7ffff0ed5e39  <+0x0399>        c7 40 30 20 00 00 00           mov    DWORD PTR [rax+0x30],0x20
    0x7ffff0ed5e40  <+0x03a0>        48 8b 83 30 0a 00 00           mov    rax,QWORD PTR [rbx+0xa30]
    0x7ffff0ed5e47  <+0x03a7>        48 8b 50 28                    mov    rdx,QWORD PTR [rax+0x28]
    0x7ffff0ed5e4b  <+0x03ab>        80 3a 01                       cmp    BYTE PTR [rdx],0x1
    0x7ffff0ed5e4e  <+0x03ae>        74 69                          je     0x7ffff0ed5eb9 <_XReply+1049>
    0x7ffff0ed5e50  <+0x03b0>        48 63 50 34                    movsxd rdx,DWORD PTR [rax+0x34]
    0x7ffff0ed5e54  <+0x03b4>        8b 48 30                       mov    ecx,DWORD PTR [rax+0x30]
    0x7ffff0ed5e57  <+0x03b7>        39 d1                          cmp    ecx,edx
    0x7ffff0ed5e59  <+0x03b9>        7d 0e                          jge    0x7ffff0ed5e69 <_XReply+969>
    0x7ffff0ed5e5b  <+0x03bb>        89 48 34                       mov    DWORD PTR [rax+0x34],ecx
    0x7ffff0ed5e5e  <+0x03be>        48 8b 83 30 0a 00 00           mov    rax,QWORD PTR [rbx+0xa30]
    0x7ffff0ed5e65  <+0x03c5>        48 63 50 34                    movsxd rdx,DWORD PTR [rax+0x34]
    0x7ffff0ed5e69  <+0x03c9>        48 8b 70 28                    mov    rsi,QWORD PTR [rax+0x28]
    0x7ffff0ed5e6d  <+0x03cd>        48 8b 7c 24 08                 mov    rdi,QWORD PTR [rsp+0x8]
    0x7ffff0ed5e72  <+0x03d2>        e8 c1 a0 fd ff                 call   0x7ffff0eaff38
    0x7ffff0ed5e77  <+0x03d7>        8b 44 24 1c                    mov    eax,DWORD PTR [rsp+0x1c]
    0x7ffff0ed5e7b  <+0x03db>        48 8b 93 30 0a 00 00           mov    rdx,QWORD PTR [rbx+0xa30]
    0x7ffff0ed5e82  <+0x03e2>        85 c0                          test   eax,eax
    0x7ffff0ed5e84  <+0x03e4>        75 11                          jne    0x7ffff0ed5e97 <_XReply+1015>
    0x7ffff0ed5e86  <+0x03e6>        8b 4a 30                       mov    ecx,DWORD PTR [rdx+0x30]
    0x7ffff0ed5e89  <+0x03e9>        39 4a 34                       cmp    DWORD PTR [rdx+0x34],ecx
    0x7ffff0ed5e8c  <+0x03ec>        b8 01 00 00 00                 mov    eax,0x1
    0x7ffff0ed5e91  <+0x03f1>        0f 8c 5c fc ff ff              jl     0x7ffff0ed5af3 <_XReply+83>
    0x7ffff0ed5e97  <+0x03f7>        48 8b 7a 28                    mov    rdi,QWORD PTR [rdx+0x28]
    0x7ffff0ed5e9b  <+0x03fb>        e8 c0 96 fd ff                 call   0x7ffff0eaf560
    0x7ffff0ed5ea0  <+0x0400>        48 8b 83 30 0a 00 00           mov    rax,QWORD PTR [rbx+0xa30]
    0x7ffff0ed5ea7  <+0x0407>        48 c7 40 28 00 00 00 00        mov    QWORD PTR [rax+0x28],0x0
    0x7ffff0ed5eaf  <+0x040f>        b8 01 00 00 00                 mov    eax,0x1
    0x7ffff0ed5eb4  <+0x0414>        e9 3a fc ff ff                 jmp    0x7ffff0ed5af3 <_XReply+83>
    0x7ffff0ed5eb9  <+0x0419>        8b 52 04                       mov    edx,DWORD PTR [rdx+0x4]
    0x7ffff0ed5ebc  <+0x041c>        c1 e2 02                       shl    edx,0x2
    0x7ffff0ed5ebf  <+0x041f>        01 50 30                       add    DWORD PTR [rax+0x30],edx
    0x7ffff0ed5ec2  <+0x0422>        48 8b 83 30 0a 00 00           mov    rax,QWORD PTR [rbx+0xa30]
    0x7ffff0ed5ec9  <+0x0429>        eb 85                          jmp    0x7ffff0ed5e50 <_XReply+944>
    0x7ffff0ed5ecb  <+0x042b>        48 89 df                       mov    rdi,rbx
    0x7ffff0ed5ece  <+0x042e>        e8 55 9e fd ff                 call   0x7ffff0eafd28
    0x7ffff0ed5ed3  <+0x0433>        48 8b 1d ee 90 2f 00           mov    rbx,QWORD PTR [rip+0x2f90ee]        # 0x7ffff11cefc8
    0x7ffff0ed5eda  <+0x043a>        48 8d 3d df 19 07 00           lea    rdi,[rip+0x719df]        # 0x7ffff0f478c0
    0x7ffff0ed5ee1  <+0x0441>        ba 2b 00 00 00                 mov    edx,0x2b
    0x7ffff0ed5ee6  <+0x0446>        be 01 00 00 00                 mov    esi,0x1
    0x7ffff0ed5eeb  <+0x044b>        48 8b 0b                       mov    rcx,QWORD PTR [rbx]
    0x7ffff0ed5eee  <+0x044e>        e8 55 a8 fd ff                 call   0x7ffff0eb0748
    0x7ffff0ed5ef3  <+0x0453>        48 8b 0b                       mov    rcx,QWORD PTR [rbx]
    0x7ffff0ed5ef6  <+0x0456>        48 8d 3d f3 19 07 00           lea    rdi,[rip+0x719f3]        # 0x7ffff0f478f0
    0x7ffff0ed5efd  <+0x045d>        ba 41 00 00 00                 mov    edx,0x41
    0x7ffff0ed5f02  <+0x0462>        be 01 00 00 00                 mov    esi,0x1
    0x7ffff0ed5f07  <+0x0467>        e8 3c a8 fd ff                 call   0x7ffff0eb0748
    0x7ffff0ed5f0c  <+0x046c>        48 8b 0b                       mov    rcx,QWORD PTR [rbx]
    0x7ffff0ed5f0f  <+0x046f>        48 8d 3d 02 18 07 00           lea    rdi,[rip+0x71802]        # 0x7ffff0f47718
    0x7ffff0ed5f16  <+0x0476>        ba 22 00 00 00                 mov    edx,0x22
    0x7ffff0ed5f1b  <+0x047b>        be 01 00 00 00                 mov    esi,0x1
    0x7ffff0ed5f20  <+0x0480>        e8 23 a8 fd ff                 call   0x7ffff0eb0748
    0x7ffff0ed5f25  <+0x0485>        48 8d 0d cc 1a 07 00           lea    rcx,[rip+0x71acc]        # 0x7ffff0f479f8
    0x7ffff0ed5f2c  <+0x048c>        48 8d 35 b8 16 07 00           lea    rsi,[rip+0x716b8]        # 0x7ffff0f475eb
    0x7ffff0ed5f33  <+0x0493>        48 8d 3d fe 19 07 00           lea    rdi,[rip+0x719fe]        # 0x7ffff0f47938
    0x7ffff0ed5f3a  <+0x049a>        ba 38 02 00 00                 mov    edx,0x238
    0x7ffff0ed5f3f  <+0x049f>        e8 54 9c fd ff                 call   0x7ffff0eafb98
    0x7ffff0ed5f44  <+0x04a4>        e8 df 9a fd ff                 call   0x7ffff0eafa28
    0x7ffff0ed5f49  <+0x04a9>        48 8b 1d 78 90 2f 00           mov    rbx,QWORD PTR [rip+0x2f9078]        # 0x7ffff11cefc8
    0x7ffff0ed5f50  <+0x04b0>        48 8d 3d 01 1a 07 00           lea    rdi,[rip+0x71a01]        # 0x7ffff0f47958
    0x7ffff0ed5f57  <+0x04b7>        ba 35 00 00 00                 mov    edx,0x35
    0x7ffff0ed5f5c  <+0x04bc>        be 01 00 00 00                 mov    esi,0x1
    0x7ffff0ed5f61  <+0x04c1>        48 8b 0b                       mov    rcx,QWORD PTR [rbx]
    0x7ffff0ed5f64  <+0x04c4>        e8 df a7 fd ff                 call   0x7ffff0eb0748
    0x7ffff0ed5f69  <+0x04c9>        48 8b 0b                       mov    rcx,QWORD PTR [rbx]
    0x7ffff0ed5f6c  <+0x04cc>        48 8d 3d 4d 17 07 00           lea    rdi,[rip+0x7174d]        # 0x7ffff0f476c0
    0x7ffff0ed5f73  <+0x04d3>        ba 57 00 00 00                 mov    edx,0x57
    0x7ffff0ed5f78  <+0x04d8>        be 01 00 00 00                 mov    esi,0x1
    0x7ffff0ed5f7d  <+0x04dd>        e8 c6 a7 fd ff                 call   0x7ffff0eb0748
    0x7ffff0ed5f82  <+0x04e2>        48 8b 0b                       mov    rcx,QWORD PTR [rbx]
    0x7ffff0ed5f85  <+0x04e5>        48 8d 3d 8c 17 07 00           lea    rdi,[rip+0x7178c]        # 0x7ffff0f47718
    0x7ffff0ed5f8c  <+0x04ec>        ba 22 00 00 00                 mov    edx,0x22
    0x7ffff0ed5f91  <+0x04f1>        be 01 00 00 00                 mov    esi,0x1
    0x7ffff0ed5f96  <+0x04f6>        e8 ad a7 fd ff                 call   0x7ffff0eb0748
    0x7ffff0ed5f9b  <+0x04fb>        48 8d 0d 56 1a 07 00           lea    rcx,[rip+0x71a56]        # 0x7ffff0f479f8
    0x7ffff0ed5fa2  <+0x0502>        48 8d 35 42 16 07 00           lea    rsi,[rip+0x71642]        # 0x7ffff0f475eb
    0x7ffff0ed5fa9  <+0x0509>        48 8d 3d c8 17 07 00           lea    rdi,[rip+0x717c8]        # 0x7ffff0f47778
    0x7ffff0ed5fb0  <+0x0510>        ba 76 02 00 00                 mov    edx,0x276
    0x7ffff0ed5fb5  <+0x0515>        e8 de 9b fd ff                 call   0x7ffff0eafb98
    

    It would seem a deadlock, a recursive call to the _XReply () function (xcb_wait_for_event) and no longer enters the functions of the application I created (I did the test inserting breackpoints in the application and it doesn't fit anymore).

    Analyzing the stack is very similar to the stack shown
    in the following blog

    xcb: XError recurses & hangs after XLib request buffer filled up

    @kkoehne: I don't know if I can invite you to participate in this conversation, but since you have analyzed this problem in the past I was wondering if it was tested on fedora (25) or if there were subsequent releases (Qt 5.8) related to this library?

    thank you very much to both of you !!!



  • Bump.

    The same here. Touchscreen + QT 5.5.1. Application freeze after random time elapsed.

    Trace:

    0	pthread_cond_wait * *GLIBC_2.3.2	/usr/lib/debug/.build-id/b1/7c21299099640a6d863e423d99265824e7bb16.debug	185	0x7ffff6b1c360	
    1	_XReply			0x7ffff5429aad	
    2	??			0x7ffff542c551	
    3	_XError			0x7ffff542bd01	
    4	??			0x7ffff5428b77	
    5	??			0x7ffff5428c35	
    6	_XReply			0x7ffff5429b85	
    7	??			0x7ffff542c551	
    8	_XError			0x7ffff542bd01	
    9	??			0x7ffff5428b77	
    10	??			0x7ffff5428c35	
    11	_XReply			0x7ffff5429b85	
    12	??			0x7ffff542c551	
    13	_XError			0x7ffff542bd01	
    14	??			0x7ffff5428b77	
    15	??			0x7ffff5428c35	
    16	_XReply			0x7ffff5429b85	
    17	??			0x7ffff542c551	
    18	_XError			0x7ffff542bd01	
    19	??			0x7ffff5428b77	
    20	??			0x7ffff5428c35	
    21	_XReply			0x7ffff5429b85	
    22	??			0x7ffff542c551	
    23	XLockDisplay			0x7ffff5416e17	
    24	??			0x7ffff7e368ff	
    25	QXcbConnection::handleXcbEvent(xcb_generic_event_t *)			0x7fffeeb0a48f	
    26	QXcbConnection::processXcbEvents()			0x7fffeeb0b05d	
    27	QObject::event(QEvent *)			0x7ffff6fe1c01	
    28	QApplicationPrivate::notify_helper(QObject *, QEvent *)			0x7ffff78a505c	
    29	QApplication::notify(QObject *, QEvent *)			0x7ffff78aa516	
    30	QCoreApplication::notifyInternal(QObject *, QEvent *)			0x7ffff6fb238b	
    31	QCoreApplicationPrivate::sendPostedEvents(QObject *, int, QThreadData *)			0x7ffff6fb4786	
    32	??			0x7ffff70083c3	
    33	g_main_context_dispatch			0x7ffff5770197	
    34	??			0x7ffff57703f0	
    35	g_main_context_iteration			0x7ffff577049c	
    36	QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)			0x7ffff70087cf	
    37	QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)			0x7ffff6fafb4a	
    38	QCoreApplication::exec()			0x7ffff6fb7bec	
    39	main	main.cpp	23	0x41855e	
    


  • Hi, is there any update on this issue. I am facing the similar/same issue in CentOS7.4 also. Related packages combinations where freeze is observed are (Qt 5.9.7plus, KWIN 4.11.19-8, libXi 1.7.9-1 and xinput 1.6.2 ) , (Qt 5.9.7, KWIN 4.11.19-8, libXi 1.7.9-1 and xinput 1.6.2 ) and ( Qt 5.9.1, KWIN 4.11.19-7, libXi 1.7.4-2 and xinput 1.6.1 ).

    Kernel details as follows,
    Linux bues3-sun724 3.10.0-693.el7.x86_64 #1 SMP Tue Aug 22 21:09:27 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

    stack output during the freeze condition is as follows,
    [local@bues3-sun724 ~]$ pstack 23226
    Thread 3 (Thread 0x7fcfeae6b700 (LWP 23228)):
    #0 0x00007fcffb5bd20d in poll () from /lib64/libc.so.6
    #1 0x00007fcff3e58082 in _xcb_conn_wait () from /lib64/libxcb.so.1
    #2 0x00007fcff3e59e6f in xcb_wait_for_event () from /lib64/libxcb.so.1
    #3 0x00007fcfed62be19 in QXcbEventReader::run() () from /lib64/libQt5XcbQpa.so.5
    #4 0x00007fcffc31be71 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
    #5 0x00007fcffbdb6dd5 in start_thread () from /lib64/libpthread.so.0
    #6 0x00007fcffb5c7ead in clone () from /lib64/libc.so.6
    Thread 2 (Thread 0x7fcfe8827700 (LWP 23229)):
    #0 0x00007fcffb5bd20d in poll () from /lib64/libc.so.6
    #1 0x00007fcff76b5c4c in g_main_context_iterate.isra.22 () from /lib64/libglib-2.0.so.0
    #2 0x00007fcff76b5d7c in g_main_context_iteration () from /lib64/libglib-2.0.so.0
    #3 0x00007fcffc51445c in QEventDispatcherGlib::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () from /lib64/libQt5Core.so.5
    #4 0x00007fcffc4c46db in QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) () from /lib64/libQt5Core.so.5
    #5 0x00007fcffc3177f8 in QThread::exec() () from /lib64/libQt5Core.so.5
    #6 0x00007fcfed5773b5 in QDBusConnectionManager::run() () from /lib64/libQt5DBus.so.5
    #7 0x00007fcffc31be71 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
    #8 0x00007fcffbdb6dd5 in start_thread () from /lib64/libpthread.so.0
    #9 0x00007fcffb5c7ead in clone () from /lib64/libc.so.6
    Thread 1 (Thread 0x7fcffe9e7900 (LWP 23226)):
    #0 0x00007fcffbdba965 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
    #1 0x00007fcff4af7f65 in _XReply () from /lib64/libX11.so.6
    #2 0x00007fcff4afa8c1 in _XSeqSyncFunction () from /lib64/libX11.so.6
    #3 0x00007fcff4afa08f in _XError () from /lib64/libX11.so.6
    #4 0x00007fcff4af70d7 in handle_error () from /lib64/libX11.so.6
    #5 0x00007fcff4af7195 in handle_response () from /lib64/libX11.so.6
    #6 0x00007fcff4af803a in _XReply () from /lib64/libX11.so.6
    #7 0x00007fcff4afa8c1 in _XSeqSyncFunction () from /lib64/libX11.so.6
    #8 0x00007fcff4afa08f in _XError () from /lib64/libX11.so.6
    #9 0x00007fcff4af70d7 in handle_error () from /lib64/libX11.so.6
    #10 0x00007fcff4af7195 in handle_response () from /lib64/libX11.so.6
    #11 0x00007fcff4af803a in _XReply () from /lib64/libX11.so.6
    #12 0x00007fcff4afa8c1 in _XSeqSyncFunction () from /lib64/libX11.so.6
    #13 0x00007fcff4ae55f7 in XLockDisplay () from /lib64/libX11.so.6
    #14 0x00007fcffe97314f in QXcbGlxIntegration::handleXcbEvent(xcb_generic_event_t*, unsigned int) () from /usr/lib64/qt5/plugins/xcbglintegrations/libqxcb-glx-integration.so
    #15 0x00007fcfed62a16f in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) () from /lib64/libQt5XcbQpa.so.5
    #16 0x00007fcfed62c19e in QXcbConnection::processXcbEvents() () from /lib64/libQt5XcbQpa.so.5
    #17 0x00007fcffc4ef1de in QObject::event(QEvent*) () from /lib64/libQt5Core.so.5
    #18 0x00007fcffcebdd8c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
    #19 0x00007fcffcec4f68 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
    #20 0x00007fcffc4c5be6 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
    #21 0x00007fcffc4c8503 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQt5Core.so.5
    #22 0x00007fcffc514ab3 in postEventSourceDispatch(_GSource*, int ()(void), void*) () from /lib64/libQt5Core.so.5
    #23 0x00007fcff76b5969 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
    #24 0x00007fcff76b5cc8 in g_main_context_iterate.isra.22 () from /lib64/libglib-2.0.so.0
    #25 0x00007fcff76b5d7c in g_main_context_iteration () from /lib64/libglib-2.0.so.0
    #26 0x00007fcffc51445c in QEventDispatcherGlib::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () from /lib64/libQt5Core.so.5
    #27 0x00007fcffc4c46db in QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) () from /lib64/libQt5Core.so.5
    #28 0x00007fcffc4ccc04 in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
    #29 0x00000000004263a9 in main ()
    [local@bues3-sun724 ~]$




Log in to reply