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

"unexpected gdb exit" inside a constructor

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • Qt Creator 4.9.2
    • Debugger
    • None
    • Windows 10
    • Windows

    Description

      The GDB crashes inside a constructor, when there is an array.

        

      class Cl
      {
      public:
      	Cl();
      };
      
      
      Cl::Cl() {
      	int y[1]; // Place the breakpoint here.
      }
      
      
      int main() {
      	Cl w;
      	return 0;
      }
      

       

       

       

      Attachments

        1. Error.png
          Error.png
          3 kB
        2. GDB_Crash.cpp
          0.1 kB
        3. GDB_Crash.pro
          1 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            hjk hjk
            gasparini Giuliano Gasparini
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes