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

QSerialPortInfo::availablePorts() crash on any call

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • None
    • 5.2.0
    • Serial Port
    • None
    • Win7, Qt 5.2.0 built on msvc2010.
      Bug reproduce on msvc2010, only debug build.

    Description

      #include <QtSerialPort/QSerialPortInfo>

      int main(int argc, char *argv[])
      {
      QSerialPortInfo::availablePorts();
      }

      Crashing. Call stack:
      > msvcr100d.dll!operator delete(void * pUserData) Line 52 + 0x51 bytes C++
      > QSerialPortInfo::`scalar deleting destructor'() + 0x21 bytes C++
      > QList<QSerialPortInfo>::node_destruct(QList<QSerialPortInfo>::Node * from, QList<QSerialPortInfo>::Node * to) Line 425 + 0x2f bytes C++
      > QList<QSerialPortInfo>::dealloc(QListData::Data * data) Line 779 C++
      > QList<QSerialPortInfo>::~QList<QSerialPortInfo>() Line 754 C++

      Attachments

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

        Activity

          People

            lpapp Laszlo Papp
            arseniyartmind Fomin Arseniy Eduardovich
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes