[haiku-bugs] [Haiku] #17235: [Media Kit] Distressed/Zombie nodes create ports that cause message timeouts

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Thu, 02 Sep 2021 20:16:08 -0000

#17235: [Media Kit] Distressed/Zombie nodes create ports that cause message
timeouts
----------------------------+--------------------------
 Reporter:  waddlesplash    |       Owner:  nobody
     Type:  bug             |      Status:  new
 Priority:  normal          |   Milestone:  Unscheduled
Component:  Kits/Media Kit  |     Version:  R1/beta3
 Keywords:                  |  Blocked By:
 Blocking:                  |    Platform:  All
----------------------------+--------------------------
 In hrev55048, pulkomandy added some checks to MultiAudioNode to sanitize
 inputs. These tests actually trigger for the usb_audio driver (not yet
 included in builds) in some cases at present, and thus the node is created
 but left in an invalid not-quite-initialized state.

 When the media_server or Media preferences attempt to query the node, they
 get no response and hit timeouts. Most of these queries are blocking, so
 they lock up the window for a few seconds at a time before a timeout is
 hit.

 What should we do in these cases? There is not really a good way to check
 if a node is "alive" in the Media Kit so far as I can see besides simply
 hitting a timeout when querying its control port.
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/17235>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: