Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-35389

Qt Creator deadlocks on startup with 5.2 using nvidia driver

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Cannot Reproduce
    • Affects Version/s: 5.2.0
    • Fix Version/s: None
    • Component/s: GUI: OpenGL
    • Labels:
    • Environment:
      Linux 64 bit, kubuntu, nvidia proprietary driver

      Description

      Qt build from source, both release and stable branch.

      Starting creator, it paints the widget parts but the qt quick parts stay transparent.

      Using Qt version: creator
      GNU gdb (GDB) 7.6.1-ubuntu
      Copyright (C) 2013 Free Software Foundation, Inc.
      License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
      This is free software: you are free to change and redistribute it.
      There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
      and "show warranty" for details.
      This GDB was configured as "x86_64-linux-gnu".
      For bug reporting instructions, please see:
      <http://www.gnu.org/software/gdb/bugs/>...
      Reading symbols from /home/frederik/dev/qt/qt-creator/qt-creator/bin/qtcreator...done.
      Starting program: /home/frederik/dev/qt/qt-creator/qt-creator/bin/qtcreator 
      warning: the debug information found in "/usr/lib/debug//lib/x86_64-linux-gnu/ld-2.17.so" does not match "/lib64/ld-linux-x86-64.so.2" (CRC mismatch).
      
      warning: the debug information found in "/usr/lib/debug/lib/x86_64-linux-gnu//ld-2.17.so" does not match "/lib64/ld-linux-x86-64.so.2" (CRC mismatch).
      
      warning: the debug information found in "/usr/lib/debug//lib/x86_64-linux-gnu/libpthread-2.17.so" does not match "/lib/x86_64-linux-gnu/libpthread.so.0" (CRC mismatch).
      
      warning: the debug information found in "/usr/lib/debug/lib/x86_64-linux-gnu/libpthread-2.17.so" does not match "/lib/x86_64-linux-gnu/libpthread.so.0" (CRC mismatch).
      
      [Thread debugging using libthread_db enabled]
      Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
      warning: the debug information found in "/usr/lib/debug//lib/x86_64-linux-gnu/libc-2.17.so" does not match "/lib/x86_64-linux-gnu/libc.so.6" (CRC mismatch).
      
      warning: the debug information found in "/usr/lib/debug/lib/x86_64-linux-gnu/libc-2.17.so" does not match "/lib/x86_64-linux-gnu/libc.so.6" (CRC mismatch).
      
      warning: the debug information found in "/usr/lib/debug//lib/x86_64-linux-gnu/libm-2.17.so" does not match "/lib/x86_64-linux-gnu/libm.so.6" (CRC mismatch).
      
      warning: the debug information found in "/usr/lib/debug/lib/x86_64-linux-gnu/libm-2.17.so" does not match "/lib/x86_64-linux-gnu/libm.so.6" (CRC mismatch).
      
      warning: the debug information found in "/usr/lib/debug//lib/x86_64-linux-gnu/libdl-2.17.so" does not match "/lib/x86_64-linux-gnu/libdl.so.2" (CRC mismatch).
      
      warning: the debug information found in "/usr/lib/debug/lib/x86_64-linux-gnu/libdl-2.17.so" does not match "/lib/x86_64-linux-gnu/libdl.so.2" (CRC mismatch).
      
      warning: the debug information found in "/usr/lib/debug//lib/x86_64-linux-gnu/librt-2.17.so" does not match "/lib/x86_64-linux-gnu/librt.so.1" (CRC mismatch).
      
      warning: the debug information found in "/usr/lib/debug/lib/x86_64-linux-gnu/librt-2.17.so" does not match "/lib/x86_64-linux-gnu/librt.so.1" (CRC mismatch).
      
      [New Thread 0x7fffeb3c9700 (LWP 20833)]
      [debug] qtcreator (/home/frederik/dev/qt/qt-src-creator/qtbase/src/gui/kernel/qguiapplication.cpp:1134) - Qt: gdb: -nograb added to command-line options.
               Use the -dograb option to enforce grabbing.
      [warning] QtCreator (/home/frederik/dev/qt/qt-src-creator/qt-creator/src/libs/utils/persistentsettings.cpp:252) - "Warning reading /home/frederik/.config/QtProject/qtcreator/profiles.xml:137: Failed to read element "value"." 
      [New Thread 0x7fffd0ab1700 (LWP 20856)]
      [New Thread 0x7fffcbfff700 (LWP 20924)]
      [New Thread 0x7fffcb5fe700 (LWP 20926)]
      [warning] QtCreator (/home/frederik/dev/qt/qt-src-creator/qt-creator/src/libs/utils/persistentsettings.cpp:252) - "Warning reading /home/frederik/.config/QtProject/qtcreator/profiles.xml:137: Failed to read element "value"." 
      [warning] QtCreator (/home/frederik/dev/qt/qt-src-creator/qt-creator/src/plugins/projectexplorer/kitinformation.cpp:161) - No tool chain set from kit "Android for armeabi-v7a (GCC 4.7, Qt 5.2.1)".
      [warning] QtCreator (/home/frederik/dev/qt/qt-src-creator/qt-creator/src/plugins/projectexplorer/kitinformation.cpp:161) - No tool chain set from kit "Desktop".
      [warning] QtCreator (/home/frederik/dev/qt/qt-src-creator/qt-creator/src/plugins/projectexplorer/kitinformation.cpp:161) - No tool chain set from kit "Desktop-Qt 5.0.0 (qt-5)".
      [warning] QtCreator (/home/frederik/dev/qt/qt-src-creator/qt-creator/src/plugins/projectexplorer/kitinformation.cpp:161) - No tool chain set from kit "Qt 4.8.0 (qt-master)".
      [warning] QtCreator (/home/frederik/dev/qt/qt-src-creator/qt-creator/src/plugins/projectexplorer/kitinformation.cpp:161) - No tool chain set from kit "Qt 5.0.0 (qt-5)".
      [warning] QtCreator (/home/frederik/dev/qt/qt-src-creator/qt-creator/src/plugins/projectexplorer/kitinformation.cpp:161) - No tool chain set from kit "Qt 5.0.0 (qt-5)2".
      [warning] QtCreator (/home/frederik/dev/qt/qt-src-creator/qt-creator/src/plugins/projectexplorer/kitinformation.cpp:161) - No tool chain set from kit "Android for armeabi-v7a (GCC 4.7, Qt 5.2.1)".
      [warning] QtCreator (/home/frederik/dev/qt/qt-src-creator/qt-creator/src/plugins/projectexplorer/kitinformation.cpp:161) - No tool chain set from kit "Desktop".
      [warning] QtCreator (/home/frederik/dev/qt/qt-src-creator/qt-creator/src/plugins/projectexplorer/kitinformation.cpp:161) - No tool chain set from kit "Desktop-Qt 5.0.0 (qt-5)".
      [warning] QtCreator (/home/frederik/dev/qt/qt-src-creator/qt-creator/src/plugins/projectexplorer/kitinformation.cpp:161) - No tool chain set from kit "Qt 4.8.0 (qt-master)".
      [warning] QtCreator (/home/frederik/dev/qt/qt-src-creator/qt-creator/src/plugins/projectexplorer/kitinformation.cpp:161) - No tool chain set from kit "Qt 5.0.0 (qt-5)".
      [warning] QtCreator (/home/frederik/dev/qt/qt-src-creator/qt-creator/src/plugins/projectexplorer/kitinformation.cpp:161) - No tool chain set from kit "Qt 5.0.0 (qt-5)2".
      [New Thread 0x7fffc9539700 (LWP 20962)]
      warning: the debug information found in "/usr/lib/debug//lib/x86_64-linux-gnu/libnss_compat-2.17.so" does not match "/lib/x86_64-linux-gnu/libnss_compat.so.2" (CRC mismatch).
      
      warning: the debug information found in "/usr/lib/debug/lib/x86_64-linux-gnu/libnss_compat-2.17.so" does not match "/lib/x86_64-linux-gnu/libnss_compat.so.2" (CRC mismatch).
      
      warning: the debug information found in "/usr/lib/debug//lib/x86_64-linux-gnu/libnsl-2.17.so" does not match "/lib/x86_64-linux-gnu/libnsl.so.1" (CRC mismatch).
      
      warning: the debug information found in "/usr/lib/debug/lib/x86_64-linux-gnu/libnsl-2.17.so" does not match "/lib/x86_64-linux-gnu/libnsl.so.1" (CRC mismatch).
      
      warning: the debug information found in "/usr/lib/debug//lib/x86_64-linux-gnu/libnss_nis-2.17.so" does not match "/lib/x86_64-linux-gnu/libnss_nis.so.2" (CRC mismatch).
      
      warning: the debug information found in "/usr/lib/debug/lib/x86_64-linux-gnu/libnss_nis-2.17.so" does not match "/lib/x86_64-linux-gnu/libnss_nis.so.2" (CRC mismatch).
      
      warning: the debug information found in "/usr/lib/debug//lib/x86_64-linux-gnu/libnss_files-2.17.so" does not match "/lib/x86_64-linux-gnu/libnss_files.so.2" (CRC mismatch).
      
      warning: the debug information found in "/usr/lib/debug/lib/x86_64-linux-gnu/libnss_files-2.17.so" does not match "/lib/x86_64-linux-gnu/libnss_files.so.2" (CRC mismatch).
      
      [warning] QtCreator (/home/frederik/dev/qt/qt-src-creator/qtdeclarative/src/quick/scenegraph/qsgthreadedrenderloop.cpp:910) - QSGThreadedRenderLoop: expose event received for window with invalid geometry.
      [warning] QtCreator (/home/frederik/dev/qt/qt-src-creator/qtdeclarative/src/quick/scenegraph/qsgthreadedrenderloop.cpp:910) - QSGThreadedRenderLoop: expose event received for window with invalid geometry.
      [warning] QtCreator (/home/frederik/dev/qt/qt-src-creator/qtdeclarative/src/quick/scenegraph/qsgthreadedrenderloop.cpp:910) - QSGThreadedRenderLoop: expose event received for window with invalid geometry.
      
      ^C
      Program received signal SIGINT, Interrupt.
      0x00007ffff5bffc84 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
      (gdb) thread apply all backtrace
      
      Thread 6 (Thread 0x7fffc9539700 (LWP 20962)):
      #0  0x00007ffff5c0003e in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
      #1  0x00007ffff5ec1907 in QWaitConditionPrivate::wait_relative (this=0x6a3ba0, time=30000)
          at /home/frederik/dev/qt/qt-src-creator/qtbase/src/corelib/thread/qwaitcondition_unix.cpp:126
      #2  0x00007ffff5ec193e in QWaitConditionPrivate::wait (this=0x6a3ba0, time=30000)
          at /home/frederik/dev/qt/qt-src-creator/qtbase/src/corelib/thread/qwaitcondition_unix.cpp:134
      #3  0x00007ffff5ec170f in QWaitCondition::wait (this=0x6c3988, mutex=0x6c3980, time=30000)
          at /home/frederik/dev/qt/qt-src-creator/qtbase/src/corelib/thread/qwaitcondition_unix.cpp:208
      #4  0x00007ffff5eba0e4 in QThreadPoolThread::run (this=0x149ed70) at /home/frederik/dev/qt/qt-src-creator/qtbase/src/corelib/thread/qthreadpool.cpp:134
      #5  0x00007ffff5ec0181 in QThreadPrivate::start (arg=0x149ed70) at /home/frederik/dev/qt/qt-src-creator/qtbase/src/corelib/thread/qthread_unix.cpp:345
      #6  0x00007ffff5bfbf6e in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
      #7  0x00007ffff540c9cd in clone () from /lib/x86_64-linux-gnu/libc.so.6
      
      Thread 5 (Thread 0x7fffcb5fe700 (LWP 20926)):
      #0  0x00007ffff53fff7d in poll () from /lib/x86_64-linux-gnu/libc.so.6
      #1  0x00007ffff4bd56a4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
      #2  0x00007ffff4bd57ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
      #3  0x00007ffff61a0479 in QEventDispatcherGlib::processEvents (this=0x7fff7c0008c0, flags=...)
          at /home/frederik/dev/qt/qt-src-creator/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:426
      #4  0x00007ffff61255ae in QEventLoop::processEvents (this=0x7fffcb5fdda0, flags=...)
          at /home/frederik/dev/qt/qt-src-creator/qtbase/src/corelib/kernel/qeventloop.cpp:136
      #5  0x00007ffff6125879 in QEventLoop::exec (this=0x7fffcb5fdda0, flags=...) at /home/frederik/dev/qt/qt-src-creator/qtbase/src/corelib/kernel/qeventloop.cpp:212
      #6  0x00007ffff5eb8efc in QThread::exec (this=0x113bb70) at /home/frederik/dev/qt/qt-src-creator/qtbase/src/corelib/thread/qthread.cpp:509
      #7  0x00007fffe0e35e5f in QQmlThreadPrivate::run (this=0x113bb70) at /home/frederik/dev/qt/qt-src-creator/qtdeclarative/src/qml/qml/ftw/qqmlthread.cpp:148
      #8  0x00007ffff5ec0181 in QThreadPrivate::start (arg=0x113bb70) at /home/frederik/dev/qt/qt-src-creator/qtbase/src/corelib/thread/qthread_unix.cpp:345
      #9  0x00007ffff5bfbf6e in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
      #10 0x00007ffff540c9cd in clone () from /lib/x86_64-linux-gnu/libc.so.6
      
      Thread 4 (Thread 0x7fffcbfff700 (LWP 20924)):
      #0  0x00007ffff53fff7d in poll () from /lib/x86_64-linux-gnu/libc.so.6
      #1  0x00007ffff4bd56a4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
      #2  0x00007ffff4bd57ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
      #3  0x00007ffff61a0499 in QEventDispatcherGlib::processEvents (this=0x7fffc40008c0, flags=...)
          at /home/frederik/dev/qt/qt-src-creator/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:428
      #4  0x00007ffff61255ae in QEventLoop::processEvents (this=0x7fffcbffeda0, flags=...)
          at /home/frederik/dev/qt/qt-src-creator/qtbase/src/corelib/kernel/qeventloop.cpp:136
      #5  0x00007ffff6125879 in QEventLoop::exec (this=0x7fffcbffeda0, flags=...) at /home/frederik/dev/qt/qt-src-creator/qtbase/src/corelib/kernel/qeventloop.cpp:212
      #6  0x00007ffff5eb8efc in QThread::exec (this=0xcf6ff0) at /home/frederik/dev/qt/qt-src-creator/qtbase/src/corelib/thread/qthread.cpp:509
      #7  0x00007ffff5eb90a2 in QThread::run (this=0xcf6ff0) at /home/frederik/dev/qt/qt-src-creator/qtbase/src/corelib/thread/qthread.cpp:576
      #8  0x00007ffff5ec0181 in QThreadPrivate::start (arg=0xcf6ff0) at /home/frederik/dev/qt/qt-src-creator/qtbase/src/corelib/thread/qthread_unix.cpp:345
      #9  0x00007ffff5bfbf6e in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
      #10 0x00007ffff540c9cd in clone () from /lib/x86_64-linux-gnu/libc.so.6
      
      Thread 3 (Thread 0x7fffd0ab1700 (LWP 20856)):
      #0  0x00007ffff5404de3 in select () from /lib/x86_64-linux-gnu/libc.so.6
      #1  0x00007ffff60bcef9 in QProcessManager::run (this=0x668680) at /home/frederik/dev/qt/qt-src-creator/qtbase/src/corelib/io/qprocess_unix.cpp:272
      #2  0x00007ffff5ec0181 in QThreadPrivate::start (arg=0x668680) at /home/frederik/dev/qt/qt-src-creator/qtbase/src/corelib/thread/qthread_unix.cpp:345
      #3  0x00007ffff5bfbf6e in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
      #4  0x00007ffff540c9cd in clone () from /lib/x86_64-linux-gnu/libc.so.6
      
      Thread 2 (Thread 0x7fffeb3c9700 (LWP 20833)):
      #0  0x00007ffff53fff7d in poll () from /lib/x86_64-linux-gnu/libc.so.6
      #1  0x00007ffff2c4b982 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
      #2  0x00007ffff2c4d01f in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
      #3  0x00007fffee4a346f in QXcbEventReader::run (this=0x682f30) at /home/frederik/dev/qt/qt-src-creator/qtbase/src/plugins/platforms/xcb/qxcbconnection.cpp:1008
      #4  0x00007ffff5ec0181 in QThreadPrivate::start (arg=0x682f30) at /home/frederik/dev/qt/qt-src-creator/qtbase/src/corelib/thread/qthread_unix.cpp:345
      #5  0x00007ffff5bfbf6e in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
      #6  0x00007ffff540c9cd in clone () from /lib/x86_64-linux-gnu/libc.so.6
      
      Thread 1 (Thread 0x7ffff7fb0780 (LWP 20829)):
      #0  0x00007ffff5bffc84 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
      #1  0x00007ffff5ec195a in QWaitConditionPrivate::wait (this=0x146bc10, time=18446744073709551615)
          at /home/frederik/dev/qt/qt-src-creator/qtbase/src/corelib/thread/qwaitcondition_unix.cpp:136
      #2  0x00007ffff5ec170f in QWaitCondition::wait (this=0x146a938, mutex=0x146a930, time=18446744073709551615)
          at /home/frederik/dev/qt/qt-src-creator/qtbase/src/corelib/thread/qwaitcondition_unix.cpp:208
      #3  0x00007fffde564aab in QSGThreadedRenderLoop::polishAndSync (this=0xf8b5d0, w=0x1442e10)
          at /home/frederik/dev/qt/qt-src-creator/qtdeclarative/src/quick/scenegraph/qsgthreadedrenderloop.cpp:1106
      #4  0x00007fffde564e54 in QSGThreadedRenderLoop::event (this=0xf8b5d0, e=0x7fffffffcc90)
          at /home/frederik/dev/qt/qt-src-creator/qtdeclarative/src/quick/scenegraph/qsgthreadedrenderloop.cpp:1170
      #5  0x00007ffff7303fc4 in QApplicationPrivate::notify_helper (this=0x666ce0, receiver=0xf8b5d0, e=0x7fffffffcc90)
      ---Type <return> to continue, or q <return> to quit---
          at /home/frederik/dev/qt/qt-src-creator/qtbase/src/widgets/kernel/qapplication.cpp:3467
      #6  0x00007ffff7301427 in QApplication::notify (this=0x7fffffffd700, receiver=0xf8b5d0, e=0x7fffffffcc90)
          at /home/frederik/dev/qt/qt-src-creator/qtbase/src/widgets/kernel/qapplication.cpp:2888
      #7  0x00007ffff612882a in QCoreApplication::notifyInternal (this=0x7fffffffd700, receiver=0xf8b5d0, event=0x7fffffffcc90)
          at /home/frederik/dev/qt/qt-src-creator/qtbase/src/corelib/kernel/qcoreapplication.cpp:881
      #8  0x00007ffff612c497 in QCoreApplication::sendEvent (receiver=0xf8b5d0, event=0x7fffffffcc90)
          at /home/frederik/dev/qt/qt-src-creator/qtbase/src/corelib/kernel/qcoreapplication.h:232
      #9  0x00007ffff619e7d0 in QTimerInfoList::activateTimers (this=0x6bffa0) at /home/frederik/dev/qt/qt-src-creator/qtbase/src/corelib/kernel/qtimerinfo_unix.cpp:643
      #10 0x00007ffff619fae4 in timerSourceDispatch (source=0x6bff40) at /home/frederik/dev/qt/qt-src-creator/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:185
      #11 0x00007ffff4bd53b6 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
      #12 0x00007ffff4bd5708 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
      #13 0x00007ffff4bd57ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
      #14 0x00007ffff61a0479 in QEventDispatcherGlib::processEvents (this=0x6a8e50, flags=...)
          at /home/frederik/dev/qt/qt-src-creator/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:426
      #15 0x00007fffee4d76fe in QPAEventDispatcherGlib::processEvents (this=0x6a8e50, flags=...)
          at /home/frederik/dev/qt/qt-src-creator/qtbase/src/platformsupport/eventdispatchers/qeventdispatcher_glib.cpp:123
      #16 0x00007ffff61255ae in QEventLoop::processEvents (this=0x7fffffffcf60, flags=...)
          at /home/frederik/dev/qt/qt-src-creator/qtbase/src/corelib/kernel/qeventloop.cpp:136
      #17 0x00007ffff6125879 in QEventLoop::exec (this=0x7fffffffcf60, flags=...) at /home/frederik/dev/qt/qt-src-creator/qtbase/src/corelib/kernel/qeventloop.cpp:212
      #18 0x00007ffff6128f03 in QCoreApplication::exec () at /home/frederik/dev/qt/qt-src-creator/qtbase/src/corelib/kernel/qcoreapplication.cpp:1134
      #19 0x00007ffff672fa32 in QGuiApplication::exec () at /home/frederik/dev/qt/qt-src-creator/qtbase/src/gui/kernel/qguiapplication.cpp:1332
      #20 0x00007ffff7300ccd in QApplication::exec () at /home/frederik/dev/qt/qt-src-creator/qtbase/src/widgets/kernel/qapplication.cpp:2692
      #21 0x000000000040e428 in main (argc=1, argv=0x7fffffffd858) at /home/frederik/dev/qt/qt-src-creator/qt-creator/src/app/main.cpp:533
      

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            sletta Gunnar Sletta
            Reporter:
            frederik Frederik Gladhorn
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes