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

QSerialPort crashes on close

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.2.1
    • 5.1.1
    • Serial Port
    • None
    • Windows 7 x64 SP1, Qt 5.1.1, MinGW 4.8
    • Iba9137e13e0bd6001c665434698b8cd965bc36e5

    Description

      When I call QSerialPort::close() from QSerialPort::readyRead() signal handler, the application closes with SIGSEGV. That's because read notifier is freed on close, but its member function continues execution after return from signal handler.

      Attachments

        1. comtest.zip
          1 kB
          Alexandr Zarubkin
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kuzulis Denis Shienkov
            azarubkin Alexandr Zarubkin
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes