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

QFtp crashes with SEGFAULT

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 4.7.4
    • 4.7.2
    • Network: FTP
    • None
    • i686 Debian GNU/Linux 7.0 Wheezy
    • 76ea46579d0678ec7b1cc9306b82ef5fc7601493

    Description

      I was creating a sample program to report another bug with QFtp.
      But I run into QFtp crashing when the program read()s too small amounts of data compared to the download speed.

      (gdb) bt
      #0 memcpy () at ../sysdeps/i386/i686/memcpy.S:100
      #1 0xb741810a in ?? () from /usr/lib/libQtNetwork.so.4
      #2 0x0804a001 in Program::read (this=0x8ee05f4f) at program.cpp:87

      Usage:
      ./program ftp://ftp.qt.nokia.com/qt/source/qt-1.41.tar.gz

      Attachments

        Issue Links

          Activity

            People

              mgoetz Markus Goetz (Inactive)
              ultr Piotr Dąbrowski
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: