#344 closed defect (fixed)

Heavily loaded host systems may crash Multics with a PRDS stack overflow.

Reported by: canthony Owned by: Eric Swenson
Priority: major Milestone: MR12.9
Component: Simulator Interaction Version: MR12.8
Keywords: PRDS simulation OOSB Cc:

Description

When running CI-kit on some heavily host systems, occasional "Fault in idle process" or " Fault/interrupt while on prds" sys$trouble crashes were observed.

This was determined to be a race condition in Multics triggered by the inability of the simulator to fairly allocate host cycles to the different simulated CPUs.

Details of the analysis are attached as "PRDS stack overflow.pdf"

Attachments (2)

PRDS stack overflow.pdf (131.3 KB ) - added by canthony 19 months ago.
PRDS stack overflow analysis
PRDS stack overflow.2.pdf (134.5 KB ) - added by canthony 19 months ago.
Edit: add justification of  “We see that not all CPUs are responding to the connects in a timely manner."

Download all attachments as: .zip

Change History (6)

by canthony, 19 months ago

Attachment: PRDS stack overflow.pdf added

PRDS stack overflow analysis

comment:1 by canthony, 19 months ago

Rationale behind the “We see that not all CPUs are responding to the connects in a timely manner.” observation:

CPU 1 FAULT:  Fault 8(010), sub 0(00), 'Connect'
CPU 4 FAULT:  Fault 8(010), sub 0(00), 'Connect'
CPU 1 FAULT:  Fault 8(010), sub 0(00), 'Connect'
CPU 1 FAULT:  Fault 8(010), sub 0(00), 'Connect'
CPU 3 FAULT:  Fault 8(010), sub 0(00), 'Connect'

The second CPU 1 fault on the third line would only happen if the cam_clear loop timed out and reissued the connects; the lack of CPUs 2 and 3 messages suggests that they did not get a chance to respond in time.

Version 0, edited 19 months ago by canthony (next)

by canthony, 19 months ago

Attachment: PRDS stack overflow.2.pdf added

Edit: add justification of  “We see that not all CPUs are responding to the connects in a timely manner."

comment:2 by canthony, 19 months ago

"sys_trouble: Fault while in masked environment." has also been reported.

comment:3 by Eric Swenson, 18 months ago

Component: HardcoreSimulator Interaction

comment:4 by Eric Swenson, 17 months ago

Milestone: MR12.9
Resolution: fixed
Status: newclosed
Version: MR12.8
Note: See TracTickets for help on using tickets.