Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-12031

GUI does not load when running remotely

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P3: Somewhat important
    • None
    • Qt Creator 3.1.0-beta
    • All Other Issues
    • None

    Description

      GUI for QT Creator does not appear will running remotely. No error. Just hanging. The same binary running locally on the client does not have this issue.

      Below is the backtrace when running remotely.

      [remote client]: gdb ./qtcreator
      GNU gdb (GDB) 7.4
      Copyright (C) 2012 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-unknown-linux-gnu".
      For bug reporting instructions, please see:
      <http://www.gnu.org/software/gdb/bugs/>...
      Reading symbols from /tmp/git/qt-creator/bin/qtcreator...done.
      (gdb) set args --dograb
      (gdb) set logging on
      Copying output to gdb.txt.
      (gdb) break main
      Breakpoint 1 at 0x40ce99: file main.cpp, line 300.
      (gdb) run
      Starting program: /tmp/git/qt-creator/bin/qtcreator --dograb
      [Thread debugging using libthread_db enabled]
      Using host libthread_db library "/lib64/libthread_db.so.1".
      
      Breakpoint 1, main (argc=2, argv=0x7fffffffda68) at main.cpp:300
      300         QApplication::setGraphicsSystem(QLatin1String("raster"));
      (gdb) break _xcb_conn_shutdown
      Function "_xcb_conn_shutdown" not defined.
      Make breakpoint pending on future shared library load? (y or [n]) y
      Breakpoint 2 (_xcb_conn_shutdown) pending.
      (gdb) commands
      Type commands for breakpoint(s) 2, one per line.
      End with a line saying just "end".
      >bt
      >cont
      >end
      (gdb) break _XIOError
      Breakpoint 3 at 0x3dc4e44930
      (gdb) commands
      Type commands for breakpoint(s) 3, one per line.
      End with a line saying just "end".
      >bt
      >cont
      >end
      (gdb) cont
      Continuing.
      [New Thread 0x2aaaaed4c700 (LWP 31332)]
      Qt: XKEYBOARD extension not present on the X server.
      ^C
      
      
      [New Thread 0x2aaac2bfe700 (LWP 31348)]
      [New Thread 0x2aaac2dff700 (LWP 31350)]
      
      
      ^C
      Program received signal SIGINT, Interrupt.
      0x0000003dc320e054 in __lll_lock_wait () from /lib64/libpthread.so.0
      (gdb) bt
      #0  0x0000003dc320e054 in __lll_lock_wait () from /lib64/libpthread.so.0
      #1  0x0000003dc3209388 in _L_lock_854 () from /lib64/libpthread.so.0
      #2  0x0000003dc3209257 in pthread_mutex_lock () from /lib64/libpthread.so.0
      #3  0x0000003dc4e30f33 in ?? () from /usr/lib64/libX11.so.6
      #4  0x0000003dfb619cd0 in glXDestroyContext () from /usr/lib64/libGL.so.1
      #5  0x00002aaaae5388f8 in QGLXContext::~QGLXContext (this=0x7fd600, __in_chrg=<optimized out>) at qglxintegration.cpp:325
      #6  0x00002aaaae538948 in QGLXContext::~QGLXContext (this=0x7fd600, __in_chrg=<optimized out>) at qglxintegration.cpp:326
      #7  0x00002aaaac586781 in QOpenGLContext::destroy (this=0x7fffffffc5e0) at kernel/qopenglcontext.cpp:543
      #8  0x00002aaaac586852 in QOpenGLContext::~QOpenGLContext (this=0x7fffffffc5e0, __in_chrg=<optimized out>)
          at kernel/qopenglcontext.cpp:576
      #9  0x00002aaaae5393d6 in QGLXContext::queryDummyContext () at qglxintegration.cpp:516
      #10 0x00002aaaae539407 in QGLXContext::supportsThreading () at qglxintegration.cpp:522
      #11 0x00002aaaae509b2c in QXcbIntegration::hasCapability (this=0x628e30, cap=QPlatformIntegration::ThreadedOpenGL)
          at qxcbintegration.cpp:290
      #12 0x00002aaab8914624 in QSGRenderLoop::instance () at scenegraph/qsgrenderloop.cpp:189
      #13 0x00002aaab8946c55 in QQuickWindowPrivate::init (this=0x104a820, c=0x1049350, control=0x0) at items/qquickwindow.cpp:446
      #14 0x00002aaab8949319 in QQuickWindow::QQuickWindow (this=0x1049350, dd=..., parent=0x0) at items/qquickwindow.cpp:1059
      #15 0x00002aaab8a22652 in QQuickView::QQuickView (this=0x1049350, parent=0x0) at items/qquickview.cpp:193
      #16 0x00002aaac279ec25 in Welcome::Internal::WelcomeMode::WelcomeMode (this=0x1049060) at welcomeplugin.cpp:150
      #17 0x00002aaac27a0627 in Welcome::Internal::WelcomePlugin::initialize (this=0x8e62f0) at welcomeplugin.cpp:350
      #18 0x00002aaaaaae0325 in ExtensionSystem::Internal::PluginSpecPrivate::initializePlugin (this=0x6a9890) at pluginspec.cpp:1012
      #19 0x00002aaaaaad1f30 in ExtensionSystem::Internal::PluginManagerPrivate::loadPlugin (this=0x65ef30, spec=0x68a030, 
          destState=ExtensionSystem::PluginSpec::Initialized) at pluginmanager.cpp:1166
      #20 0x00002aaaaaad0a4e in ExtensionSystem::Internal::PluginManagerPrivate::loadPlugins (this=0x65ef30) at pluginmanager.cpp:1013
      #21 0x00002aaaaaacc579 in ExtensionSystem::PluginManager::loadPlugins () at pluginmanager.cpp:336
      #22 0x000000000040ee45 in main (argc=1, argv=0x7fffffffda68) at main.cpp:507
      (gdb) 
      

      Attachments

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

        Activity

          People

            kkohne Kai Köhne
            tktan Tshun Kiat TAN
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes