wolfpld / tracy

Frame profiler

Home Page:https://tracy.nereid.pl/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

qnx show “disconnect during initial”

RyanPangZheng opened this issue · comments

issue:
client/TracyProfiler.cpp
// Handshake
{
auto res = m_sock->ReadRaw(...)
-- QNX aarch64:
This "res" sometimes true but sometimes false. (is it cause by initial sequence?when do little before ZoneScoped that all good but quick callback before ZoneScoped will trigger res==false)

   when false occur,server HMI show "
    printf( "\nThe client you are trying
   to connect to has disconnected during
      the initial\nconnection handshake. 
      Please check your network 
   configuration.\n" )"

              #include <errno.h>
                bool Socket::ReadRaw(...)_
                {...
                  printf(" Recv()! %s\n", strerror(errno));
                }
                Recv()! Interrupted function call

-- Linux aarch64:
Always true. All good.
}
Settings to tracy:
-DTRACY_ENABLE
-DTRACY_ON_DEMAND
-DTRACY_ONLY_IPV4
-DTRACY_FIBERS
-DTRACY_CLIENT_ADDRESS="255.255.255.255"

fix , close this one please。
not an issue anymore。

use continue skip the return will solve this issue.