wolfpld / tracy

Frame profiler
https://tracy.nereid.pl/
Other
8.64k stars 595 forks source link

qnx show “disconnect during initial” #741

Closed fatfly001 closed 4 months ago

fatfly001 commented 4 months ago

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。

fatfly001 commented 4 months ago

use continue skip the return will solve this issue.