Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-11427

[REG] Segfault in qtextlayout.cpp

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 4.7.1
    • 4.6.3
    • GUI: Text handling
    • None
    • 8af2f7b5085ee56d289584bddbccc8dead04b9d1

    Description

      Reproducible with this example:

      #include <QtGui>
      
      
      
      class TestWidget : public QWidget
      
      {
      
      public:
      
          TestWidget() :  QWidget()
      
          {
      
              QGridLayout *gl = new QGridLayout;
      
              for(int i=0;i<2;i++)
      
                  for(int j=0;j<2;j++){
      
                  gl->addWidget(new QLabel("\t\t"),i,j);
      
              }
      
              setLayout(gl);
      
          }
      
      };
      
      
      
      
      
      int main(int argc,char**argv)
      
      {
      
      	QApplication a(argc,argv);
      
          TestWidget w;
      
          w.show();
      
      	return a.exec();
      
      }
      
      

      it seems to be caused by change e1915815bc5ef86b3844608bba46769da5173363

      Attachments

        Issue Links

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

          Activity

            People

              esabraha Eskil Abrahamsen Blomfeldt
              ntg Pierre Rossi
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes