Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Disconnecting From Qt VNC Server causes Segmentation Fault on Server

Disconnecting From Qt VNC Server causes Segmentation Fault on Server

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
vncc++qt5tcp
1 Posts 1 Posters 361 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    lostdev
    wrote on 10 Aug 2022, 18:47 last edited by
    #1

    I'm building a Qt VNC client in Qt 5.15.10 (I've also tried Qt6 but no difference) on Windows and I'm running a VNC server with the Qt plugin in ver 5.11.3 (currently limited to this version on linux) on linux through virtual box.

    When disconnecting my client from the server I encounter a segmentation fault on the server side. This does not occur with existing vnc clients such as RealVNC and TightVNC. Packet captures show I'm sending and receiving the FIN,ACK on the TCP socket and I'm also sending the final ACK same as the other two applications. I've tried disconnecting using QAbstractSocket::disconnectFromHost() and just AbstractSocket::close() with the same result.

    Anyone have any suggestions on what to try? Or how to figure out what is causing the segmentation fault? I'm not seeing a core dump and it doesn't say core dumped either when it occurs.

    1 Reply Last reply
    0

    1/1

    10 Aug 2022, 18:47

    • Login

    • Login or register to search.
    1 out of 1
    • First post
      1/1
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved