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

FakeVim plugin crashes Qt Creator on exit

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Not Evaluated Not Evaluated
    • Qt Creator 3.0.0-rc1
    • Qt Creator 2.8.0
    • FakeVim
    • None
    • MacOS X 10.8, Qt Creator 2.8.0 commercial
    • b5922db843f744be6f42c931b64e84c1c4ddc7fe

      When I close the Qt Creator, the application always produces segmentation fault in the FakeVim plugin. The crash occurs in FakeVimHandler::eventFilter() on the line: if (!theFakeVimSetting(...). Debug prints show that this is executed after the destructor ~FakeVimPluginPrivate().

      I changed the destructor ~FakeVimPluginPrivate() to delete the pointers there with ptr->deleteLater() instead of delete ptr and now it looks that it works for me - it never crashes.

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

            hjk hjk
            neterror Plamen Todorov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes