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

Crash by creating getters and setters

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • Qt Creator 12.0.2
    • C/C++/Obj-C++ Support
    • None
    • Windows 11 Pro, i5 11th, RTX 3060
    • Windows

    Description

      I have a worker.h class with:

      #ifndef WORKER_H
      #define WORKER_H
      
      #include <QObject>
      #include <QDebug>
      #include <QEventLoop>
      #include <QTimer>
      #include <QThread>
      
      class Worker : public QObject
      {
          Q_OBJECT
      
      public:
          explicit Worker(QObject *parent = nullptr);
          ~Worker();
      
      signals:
      
      public slots:
          void start();
          void stop();
          void timeout();
      
      private:
          QTimer timer;
          QEventLoop loop;
      };
      #endif // WORKER_H

      By right clicking all the slots, or even the private memebers and pressing Refactor > Create getter and setter and in the following menu, pressing Create getters for all members, the Qt Creator crashes without a trace.

       

      Update:

      Dump reading

      Loading unloaded module list
      .........
      This dump file has an exception of interest stored in it.
      The stored exception information can be accessed via .ecxr.
      (16c0.3ea0): Stack overflow - code c00000fd (first/second chance not available)
      ERROR: Symbol file could not be found.  Defaulted to export symbols for Qt6Gui.dll - 
      Qt6Gui!QEdidParser::parseEdidString+0x12a0e7:
      00007ffe`d2f94817 41c60300        mov     byte ptr [r11],0 ds:00000084`72653000=00

      Attachments

        Issue Links

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

          Activity

            People

              kandeler Christian Kandeler
              arminc Armin Chanchian
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes