Uploaded image for project: 'UGENE'
  1. UGENE
  2. UGENE-7062

Crash in QList

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Sprint:
      DEV-39-3, DEV-39-4, DEV-39-5
    • Affect Type:
      Userdefined

      Description

      This issue relates to the crash report №23765, №23750, №23858.

      I had 3 crash reports that fell in the same place.

      1. In the beginning was "foreach"
        foreach (Item *item, itemList)
      2. The macro expanded into a call to the list copy constructor QList<>(const QList<> &)
      3. Then there was a crash in this constructor (qlist.h : 812):
        if (!d->ref.ref())

        Apparently d is null.

      Will qAsConst help here?

      foreach (Item *item, qAsConst(itemList))

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              biserova Evelina
              Reporter:
              biserova Evelina
              Assigned Tester:
              Kirill Rasputin
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: