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

QT Creator crashes with SIGSEGV

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • None
    • Qt Creator 3.0.0
    • All Other Issues

    Description

      On a Ubuntu 12.04 system (see environment tab) I downloaded and installed qt-linux-opensource-5.2.0-x86_64-offline.run - ran as root and installed into /opt/Qt5.2.0.

      After ssh'ing into this machine from Windows 7 desktop, I try and fire up qtcreator to remote display back to Cygwin X11 server running on my desktop, and it segfaults:

      user@colossus:~$ /opt/Qt5.2.0/Tools/QtCreator/bin/qtcreator
      Xlib: extension "NV-GLX" missing on display "localhost:10.0".
      Segmentation fault (core dumped)
      user@colossus:~$ ll core
      rw------ 1 pete pete 132071424 Jan 6 12:05 core
      user@colossus:~$ file core
      core: ELF 64-bit LSB core file x86-64, version 1 (SYSV), SVR4-style, from '/opt/Qt5.2.0/Tools/QtCreator/bin/qtcreator'
      user@colossus:~$ gdb /opt/Qt5.2.0/Tools/QtCreator/bin/qtcreator core
      GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2.1) 7.4-2012.04
      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-linux-gnu".
      For bug reporting instructions, please see:
      <http://bugs.launchpad.net/gdb-linaro/>...
      Reading symbols from /home/opt/Qt5.2.0/Tools/QtCreator/bin/qtcreator...(no debugging symbols found)...done.
      [New LWP 31984]
      [New LWP 31985]
      [New LWP 31987]
      [New LWP 31992]
      [New LWP 31993]

      warning: Can't read pathname for load map: Input/output error.
      [Thread debugging using libthread_db enabled]
      Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
      Core was generated by `/opt/Qt5.2.0/Tools/QtCreator/bin/qtcreator'.
      Program terminated with signal 11, Segmentation fault.
      #0 __strstr_sse42 (s1=0x0, s2=<optimized out>) at ../sysdeps/x86_64/multiarch/strstr.c:175
      175 ../sysdeps/x86_64/multiarch/strstr.c: No such file or directory.
      (gdb) bt
      #0 __strstr_sse42 (s1=0x0, s2=<optimized out>) at ../sysdeps/x86_64/multiarch/strstr.c:175
      #1 0x00007fc6b9da7715 in ?? () from /home/opt/Qt5.2.0/Tools/QtCreator/bin/plugins/platforms/libqxcb.so
      #2 0x00007fc6b9da7842 in ?? () from /home/opt/Qt5.2.0/Tools/QtCreator/bin/plugins/platforms/libqxcb.so
      #3 0x00007fc6ac195db8 in QSGRenderLoop::instance() ()
      from /home/opt/Qt5.2.0/Tools/QtCreator/lib/qtcreator/plugins/QtProject/../../libQt5Quick.so.5
      #4 0x00007fc6ac1b8550 in QQuickWindowPrivate::init(QQuickWindow*) ()
      from /home/opt/Qt5.2.0/Tools/QtCreator/lib/qtcreator/plugins/QtProject/../../libQt5Quick.so.5
      #5 0x00007fc6ac25b82c in QQuickView::QQuickView(QWindow*) ()
      from /home/opt/Qt5.2.0/Tools/QtCreator/lib/qtcreator/plugins/QtProject/../../libQt5Quick.so.5
      #6 0x00007fc6a0fdd317 in ?? () from /home/opt/Qt5.2.0/Tools/QtCreator/lib/qtcreator/plugins/QtProject/libWelcome.so
      #7 0x00007fc6a0fdd7d6 in ?? () from /home/opt/Qt5.2.0/Tools/QtCreator/lib/qtcreator/plugins/QtProject/libWelcome.so
      #8 0x00007fc6c2d3183a in ExtensionSystem::Internal::PluginSpecPrivate::initializePlugin() ()
      from /home/opt/Qt5.2.0/Tools/QtCreator/bin/../lib/qtcreator/libExtensionSystem.so.1
      #9 0x00007fc6c2d2c6d8 in ExtensionSystem::Internal::PluginManagerPrivate::loadPlugin(ExtensionSystem::PluginSpec*, ExtensionSystem::PluginSpec::State) () from /home/opt/Qt5.2.0/Tools/QtCreator/bin/../lib/qtcreator/libExtensionSystem.so.1
      #10 0x00007fc6c2d2c997 in ExtensionSystem::Internal::PluginManagerPrivate::loadPlugins() ()
      from /home/opt/Qt5.2.0/Tools/QtCreator/bin/../lib/qtcreator/libExtensionSystem.so.1
      #11 0x0000000000409ad9 in ?? ()
      #12 0x00007fc6c095276d in __libc_start_main (main=0x4068f0, argc=1, ubp_av=0x7fff73ba4b58, init=<optimized out>, fini=<optimized out>,
      rtld_fini=<optimized out>, stack_end=0x7fff73ba4b48) at libc-start.c:226
      #13 0x000000000040aa01 in ?? ()
      #14 0x00007fff73ba4b48 in ?? ()
      #15 0x000000000000001c in ?? ()
      #16 0x0000000000000001 in ?? ()
      #17 0x00007fff73ba573b in ?? ()
      #18 0x0000000000000000 in ?? ()

      I was going to attach the core file but it's 20MB compressed with xz, so I can't.

      Linux system does have Nvidia binary graphics driver installed. Local Windows system (Cygwin X11 Server) is using AMD Graphics.

      Other apps, such as glxgears, glxdemo, emacs, gedit, etc, operate properly via remote display.

      Attachments

        Issue Links

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

          Activity

            People

              kkohne Kai Köhne
              tazmainiac Taz Mainiac
              Votes:
              7 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes