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

When creating a SSH key pair for a device it will crash

    XMLWordPrintable

    Details

    • Commits:
      d5dd9c080867bcc45c6efd2a8aebf7ab5147e59f

      Description

      When creating a SSH key pair for a device it will crash. I reproduced this by going to Tools | Options | Devices and clicking Create for the device and then it will crash with the following stack trace:

      terminate called after throwing an instance of 'Botan::Pipe::Invalid_Message_Number'
        what():  Pipe::remaining: Invalid message number 1
      
      Thread 1 "qtcreator" received signal SIGABRT, Aborted.
      0x00007ffff48a6418 in __GI_raise (sig=sig@entry=6)
          at ../sysdeps/unix/sysv/linux/raise.c:54
      54	../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
      (gdb) bt
      #0  0x00007ffff48a6418 in __GI_raise (sig=sig@entry=6)
          at ../sysdeps/unix/sysv/linux/raise.c:54
      #1  0x00007ffff48a801a in __GI_abort () at abort.c:89
      #2  0x00007ffff51e884d in __gnu_cxx::__verbose_terminate_handler() ()
         from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
      #3  0x00007ffff51e66b6 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
      #4  0x00007ffff51e6701 in std::terminate() ()
         from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
      #5  0x00007ffff51e6919 in __cxa_throw ()
         from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
      #6  0x00007fffe828f97e in ?? ()
         from /home/andy/QtForDC/Tools/QtCreator/lib/qtcreator/plugins/../libQtcSsh.so.4
      #7  0x00007fffe8200c8e in QSsh::SshKeyGenerator::generatePkcs8KeyString(QSharedPointer<Botan::Private_Key> const&, bool, Botan::RandomNumberGenerator&) ()
         from /home/andy/QtForDC/Tools/QtCreator/lib/qtcreator/plugins/../libQtcSsh.so.4
      #8  0x00007fffe820126b in QSsh::SshKeyGenerator::generateKeys(QSsh::SshKeyGenerator::KeyType, QSsh::SshKeyGenerator::PrivateKeyFormat, int, QSsh::SshKeyGenerator::EncryptionMode) ()
         from /home/andy/QtForDC/Tools/QtCreator/lib/qtcreator/plugins/../libQtcSsh.so.4
      #9  0x00007fffe8235d3b in QSsh::SshKeyCreationDialog::generateKeys() ()
      ---Type <return> to continue, or q <return> to quit---
        me/andy/QtForDC/Tools/QtCreator/lib/qtcreator/plugins/../libQtcSsh.so.4
      #10 0x00007ffff5c0277d in QMetaObject::activate(QObject*, int, int, void**) ()
         from /home/andy/QtForDC/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Core.so.5
      #11 0x00007ffff6fc7682 in QAbstractButton::clicked(bool) ()
         from /home/andy/QtForDC/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Widgets.so.5
      #12 0x00007ffff6fc7875 in ?? () from /home/andy/QtForDC/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Widgets.so.5
      #13 0x00007ffff6fc8e44 in ?? () from /home/andy/QtForDC/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Widgets.so.5
      #14 0x00007ffff6fc8fe4 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) ()
         from /home/andy/QtForDC/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Widgets.so.5
      #15 0x00007ffff6f29b78 in QWidget::event(QEvent*) () from /home/andy/QtForDC/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Widgets.so.5
      #16 0x00007ffff6ee452c in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
         from /home/andy/QtForDC/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Widgets.so.5
      #17 0x00007ffff6eeb808 in QApplication::notify(QObject*, QEvent*) ()
         from /home/andy/QtForDC/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Widgets.so.5
      #18 0x00007ffff5bdaae0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) ()
         from /home/andy/QtForDC/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Core.so.5
      #19 0x00007ffff6eea7bf in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /home/andy/QtForDC/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Widgets.so.5
      #20 0x00007ffff6f45056 in ?? () from /home/andy/QtForDC/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Widgets.so.5
      #21 0x00007ffff6f47513 in ?? () from /home/andy/QtForDC/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Widgets.so.5
      #22 0x00007ffff6ee452c in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
         from /home/andy/QtForDC/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Widgets.so.5
      #23 0x00007ffff6eeb220 in QApplication::notify(QObject*, QEvent*) ()
         from /home/andy/QtForDC/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Widgets.so.5
      #24 0x00007ffff5bdaae0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) ()
         from /home/andy/QtForDC/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Core.so.5
      #25 0x00007ffff66e18db in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) ()
         from /home/andy/QtForDC/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Gui.so.5
      #26 0x00007ffff66e3745 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) ()
         from /home/andy/QtForDC/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Gui.so.5
      #27 0x00007ffff66c4e73 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
         from /home/andy/QtForDC/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Gui.so.5
      #28 0x00007fffee375080 in ?? () from /home/andy/QtForDC/Tools/QtCreator/lib/Qt/plugins/platforms/../../lib/libQt5XcbQpa.so.5
      #29 0x00007ffff15541a7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
      #30 0x00007ffff1554400 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
      #31 0x00007ffff15544ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
      #32 0x00007ffff5c28047 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
         from /home/andy/QtForDC/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Core.so.5
      ---Type <return> to continue, or q <return> to quit---
      #33 0x00007ffff5bd8dca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
         from /home/andy/QtForDC/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Core.so.5
      #34 0x00007ffff70c35b7 in QDialog::exec() () from /home/andy/QtForDC/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Widgets.so.5
      #35 0x00007fffd13744c3 in RemoteLinux::GenericLinuxDeviceConfigurationWidget::createNewKey() ()
         from /home/andy/QtForDC/Tools/QtCreator/lib/qtcreator/plugins/libRemoteLinux.so
      #36 0x00007ffff5c0277d in QMetaObject::activate(QObject*, int, int, void**) ()
         from /home/andy/QtForDC/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Core.so.5
      #37 0x00007ffff6fc7682 in QAbstractButton::clicked(bool) ()
         from /home/andy/QtForDC/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Widgets.so.5
      #38 0x00007ffff6fc7875 in ?? () from /home/andy/QtForDC/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Widgets.so.5
      #39 0x00007ffff6fc8e44 in ?? () from /home/andy/QtForDC/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Widgets.so.5
      #40 0x00007ffff6fc8fe4 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) ()
         from /home/andy/QtForDC/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Widgets.so.5
      #41 0x00007ffff6f29b78 in QWidget::event(QEvent*) () from /home/andy/QtForDC/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Widgets.so.5
      #42 0x00007ffff6ee452c in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
         from /home/andy/QtForDC/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Widgets.so.5
      #43 0x00007ffff6eeb808 in QApplication::notify(QObject*, QEvent*) ()
         from /home/andy/QtForDC/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Widgets.so.5
      #44 0x00007ffff5bdaae0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) ()
         from /home/andy/QtForDC/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Core.so.5
      #45 0x00007ffff6eea7bf in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /home/andy/QtForDC/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Widgets.so.5
      #46 0x00007ffff6f45056 in ?? () from /home/andy/QtForDC/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Widgets.so.5
      #47 0x00007ffff6f47513 in ?? () from /home/andy/QtForDC/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Widgets.so.5
      #48 0x00007ffff6ee452c in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
         from /home/andy/QtForDC/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Widgets.so.5
      #49 0x00007ffff6eeb220 in QApplication::notify(QObject*, QEvent*) ()
         from /home/andy/QtForDC/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Widgets.so.5
      #50 0x00007ffff5bdaae0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) ()
         from /home/andy/QtForDC/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Core.so.5
      #51 0x00007ffff66e18db in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) ()
         from /home/andy/QtForDC/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Gui.so.5
      #52 0x00007ffff66e3745 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) ()
         from /home/andy/QtForDC/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Gui.so.5
      #53 0x00007ffff66c4e73 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
         from /home/andy/QtForDC/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Gui.so.5
      #54 0x00007fffee375080 in ?? () from /home/andy/QtForDC/Tools/QtCreator/lib/Qt/plugins/platforms/../../lib/libQt5XcbQpa.so.5
      #55 0x00007ffff15541a7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
      ---Type <return> to continue, or q <return> to quit---
      #56 0x00007ffff1554400 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
      #57 0x00007ffff15544ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
      #58 0x00007ffff5c28047 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
         from /home/andy/QtForDC/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Core.so.5
      #59 0x00007ffff5bd8dca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
         from /home/andy/QtForDC/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Core.so.5
      #60 0x00007ffff70c35b7 in QDialog::exec() () from /home/andy/QtForDC/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Widgets.so.5
      #61 0x00007fffe9d32d47 in ?? () from /home/andy/QtForDC/Tools/QtCreator/lib/qtcreator/plugins/libCore.so
      #62 0x00007fffe9ccc879 in ?? () from /home/andy/QtForDC/Tools/QtCreator/lib/qtcreator/plugins/libCore.so
      #63 0x00007ffff5c0277d in QMetaObject::activate(QObject*, int, int, void**) ()
         from /home/andy/QtForDC/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Core.so.5
      #64 0x00007ffff6edd7b2 in QAction::triggered(bool) () from /home/andy/QtForDC/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Widgets.so.5
      #65 0x00007ffff5c0277d in QMetaObject::activate(QObject*, int, int, void**) ()
         from /home/andy/QtForDC/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Core.so.5
      #66 0x00007ffff6edd7b2 in QAction::triggered(bool) () from /home/andy/QtForDC/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Widgets.so.5
      #67 0x00007ffff6ee018d in QAction::activate(QAction::ActionEvent) ()
         from /home/andy/QtForDC/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Widgets.so.5
      #68 0x00007ffff7045faa in ?? () from /home/andy/QtForDC/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Widgets.so.5
      #69 0x00007ffff704a964 in ?? () from /home/andy/QtForDC/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Widgets.so.5
      #70 0x00007ffff704e7c6 in QMenu::mouseReleaseEvent(QMouseEvent*) ()
         from /home/andy/QtForDC/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Widgets.so.5
      #71 0x00007ffff6f29b78 in QWidget::event(QEvent*) () from /home/andy/QtForDC/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Widgets.so.5
      #72 0x00007ffff704f1cb in QMenu::event(QEvent*) () from /home/andy/QtForDC/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Widgets.so.5
      #73 0x00007ffff6ee452c in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
         from /home/andy/QtForDC/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Widgets.so.5
      #74 0x00007ffff6eeb808 in QApplication::notify(QObject*, QEvent*) ()
         from /home/andy/QtForDC/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Widgets.so.5
      #75 0x00007ffff5bdaae0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) ()
         from /home/andy/QtForDC/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Core.so.5
      #76 0x00007ffff6eea7bf in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /home/andy/QtForDC/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Widgets.so.5
      #77 0x00007ffff6f455fb in ?? () from /home/andy/QtForDC/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Widgets.so.5
      #78 0x00007ffff6f47513 in ?? () from /home/andy/QtForDC/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Widgets.so.5
      #79 0x00007ffff6ee452c in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
         from /home/andy/QtForDC/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Widgets.so.5
      #80 0x00007ffff6eeb220 in QApplication::notify(QObject*, QEvent*) ()
         from /home/andy/QtForDC/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Widgets.so.5
      #81 0x00007ffff5bdaae0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) ()
      ---Type <return> to continue, or q <return> to quit---
         from /home/andy/QtForDC/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Core.so.5
      #82 0x00007ffff66e18db in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) ()
         from /home/andy/QtForDC/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Gui.so.5
      #83 0x00007ffff66e3745 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) ()
         from /home/andy/QtForDC/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Gui.so.5
      #84 0x00007ffff66c4e73 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
         from /home/andy/QtForDC/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Gui.so.5
      #85 0x00007fffee375080 in ?? () from /home/andy/QtForDC/Tools/QtCreator/lib/Qt/plugins/platforms/../../lib/libQt5XcbQpa.so.5
      #86 0x00007ffff15541a7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
      #87 0x00007ffff1554400 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
      #88 0x00007ffff15544ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
      #89 0x00007ffff5c28047 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
         from /home/andy/QtForDC/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Core.so.5
      #90 0x00007ffff5bd8dca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
         from /home/andy/QtForDC/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Core.so.5
      #91 0x00007ffff5be0bad in QCoreApplication::exec() () from /home/andy/QtForDC/Tools/QtCreator/bin/../lib/Qt/lib/libQt5Core.so.5
      #92 0x0000000000409a2c in ?? ()
      #93 0x00007ffff4891830 in __libc_start_main (main=0x406d60, argc=1, argv=0x7fffffffdd28, init=<optimized out>, 
          fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffdd18) at ../csu/libc-start.c:291
      #94 0x000000000040a291 in ?? ()
      #95 0x00007fffffffdd18 in ?? ()
      #96 0x000000000000001c in ?? ()
      #97 0x0000000000000001 in ?? ()
      #98 0x00007fffffffe0f4 in ?? ()
      #99 0x0000000000000000 in ?? ()
      

        Attachments

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

          Activity

            People

            • Assignee:
              kandeler Christian Kandeler
              Reporter:
              andysh Andy Shaw
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes