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

Segmentation fault with QStringBuilder

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 5.4.1
    • Core: Other
    • None
    • Ubuntu 15.04 64-bit
      GCC 4.9.1
      c++11

    Description

      I using Ubuntu 15.04 with Qt 5.4.1 (from repo) and GCC 4.9.1.
      When I running the following example code, then I get a segfault:

      #include <QStringBuilder>
      ...
      
      QTextStream(stdout) << [] {
                  QString a('a'), b('b');
                  return a % b;
              }() << '\n';
      

      But if I replace the '%' with '+', the problem is gone.
      Is this a bug or something else?

      Attachments

        Issue Links

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

          Activity

            People

              studiosus Vladimir Belyavsky
              Kendek KrisztiƔn Kende
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes