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

Buffer overflow on launch

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Not Evaluated Not Evaluated
    • None
    • Qt Creator 2.6.2
    • All Other Issues
    • None
    • Linux 3.7.9-gentoo SMP x86_64 Intel(R) Core(TM) i3-2100 CPU @ 3.10GHz GenuineIntel GNU/Linux
      Qt 4.8.4

      Hi.
      I'm unable to launch QtCreator, since it crashes with buffer overflow:
      $ qtcreator

          • buffer overflow detected ***: qtcreator terminated
            ======= Backtrace: =========
            /lib64/libc.so.6(__fortify_fail+0x37)[0x7f3c9d3598c7]
            /lib64/libc.so.6(+0xff6c0)[0x7f3c9d3576c0]
            /lib64/libc.so.6(+0x10187e)[0x7f3c9d35987e]
            /usr/lib64/qt4/libQtCore.so.4(+0x15b364)[0x7f3c9de96364]
            /usr/lib64/qtcreator/plugins/QtProject/libTextEditor.so(+0x103232)[0x7f3c8e1dd232]
            /usr/lib64/qtcreator/plugins/QtProject/libTextEditor.so(+0x104385)[0x7f3c8e1de385]
            /usr/lib64/qtcreator/plugins/QtProject/libTextEditor.so(+0x10083d)[0x7f3c8e1da83d]
            /usr/lib64/qtcreator/plugins/QtProject/libTextEditor.so(+0xf2d05)[0x7f3c8e1ccd05]
            /usr/lib64/qtcreator/plugins/QtProject/libTextEditor.so(+0xf54af)[0x7f3c8e1cf4af]
            /usr/lib64/qt4/libQtCore.so.4(_ZN11QMetaObject8activateEP7QObjectPKS_iPPv+0x2c9)[0x7f3c9decfd89]
            /usr/lib64/qtcreator/plugins/QtProject/libCore.so(+0x7d016)[0x7f3c91a0f016]
            /usr/bin/../lib64/qtcreator/libExtensionSystem.so.1(_ZN15ExtensionSystem8Internal17PluginSpecPrivate20initializeExtensionsEv+0x92)[0x7f3c9f2761b2]
            /usr/bin/../lib64/qtcreator/libExtensionSystem.so.1(_ZN15ExtensionSystem8Internal20PluginManagerPrivate10loadPluginEPNS_10PluginSpecENS2_5StateE+0x1c1)[0x7f3c9f2707f1]
            /usr/bin/../lib64/qtcreator/libExtensionSystem.so.1(_ZN15ExtensionSystem8Internal20PluginManagerPrivate11loadPluginsEv+0x187)[0x7f3c9f2725f7]
            qtcreator[0x409771]
            /lib64/libc.so.6(__libc_start_main+0xfd)[0x7f3c9d27a4bd]
            qtcreator[0x409a61]
            (memory map follows)

      When running under gdb:

      #0 0x00007ffff5bdbad5 in raise () from /lib64/libc.so.6
      #1 0x00007ffff5bdcf56 in abort () from /lib64/libc.so.6
      #2 0x00007ffff5c1bb57 in __libc_message () from /lib64/libc.so.6
      #3 0x00007ffff5ca78c7 in __fortify_fail () from /lib64/libc.so.6
      #4 0x00007ffff5ca56c0 in __chk_fail () from /lib64/libc.so.6
      #5 0x00007ffff5ca787e in __fdelt_warn () from /lib64/libc.so.6
      #6 0x00007ffff67e4364 in QProcessPrivate::waitForStarted(int) () from /usr/lib64/qt4/libQtCore.so.4
      #7 0x00007fffe6b2b232 in TextEditor::Internal::findFallbackDefinitionsLocation() () from /usr/lib64/qtcreator/plugins/QtProject/libTextEditor.so
      #8 0x00007fffe6b2c385 in TextEditor::HighlighterSettings::fromSettings(QString const&, QSettings*) () from /usr/lib64/qtcreator/plugins/QtProject/libTextEditor.so
      #9 0x00007fffe6b2883d in TextEditor::HighlighterSettingsPage::highlighterSettings() const () from /usr/lib64/qtcreator/plugins/QtProject/libTextEditor.so
      #10 0x00007fffe6b1ad05 in TextEditor::Internal::ManagerProcessor::ManagerProcessor() () from /usr/lib64/qtcreator/plugins/QtProject/libTextEditor.so
      #11 0x00007fffe6b1d4af in TextEditor::Internal::Manager::registerMimeTypes() () from /usr/lib64/qtcreator/plugins/QtProject/libTextEditor.so
      #12 0x00007ffff681dd89 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
      #13 0x00007fffea35d016 in Core::Internal::MainWindow::extensionsInitialized() () from /usr/lib64/qtcreator/plugins/QtProject/libCore.so
      #14 0x00007ffff7bc41b2 in ExtensionSystem::Internal::PluginSpecPrivate::initializeExtensions() () from /usr/bin/../lib64/qtcreator/libExtensionSystem.so.1
      #15 0x00007ffff7bbe7f1 in ExtensionSystem::Internal::PluginManagerPrivate::loadPlugin(ExtensionSystem::PluginSpec*, ExtensionSystem::PluginSpec::State) () from /usr/bin/../lib64/qtcreator/libExtensionSystem.so.1
      #16 0x00007ffff7bc05f7 in ExtensionSystem::Internal::PluginManagerPrivate::loadPlugins() () from /usr/bin/../lib64/qtcreator/libExtensionSystem.so.1
      #17 0x0000000000409771 in main ()

      I've tried removing ~/.config/Nokia/qtcreator, no luck.
      This may be somehow related to QTCREATORBUG-7943.

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

            con Eike Ziller
            andrew.kravchuk Andrew Kravchuk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes