Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-32040

QmlProfiler on Android: Lot of warnings coming from parseUsedPortFromNetstatOutput()

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3: Somewhat important
    • Qt Creator 15.0.0
    • Qt Creator 15.0.0
    • QML Profiler
    • None
    • Linux/X11
    • d91d40285 (15.0)

    Description

      Getting the following warnings when trying to run qml profiler on Android:

      int Utils::parseUsedPortFromNetstatOutput(const QByteArray&): Unexpected string 'tcp        0      0 10.0.2.16:49088         142.250.180.74:443      ESTABLISHED' is not a port. Tried to read from '16:49088'
      int Utils::parseUsedPortFromNetstatOutput(const QByteArray&): Unexpected string 'tcp        0      0 10.0.2.16:46768         216.58.215.67:443       ESTABLISHED' is not a port. Tried to read from '16:46768'
      int Utils::parseUsedPortFromNetstatOutput(const QByteArray&): Unexpected string 'tcp        0      0 10.0.2.16:47754         216.58.209.10:443       ESTABLISHED' is not a port. Tried to read from '16:47754'
      int Utils::parseUsedPortFromNetstatOutput(const QByteArray&): Unexpected string 'tcp        0      0 10.0.2.16:58812         172.217.16.10:443       ESTABLISHED' is not a port. Tried to read from '16:58812'
      int Utils::parseUsedPortFromNetstatOutput(const QByteArray&): Unexpected string 'tcp        0      0 10.0.2.16:48380         142.250.186.196:443     CLOSE_WAIT ' is not a port. Tried to read from '16:48380'
      int Utils::parseUsedPortFromNetstatOutput(const QByteArray&): Unexpected string 'tcp        0      0 10.0.2.16:36992         142.250.186.202:443     ESTABLISHED' is not a port. Tried to read from '16:36992'
      int Utils::parseUsedPortFromNetstatOutput(const QByteArray&): Unexpected string 'tcp        0      0 10.0.2.16:55456         142.250.203.142:443     ESTABLISHED' is not a port. Tried to read from '16:55456'
      int Utils::parseUsedPortFromNetstatOutput(const QByteArray&): Unexpected string 'tcp        0      0 10.0.2.16:36302         142.250.203.202:443     ESTABLISHED' is not a port. Tried to read from '16:36302'
      int Utils::parseUsedPortFromNetstatOutput(const QByteArray&): Unexpected string 'tcp        0      0 10.0.2.16:48370         142.250.186.196:443     CLOSE_WAIT ' is not a port. Tried to read from '16:48370'
      int Utils::parseUsedPortFromNetstatOutput(const QByteArray&): Unexpected string 'tcp        0      0 10.0.2.16:59826         142.250.180.67:443      ESTABLISHED' is not a port. Tried to read from '16:59826'
      int Utils::parseUsedPortFromNetstatOutput(const QByteArray&): Unexpected string 'tcp        0      0 10.0.2.16:36988         142.250.186.202:443     ESTABLISHED' is not a port. Tried to read from '16:36988'
      int Utils::parseUsedPortFromNetstatOutput(const QByteArray&): Unexpected string 'tcp        0      0 10.0.2.16:36328         142.250.203.138:443     ESTABLISHED' is not a port. Tried to read from '16:36328'
      int Utils::parseUsedPortFromNetstatOutput(const QByteArray&): Unexpected string 'tcp        0      0 10.0.2.16:35756         34.104.35.123:80        ESTABLISHED' is not a port. Tried to read from '16:35756'
      int Utils::parseUsedPortFromNetstatOutput(const QByteArray&): Unexpected string 'tcp        0      0 10.0.2.16:36438         142.250.180.78:443      ESTABLISHED' is not a port. Tried to read from '16:36438'
      int Utils::parseUsedPortFromNetstatOutput(const QByteArray&): Unexpected string 'tcp        0      0 10.0.2.16:35054         216.58.208.202:443      ESTABLISHED' is not a port. Tried to read from '16:35054'
      int Utils::parseUsedPortFromNetstatOutput(const QByteArray&): Unexpected string 'tcp        0      0 10.0.2.16:42380         172.217.16.35:443       ESTABLISHED' is not a port. Tried to read from '16:42380'
      int Utils::parseUsedPortFromNetstatOutput(const QByteArray&): Unexpected string 'tcp        0      0 10.0.2.16:54154         142.251.143.78:443      ESTABLISHED' is not a port. Tried to read from '16:54154'
      int Utils::parseUsedPortFromNetstatOutput(const QByteArray&): Unexpected string 'tcp        0      0 10.0.2.16:50132         216.58.208.202:443      ESTABLISHED' is not a port. Tried to read from '16:50132'
      int Utils::parseUsedPortFromNetstatOutput(const QByteArray&): Unexpected string 'tcp        0      0 10.0.2.16:36300         142.250.203.202:443     ESTABLISHED' is not a port. Tried to read from '16:36300'
      int Utils::parseUsedPortFromNetstatOutput(const QByteArray&): Unexpected string 'tcp        0      0 10.0.2.16:47748         216.58.209.10:443       ESTABLISHED' is not a port. Tried to read from '16:47748'
      int Utils::parseUsedPortFromNetstatOutput(const QByteArray&): Unexpected string 'tcp        0      0 10.0.2.16:49500         142.250.203.138:443     ESTABLISHED' is not a port. Tried to read from '16:49500'
      int Utils::parseUsedPortFromNetstatOutput(const QByteArray&): Unexpected string 'tcp6       0      0 [::]:5555               [::]:*                  LISTEN     ' is not a port. Tried to read from 'tcp6'
      int Utils::parseUsedPortFromNetstatOutput(const QByteArray&): Unexpected string 'tcp6       0      0 ::ffff:127.0.0.1:39417  [::]:*                  LISTEN     ' is not a port. Tried to read from '0.0.1:39417'
      int Utils::parseUsedPortFromNetstatOutput(const QByteArray&): Unexpected string 'tcp6       0      0 ::ffff:127.0.0.1:37837  [::]:*                  LISTEN     ' is not a port. Tried to read from '0.0.1:37837'
      int Utils::parseUsedPortFromNetstatOutput(const QByteArray&): Unexpected string 'tcp6       0      0 ::ffff:10.0.2.16:35046  ::ffff:142.250.203.:443 ESTABLISHED' is not a port. Tried to read from '0.2.16:35046'
      int Utils::parseUsedPortFromNetstatOutput(const QByteArray&): Unexpected string 'tcp6       0      0 ::ffff:10.0.2.16:54494  ::ffff:216.58.215.7:443 ESTABLISHED' is not a port. Tried to read from '0.2.16:54494'
      int Utils::parseUsedPortFromNetstatOutput(const QByteArray&): Unexpected string 'tcp6       0      0 ::ffff:10.0.2.16:43848  ::ffff:142.250.203.:443 ESTABLISHED' is not a port. Tried to read from '0.2.16:43848'
      int Utils::parseUsedPortFromNetstatOutput(const QByteArray&): Unexpected string 'tcp6       0      0 ::ffff:10.0.2.16:44488  ::ffff:216.58.215.6:443 ESTABLISHED' is not a port. Tried to read from '0.2.16:44488'
      int Utils::parseUsedPortFromNetstatOutput(const QByteArray&): Unexpected string 'tcp6       0      0 ::ffff:127.0.0.1:46265  ::ffff:127.0.0.1:33155  TIME_WAIT  ' is not a port. Tried to read from '0.0.1:46265'
      int Utils::parseUsedPortFromNetstatOutput(const QByteArray&): Unexpected string 'tcp6       0      0 ::ffff:127.0.0.1:37579  ::ffff:127.0.0.1:42545  TIME_WAIT  ' is not a port. Tried to read from '0.0.1:37579'
      int Utils::parseUsedPortFromNetstatOutput(const QByteArray&): Unexpected string 'tcp6       0      0 ::ffff:10.0.2.16:53462  ::ffff:216.239.36.1:443 ESTABLISHED' is not a port. Tried to read from '0.2.16:53462'
      int Utils::parseUsedPortFromNetstatOutput(const QByteArray&): Unexpected string 'tcp6       0      0 ::ffff:10.0.2.16:46350  ::ffff:142.250.203.:443 ESTABLISHED' is not a port. Tried to read from '0.2.16:46350'
      int Utils::parseUsedPortFromNetstatOutput(const QByteArray&): Unexpected string 'tcp6       0      0 ::ffff:10.0.2.16:35016  ::ffff:142.250.203.:443 ESTABLISHED' is not a port. Tried to read from '0.2.16:35016'
      int Utils::parseUsedPortFromNetstatOutput(const QByteArray&): Unexpected string 'tcp6       0      0 ::ffff:10.0.2.16:53012  ::ffff:142.250.203.:443 ESTABLISHED' is not a port. Tried to read from '0.2.16:53012'
      int Utils::parseUsedPortFromNetstatOutput(const QByteArray&): Unexpected string 'tcp6       0      0 ::ffff:10.0.2.16:35064  ::ffff:216.58.208.2:443 ESTABLISHED' is not a port. Tried to read from '0.2.16:35064'
      int Utils::parseUsedPortFromNetstatOutput(const QByteArray&): Unexpected string 'tcp6       0      0 ::ffff:10.0.2.16:33154  ::ffff:216.239.34.2:443 ESTABLISHED' is not a port. Tried to read from '0.2.16:33154'
      int Utils::parseUsedPortFromNetstatOutput(const QByteArray&): Unexpected string 'tcp6       0      0 ::ffff:10.0.2.16:44032  ::ffff:216.58.215.6:443 ESTABLISHED' is not a port. Tried to read from '0.2.16:44032'
      int Utils::parseUsedPortFromNetstatOutput(const QByteArray&): Unexpected string 'tcp6       0      0 ::ffff:10.0.2.16:60674  ::ffff:173.194.222:5228 ESTABLISHED' is not a port. Tried to read from '0.2.16:60674'
      int Utils::parseUsedPortFromNetstatOutput(const QByteArray&): Unexpected string 'tcp6       0      0 ::ffff:10.0.2.16:35034  ::ffff:142.250.203.:443 ESTABLISHED' is not a port. Tried to read from '0.2.16:35034'
      int Utils::parseUsedPortFromNetstatOutput(const QByteArray&): Unexpected string 'tcp6       0      0 ::ffff:10.0.2.16:33146  ::ffff:216.239.34.2:443 ESTABLISHED' is not a port. Tried to read from '0.2.16:33146'
      int Utils::parseUsedPortFromNetstatOutput(const QByteArray&): Unexpected string 'tcp6       0      0 ::ffff:10.0.2.16:35024  ::ffff:142.250.203.:443 ESTABLISHED' is not a port. Tried to read from '0.2.16:35024'
      int Utils::parseUsedPortFromNetstatOutput(const QByteArray&): Unexpected string 'tcp6       0      0 ::ffff:10.0.2.16:54500  ::ffff:216.58.215.7:443 ESTABLISHED' is not a port. Tried to read from '0.2.16:54500'
      int Utils::parseUsedPortFromNetstatOutput(const QByteArray&): Unexpected string 'tcp6       0      0 ::ffff:10.0.2.16:50186  ::ffff:216.239.34.2:443 ESTABLISHED' is not a port. Tried to read from '0.2.16:50186'
      int Utils::parseUsedPortFromNetstatOutput(const QByteArray&): Unexpected string 'tcp6       0      0 ::ffff:10.0.2.16:46344  ::ffff:142.250.203.:443 ESTABLISHED' is not a port. Tried to read from '0.2.16:46344'
      int Utils::parseUsedPortFromNetstatOutput(const QByteArray&): Unexpected string 'tcp6       0      0 ::ffff:10.0.2.16:36338  ::ffff:142.250.203.:443 ESTABLISHED' is not a port. Tried to read from '0.2.16:36338'
      int Utils::parseUsedPortFromNetstatOutput(const QByteArray&): Unexpected string 'tcp6       0      0 ::ffff:10.0.2.16:54498  ::ffff:216.58.215.7:443 ESTABLISHED' is not a port. Tried to read from '0.2.16:54498'
      int Utils::parseUsedPortFromNetstatOutput(const QByteArray&): Unexpected string 'tcp6       0      0 ::ffff:10.0.2.16:40878  ::ffff:216.239.36.1:443 ESTABLISHED' is not a port. Tried to read from '0.2.16:40878'
      int Utils::parseUsedPortFromNetstatOutput(const QByteArray&): Unexpected string 'tcp6       0      0 ::ffff:10.0.2.16:36974  ::ffff:142.250.186.:443 ESTABLISHED' is not a port. Tried to read from '0.2.16:36974'
      int Utils::parseUsedPortFromNetstatOutput(const QByteArray&): Unexpected string 'tcp6       0      0 ::ffff:10.0.2.16:44496  ::ffff:216.58.215.6:443 ESTABLISHED' is not a port. Tried to read from '0.2.16:44496'
      int Utils::parseUsedPortFromNetstatOutput(const QByteArray&): Unexpected string 'tcp6       0      0 ::ffff:10.0.2.16:44048  ::ffff:216.58.215.6:443 ESTABLISHED' is not a port. Tried to read from '0.2.16:44048'
      int Utils::parseUsedPortFromNetstatOutput(const QByteArray&): Unexpected string 'tcp6       0      0 ::ffff:10.0.2.16:52370  ::ffff:216.239.36.1:443 ESTABLISHED' is not a port. Tried to read from '0.2.16:52370'
      int Utils::parseUsedPortFromNetstatOutput(const QByteArray&): Unexpected string 'tcp6       0      0 ::ffff:10.0.2.16:52300  ::ffff:142.250.203.:443 ESTABLISHED' is not a port. Tried to read from '0.2.16:52300'
      int Utils::parseUsedPortFromNetstatOutput(const QByteArray&): Unexpected string 'tcp6       0      0 ::ffff:10.0.2.16:46332  ::ffff:142.250.203.:443 ESTABLISHED' is not a port. Tried to read from '0.2.16:46332'
      int Utils::parseUsedPortFromNetstatOutput(const QByteArray&): Unexpected string 'udp        0      0 10.0.2.16:50950         142.250.75.14:443       ESTABLISHED' is not a port. Tried to read from '16:50950'
      int Utils::parseUsedPortFromNetstatOutput(const QByteArray&): Unexpected string 'udp        0      0 10.0.2.16:50968         216.58.215.67:443       ESTABLISHED' is not a port. Tried to read from '16:50968'
      int Utils::parseUsedPortFromNetstatOutput(const QByteArray&): Unexpected string 'udp        0      0 10.0.2.16:39852         172.217.16.42:443       ESTABLISHED' is not a port. Tried to read from '16:39852'
      int Utils::parseUsedPortFromNetstatOutput(const QByteArray&): Unexpected string 'udp        0      0 10.0.2.16:40964         142.250.75.14:443       ESTABLISHED' is not a port. Tried to read from '16:40964'
      int Utils::parseUsedPortFromNetstatOutput(const QByteArray&): Unexpected string 'udp     2560      0 10.0.2.16:68            10.0.2.2:67             ESTABLISHED' is not a port. Tried to read from '16:68'
      int Utils::parseUsedPortFromNetstatOutput(const QByteArray&): Unexpected string 'udp        0      0 10.0.2.16:35913         172.217.16.35:443       ESTABLISHED' is not a port. Tried to read from '16:35913'
      int Utils::parseUsedPortFromNetstatOutput(const QByteArray&): Unexpected string 'udp        0      0 10.0.2.16:50328         142.250.75.14:443       ESTABLISHED' is not a port. Tried to read from '16:50328'
      int Utils::parseUsedPortFromNetstatOutput(const QByteArray&): Unexpected string 'udp        0      0 10.0.2.16:45241         142.250.186.196:443     ESTABLISHED' is not a port. Tried to read from '16:45241'
      int Utils::parseUsedPortFromNetstatOutput(const QByteArray&): Unexpected string 'udp        0      0 10.0.2.16:49379         216.58.208.202:443      ESTABLISHED' is not a port. Tried to read from '16:49379'
      int Utils::parseUsedPortFromNetstatOutput(const QByteArray&): Unexpected string 'udp        0      0 0.0.0.0:5353            0.0.0.0:*                          ' is not a port. Tried to read from '0:5353'
      int Utils::parseUsedPortFromNetstatOutput(const QByteArray&): Unexpected string 'udp        0      0 0.0.0.0:5353            0.0.0.0:*                          ' is not a port. Tried to read from '0:5353'
      int Utils::parseUsedPortFromNetstatOutput(const QByteArray&): Unexpected string 'udp        0      0 10.0.2.16:54618         142.250.75.14:443       ESTABLISHED' is not a port. Tried to read from '16:54618'
      int Utils::parseUsedPortFromNetstatOutput(const QByteArray&): Unexpected string 'udp        0      0 10.0.2.16:42381         142.250.75.14:443       ESTABLISHED' is not a port. Tried to read from '16:42381'
      int Utils::parseUsedPortFromNetstatOutput(const QByteArray&): Unexpected string 'udp        0      0 10.0.2.16:37296         142.250.75.14:443       ESTABLISHED' is not a port. Tried to read from '16:37296'
      int Utils::parseUsedPortFromNetstatOutput(const QByteArray&): Unexpected string 'udp        0      0 0.0.0.0:54704           0.0.0.0:*                          ' is not a port. Tried to read from '0:54704'
      int Utils::parseUsedPortFromNetstatOutput(const QByteArray&): Unexpected string 'udp        0      0 10.0.2.16:43693         142.250.75.14:443       ESTABLISHED' is not a port. Tried to read from '16:43693'
      int Utils::parseUsedPortFromNetstatOutput(const QByteArray&): Unexpected string 'udp        0      0 10.0.2.16:35532         142.250.75.14:443       ESTABLISHED' is not a port. Tried to read from '16:35532'
      int Utils::parseUsedPortFromNetstatOutput(const QByteArray&): Unexpected string 'udp        0      0 10.0.2.16:58094         142.250.75.14:443       ESTABLISHED' is not a port. Tried to read from '16:58094'
      int Utils::parseUsedPortFromNetstatOutput(const QByteArray&): Unexpected string 'udp6       0      0 [::]:36662              [::]:*                             ' is not a port. Tried to read from 'udp6'
      int Utils::parseUsedPortFromNetstatOutput(const QByteArray&): Unexpected string 'udp6       0      0 [::]:5353               [::]:*                             ' is not a port. Tried to read from 'udp6'
      int Utils::parseUsedPortFromNetstatOutput(const QByteArray&): Unexpected string 'udp6       0      0 [::]:5353               [::]:*                             ' is not a port. Tried to read from 'udp6'
      int Utils::parseUsedPortFromNetstatOutput(const QByteArray&): Unexpected string 'udp6       0      0 [::]:5353               [::]:*                             ' is not a port. Tried to read from 'udp6'
      

      It looks like the parser goes into the 2nd branch, but expects a dot char before the port number, while in my case it's a colon char.

      Attachments

        For Gerrit Dashboard: QTCREATORBUG-32040
        # Subject Branch Project Status CR V

        Activity

          People

            jkobus Jarek Kobus
            jkobus Jarek Kobus
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes