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

QSerialPort crashes on close

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes