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

QXmlStreamReader freezes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P1: Critical P1: Critical
    • None
    • 5.15.2, 6.0.2, 6.3.0
    • Ubuntu 20.04 LTS
      clang 10.0.0, g++ 9.3.0

      1. Build the attached project.
        Normal release build, no sanitizers needed.
      2. Run it on the attached input file:
        ./report input.xml
        

        It won't finish. It's running here for ten minutes of CPU time now, with constant low memory consumption:

            PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND  
          38446 qtrob     20   0   75260  34172   7068 R 100.0   0.2  10:04.04 report
        

      Google's oss-fuzz found this as issue 30973. It will be published on May 17th, the latest.

        1. report.pro
          0.0 kB
        2. main.cpp
          0.2 kB
        3. input.xml
          387 kB
        For Gerrit Dashboard: QTBUG-92113
        # Subject Branch Project Status CR V

            thiago Thiago Macieira
            rlohning Robert Löhning
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: