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

Regression: appending strings to QList<QString> crashes application

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Cannot Reproduce
    • Affects Version/s: 4.7.0
    • Fix Version/s: 4.7.0
    • Component/s: None
    • Labels:
      None
    • Environment:
      S60 3.1

      Description

      Can't use 4.7.0 because of tis bug.
      Appending strings to QList<QString> crashes application

      Here is sample code:

      #include "mainwindow.h"
      #include "ui_mainwindow.h"
      
      MainWindow::MainWindow(QWidget *parent) :
          QMainWindow(parent),
          ui(new Ui::MainWindow)
      {
          ui->setupUi(this);
      
          QList<QString> strings;
          strings.append("first");
      }
      MainWindow::~MainWindow()
      {
          delete ui;
      }
      

        Attachments

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

          Activity

            People

            Assignee:
            liaqi Liang Qi
            Reporter:
            petri1 petri1
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes