Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • S spice-gtk
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 66
    • Issues 66
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 7
    • Merge requests 7
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • spice
  • spice-gtk
  • Issues
  • #141
Closed
Open
Issue created Feb 23, 2021 by leo@luxuguang-leo

Cannot set spice connection after rebooting

I am trying to add over-the-air (OTA) updates to the my spice client program, but sometimes the new spice connection cannot setup and I digged in the process and find the setting up process got stuck as below: spice_channel_coroutine()//src/spice-channel.c line:2530 -->spice_channel_recv_link_hdr()//src/spice-channel.c line:2667 -->spice_channel_read() //src/spice-channel.c line:1135 -->spice_channel_read_wire //line:1045 --> g_coroutine_socket_wait(&c->coroutine, c->sock, cond); //line:1063 Then the program got stuck here, the condition happened after every 30~40 times. I was wondering if this relate to previous spice connection, the rough process of rebooting are: 1)initial spice connection is setup, spice clint(pid:parent) <-> spice server, 2) then parent pid fork and execv new program pid:parent -----> exit(0)
|
---->fork()--->pid:child---->spice connect---->spice server 3)The previous spice connection is disconnect after parent pid is exited. So we can setup new connection I have no idea how to debug this issue, any tips on this would be appreciate!

Thanks, Leo

Assignee
Assign to
Time tracking