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

Segfault in udev_new when using QFileDialog on KDE/Kubuntu 12.04

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.4.0
    • 5.3.1
    • Serial Port
    • None
    • Qt 4.8.1 on Kubuntu 12.04.4
    • 185348e9ebaeac83a4ec98950605a4ecdd90e755

    Description

      Using latest QtSerialPort from gitorious with Qt 4.8.1 on Kubuntu 12.04.4 in our project.
      Opening QFileDialog (static standard dialogs) crashes the application with a segfault. The backtrace indicates that, for some reason, the native file dialog KFileDialog makes some call to QtSerialPort and it crashes in udev_new.

      To verify, I created a small sample program (attached). Opening a QFileDialog without linking QtSerialPort works fine. Adding QSerialPort (here: enumerating devices) and it crashes.

      Works fine on Ubuntu 12.04.4 with Qt 4.8.1 and latest QtSerialPort (runs unity, not KDE).

      In the attachment you will find the example project, a back-trace, strace and ltrace

      Attachments

        1. udev_crash.log
          36 kB
          Benjamin Maurer
        2. Simple-traces.tar.gz
          52 kB
          Benjamin Maurer
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            b-s-a Sergey Belyashov
            cptwunderlich Benjamin Maurer
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes