PASS

cockpit architecture check

0 errors, 1 warning. Trace demo/cockpit/traces/camera-hang-fixed.kev: QNX 8.0.0 on x86pc, 2 CPUs, 6.01 s, 41,230 events.

Architecture

display to camera: 6 messagesdisplay to logger: 50 messagesdisplay to nav: 50 messagesnav to gps: 50 messagesnav to logger: 50 messagesgpsnavcameraloggerdisplay
  • allowed, used
  • allowed, not seen
  • not in contract
  • deadlock loop
  • path in a finding

Findings

warningstuck-reply

camera took a message from display and never replied

display thread 2 has been REPLY-blocked on camera for 3519 ms (budget 20.0 ms). Server thread 1, which holds the message, is in SIGWAITINFO and not blocked on another server. The contract plans for this server failing, see the isolation check.

Evidence: trace events 62532

Show the 18 trace events behind this
EventTimeWhat happened
578822216.476 msdisplay[tid 2] MsgSend to camera (coid 0x40000002, chid 1) message '\x03\x10'
578922216.512 mscamera[tid 1] MsgReceive got the message from display[tid 2]
579172218.584 mscamera[tid 1] MsgReply to display[tid 2] reply '\x03\x10'
579992275.209 msdisplay[tid 2] MsgSend to camera (coid 0x40000002, chid 1) message '\x03\x10'
580092275.293 mscamera[tid 1] MsgReceive got the message from display[tid 2]
580192275.350 mscamera[tid 1] MsgReply to display[tid 2] reply '\x03\x10'
582322329.146 msdisplay[tid 2] MsgSend to camera (coid 0x40000002, chid 1) message '\x03\x10'
582422329.211 mscamera[tid 1] MsgReceive got the message from display[tid 2]
582522329.309 mscamera[tid 1] MsgReply to display[tid 2] reply '\x03\x10'
584422383.359 msdisplay[tid 2] MsgSend to camera (coid 0x40000002, chid 1) message '\x03\x10'
584522383.422 mscamera[tid 1] MsgReceive got the message from display[tid 2]
584622383.514 mscamera[tid 1] MsgReply to display[tid 2] reply '\x03\x10'
622222434.194 msdisplay[tid 2] MsgSend to camera (coid 0x40000002, chid 1) message '\x03\x10'
622322434.245 mscamera[tid 1] MsgReceive got the message from display[tid 2]
622422434.291 mscamera[tid 1] MsgReply to display[tid 2] reply '\x03\x10'
625322488.419 msdisplay[tid 2] MsgSend to camera (coid 0x40000002, chid 1) message '\x03\x10'
625422488.564 mscamera[tid 1] MsgReceive got the message from display[tid 2]
-62533 (note)-at trace end display[tid 2] is still REPLY-blocked on camera (no reply to event 62532)

Message traffic

ClientServerIn contractMessagesRepliedErrorsUnansweredMedian replyWorst replyBudget
displaycamerayes65010.16 ms2.11 ms20 ms
displayloggeryes5050000.10 ms1.82 ms20 ms
displaynavyes5050000.85 ms4.75 ms50 ms
navgpsyes5050000.18 ms1.18 ms20 ms
navloggeryes5050000.08 ms2.22 ms20 ms