﻿ticket	summary	component	version	milestone	type	owner	status	created	_changetime	_description	_reporter
35	Finish support for passwords up to 32 characters in length	General	MR12.6e		defect	Eric Swenson	new	2017-02-11T07:19:09Z	2026-12-02T00:13:44Z	While the PNT software appears to support passwords greater than 8 characters in length, passwords are currently limited to 8 characters -- probably because the answering service doesn't support passwords greater than this length. In this day and age, limiting passwords to 8 characters provides laughable security. Since 32-character passwords appear to be supported at the PNT level, we should investigate what it would take to enable passwords of up to 32 characters.	Eric Swenson
36	pcref does not ken .cds segments	Tools			defect	Eric Swenson	new	2017-02-11T07:23:39Z	2019-05-22T03:15:41Z	"As part of the Y2K and time-zone issues, the pcref tool was used to locate references to
decode_clock_value_$date_time. prcef relies on data gathered by crossref, which analyzes
compiled/assembled segments to locate references to entry points.

However, .cds segments are not known to crorssref, has the compiled cds segments are not part of the built
code; only their output is.

The entry decode_clock_value_$date_time parameter zone was changed from char (3) to char (4); due to 
pcref not searching the CDS segments, the change was not propagated to those segments.

Searching the Multics source reveals:

bound_pl1_.1.s.archive/pl1_version.cds

dcl decode_clock_value_$date_time
entry (fixed bin (71), fixed bin, fixed bin, fixed bin, fixed bin, fixed bin, fixed bin,
fixed bin (71), fixed bin, char (3), fixed bin (35));

This is the only date_time reference that I can locate in the .cds segments."	canthony
41	Add exec_com to >tools for bootstrapping PL/1 compiler	Tools	MR12.6e		defect	Eric Swenson	new	2017-02-12T05:03:46Z	2017-02-12T05:03:46Z	As part of fixing the cat_op issue with the PL/1 compiler, we decided to resume bootstrapping the compiler with each new compiler release. As part of doing this for version 33f (MR12.6f) of the PL/1 compiler, I created an exec_com (bootstrap_compiler.ec/.absin). We decided it might be a good idea to install it.  	Eric Swenson
79	configure.ini script shipped with QuickStart has ill effects if run a second time	General	MR12.6f		defect	Eric Swenson	new	2017-08-11T05:46:11Z	2017-08-11T05:46:11Z	configure.ini script is really sad. It needs to get replaced.	Eric Swenson
322	dump_segment -as ELEMENT fails to parse ELEMENT with negative array index	Tools	MR12.8	MR12.10	defect	Eric Swenson	new	2023-10-15T15:07:17Z	2026-11-29T17:30:49Z	"The problem is illustrated by the following dump_segment (ds) command:

{{{
ds 247|17240 -as ect_header.count""(-1)""
017240
dump_segment: Code 18. Parsing structure ect_header.count(-1).
}}}
 
The full ect_header structure is properly displayed, including the count(-1) array element.


{{{
dump_segment 234 -as stack_header.ect_ptr
000000
  ect_ptr = 247|17240   [pd]>!BBBKXGGNBpjnQH.area.linker
r 08:02 0.208 0 level 2

dump_segment 247|17240 -as ect_header
017240
ect_header                    @ 247|17240
  ect_areap = 247|17170   [pd]>!BBBKXGGNBpjnQH.area.linker, ect_area_size = 1044, count (-1) = 0, count (0) = 39, count (1) = 38,
  count (2) = 1, count (3) through count (5) = 0
  entry_list_ptrs (1)         @ 247|17252
    firstp = 247|17416   [pd]>!BBBKXGGNBpjnQH.area.linker, lastp = 247|20442   [pd]>!BBBKXGGNBpjnQH.area.linker
  entry_list_ptrs (2)         @ 247|17256
    firstp = 247|20406   [pd]>!BBBKXGGNBpjnQH.area.linker, lastp = 247|20406   [pd]>!BBBKXGGNBpjnQH.area.linker
  entry_list_ptrs (3)         @ 247|17262
    firstp = null, lastp = null
  entry_list_ptrs (4)         @ 247|17266
    firstp = null, lastp = null
  entry_list_ptrs (5)         @ 247|17272
    firstp = null, lastp = null
  meters                      @ 247|17276
    total_wakeups = 1, total_wait_wakeups = 1, total_call_wakeups = 0, ittes_tossed = 1
  seed = 4
  flags                       @ 247|17303
    mask_call_count = 0
    OFF: call_priority, wakeup_control_points
  ecit_ptr = 247|17314   [pd]>!BBBKXGGNBpjnQH.area.linker, ecit_lth = 64, r_offset = 190230, r_factor = 10766514273,
  last_fast_channel_events = ""000000000000""b3
r 08:03 0.252 0 level 2
}}}

Because dump_segment -as uses display services of the probe command, I suspect probe also has this difficulty.

Because the analyze_multics (azm) request display (d) uses the dump_segment_ display capabilities, I suspect azm display request also has this problem.
"	Gary Dixon
445	mbuild scan silently ignores a link in the build directory whose target is missing or not usable	Administration	MR12.9	MR12.10	defect	Eric Swenson	new	2026-11-22T17:50:55Z	2026-11-22T17:51:10Z	"Since MCR10142, mbuild's scan request accepts a link in the build directory as a ""recompile only"" source. This is used when a source is unchanged but must be recompiled because an include file it uses is being replaced. But when such a link fails the checks in mbuild_scan_ (the STAR_LINKS block), the scan drops it without any message in most cases.

Silent cases:
	•	the link's target does not exist, or is not a segment (hcs_$status_minf with chase fails or returns a non-segment);
	•	the link has more than one name;
	•	the matching Seg is not a source with operation REPLACE (UNTHREAD_SEG);
	•	the segment is derived from another source (UNTHREAD_SEG).

Only a link whose target differs from the library copy gets a message (mbuild_et_$link_to_source).

The result is that the source is not recompiled, and the bound object is built with the old object for that component. Nothing in the scan, analysis or install output says so. This happened with MCR10205 (bound_imft_): the link for imft_receive_object_.pl1 pointed to the wrong place, so imft_receive_object_ kept its object compiled against the old _imft_driver_info.incl.pl1. That layout mismatch with the recompiled imft_driver_ made every incoming IMFT transfer fail on GHM with ""This procedure does not implement the requested version. Attempting to translate access class ... from <garbage>VPS"". It was found only by listing the object archive's component dates.
Suggested fix: in STAR_LINKS, print a warning with the link name and the reason whenever a link is rejected (missing target, target not a segment, more than one name, not a REPLACE of a source, derived segment), as the link_to_source case already does. A link whose target is missing should probably be an error rather than a warning, since the build script names the segment and expects it to be rebuilt."	Eric Swenson
448	mlsys_mailer_unspool.pl1 uses too much of its time trying to connect to an unreachable host	Networking	MR12.9	MR12.10	defect	Eric Swenson	new	2026-12-01T20:05:13Z	2026-12-01T20:05:13Z	"While trying to test email over Chaosnet but having issues with my connection, I observed my CPU spin up for minutes at a time, with this appearing in nslog roughly every ten minutes:

10:36:24  mlsys_mailer_unspool: Beginning pass of mailer queues.
10:41:47  mlsys_mailer_unspool: Setting GHM.SWENSON.ORG down.
10:41:47  mlsys_mailer_unspool: Finished pass of mailer queues.
10:46:47  mlsys_mailer_unspool: Beginning pass of mailer queues.
10:52:10  mlsys_mailer_unspool: Setting GHM.SWENSON.ORG down.
10:52:10  mlsys_mailer_unspool: Finished pass of mailer queues.

(1) The existing code detects down hosts, but discards the list of down hosts at the start of every pass (line 268, call check_host_$reset). Instead, there should be a time interval to the next check that is made longer after each successive failure, and reset to the minimum after the host is live again. The interval and the per-host state belong in check_host_, which may need a new entry point: this program currently use $check, $dead and $reset. Resetting the interval to the minimum when a host comes back requires something that reports a host live.

(2) check_host_$dead is called only from the some_not_sent branch (lines 384–387). An entry whose recipients have all been delivered or have fatal errors takes the delete_message branch (line 390) instead and never marks the host down. The next entry in the same pass makes another full connection attempt to a host that has just failed. One pass holding two such entries took 648 seconds. The host should be marked down on a transport failure here as well, but not on a delivery failure such as a 550, which says nothing about whether the host is reachable.

Log evidence:
07:09:15  mlsys_mailer_unspool: Beginning pass of mailer queues.
07:14:41  mlsys_mailer_unspool: The operation was not completed within the required time. Mailing from Lippard...
07:20:03  mlsys_mailer_unspool: Setting GHM.SWENSON.ORG down.
07:20:03  mlsys_mailer_unspool: Finished pass of mailer queues.

(3) An AIM violation stops all queued messages from being delivered until removed by hand, same pattern as a previously fixed bug (change 5 in the history comments). The return at line 316 also abandons the queue entry (allocated at 278) and the message text (287) without freeing either, and leaves msx and mmsx open. (Lines 310-316.)

(4) cleanup is declared but there's no cleanup handler. A cleanup handler should be established to cleanup allocated storage and close msx and mmsx.

(5) Lines 400-401 test new_ptr and assign it null, but it is never used anywhere.

(6) The error: exit closes msx but not mmsx (opened at line 143). (Lines 410-414)

Note: When my CPU spun up I also saw an apparent hang that didn't end until I logged out Network_Server, and none of the above was the cause of that."	Jim Lippard
449	ed_mgt creates the initial Other load control group with an absolute maximum of 0	Administration	MR12.5	MR12.10	defect	Eric Swenson	new	2026-12-01T21:49:11Z	2026-12-01T22:01:07Z	"On a new system, no user of a project assigned to the default load control group Other can log in:

{{{
l Test
Password:
Load control group full. Please try again later.
}}}

load_ctl_status -long shows Other with Tot / Max 0.0/0.0, although its Maxprime is ""the rest"" of the units:

{{{
Group   Maxprime Maxabs  Prime Secondary  Abs    Tot / Max
Other       77.0      3    0.0       0.0    0     0.0/0.0
System       4.0      3    1.0       0.0    0     1.0/3276.0
}}}

acct_start_up.ec creates the master group table with ed_mgt. For a new MGT, ed_mgt's initialize_mgt procedure defines the group Other (max_prim = -1) but never sets its constant absolute maximum (group.minamax), which stays 0; num1 and denom1 are 0 too. At each login, load_ctl_ computes the group's absolute maximum from these values. It refuses everyone in the group with as_error_table_$groupmax (""Load control group full"") before the Maxprime limit is considered.

The ed_mgt add request sets minamax to 32767 (no absolute maximum) for each group it adds, so System and any other added group work; only the initial Other group is affected. The standard projects are in System, so the problem shows up only when a project is put in Other.

To fix this, initialize_mgt should set group.minamax = 32767 for Other, as add does.

Workaround, and the repair for existing systems, whose MGT already has the 0: run ed_mgt MGT in >udd>SysAdmin>admin, then

{{{
f Other
c abs -1 .
w
q
}}}
and then install MGT.mgt. It takes effect at the next login."	Eric Swenson
452	mgp_io_.pl1 can hang while attempting and failing to send network mail over Chaosnet	Networking	MR12.9	MR12.10	defect	Eric Swenson	new	2026-12-01T23:37:43Z	2026-12-01T23:47:51Z	"While tracking down a hang while attempting and failing to send network mail over Chaosnet (see #448 and #451), the hang itself turned out to be here. The -timeout attach option covers only connection establishment: get_timeout (158–175) stores the value, line 185 arms timer_manager_$alarm_wakeup immediately before the connect, and check_connection_loop (196–208) is the only ipc_$block in the module that tests my_event_wait_info.message against ALARM___ and turns it into error_table_$net_timeout. Line 210 resets the alarm on success and the option is never consulted again. Every subsequent blocking operation — put_chars (399), get_chars (434), get_line (476), position (527), read_record/read_length (570), write_record (598), and the ""eof"" control order's acknowledgement wait (717) — is guarded only by attach_data.no_block and can wait indefinitely. mgp_io_$mgp_io_close reaches line 598 through the EOF write at 351, so even an orderly close of a connection whose peer has gone silent without a CLS never returns. The alarm channel is already in attach_data.wait_list, so a wakeup does break these blocks — the defect is that only one of the eight sites inspects the message.

I hit this with a partially-up Chaosnet connection that wasn't quite working, so it may be difficult to reproduce. The path must be silently discarded, not refused: if the RFC is never answered the attempt dies in mgp_io_$mgp_io_attach, whose own cleanup handler (line 14) nulls the iocb pointers at 111 before mmd_chaos_'s handler runs, so the close never enters this module; and if the peer sends a proper CLS, check_for_disconnect (840) exits cleanly. The hang needs the Chaos layer to still believe the connection is open while having no output window.

io_call attach x mgp_io_ ghm -server mail
io_call open x stream_input_output — confirm the greeting arrives
drop the path at cbridge, or with an IP filter rule that silently discards the traffic
io_call close x

Step 4 should never return, with no CPU accumulating — compare relative CPU in the ready message before and after, which also distinguishes this from #448."	Jim Lippard
420	system_info_ entry points are poorly declared in both source and documentation.	Administration	MR12.6e	No Milestore	defect	Eric Swenson	new	2026-09-27T00:06:02Z	2026-09-27T00:07:25Z	"The system_info_.pl1 source program does not declare the parameters expected by each of its external entry points.  A few have their parameters declared fully; others declare some of the parameters but not all of them; and most of the entry points declare none of the expected parameters.

The following except lines from system_info_.pl1 show this problem.

{{{
installation_id: entry;
sysid:    entry;
version_id:    entry;
session:  entry;
titles:   entry;
users:    entry;
timeup:   entry;
next_shutdown: entry;
last_shutdown: entry;
rates: prices: entry;
rates_rs: prices_rs: entry (rs_number);
device_rates: device_prices: entry (ndev, devp);
device_rates_rs: device_prices_rs: entry (rs_number, ndev, devp);
abs_limits: entry;
default_absentee_queue: entry;
abs_prices: entry;
abs_prices_rs: entry (rs_number);
io_prices: entry;
io_prices_rs: entry (rs_number);
abs_chn:  entry (ev, pid);
next_shift_change: entry (curshft, shftime, newshft, starttime);
shift_table: entry (stt);
request_chn: entry;
access_ceiling: entry (access_ceiling);
log_threshold: entry;
level_names: entry;
category_names: entry;
ARPANET_host_number: entry;
resource_price: entry (a_price_name, a_price, a_code);
resource_price_rs: entry (rs_number, a_price_name, a_price, a_code);
rs_name:  entry (rs_number, rs_name, a_code);
rs_number: entry (rs_name, rs_number, a_code);
max_rs_number: entry (rs_count);
trusted_path_flags: entry (stp);
}}}


Note that some of these entry points appear in the MPM Subroutines writeup for system_info_ with parameters fully specified.  

Other entry points are missing from the manual, but are fully declared in the system_info_.info segment.  

And most of the entry points have parameter attributes declarations in the >sss>pl1.dcl segment.  However, while all of these entry points are retained by bound_info_rtns_.bind, some are not declared in MPM Subroutines writeup or the system_info_.info segment.

The system_info_.pl1 code enables setting undeclared output values by treating then as command arguments.  It calls cu_$arg_ptr to locate the char(*) argument, and sets its output value using the cu_-provided pointer and length.  This practice may have stemmed from limitations of the v1pl1 compiler, but those have long since disappeared from Multics.

 - Code in system_info_.pl1 should be updated to declare all parameters for every external entry point, and to use those declarations to return output data to the caller.

 - Information in system_info_.info should be made fully consistent with the declared parameters, and provide documentation for all system_info_ external entry points.

 - All system_info_$XXX entry points listed in >sss>pl1.dcl should be removed.  Some are incorrect, and none will be needed if the actual parameters are declared in the PL/I source program.  The PL/I compiler will provide argument descriptors for these parameters.

Until this issue is corrected, the user should refer to the MPM Subroutines or system_info_.info segment for correct calling sequence expected for each entry point.

When this ticket is closed, all entry points should be properly declared in the source.  The display_entry_point_dcl (depd) command and Emacs pl1dcl keystroke will provide correct documentation for each parameter.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               "	Gary Dixon
127	Error:  out_of_bounds at e_lap_|424 (>system_library_unbundled>bound_multics_emacs_)	Unbundled Library			defect	Eric Swenson	new	2018-07-07T13:29:52Z	2022-09-04T04:33:46Z	"Error:  out_of_bounds at e_lap_|424
(>system_library_unbundled>bound_multics_emacs_)
referencing lisp.lists.!BBBKMQmMgXXwzW|776000 (in process dir)
Attempt to access beyond end of segment

Error:  out_of_bounds at e_lap_|424
(>system_library_unbundled>bound_multics_emacs_)
referencing lisp.lists.!BBBKMQmMgXXwzW|776000 (in process dir)
Attempt to access beyond end of segment.

r Trn.SysEng:>user_dir_dir>SysEng>Trn  09:23 07/07/18 0.171 1 level 2,16
probe
Condition out_of_bounds raised at Block at lisp|34163|35014 (level 9).
sk
 15          command_processor_
 14          abbrev_processor
 13          release_stack
 12          unclaimed_signal
 11          wall
 10          any_other.2
  9          Block at lisp|34163                           out_of_bounds
  8          lisp
  7          >unb>bound_multics_emacs_ (alm)
  6          emacs
  5          emacs
  4          command_processor_
  3          abbrev_processor
  2          listen_
  1          initialize_process_
    

Emacs crash when using PgUp/PgDn"	Trn
152	Scavenger not deleting orphan entries.	Hardcore			defect	Eric Swenson	new	2019-03-16T20:52:19Z	2026-10-13T19:41:14Z	"My system has been salvaged and scavenged, but still contains VTOC entries that are orphans (not reachable from "">"")


display_vtoce rpv 3

VTOCE ""process_dir_dir"" (Directory), vtocx 3 on pvtx 1 (rpv)

UID: 505737623552, msl: 205, csl:   0, records:   0
     Quota received (S D)    (131071 131071)
     Time-record product (D)  1.5e-5 page-seconds
          updated at 2017-10-12 10:38:10.063360 pst.
Created    2017-10-12 10:38:01.805824 pst
Never dumped
Used       2017-10-12 10:38:01.805824 pst
Modified   2017-10-12 10:38:01.805824 pst

ON:
OFF:       deciduous per_process nqsw master_dir nid ncd dnzp damaged
           synchronized fm_damaged fm_checksum_valid

Access Class:  system_low

vtoc_pathname rpv 3
vtoc_pathname: Entry not found. Cannot completely convert uid path
Pvtx 1 vtocx 3 = >-NOT-LISTED-


  



"	canthony
198	MRDS retrieve display is ill-formatted	Tools			defect	Eric Swenson	new	2020-01-29T03:52:00Z	2026-11-23T23:41:58Z	"[http://ringzero.wikidot.com/wiki:cac-2020-01-28]

Observed by Kazuhisa Shimizu  


{{{
cd db
cwd db
edm
domain:      char_12    char(12),
             char_5     char(5);

attribute:   name       char_12,
             emp_num    char_5,
             comp       char_5;

relation:    Employee (name  emp_num* comp),
             Comp_mgr (comp* emp_num);
.
w foo.cmdb
q
create_mrds_db foo Pers_Info -list
edm
dom: a bit; /* simplest possible database */
rel: b(a*);
.
w x.cmdb
q
cmdb x small -list
create_mrds_dm_include Pers_Info -based
mrds_call open Pers_Info eu
mrds_call store 1 Employee name1 123 comp1
mrds_call retrieve 6 1 ""-range (e Employee) -select e"" -all
}}}



{{{
Values are:

\000\000\000\000r_dir_dir>SysAdmin>Repair>db>Pers_Info.db
\c
\c                        exclusive_update    \400\000\000\000\000\000\000\000\
\c000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\0
\c00\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\00
\c0\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000
\c\000\000
\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\00
\c0\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000
\c\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\
\c000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\0
\c00\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\00
\c0\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000
\c\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\
\c000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\0
\c00\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\00
\c0\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000
\c\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\
\c000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\0
\c00\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\00
\c0\000\000\000\000\000
\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\00
\c0\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000
\c\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\
\c000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\0
\c00\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\00
\c0\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000
\c\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\
\c000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\0
\c00\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\00
\c0\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000
\c\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\
\c000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\0
\c00\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\00
\c0\000\000\000\000\000
name1
123
comp1

(END)

}}}


The ""\000"" seem to be in error.

"	charles.unix.pro@…
222	save_dir_info mishandles names for branches saved in the .dir_info file	Tools			defect	Eric Swenson	new	2021-05-03T16:33:30Z	2026-11-23T23:41:27Z	"The save_dir_info command (tool) has problems saving names of branches in a directory.  The name count is mis-handled.

For example, in the sseg internal procedure:


{{{
sseg:     proc;

               ec = 0;
               xxp = addr (seg_rec.brstat);
               call hcs_$status_long (dirname, en, 0, xxp, null, ec);
               if ec ^= 0 then return;
}}}

But later in that internal procedure, the data returned by hcs_$status_long is referenced using point '''p''' instead of pointer '''xxp'''.

{{{
               seg_rec.n_names = fixed (p -> branches.nname, 16);
               tp = addr (seg_rec.names);
               do j = 1 to seg_rec.n_names;
                    tp -> names (j) = nptr -> names (j+k-1);
                    end;
               next_xp = addr (seg_rec.end_seg_rec);
               seg_rec.fnext = rel (next_xp);
               oldxp = xp;
               xp = next_xp;

          end sseg;
}}}

Similar problems occur in internal procedures sdir and slink.

This is an internal administrative tool which is seldom used (after the new storage system code gained stability).  So it's not surprising these bugs have not been noticed.

USERS of this tool should beware.

Perhaps this tool (though documented in MPM Commands and in help files) should be moved to the obsolete library?
"	Gary Dixon
246	"exercise_disk lacks test size control and ""progress bar"""	Answering Service			defect	Eric Swenson	new	2021-09-29T19:38:46Z	2026-11-24T18:56:01Z	"exercise_disk's random test takes six and a half hours to run; it has no progress indication, nor a method for doing a shorter test.

Add a ""-loops"" parameter to limit the size of the test.

Add a ""progress bar"" during the test so as to allow an estimated time to completion.

{{{
[pwd]>exercise_disk d501 cac -loops 10000

exercise_disk: Device type is d501 pack serial no. is cac
exercise_disk: exercise_disk will destroy all data on this pack !

exercise_disk: Do You Wish To Continue?   yes
exercise_disk: Requesting mount of volume cac.

exercise_disk: Begin random test on dskb_01 (d501) @  1121.1
0%.........10%.........20%.........30%.........40%.........50%.........60%.....
\c....70%.........80%.........90%.........100%

exercise_disk: Testing Completed for dskb_01 (d501).
Test Summary:
Number of Sectors Written           5000
Number of Sectors Read              5000
}}}

(Strictly speaking, ""-loops"" is a misnomer here; it actually sets the number of reads and writes, of which there are four for every loop.)
"	canthony
256	Multics allows a config deck with non-distinct SCU ports for multiple CPUs	Hardcore	MR12.5		defect	Eric Swenson	new	2021-11-03T01:42:27Z	2026-11-24T23:47:32Z	"If you author a config deck with, say:

{{{
cpu  a  7  on  dps8  70.  8.
cpu  b  7  off  dps8  70.  8.
}}}

Multics doesn't warn you.  If you then try to add the cpu designated as ""off"" in the config deck, Multics hangs."	Eric Swenson
285	input_history (ih) improperly handles input lines longer than the screen width	General			defect	Eric Swenson	new	2022-07-25T18:26:22Z	2026-11-29T03:11:22Z	"With video system enabled and input_history command attached (as shown in pat output below)...

{{{
pat
user_terminal_      tc_io_ -login_channel
          stream_input_output
error_output        syn_ user_i/o -inh close get_line get_chars
user_output         syn_ user_i/o -inh close get_line get_chars
user_input          syn_ user_i/o -inh close put_chars
user_i/o
     window_io_ user_terminal_ -first_line 1 -n_lines 77 -first_column 1 -n_columns 131
          stream_input_output Video
}}}

the terminal setup is as follows:


{{{
stty -all
Type: VT102_132C_78L
Modes: more_mode=scroll,more,ll=131,pl=77,^vertsp,can,erkl,esc,^rawo,^red,^ctl_char,^edited
Erase: #,  Kill: @
Frame_begin: \000, Frame_end: \000
Delays: vert_nl 0, horz_nl  0.500, const_tab 0, var_tab  0.000, backspace 0, vt_ff 0
output suspend: \023; output resume: \021
}}}

When operating in this environment, a typed input line longer that the screen width is split into two input lines, as shown by the following command and its output.


{{{
string ...5....1 ...5....2 ...5....3 ...5....4 ...5....5 ...5....6 ...5....7 ...5....8 ...5....9 ...5....0 ...5....1 ...5....2 ...5
\c....3 ...5....4
...5....1 ...5....2 ...5....3 ...5....4 ...5....5 ...5....6 ...5....7 ...5....8 ...5....9 ...5....0 ...5....1 ...5....2 .
r 11:11 0.136 0

Segment 5....3 not found.
r 11:11 0.073 0
}}}

In the exact same video environment but with input_history detached, the long command input line is handled properly:


{{{
ih detach
r 11:12 0.053 0

string ...5....1 ...5....2 ...5....3 ...5....4 ...5....5 ...5....6 ...5....7 ...5....8 ...5....9 ...5....0 ...5....1 ...5....2 ...5
\c....3 ...5....4
...5....1 ...5....2 ...5....3 ...5....4 ...5....5 ...5....6 ...5....7 ...5....8 ...5....9 ...5....0 ...5....1 ...5....2 ...5....3 .
\c..5....4
r 11:12 0.139 0
}}}

"	Gary Dixon
335	PL/I addbitno builtin function generates incorrect code	Standard Library	MR12.8		defect	Eric Swenson	new	2024-03-04T03:01:26Z	2024-03-04T03:01:26Z	"Code generated by the addbitno function fails to load the pointer to be adjusted before adding a bit offset.
The assembler listing for a statement using addbitno is shown below.


{{{
          else P_arg_info.address = addbitno ( P_arg_info.address,
                                               P_arg_info.array_extent.element_offset *
                                                (P_arg_info.element.selected - P_arg_info.array_extent.lbound) );

007737  aa  3 00104 3521 20   epp2      pr3|68,*            P_arg_info.address
007740  aa  3 00114 3361 00   lcq       pr3|76              P_arg_info.selected
007741  aa   000044 7770 00   llr       36
007742  aa   000044 7330 00   lrs       36
007743  aa  3 00107 0331 00   adl       pr3|71              P_arg_info.lbound
007744  aa   000000 5330 00   negl      0
007745  aa  6 00100 7571 00   staq      pr6|64
007746  aa  3 00111 2361 00   ldq       pr3|73              P_arg_info.element_offset
007747  aa  6 00100 3521 00   epp2      pr6|64
007750  aa  0 00671 7001 00   tsx0      pr0|441             mpfx2
007751  aa  2 00000 5035 06   abd       pr2|0,ql
007752  aa  3 00104 2521 00   spri2     pr3|68              P_arg_info.address
}}}

Notice that pr2 gets loaded by the first instruction, but later gets reused by the multiply operation in the second argument to the addbitno function.  It never gets reloaded, so an address associated with the multiple gets stored into the P_arg_info.address value.

An avoidance for this problem is shown below.  The avoidance moves calculation of the bit offset into a separate statement stored in a new variable.  This variable is then used as the bit offset addition in the addbitno builtin.


{{{
     2121   dcl  bit_offset             fixed bin(24);
      ...
          else do;

                                                            STATEMENT 1 ON LINE 2145
               bit_offset =  P_arg_info.array_extent.element_offset *
                            (P_arg_info.element.selected - P_arg_info.array_extent.lbound);

007737  aa  3 00114 3361 00   lcq       pr3|76              P_arg_info.selected
007740  aa   000044 7770 00   llr       36
007741  aa   000044 7330 00   lrs       36
007742  aa  3 00107 0331 00   adl       pr3|71              P_arg_info.lbound
007743  aa   000000 5330 00   negl      0
007744  aa  6 00102 7571 00   staq      pr6|66
007745  aa  3 00111 2361 00   ldq       pr3|73              P_arg_info.element_offset
007746  aa  6 00102 3521 00   epp2      pr6|66
007747  aa  0 00671 7001 00   tsx0      pr0|441             mpfx2
007750  aa  6 00100 7561 00   stq       pr6|64              bit_offset
                                                            STATEMENT 1 ON LINE 2147
               P_arg_info.address = addbitno ( P_arg_info.address, bit_offset );

007751  aa  3 00104 3521 20   epp2      pr3|68,*            P_arg_info.address
007752  aa  2 00000 5035 06   abd       pr2|0,ql
007753  aa  3 00104 2521 00   spri2     pr3|68              P_arg_info.address
                                                            STATEMENT 1 ON LINE 2148
               end;
}}}
"	Gary Dixon
338	The PL1 charno built-in function incorrectly evaluates a multi-element argument	General	MR12.8		defect	Eric Swenson	new	2024-08-16T07:13:32Z	2024-08-16T07:13:32Z	"The following test program demonstrates several problems in handling of any multi-element or complicated argument given to the PL1 charno built-in function.  charno is documented in the pl1.new_features.info segment as follows:

The charno, bitno, wordno, and segno functions:
These builtins extract information from pointers, and are defined as follows:

     C = charno (P);

P must be a scalar pointer value. The result, C, is a real fixed binary of
precision (21, 0), containing the zero origined character address of P [relative to baseptr(P) ].

However, the following test program demonstrates a significant failure in the compiler's handling of the argument to the charno built-in function.  Arguments such as:

   charno( stmt.P )

   charno( stmt.last_tokenP -> token.P )

are mishandled by the compiler in some unknown fashion.


{{{
                    test_charno.pl1     08/15/24  2355.8 pdt Thu


test_charno:
          proc();

  dcl  my_statement           char(42) init( ""positional pos(1) ctl(-name -nm) required;"" )
                              int static options(constant);
  dcl  semi_colon             char(1) defined(my_statement) pos(42);

  dcl 1 auto_stmt             aligned like stmt;
  dcl 1 (token1, token2)      aligned like token;
          
  dcl  (P1, P2)               ptr,
       (n1, n2)               fixed bin(21);

  dcl  ioa_                   entry() options(variable);

  dcl 1 stmt                   aligned based (stmtP),
        2 P                    ptr unal,
        2 L                    fixed bin(18),
        2 first_tokenP         ptr unal,
        2 last_tokenP          ptr unal,
       stmtStr                 char(stmt.L) based (stmt.P),
       stmtP                   ptr;

  dcl 1 token                  aligned based (tokenP),
        2 P                    ptr unal,
        2 L                    fixed bin(21),
       tokenP                  ptr,
       tokenStr                char(token.L) based(token.P);

          tokenP = addr(token1);
          unspec(token) = ""0""b;
          token.P = addr(my_statement);
          token.L = 1;

          stmtP = addr(auto_stmt);
          unspec(stmt) = ""0""b;
          stmt.P = addr(my_statement);
          stmt.L = 1;
          stmt.first_tokenP = tokenP;
          
          tokenP = addr(token2);
          unspec(token) = ""0""b;
          token.P =   addr(semi_colon);
          token.L = length(semi_colon);
          
          stmt.last_tokenP = tokenP;


          stmt.L = charno( stmt.last_tokenP -> token.P )
                 +         stmt.last_tokenP -> token.L
                 - charno( stmt.P );

          call ioa_( ""First, tried to set stmt.L using the statement:
     stmt.L = charno( stmt.last_tokenP -> token.P )
            +         stmt.last_tokenP -> token.L
            - charno( stmt.P );"" );

          call ioa_( ""^/Expect stmt.L to equal:           42 (000000000052)"" );
          call ioa_(   ""^19t Got:  ^11d (^w)"", stmt.L, stmt.L );

/* ---------- */
          
          call ioa_( ""^2/Second, tried to break down clauses in the expression."" );

          call ioa_( "" A:  n1 = charno( stmt.last_tokenP -> token.P );"" );
          n1 = charno( stmt.last_tokenP -> token.P );
          call ioa_( ""^19t Got:  ^11d (^w)"", n1, n1 );

          call ioa_( "" B:  n2 = charno( stmt.P );"" );
          n2 = charno( stmt.P );
          call ioa_( ""^19t Got:  ^11d (^w)"", n2, n2 );
          
          call ioa_( "" stmt.L = n1 + stmt.last_tokenP -> token.L - n2;"" );
          stmt.L = n1 + stmt.last_tokenP -> token.L - n2;
          call ioa_( ""^19t Got:  ^11d (^w)"", stmt.L, stmt.L );        

/* ---------- */

          call ioa_( ""^2/Third, tried to remove pointer indirection from the """"A"""" charno argument."" );

          call ioa_( "" A:  P1 = stmt.last_tokenP -> token.P;
     n1 = charno( P1 );"" );

          P1 = stmt.last_tokenP -> token.P;
          n1 = charno( P1 );
          call ioa_( ""^19t Got:  ^11d (^w)"", n1, n1 );

          call ioa_( "" B:  n2 = charno( stmt.P );"" );
          n2 = charno( stmt.P );
          call ioa_( ""^19t Got:  ^11d (^w)"", n2, n2 );
          
          call ioa_( "" stmt.L = n1 + stmt.last_tokenP -> token.L - n2;"" );
          stmt.L = n1 + stmt.last_tokenP -> token.L - n2;
          call ioa_( ""^19t Got:  ^11d (^w)"", stmt.L, stmt.L );        

/* ---------- */

          call ioa_( ""^2/Fourth, tried to remove structure element from """"B"""" charno argument."" );

          call ioa_( "" A:  P1 = stmt.last_tokenP -> token.P;
     n1 = charno( P1 );"" );

          P1 = stmt.last_tokenP -> token.P;
          n1 = charno( P1 );
          call ioa_( ""^19t Got:  ^11d (^w)"", n1, n1 );

          call ioa_( "" B:  P2 = stmt.P;
     n2 = charno( P2 );"" );

          P2 = stmt.P;
          n2 = charno( P2 );
          call ioa_( ""^19t Got:  ^11d (^w)"", n2, n2 );
          
          call ioa_( "" stmt.L = n1 + stmt.last_tokenP -> token.L - n2;"" );
          stmt.L = n1 + stmt.last_tokenP -> token.L - n2;
          call ioa_( ""^19t Got:  ^11d (^w)"", stmt.L, stmt.L );        

          call ioa_( ""^2/Display of the entire stmtStr now works OK.
 stmtStr: """"^a"""";"", stmtStr );

          call ioa_( ""^2/Thus, the charno built-in function appears to have argument processing problems."" );
          

          end test_charno;
}}}

Results of running this program demonstrate that expected values were obtained only when a single scalar pointer was passed as the argument to charno.  Attempting to pass a scaler pointer element of a containing structure did not work.  


{{{
test_charno
First, tried to set stmt.L using the statement:
     stmt.L = charno( stmt.last_tokenP -> token.P )
            +         stmt.last_tokenP -> token.L
            - charno( stmt.P );

Expect stmt.L to equal:           42 (000000000052)
                   Got:   9663676427 (110000000013)


Second, tried to break down clauses in the expression.
 A:  n1 = charno( stmt.last_tokenP -> token.P );
                   Got:   9741008906 (110447000012)
 B:  n2 = charno( stmt.P );
                   Got:     77332480 (000447000000)
 stmt.L = n1 + stmt.last_tokenP -> token.L - n2;
                   Got:   9663676427 (110000000013)


Third, tried to remove pointer indirection from the ""A"" charno argument.
 A:  P1 = stmt.last_tokenP -> token.P;
     n1 = charno( P1 );
                   Got:           41 (000000000051)
 B:  n2 = charno( stmt.P );
                   Got:     77332480 (000447000000)
 stmt.L = n1 + stmt.last_tokenP -> token.L - n2;
                   Got:    -77332438 (777331000052)


Fourth, tried to remove structure element from ""B"" charno argument.
 A:  P1 = stmt.last_tokenP -> token.P;
     n1 = charno( P1 );
                   Got:           41 (000000000051)
 B:  P2 = stmt.P;
     n2 = charno( P2 );
                   Got:            0 (000000000000)
 stmt.L = n1 + stmt.last_tokenP -> token.L - n2;
                   Got:           42 (000000000052)


Display of the entire stmtStr now works OK.
 stmtStr: ""positional pos(1) ctl(-name -nm) required;"";


Thus, the charno built-in function appears to have argument processing problems.
r 00:10 0.270 0
}}}

"	Gary Dixon
351	Emacs crashes with video invoked when requested Emacs line length exceeds Multics video line length.	General	MR12.8		defect	Eric Swenson	assigned	2025-03-03T21:20:35Z	2025-03-04T16:48:13Z	"1. `stty -ttp vt102`
2. `wdc invoke`
3. `emacs -ll 104 >udd>Ring0>JJohnson>speed>instr_speed.pl1`
4. Hold down Control-N (scrollng down line by line).

Once it scrolls to the line containing the ^L character, Emacs will crash:

{{{
Error:  emacs error by e_pl1_$signal_io_error|14573
(>system_library_unbundled>bound_multics_emacs_)
The request was not within the boundaries of the requesting window. Emacs encou
\cntered an error. Error from window_$<<video system ctl>>.
Give the following command:
file_output emacs_trace_;trace_stack;revert_output
and save the results for programming staff.
}}}

This happens when using Multics video system with a terminal of 80 width, but (likely erroneously) specifying that Emacs should use a width of 104.

I encountered this because I had (unintentionally) set an abbrev for emacs which was invoking it with -ll 104, and I was using the 80x25 vt102 terminal.

This is a very abnormal configuration for me, since I normally use a 132x50 terminal.

Rather than crash, if this is truly a fatal configuration error, Emacs should instead just complain that the requested line length exceeds maximum width width of the currently invoked Multics video session."	Jeffrey H. Johnson <trnsz@…>
354	Volume Retrieved segment had unexpected garbage at bottom of only page	Hardcore	MR12.8		defect	Eric Swenson	new	2025-03-26T22:08:14Z	2026-11-25T18:59:20Z	"On GHM system, I recently retrieved a segment which had accidentally been deleted.

{{{
>udd>Multics>GDixon>w>lr>ssu_request_tables_list.incl.pl1

NOTE:  I have since moved this segment to another directory to preserve its attributes and contents:
  >udd>Multics>GDixon>w>VOL_RETRIEVER_BAD_SEG
}}}

When Volume_Retriever reloaded this 1-page segment, it set the bit count to a whole-word boundary because the volume backup system is dumping based upon VTOCe contents.  It does not have access to the directory entry for the dumped segment (which contains the bit_count attribute).

When I ran the adjust_bit_count command, it adjusted the bit count to near end of the page.  A page has 36864 bits, but the adjusted bit_count was set to 36774 as shown below.

{{{
abc ssu_req*.ip -ch
r 14:16 0.061 1

st -ln ssu_req*.ip

          >udd>Multics>GDixon>w>lr>ssu_request_tables_list.incl.pl1

bit count:          36774
records used:       1
max length:         261120

r 14:20 0.034 11

calc 4096*9
=   36864

r 14:31 0.035 2
}}}

If this strange garbage was introduced when the segment was retrieved, the memory page into which the retrieval record was read should have contained all zero bits.

But I believe the entire volume backup of the 1-page segment dumped its entire record onto simulated tape.  And this entire record was then reloaded.  This means the 1-page segment could have had the unexpected garbage in its on-simulated-disk record, but the garbage was shielded from view by the more restrictive bit count on the segment.

At some point in its life-cycle on Multics, this 1-page segment gained what appears to be data from some other segment.  This would be a significant security violation.  

Note that this particular segment had only been in existence at the above location for about 1 month.  I was modifying an installed include segment.  I believe I read the installed copy of that segment into my emacs editor window, then saved its contents into a new segment (of the same name) in my local directory using the emacs write-file (^X-^W) request.  This segment is installed at:


{{{
lpn ssu_request_tables_list.incl.pl1
>ldd>include>ssu_request_tables_list.incl.pl1

r 15:02 0.267 21
}}}

Garbage (preceded by the last expected comment line in the file) is shown below.

{{{
ds ssu_request_tables_list.incl.pl1 1300 500 -ch
001300 124137124101 102114105123 137114111123 124137126105 T_TABLES_LIST_VE
001304 122123111117 116137061040 146151170145 144040142151 RSION_1 fixed bi
001310 156141162171 040163164141 164151143040 157160164151 nary static opti
001314 157156163040 050143157156 163164141156 164051040151 ons (constant) i
001320 156151164151 141154040050 061051073012 144143154040 nitial (1);.dcl
001324 040122105121 125105123124 137124101102 114105123137  REQUEST_TABLES_
001330 114111123124 137126105122 123111117116 137062040146 LIST_VERSION_2 f
001334 151170145144 040142151156 141162171040 163164141164 ixed binary stat
001340 151143040157 160164151157 156163040050 143157156163 ic options (cons
001344 164141156164 051040151156 151164151141 154040050062 tant) initial (2
001350 051073012012 057052040040 105116104040 117106072011 );../*  END OF:.
001354 163163165137 162145161165 145163164137 164141142154 ssu_request_tabl
001360 145163137154 151163164056 151156143154 056160154061 es_list.incl.pl1
001364 011040040052 040040052040 040052040040 052040040052 .  *  *  *  *  *
001370 040040052040 040052040040 052040040052 040040052040   *  *  *  *  *
001374 040052040040 052040040052 040040052040 040052040040  *  *  *  *  *
001400 052040040052 040040052040 040052040052 057012000000 *  *  *  * */...
001404 172000000000 000000000000 000000000000 000000000000 z...............
001410 544616743610 000000000000 001324001422 000002000010 ................
001414 001034001016 052500000000 000000000000 000000000000 ....*...........
001420 545417574645 000000000000 001412000000 000002000010 ................
001424 002012001016 052500000000 000000000000 000000000000 ....*...........
001430 545417574645 000000000000 001744001606 000007000046 ...............&
001434 545417574104 662664776050 400000000001 001442001442 ...D...(........
001440 001034001016 141000000000 000000000000 000006000016 ....a...........
001444 001432000010 000000000000 151160056163 145162166145 ........ip.serve
001450 162056066056 141143163040 040040040040 040040040040 r.6.acs
001454 040040040040 040040040040 000000000000 545417574104         .......D
001460 662665014561 000000000000 475402655553 031570000000 ................
001464 000000000000 000000000000 000000000000 444000000002 ................
001470 001576001566 001034001016 141000000000 000000000000 ........a.......
001474 000000000000 000000000000 544616743610 000000000000 ................
001500 000000001704 000002000010 000000000240 052500000000 ............*...
001504 000000000000 000000000000 545417574676 000000000000 ................
001510 000000001714 000002000010 000000000000 052500000000 ............*...
001514 000000000000 000000000000 573025701763 000000000000 ................
001520 001344005440 000007000046 573025702010 675412741104 .......&.......D
001524 400000000001 001530001530 001034001016 172000000000 ............z...
001530 000000000000 000006000016 001520000013 003656000000 ................
001534 151160137160 162157164157 143157154056 066040040040 ip_protocol.6
001540 040040040040 040040040040 040040040040 040040040040
001544 000000000000 573025702010 675550320777 000000000000 ................
001550 475402655553 000276000000 000000000000 000000000000 ................
001554 000000000000 333000000002 003540004002 001034001016 ................
001560 172000000000 000000000000 000000000000 000000000000 z...............
001564 544616743610 000000000000 000000001576 000002000010 ................
001570 000000000240 052500000000 000000000000 000000000000 ....*...........
001574 545417574104 000000000000 001566000000 000002000010 ...D............
001600 001034001016 052700000000 000000000000 000000000000 ....*...........
001604 545417574104 000000000000 001432001140 000007000046 ...D.......`...&
001610 545417574130 663000536756 400000000001 001616001616 ...X............
001614 001034001016 141000000000 000000000000 000006000016 ....a...........
001620 001606000006 000430000000 151160056163 145162166145 ........ip.serve
001624 162056061056 141143163040 040040040040 040040040040 r.1.acs
001630 040040040040 040040040040 000000000000 545417574130         .......X
001634 663000711763 000000000000 167552130015 013405000000 ........w.X.....
001640 000000000000 000000000000 000000000000 444000000003 ................
001644 001664005176 001034001016 141000000000 000000000000 ...~....a.......
001650 000000000000 000000000000 544616743610 000000000000 ................
001654 000000005020 000002000010 000000000240 052500000000 ............*...
001660 000000000000 000000000000 545574423440 000000000000 ................
001664 001734000000 000002000010 000266000304 052500000000 ............*...
001670 000000000000 000000000000 545417574130 000000000000 ...........X....
001674 001334000000 000002000010 001034001016 052500000000 ............*...
001700 000000000000 000000000000 545743454152 000000000000 ...........j....
001704 001500000000 000002000010 001034001016 052500000000 ............*...
001710 000000000000 000000000000 545417574676 000000000000 ................
001714 001510000000 000002000010 000000000240 052500000000 ............*...
001720 000000000000 000000000000 573025701763 000000000000 ................
001724 003772001334 000002000010 000000000304 052500000000 ............*...
001730 000000000000 000000000000 545743454152 000000000000 ...........j....
001734 005176001664 000002000010 001034001016 052700000000 .~..........*...
001740 000000000000 000000000000 545417574130 000000000000 ...........X....
001744 001256001432 000007000046 545417574645 662664776050 .......&.......(
001750 400000000001 001754001754 001034001016 141000000000 ............a...
001754 000000000000 000006000016 001744000021 000000000000 ................
001760 164143160056 167145154154 137153156157 167156137160 tcp.well_known_p
001764 157162164163 056141143163 040040040040 040040040040 orts.acs
001770 000000000000 545417574645 662665014565 000000000000 ................
001774 475321320733 027305000000 000000000000 000000000000 ................
r 15:06 0.479 0
}}}



"	Gary Dixon
355	Problem in card reader when reading absentee job	Administration			defect	Eric Swenson	new	2025-03-27T10:40:02Z	2025-03-27T10:40:02Z	"When reading a card deck in via the reader, in certain cases it appears that an extraneous newline is being received by Multics. I discovered this when I was adding to my absentee job for assembling the FPGA T&Ds.

The symptom: when I submit the absentee deck, at character position 836 it appears a newline is inserted somewhere in the path. This newline does not exist in the input deck but appears in the absentee output.

Why it might be Multics: at first I suspected the simulator, however, I used the same mechanism to send the MAP355 source code and it does not get an extraneous newline inserted at the character position (or any other). I verified this by submitting the source code to Multics and punching out a deck from the source and performing a comparison. There were no differences in the two files (except that the punched deck was space padded out to 80 characters due to the way cards are formatted).

This is an extract from the absentee output (I added the line numbers at the beginning of the lines for reference):

{{{
01: coremif tand
02: r 14:54 1.599 30
03: 
04: eor tand.list
05: 1 request submitted; 0 already in printer queue 3.
06: r 14:54 0.090 7
07: 
08: -pr -q 1
09: Segment -pr not found.
10: r 14:54 0.008 0
11: 
12: eor tand.mif -punch -q 1
13: 1 request submitted; 0 already in punch queue 1.
14: r 14:54 0.016 0
15: 
16: logout
}}}

The ""eor"" command on line 4 was supposed to have ""-pr -q 1"" on it (and does in the source deck). Instead the extraneous newline was inserted and line 04 was split into line 08.

If I insert a bunch of newlines in the input file so the extraneous one is inserted in a benign place, it works fine.

I have replicated this on the Quick Start system. 
"	dean@…
391	exec_com &condition_info_ptr parameter is mis-described.	Documentation	MR12.5		defect	Eric Swenson	new	2026-06-19T00:03:58Z	2026-06-19T15:28:31Z	"The exec_com (version 2) program language includes a set of features which enable the program to establish an on-unit to handle one or more conditions that might occur while the program is executing.

{{{
&on active_function_error &begin
   &set status_code 
&+      &[status_code_name &condition_name &condition_info_ptr]
   &print Condition &condition_name occurred to report event
   &print &""   "" at location &condition_info_ptr 
   &print &""   "" with status code named:  &(status_code)
   &goto EXIT
   &end

string [path <><>]

&label EXIT
&quit
}}}

The &condition_info_ptr parameter is documented to expand to a 
virtual pointer (<segment_number>|<offset>) locating a 
condition_info structure describing the condition being handled.  

This description is wrong.  &condition_info_ptr actually locates
a condition_info_header structure that begins the specific data
structure associated with the signaled condition named &condition_name.

For example, the data structure associated with a command_error or
active_function_error condition is called com_af_error_info.  It is
declared as shown below.

{{{
/* BEGIN INCLUDE FILE com_af_error_info.incl.pl1 April 81 BIM */
/* format: style2 */

/* info structures for command error and active function error */
/* The include file condition_info_header must be included to  */
/* use this file */

     dcl com_af_error_info_ptr  pointer;
     dcl 1 com_af_error_info    aligned based (com_af_error_info_ptr),
           2 header             aligned like condition_info_header,
           2 name_ptr           ptr,
           2 name_lth           fixed bin,
           2 errmess_ptr        ptr,
           2 errmess_lth        fixed bin (21),
           2 max_errmess_lth    fixed bin (21),
           2 print_sw           bit (1);

dcl com_af_error_info_version_3 internal static options (constant) 
                                init (3);

/* END INCLUDE FILE com_af_error_info */

/* BEGIN INCLUDE FILE condition_info_header.incl.pl1 BIM 1981 */
/* format: style2 */

 dcl condition_info_header_ptr  pointer;
 dcl 1 condition_info_header    based (condition_info_header_ptr)
                                aligned,
     2 length                   fixed bin,              /* length in words of this structure */
     2 version                  fixed bin,              /* version number of this structure */
     2 action_flags             aligned,                /* tell handler how to proceed */
       3 cant_restart           bit (1) unaligned,      /* caller doesn't ever want to be returned to */
       3 default_restart        bit (1) unaligned,      /* caller can be returned to with no further action */
       3 quiet_restart          bit (1) unaligned,      /* return, and print no message */
       3 support_signal         bit (1) unaligned,      /* treat this signal as if the signalling procedure had the support bit set */
                                                        /* if the signalling procedure had the support bit set, do the same for its caller */
       3 pad                    bit (32) unaligned,
     2 info_string              char (256) varying,     /* may contain printable message */
     2 status_code              fixed bin (35);         /* if^=0, code interpretable by com_err_ */

/* END INCLUDE FILE condition_info_header.incl.pl1 */
}}}

The value displayed by the &condition_info_ptr parameter is 
associated with a condition_info structure only in the sense
that condition_info.info_ptr holds the value reported by that 
parameter.

Executing an exec_com program with the statements above correctly
reports the value stored in com_af_error_info.status_code.

{{{
ec test_status
Condition active_function_error occurred to report event
   at location 234|14716 
   with a status_code named: error_table_$bad_path

r 16:54 0.192 7 level 2

}}}

This documentation error should eventually be corrected.  Meanwhile,
this ticket can warn users about the documentation flaw in 
the Multics Commands and Active Functions (AG92-06B) page 3-322
where the &condition_info_ptr parameter is described. 
"	gary.c.dixon@…
409	weekly absentee job needs weekly_time set in sys_admin.value	Administration	MR12.8		defect	Eric Swenson	new	2026-09-19T16:20:47Z	2026-12-02T01:16:21Z	"Attempting to run ""ec master weekly"" on a newly cold-booted system gives the error:

{{{
ec master weekly
value_get: Name not found. weekly_time

Error:  Bad call to active function value_get
r 16:25 0.074 1 level 2
}}}

The reason is that the weekly_time value parameter has not been set by acct_start_up.ec.  "	Eric Swenson
426	PL/I I/O describes but does not implement the column(e) option	General	MR12.6e		defect	Eric Swenson	new	2026-10-13T22:51:56Z	2026-10-13T22:51:56Z	"AM83 Multics PL/I Reference Manual, pg 14-40 describes a control format option for use in print stream output:  column(c)  


{{{
'column' FORMAT ITEM

The 'column' format item has the forms:

     column(e)
     col(e)

Let n be the value of the expression e for a given execution; then the item
advances the stream pointer to the next character position that is in column n;
that is, to a character position that is the nth character position of a line.
This interpretation implies that if the stream pointer is beyond the nth column,
the operation is applied to the next line. If n exceeds the length of the line
(so the specified character position does not exist), the stream pointer is set
to the beginning of the next line.
}}}

Unfortunately, this column format option does not seem to be implemented.  Here is a program example which tries to use this option.


{{{
foo:      procedure;

  dcl (item1, item2) char(10);
  dcl  sysprint file external;

          item1 = ""1st value"";
          item2 = ""2nd value"";

          put skip(5) column(10) list(item1, item2);
          put skip;

          end foo;
}}}

The compiler issues the following two error statements.

{{{
PL/1 33f

ERROR 288, SEVERITY 3 ON LINE 9
Unrecognizable option or attribute ""column"" in an I/O statement. It has
been ignored.
SOURCE:   put skip(5) column(10) list(item1, item2);

ERROR 1, SEVERITY 3 ON LINE 9
A syntax error has been found in this statement. Processing of the
statement has been terminated.
pl1: An error of severity 3 has occurred.
pl1: Translation failed. foo.pl1

}}}

This indicates two actual problems.  

 - The column option is diagnosed as an unknown option, even though it is documented in AM83.
 - The compiler rejects the otherwise proper put statement, even though it says it is ignoring the unknown option.

Removing the column option allows the program to compile and execute correctly.


{{{
foo:      procedure;

  dcl (item1, item2) char(10);
  dcl  sysprint file external;

          item1 = ""1st value"";
          item2 = ""2nd value"";

          put skip(5) list(item1, item2);
          put skip;

          end foo;



r 15:50 0.059 4

pl1 foo -ot
PL/1 33f
r 15:50 0.102 15

foo





1st value           2nd value  
r 15:50 0.023 0
}}}

"	Gary Dixon
438	peruse_crossref (pcref) should report inadequate access to selected .crossref seg/MSF	Tools	MR12.8		defect	Eric Swenson	new	2026-11-05T18:38:24Z	2026-11-05T18:38:24Z	"User of peruse_crossref (pcref) tool might get very confused from data displayed when that tool finds a selected (or the default) crossref data segment/MSF, but the user lacks access to it.  Instead of reporting a sensible error, the tool ignores any lack-of-access error and begins
searching for cross reference entries matching the input arguments.  This ends of display a message about running of end of stack frame.


{{{
pcref update_handler_

Error:  out_of_bounds at >user_dir_dir>Multics>GDixon>work>pcref_oob>peruse_crossref$pcref|3435 (line 671)
referencing stack_4|777770 (in process dir)
Attempt to reference beyond end of stack.
r 11:01 0.061 0 level 2

ts -bf
out_of_bounds condition:
234|4320    peruse_crossref$pcref|3435  (line 671)
234|3360    command_processor_$command_processor_|2101 (bound_multics_bce_|2101)
234|2700    abbrev$abbrev_processor|6105 (bound_command_loop_|14103)
234|2400    listen_$listen_|554 (bound_command_loop_|34522)
234|2000    initialize_process_$initialize_process_|704 (bound_process_init_|704)
r 11:02 0.132 0 level 2

pb
Condition out_of_bounds raised at line 671 of locate_line (level 8).
sk
 14          command_processor_
 13          abbrev_processor
 12          release_stack
 11          unclaimed_signal
 10          wall
  9          any_other.2
  8          locate_line (line 671)                        out_of_bounds
  7          find_line (line 819)
  6          print_matches (line 279)
  5          peruse_crossref (line 235)
  4          command_processor_
  3          abbrev_processor
  2          listen_
  1          initialize_process_

}}}

The command should verify that it is sufficient access to search the
cross reference data base, and report missing or inaccessible data
base issues to the user.
"	Gary Dixon
447	history_comment get -field_name loses its fields when another control argument follows	Administration			defect	Eric Swenson	new	2026-11-28T17:06:47Z	2026-11-29T17:44:10Z	"In hcom.pl1 (bound_pnotice_), check_arg$field_name begins with d.field_array (*), k = 0;, which runs every time the procedure is called, not only for -field_name/-fn. For the get operation, every control argument other than -original is tried with check_arg$field_name before check_arg$validate. So:
* hcom get PATH -fn cdt -vdt ROUTINE clears the list of fields chosen by -fn, but the ""fields selected"" bits in d.ag.output stay set. The default (all fields) is therefore not chosen, and get prints nothing.
* hcom get PATH -fn cdt -fn cpi prints only the change person id: the second -fn clears the first one's field. The comment at that code says ""multiple -fn controls add to existing names"".
Expected: the fields given with -fn, in the order given, whatever other control arguments follow, and all the fields from each -fn that is given."	Eric Swenson
248	mbuild should handle compiler pl1_macro -target L68 control argument.	Tools	MR12.7		enhancement	Eric Swenson	new	2021-10-06T18:05:39Z	2021-10-06T18:05:39Z	"The mbuild subsystem should accept a build script source statement like:

{{{
  source:   pc.pl1.pmac     REPLACE     compiler: pmac -target L68 -call ""pl1 -ot"";
}}}

which requests compiling macros in the source file for the L68 CPU type; then calling the pl1 compiler to process the result.

Right now, mbuild '''compile''' request fails to accept the -target control argument; and its '''read''' request ignores the -target XXX specification, and improperly handles the -call QUOTED_STRING.  It treats each components as a separate token.  The parsed tokens are:  

   -call
   ""pl1  
   -ot""

Also, the '''compile''' request should be able to insert its optional control args (-list and -table) into the operand of the quoted -call control arg, if either/both of those options are given in the compile line.  

More specifically, that means the request:

''' `compile **.pmac -list -table` '''

should process the source statement above by generating the following command line:

{{{
pl1_macro pc.pl1 -target L68 -call ""pl1 -ot -list -table""
}}}

Right now, either the read or analyze request ignores the -target option in the source line, and the compile request produces the following output:

{{{
mbuild:  comp **.pmac -list -table
mbuild (compile): COMPILE structure not found.  **.pmac

mbuild:
}}}

Eliminating use of the star convention to identify the segment to be compiled still produces errors:

{{{
mbuild:  comp pc.pl1.pmac -list -table

---------- pmac pc.pl1.pmac -call ""pl1 -ot"" -list

List not yet implemented.
pl1_macro  2.0

SEVERITY 2 ERROR ON LINE 6
%target used without use of -target control arg. L68 assumed.
SOURCE:   %if %target (L68) %then
pl1_macro: Errors in macro processing; output segment may be suspect.
mbuild (compile): Compile did not produce an object segment. COMPILE: pc.pl1.pmac

mbuild:  

}}}

pl1_macro does not support -list or -table (unless these are manually inserted into the operand of its -call control argument.  The compile request would have to learn to do that.  And the -target L68 control (from the build script file) was ignored by read, and therefore not present in the command line invoking pl1_macro.
"	Gary Dixon
263	Proposed Printer Plan.	Answering Service			enhancement	Eric Swenson	new	2021-12-01T02:26:23Z	2021-12-01T02:26:23Z	"The simulator's handling of spooled print jobs is incomplete and fragile (see dps8m ticket #153).

The base problem is that the simulator has no way of knowing what Multics is doing with the printer -- it does not know when a new job starts; it does not know the job and user names, it does not know when the job ends.

Currently it monitors the printer output and applies simple pattern recognition to try to track what is going on; this is feeble and fragile.

If instead we added some new device commands to the printer ""hardware':

   1. Start of new job; it passes an i/o buffer holding the job and user name. The simulator will open a new prt file with the job and user name. The head sheet data, if any, follows this command.

   2. Start of job body: this command indicates that the head sheet is finished and the actual job is to be printed next.

   3. End of job body; this command marks the end of the job body and the start of the tail sheet, if any

   4. End of job. The simulator closes the prt file.

The first one is the hardest to implement on the Multics side; the job and user name string was to be wired down and sent as i/o data. but similar code exists for VFC and Print Image data, so it should be easy to copy the pertinent bits.

Either a new printer type is added and the printer daemon is fixed to send the new commands to that printer type, or the printer daemon sends the new commands to all of the printer types.

The second option violates the backward compatibility goals, but a global enable switch should allay that concern.
"	canthony
295	Add early bootload warning if Calendar Clock set beyond September 17, 2043	Hardcore			enhancement	Eric Swenson	new	2022-11-30T20:29:03Z	2022-11-30T20:29:03Z	"The web page
   [https://multics-wiki.swenson.org/index.php/Design_Limitations:_How_Long_can_Multics_Run] 
describes a Multics operating system design limitation that will prevent the file system from working as designed after September 17, 2043.

I suggest that Multics collection 1 code be enhanced to check the calendar clock setting against this limiting data, and warn the user against continuing the bootload because of probable corruption of file system integrity.  

Perhaps this check would be added near the existing check that the calendar clock setting does not indicate a date/time prior to time the Root PV was last shutdown.  This existing check protects against a calendar clock that lost power (was reset to 0) or otherwise lost significant time while the system what shutdown."	Gary Dixon
363	Add operator support for GCOS Daemon	Administration			enhancement	Eric Swenson	new	2025-05-17T16:07:39Z	2026-09-19T22:58:32Z	"Now that the GCOS Daemon is working, it would be helpful to have operator support from the console in starting and maintaining it.

For example, ""x io"" and ""x io1"" prepare the printers, punches, etc. for use. It would be nice to have a ""x gcos"" that would login the GCOS daemon.

In a similar fashion, ""x read_cards"" starts a read on the card reader, ""x gcos_read_cards"" could attach and start the GCOS Daemon card reading."	anonymous
188	Write up library maintenance and release-related processes for current Multics work	Documentation	MR12.6f		task	Eric Swenson	new	2019-09-09T16:47:23Z	2019-09-09T16:47:23Z	We should have some documentation in place to describe our Multics library maintenance and the processes for creating new releases. This should include any discussion of pnotices and software licenses, as well as conventions, rules, procedures, tools, etc. used in creating new releases.	Eric Swenson
72	Self-destructive Salvage Behavior	General			defect	Eric Swenson	new	2017-04-05T21:18:06Z	2017-12-23T00:21:54Z	"I once did a crash dump but did not do an esd afterwards.

The volume was rebooted with rpvs, but the volume was badly damaged.

I observed that the 'copy dump' step ran before the salvage completed and I hypothesis that this contributed to the poor state of the volume after salvaging.

I see no reason why the 'copy dump' step should not wait for the salvage to complete. The data being copied is in the dump partition and should be completely untouched by the salvager; the copy operation will be adding segments to volume, and that should wait until salvaging is complete to avoid further damage to the volume.

"	charles.unix.pro@…
101	When reloading a volume with the same name as a mounted volume rldr_check_pvol_ and rldr_input_ report inappropriate messages	Hardcore	MR12.6f		defect	Eric Swenson	new	2018-01-18T23:18:38Z	2026-10-13T18:08:33Z	"If you boot a system with a d451 RPV, and reload an rpv to a 3381 io drive, you see the following messages:

{{{
1512.9  RCP: Mounted copy of Storage System volume rpv on dska_00a for user I/O.
1512.9  RCP: Mounted IO volume  on dska_00b for user I/O.
1512.9  RCP: Mounted IO volume  on dska_00c for user I/O.
rldr_check_pvol_: Reload may overflow volume
rldr_check_pvol_: Disk label requires 27006 records; Volog label requires 29950 records on pv rpv
rldr_check_pvol_: Reload may overflow vtoc
rldr_check_pvol_: Disk label requires 13505 vtoce; Volog label requires 14974 vtoce on pv rpv

reload_volume: Initialized physical volume rpv does not match online logical image. Do you wish to proceed   M-> [auto-input] yes
}}}

These are not really appropriate messages.  Of course the rpv-to-be-reloaded does not (necessarily) match the rpv that is mounted. But we shouldn't be comparing these two.  

The reload works perfectly fine, but the messages are wrong.  Also, a little later in the reload, you see:

{{{
rldr_input_: Please get the following input volumes
:  V01
reload_volume: Begin reload of volume rpv  at 1512.9
Mounting tape V01 for reading
1512.9  RCP: Attached tapa_01 for Initializer.SysDaemon.z
1512.9  RCP: Note (tapa_01) - V01,sys
1512.9  RCP: Using Reel V01 on tapa_01 for Initializer.SysDaemon.z
Mounted Multics volume ""V01"" (recorded at 800 BPI), on device tapa_01
rldr_input_: Warning - new disk type for rpv
1513.2  RCP: Detached tapa_01 from Initializer.SysDaemon.z
rldr_input_: reloaded from input volume V01 112 records of 28 directories and 3323 records of 251 segments on pv rpv
reload_volume: End reload of volume rpv at 1513.2
reload_volume: Reloaded on volume rpv 112 records of 28 directories and  3323 records of 251 segments and 0 null vtoces
}}}

The message: ""rldr_input_: Warning - new disk type for rpv"" is also not correct.  We don't really care that the foreign system rpv is not of the same disk type as the system on which we're performing the reload.  

These messages should be suppressed when the reload is done to volumes that were init_vol'ed with ""-copy"".  Not sure if that information is around by the time the reload happens though."	Eric Swenson
104	The behavior of the backup_dump does not match documentation w.r.t. '-nohold'	Hardcore			defect	Eric Swenson	new	2018-02-04T23:06:54Z	2026-10-13T18:11:43Z	"The backup utilities are documented as unloading tapes by default, but do not.

complete_dump.info, backup_dump.info, catchup_dump.info:

{{{
-nohold
   rewinds and unloads the hierarchy dump tape or tapes at the end of
   the current dump pass.  This is the default.

}}}

start_dump.info:

{{{
-nohold
   rewinds and unloads the hierarchy dump tape or tapes at the end of
   the current dump pass.  This is the default for all hierarchy dump
   modes except incremental.
}}}




{{{
bk_ss_.cds:       2 holdsw bit (1),				/* ON => do not unmount tape when done */
bk_ss_.cds:	bk_static.holdsw = ""0""b;

}}}

 bk_arg_reader_:


{{{
               else if op = ""hold"" then bk_ss_$holdsw = ""1""b; /* do not dismount */
               else if op = ""nohold"" then bk_ss_$holdsw = """"b; /* dismount, default */
}}}


then in start_dump.pl1, after 'examine_arguments:' (the ""join"" for complete_dump, catchup_dump, start_dump):


{{{
          bk_ss_$holdsw = ""1""b;
}}}

""-nohold"" is also the documented behavior for 'retreive' and 'reload', but I have not tested the actual behavior.

retrieve.info, reload.info:

{{{

The following defaults are in effect for the reloader and retriever
before any backup commands are given; they are not, however, reset to
these values at the start of each backup command, except as noted
below.

      -all                    -noquota
      -error_of               -primary
      -map                    -reload
      -nodebug                -setlvid
      -nohold                 -trim

}}}
"	anonymous
206	"plio2 fails to initialze fsb.iocb_p for ""get string"" construct."	Tools	MR12.5	MR12.10	defect	Eric Swenson	new	2020-04-17T01:30:10Z	2026-11-23T03:08:51Z	"A pl1 program containing a line like:

{{{
    get string (translate (dottedaddr, "","", ""."")) list (fields);
}}}

was observed to work correctly but sometimes crash with a command fault in the plio2_ library.

It was hypothesised that the random nature of the crashes pointed to an unitiailized stack variable. A version of the program that would fill the stack with fixed values was generated, experimentation showed that the plio2_ library was indeed using an uninitialized operand for a LPRP instruction, and if the two high bits in the uninitailzed operand were set, a command fault would occur (as per the LPRP instruction specification). 

It was observed that if the instruction did not fault, the plio2 library would return the correct result; it seemed somewhat odd that an accessing an uninitialized variable would return correct results.

Investigation of the plio2_ source revealed the line:

{{{
    iocbp = ps.fsbp -> fsb.iocb_p;
}}}

The code was making a local copy of the variable, but not using it.

The variable in question is a pointer to an iocb block for the file being operated on. For the case of ""get string"", there is no actual file; the fsb buffer pointer and length are set to the string being read from, and as the buffer is already full, iox is never invoked. Thus the local copy of iocb_p is never dereferenced, and the plio2 code works for get string.

The plio2 code that sets up the fsb for ""get string"" operations was located and code to initialize the iocb was added. This resulted in code using ""get string"" to run without falling prey to random command faults.

{{{
cpa <plio2_get_util_.pl1 plio2_get_util_.pl1

Inserted in B:
B494                          fsb.iocb_p=null;
Preceding:
A494
A495                          if ps.varying_string then i=addrel(bptr,-1)->base
\cd_int;

Comparison finished: 1 difference, 1 line.
}}}
"	charles.unix.pro@…
374	qedx (qx) does not handle input lines longer than 607 characters	General	MR12.8	MR12.10	defect	Eric Swenson	new	2025-07-07T08:43:34Z	2026-12-04T00:39:38Z	"Attempting to use input lines longer than 607 characters crashes qedx.  (For comparison, when ted has a problem with lines - and the maximum is somewhat longer as well - it just gives a warning and does not crash.)

Example of the problem (using a 608 character string):

{{{

qedx
a
ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghij

Error:  out_of_bounds at edx_util_$read_ptr|1105
(>system_library_1>bound_qedx_)
referencing 12234|6542
There was an attempt to use an invalid segment number.
r 00:41 0.038 1 level 2

}}}

Using lines of 607 characters or less avoids the issue - but qedx still should't crash."	trnsz@…
388	Multics C documentation does not match implementation for error.h and missing declarations in stdio.h	Administration	MR12.8	MR12.10	defect	Eric Swenson	new	2026-04-24T20:02:33Z	2026-12-04T00:39:50Z	"Two related issues with Multics C:

1) The Multics C documentation says that an `error.h` file is provided that mappings of names to errno numbers, but no `error.h` file is provided.  In fact, these definitions are provided in `errno.h` (as is customary).

2) The Multics C documentation indicates the C implementation should be compatible with SysVr2 C.  In SysVr2 (and old BSD from where it inherited the behavior), the for facility for mapping error numbers to names (as opposed to names to numbers as described in issue 1 above) comes from the stdio package in the standard C library.  The Multics C implementation of the standard C library does include these functions in stdio, however there are no definitions making them easily available to users.

To resolve issue 1:
`add_name >sl3p>C_COMPILER>include>errno.h error.h` to add a new name of `error.h` for `errno.h`.  This corrects the implementation to match the documentation and would not break any existing source code.


To resolve issue 2:
The following additional declarations would need to be added to `>sl3p>C_COMPILER>include>stdio.h`:

`extern char *sys_errlist[];`
`extern int sys_nerr;`

This would also be compatible with existing source code and would better align Multics C with the SysVr2 standard it claims to implement.

These issues are present in all versions of Multics C as distributed with Multics through MR12.8."	johnsonjh.dev@…
432	GTSS won't start if video system is enabled	Unbundled Library	MR12.5	MR12.10	defect	Eric Swenson	new	2026-10-28T23:40:25Z	2026-11-28T16:03:23Z	"You get the error:
{{{
gtss
gtss$initialize: Invalid value for specified mode. Could not obtain terminal modes

GHM 16:39 0.071 0 Swenson
}}}

This is because gtss attempts to set the terminal line length, which is illegal in the video sytem.  The fix is easy."	Eric Swenson
444	ISOLTS hdump on an L68 prints wrong history-register data (pas2 overwrites its own DPS-8 test)	Tools	MR12.5	MR12.10	defect	Eric Swenson	new	2026-11-22T16:40:37Z	2026-11-23T23:42:11Z	"In the ISOLTS executive pas2 (pas.061, ""multics pas executive rev. b.2 062287""), the L68 history-register print loop advances the wrong instruction. The code at L45330 (LDA 1887 / TZE L45333 / TRA L45500) is the DPS-8 test. The loop treats L45330 as the per-entry load: 045432–045434 add 2 to it each row, and 045444 resets it to LDA 46234. The real per-entry load, L45333 (the row's flag bits), is never advanced.

On an L68:
 - the first hdump repeats entry 0's flag bits on every row and takes rows 2–16's addresses from pas2 words 1889–1917;
 - every later hdump tests CU entry 0 instead of word 1887 and, once history has recorded anything, prints the DPS-8 format with 64 entries, 48 of them never read.

DPS8/M CPUs are not affected. Fix: refer to L45333 instead of L45330 in the instructions at 045432, 045434 and 045444 (three words in the deck)."	Eric Swenson
446	Mail system writes routed addresses into Internet mail headers as RFC 822 source routes	Networking	MR12.9	MR12.10	defect	Eric Swenson	new	2026-11-27T00:05:39Z	2026-11-27T16:06:38Z	"When a message is sent to an Internet address that has an explicit route (user at host via relay), the mail system writes that address into the message header as an RFC 822 source route, for example @VPS-GHM.SWENSON.ORG:root@SWENSON.ORG. RFC 5322 (section 4.4) makes that syntax obsolete: it must not be generated. Current mail programs reject it in header fields.

This hits all mail that reaches Multics through a relay. smtp_listener_ adds the relay's HELO name to the sender, so on Multics the sender reads root at SWENSON.ORG via VPS-GHM. Replying to such a message from Multics delivers correctly, but the reply's header contains

cc: @VPS-GHM.SWENSON.ORG:root@SWENSON.ORG

When the recipient then does a ""reply all"", macOS Mail refuses it:

""@VPS-GHM.SWENSON.ORG:root@SWENSON.ORG"" does not appear to be a valid email address.

The cause is FORMAT_ADDRESS (6) (foreign address) in mlsys_format_.pl1. When ifo.rfc822_format is set, it writes the address's route as <@relay,...,@relay:local@host>. The width calculation in COMPUTE_ADDRESS_WIDTH (6) counts the route the same way.

The header text plays no part in routing. The SMTP envelope is built separately, by format_address_for_ism, from the address's route. So the header can show just local@host while the message still goes through the relay. Addresses shown in Multics format (user at host via relay) are not affected."	Eric Swenson
450	"edit_proj leaves a stale days_to_cutoff after changing a project's cutoff date (""less than -1353 days until its termination date"")"	Administration	MR12.5	MR12.10	defect	Eric Swenson	new	2026-12-01T22:45:32Z	2026-12-01T23:05:13Z	"A project was past its cutoff date, so logins were refused:

{{{
l ejs PDO
Password:
This is your 2nd interactive login instance.
Your project's account is past its termination date.
}}}

After edit_proj changed the project's cutoff date to 12/31/2026 and the SAT was installed, the login succeeded but printed:

{{{
Your project's account has less than -1353 days until its termination date.
}}}

The login warning (act_ctl_'s cutoff_warning) prints project.days_to_cutoff from the SAT when it is less than the warning threshold (10 days by default). Only daily_summary, part of the accounting run, sets that field: 1 + (cutoff - today) in days, along with the cutoff code (T once the date has passed).

When edit_proj_ (bound_admin_rtnes_) changes the cutoff date, it sets the requisition file's date and clears the SAT's cutoff code (Nsate.cutoff = "" ""), which allows logins again. It leaves days_to_cutoff at the value daily_summary computed from the old date. So every login prints a warning with that stale, negative count until daily_summary next runs.

The fix is to update edit_proj_ to that when the cutoff date is changed, it also sets days_to_cutoff for the new date as daily_summary does. Nonbill projects are skipped; daily_summary gives them 131071, which never warns.

Workaround: run daily_summary (the accounting run), or wait for the next one."	Eric Swenson
451	mlsys_mailer_deliver_.pl1 delivery timeout is way too long for modern network connections	Networking	MR12.9	MR12.10	defect	Eric Swenson	new	2026-12-01T23:35:15Z	2026-12-01T23:52:47Z	While tracking down the cause of a hang and CPU spin while attempting and failing to send network mail over Chaosnet (see ticket #448, which I believe accounts for the CPU spin but not the hang), I next turned to mlsys_mailer_deliver_.pl1. This module is the per-host delivery driver: it obtains the service list for a host and calls each delivery module available in turn under a timeout which is the only one anywhere in the delivery path (this module → nit_ → mmd_chaos_ → mgp_io_). The timeout is a transmission rate allowance of 300 s plus 112 ms per character of the message (lines 62–63), a figure dating to 1970s dialup line speeds rather than to anything about reachability: a 200-character message gets 322 s, a 5,000-character one 860 s, a 10,000-character one 1,420 s. I ran into this with short test messages, which produced 322–326 second delivery attempts for 196–232 character messages. On expiration the module does a non-local goto out of punt_dproc that bypasses the handler teardown at lines 141–143. So the timeout neither measures the right quantity nor reliably ends the attempt — the goto unwinds through mmd_chaos_'s cleanup handler into an iox_$close that can block without bound. That last part has no fix available in this module: it has no handle on the dproc's blocked I/O, and the goto is itself what triggers the hanging close. That will be covered in a separate ticket on mgp_io_.pl1.	Jim Lippard
453	"On a brand new (cold-booted or quickstart) system, ""ec master weekly"" fails"	Administration	MR12.5	MR12.10	defect	Eric Swenson	new	2026-12-02T00:27:53Z	2026-12-02T00:27:53Z	"Attempting to run ""ec master weekly"" on a newly cold-booted system gives the error:

{{{
ec master weekly
value_get: Name not found. weekly_time

Error:  Bad call to active function value_get
r 16:25 0.074 1 level 2
}}}

The reason is that the weekly_time value parameter has not been set by acct_start_up.ec.  "	Eric Swenson
454	"The system control ""logout"" command doesn't accept message coordinator channels greater than 8 characters"	Answering Service	MR12.9	MR12.10	defect	Eric Swenson	new	2026-12-03T20:06:26Z	2026-12-03T20:06:26Z	A while back, we allowed message coordinator channels for the route, deroute, and reroute commands to be up to the 32-characters that were actually supported.  However, we didn't update the logout command to accept greater than 8-character message coordinator channels.	Eric Swenson
390	Add C preprocessor defintion identifying the Multics C compiler	Tools	MR12.9	MR12.10	enhancement	Eric Swenson	new	2026-05-10T22:00:54Z	2026-12-04T00:40:01Z	"I propose that we define `__COMPILER_MULTICSC__` automatically, which programs can use to determine that they are being built with the ""Multics C Compiler"".  This is in-line with the KCC C compiler for TOPS-20 defining `__COMPILER_KCC__`, etc.  (Clang does similar, defining `__clang_version__` to the version in use, Vbcc defines `__VBCC__`, etc.)

Currently Multics C automatically defines ""`multics`"" which can be used to identify **the platform**, but nothing for identification of **the specific compiler**.  This would be the equivalent of passing the `-def __COMPILER_MULTICSC__` control argument to `cc`.

Because Multics C is known to be somewhat deficient, it's common to have various Multics C-specifc workarounds in C programs, even those written extremely portably, and guard those workarounds with `#ifdef multics`.

Once we have the future theoretical bug-free non-Multics C-based compiler, whatever it might end up being, it will become important to be able to differentiate between the different compilers at compile-time.  While those compilers will of course identify themselves in a similar fashion, it is still useful to differentiate Multics C.

We have the source code to the `cc` compiler driver (see `>sl3p>cc>s>bound_cc_commands.s.archive>c_compile.pl1`) so making this addition would be trivial, and there would be no effect on any existing C code that does not have knowledge of or check for the definition.

Programs that do wish to use the definition could do so:

`#ifdef multics`
`      /* Multics OS code */`
`# ifdef __COMPILER_MULTICSC__`
`      /* Multics C Compiler specific code */`
`# else`
`      /* Other Multics compilers */`
`# endif`
`#else`
`      /* non-Multics OS code */`
`#endif`

A real-life example of a program that would benefit is http://gitlab.com/dps8m/crc - there are 12 checks for the `multics` definition and of those 12, only **one** is really checking for ""Multics, the operating system"".  The other 11 uses are actually specific to ""Multics C, the compiler""."	johnsonjh.dev@…
433	System Hangs from Embedding a Space in Title during New Project Creation	Administration	MR12.8	MR12.8	issue	Eric Swenson	new	2026-11-02T15:54:27Z	2026-11-02T15:54:27Z	"When creating a new project (at the console), at the Title: prompt, entering an ""expanded"" version of the name of the project, which includes a space character, hangs the system, requiring terminating the emulator process from another process on the host system."	anonymous
417	archive.pl1 xd and xdf operations result in data loss if an archive has 2+ same-named components	Standard Library	MR12.9	No Milestore	defect	Eric Swenson	new	2026-09-25T22:48:35Z	2026-11-07T02:00:18Z	"The archive command will not create an archive with duplicate component names, but if such an archive is created, the xdf operation will extract each successive duplicately named component over the previous and then delete all of them from the archive, leaving only the last one extracted. With xd, any components you say ""yes"" to will overwrite previously extracted ones and be deleted from the archive, any you say ""no"" to will remain in the archive."	Jim Lippard
442	mlsys_mailbox_mgr_.pl1 truncates delivered-by field to 32 characters for no good reason	Standard Library	MR12.9	No Milestore	defect	Eric Swenson	assigned	2026-11-20T05:04:38Z	2026-11-20T05:04:38Z	"It declares ring_1_delivered_by_comment as char (32) varying and truncates it, but the underlying field can be (and often is) longer:

dcl  ring_1_delivered_by_comment character (32) varying;
...
	ring_1_delivered_by_comment =
	     rtrim (canon (rtrim (mail_format.sent_from), length (rtrim (mail_format.sent_from))));
...
	call mlsys_address_mgr_$create_user_mailbox_address
	     ((substr (im_message_info.mra.sender_id, 1, ...)),
	     """", ring_1_delivered_by_comment, ring_1_delivered_by, (0));

The callee imposes no such limit, and it should take a length at least as long as mail_format.sent_from.  smtp_deliver_.pl1 uses char (256) varying where a comment indicates it was previously char (64) varying, while smtp_return_path_.pl1 uses varying char (257)."	Jim Lippard
443	network_local_data_.alm contains obsolete fields apparently no longer used	Networking	MR12.9	No Milestore	defect	Eric Swenson	new	2026-11-20T23:00:59Z	2026-11-22T17:12:11Z	"access_data: set to >site>net>acs, returned by network_local_info_$get_access_control_directory, which is apparently called by nothing.

mailer_data: set to >site>net>mailer and apparently not used anywhere.

port_access: defines access policies (that are actually controlled by ACS segments), but apparently not used anywhere."	Jim Lippard
121	Newly created root disks need salvaging.	Install/Upgrade			defect	Eric Swenson	new	2018-06-10T02:19:35Z	2026-10-13T19:23:43Z	"Doing ""boot star rvls"" on a newly built root disk results in many ""04  Corrected master directory UID in header"" messages in the SALV OUTPUT report. (Discussions with Olin Sibert about the messages indicate that this is a minor Multics issue related to the order of events in the cold boot rather then an emulator or cold boot process error).

Adding a salvage run at the end of the cold boot process would clean up the distributed disk image."	anonymous
168	Race condition in sys_trouble can block.	Hardcore			defect	Eric Swenson	new	2019-05-15T03:09:15Z	2019-05-15T03:09:15Z	"If there is a problem in rcf add cpu, sometimes the sys_trouble broadcast is sent before the new CPU has got it's act together and it misses the broadcast.

The code in sys_trouble that loops until all CPUs have acknowledged the sys_touble should have code to timeout and rebroadcast; and to give up waiting if that times out.

The added CPU does not boot correctly; occasionally seen in LOCKLESS due to host thread scheduling causing start CPU handshake failure.  The added CPU takes too long to signal successful startup; rcf assumes that the CPU is not running and goes to sys_trouble. The added CPU sets the flags that it has started; sys_trouble tells all of the non-bootload CPUs to die; the added CPU has not finished setting up it's interrupt handlers and misses the message. sys_troulbe loops forever waiting for it to acknowledge the die message. 
"	anonymous
169	'rcf delete cpu' is simple-minded and misleadiing	Hardcore			defect	Eric Swenson	new	2019-05-19T17:10:04Z	2019-05-19T18:37:22Z	"With a config deck:

  cpu  a  7  off  dps8  70.  8.
  cpu  b  6  on  dps8  70.  8.
  cpu  c  5  on  dps8  70.  8.
  cpu  d  4  on  dps8  70.  8.
  cpu  e  3  on  dps8  70.  8.
  cpu  f  2  on  dps8  70.  8.  a
  cpu  g  2  on  dps8  70.  8.  b
  cpu  h  2  on  dps8  70.  8.  c

  boot stan
  rcf add cpu b
  rcf add cpu c
  rcf add cpu d
  rcf add cpu e
  rcf add cpu f
  rcf add cpu g
  rcf add cpu h

  rcf delete cpu a

  reconfigure: No acceptable bootload CPU would be left.

This is a Multics bug, related to an interaction between the port-expander logic and the interrupt mask assignment logic.
￼
Due to the SCU design, only two CPUs can receive interrupts.

Due to the port expander design, a CPU on a port expander cannot be the bootload CPU.

At bootup, the bootload CPU receives interrupts.

When a CPU is added, it also receives interrupts, taking eligibility from the CPU that was taking the second interrupt slot, if any.

At bootup:

   A   interrrupts

Add B

   A interrupts
   B interrupts

Add C

   A interrupts
   B no longer
   C interrupts

For the system I am analyzing, it boots on A and then adds B, C, D, E, F, G, H; so A and H are receiving interrupts.

The delete CPU logic is a bit simple-minded. If you are deleting the boot load CPU, it checks to see if the other interrupt receiving CPU is eligible to be bootload CPU. Since (on this system) G is  on a port-expander, it is not eligible and the delete fails with the misleading error message:

reconfigure: No acceptable bootload CPU would be left.

The message is really ""the other CPU receiving interrupts cannot be a bootload CPU, so rather then finding a bootload eligible CPU I am giving up.""

This demonstrates that the message is wrong:

  M-> rcf delete cpu a

  reconfigure: No acceptable bootload CPU would be left.
  Ready
  M-> rcf delete cpu b

  0849.2  stop_cpu: Removed CPU B.
  Ready
  M-> rcf add cpu b

  0849.3  start_cpu: Added CPU B.
  Ready
  M-> rcf delete cpu a

  0849.4  stop_cpu: CPU B is now the bootload processor.
  0849.4  stop_cpu: Removed CPU A.
  Ready

Deleting and adding B has the side-effect of making B the second interrupt receiving CPU, so now A can be deleted and B assigned bootload status.

M-> rzd scs$processor_data 0 10

000042 205002000007 411002000006 411002000005 401002000004 
000046 401002000003 401002000042 401002000052 401002000062 

Bit 5 in the flag indicating that the CPU is receiving interrupts; now B and C are receiving interrupts.

When A was deleted, an interrupt slot became available, and the list was searched for a processor eligible to receive interrupts and not receiving them; C was the first found and was set to receive interrupts.

The delete cpu code should be able to cope with this situation by attempting to reassign the second interrupt slot to a bootload eligible CPU before giving up, as implied by the text of the error message."	canthony
171	Start_cpu can fail on port expander.	Hardcore			defect	Eric Swenson	new	2019-05-28T01:25:17Z	2019-05-28T01:25:17Z	"Starting a CPU on a port expander may fail.

Condition: There is a running CPU on the expander and start_cpu is not executing on it.

(Given a configuration with CPU A not on an expander, and B, C, D sharing an expander, this condition can arise if:

    start_cpu is running on A, B is running and C is added, or

    start_cpu is running on B, C is running and D is added.)

Assuming the second case (it is the well analyzed one):

Start_cpu configures the SCU port and the port expander

{{{
/* Mask interrupts for new processor and enable all controller ports to new processor. */

               call scr_util$set_mask (scs$interrupt_controller, (pdata.controller_port), scs$sys_level);
                                                            /* Allow no interrupts. */
               call scr_util$set_port_enable ((pdata.controller_port), ""1""b);
                                                            /* Set port enaobled on all controllers. */
               if pdata.expanded_port then do;              /* Update port expander bits */
                    call scr_util$set_export_enable ((pdata.controller_port), (pdata.expander_port), ""1""b);
                    call scr_util$update_export_xipmsk ((pdata.controller_port));
                                                            /* Make mask from pdata.interrupt_cpu's */
               end;
}}}

The ""set export enable"" configures the expander port to forward ""connects"" on the SCU port to the CPU on the subport. For the ""adding CPU D"" case, the expander port would be configured to forward to B, C and D.

Next, start_cpu initializes variables in init_processor, and then sends connects to make all other processors suspend normal operations. (It does not send a connect to itself, thus the two different configurations shown above.)

Because of the way that the port expander works, the connect sent to C will also be delivered to D. Depending on the timing of D's response to the connect it may execute code that renders it unresponsive to the interrupt that start_cpu sends.

This failure is reliably reproducible in the multi-threaded emulator, but is sensitive to timing conditions, indicating that this is a ""race condition"" between start_cpu's sending of connects and setting up for the interrupt with the response of the started CPU to the connect. It is unknown how the h/w would behave in this situation.

Restricting the configuration to a maximum of two CPUs per port expander seems to remediate the situation for the tc_init$start_other_cpus, as the observed behavior is that a newly added CPU executes the next start_cpu cycle, with the effect that none of the CPUs on the expander receive connects (start_cpu does not send a connect to itself) and so the second CPU on the port expander is safely isolated.

Adding a 100ms delay to start_cpu after the connect lock is released also remediates the race; but the mechanism is not well understood, and so is not necessarily a robust solution.

When adding CPUs with rcf, the race condition has not been observed; it is believed that time taken to process each rcf command allows time for the race condition to abate, but again the mechanism is not well understood.





"	canthony
177	absa_al macro generates inefficient code.	Hardcore			defect	Eric Swenson	new	2019-06-04T23:05:48Z	2025-02-08T19:03:27Z	The absa_al macro does a run-time check of system type (ADP/L68); this check should be done at assembly time.	canthony
184	cds, rdc, pmac cannot compile source files residing within a source archive.	Tools			defect	Eric Swenson	new	2019-07-12T00:07:53Z	2019-07-12T00:07:53Z	"Both pl1 and alm compilers permit the user to compile a source file while it resides as a component of a source archive.  The source input is identified using an archive pathname.  For example:

    pl1 bound_mbuild_.s.archive::mbuild.pl1 -ot -table -list

If other popular compilers also permitted this feature, it might help those writing tools to manage
compilations. 

Noteable exceptions are the compilers:  create_data_segment (cds); and reductions (rdc; and
   pl1_macro (pmac).

These do support support compiling a source referenced via archive pathname; the source must be
extracted from the archive to be compiled."	Gary Dixon
189	hcom.pl1 oper declaration incorrectly includes -fill and -nofill	General			defect	Eric Swenson	new	2019-09-10T16:54:33Z	2026-11-29T17:43:43Z	"While checking code in hcom.pl1, I noted that the array oper (which declares names of control_args that
accept an operand) includes -fill and -nofill (control_args that do not accept an operand).  It also includes
-field_names (a control_args that accepts 0, 1, or more non-control_arg operands).  

These are problematic because code near the start of hcom.pl1 tries to locate the first positional argument by checking for control_args that match words in the oper array.  If found, this code unconditionally skips the next argument in the arg_list, assuming it is the operand of the matched control_arg.  As we have seen,
-fill and -nofill accept no operands; and -field_names accepts 0, 1, or more non-control_arg operands.  This code is therefore flawed.

All this was done in an effort to allow hcom to intermix positional arguments and control_args within the command line.  Since most users give the first positional argument as the 1st arg in the command line, they don't encounter this bug.  (The loop in question stops as soon as the first positional arg is found.)  So this bug is minor in nature."	Gary Dixon
202	eis_tester documentation of -io option confused	Documentation			defect	Eric Swenson	new	2020-02-18T04:20:01Z	2026-11-23T23:41:44Z	"AR97-3 System Diagnostic Aids, page 2-50:

""-io N
    defines the instruction offset.  It is used to position the instruction 
    relative to a page boundary.  The default is 0.  This places the 
    instruction at word 0 of the second page of the instruction area. X
    indicates the number of words of the instruction to be placed in the
    first page of the instruction are. The maximum value of X is 3.""

The source code (bound_eis_test_.s$et_inst.pl1) is a bit clearer:

   *          h)  -io X       X defines the  Instruction Offset.  It is used to position
   *                          the instruction on a page boundary.  The default is  0.  This
   *                          will place the instruction at word 0 of the second page
   *                          of the instruction area.   X indicates the number of words of
   *                          the instruction which will be placed in the first page of the
   *                          instruction area.  The maximum value of  X  is  3.

However, it is still internally inconsistent. Is X the offset or the length?

Looking at the code (bound_eis_tester.s$et.pl1), is seems to be offset:

/*        Get a pointer to where we must place the instruction.  Note, the instruction
   *      area words that are not used are left as  nops.  Once we have the pointer
   *      we will move the instruction word.  Note, the instruction offset defined by
   *      the user is backwards as far as we are concerned.  We need the offset from the
   *      beginning of the instruction area.  We will convert it.
*/

               our_offset = (instr_offset - 3)* (-1);

               instr_ptr = addrel (addr (etx$instruction_area), our_offset);

               instr_ptr -> eis_map.instruction = instr_word;

"	canthony
221	display_ttt with -of control argument is supposed to output ttf in formation that cv_ttf will accept	Tools	MR12.6f		defect	Eric Swenson	new	2021-03-08T23:10:19Z	2026-11-23T23:42:25Z	"The display_ttt command supports an -of control argument that writes the TTT to a file in TTF format.  It is supposed to generate a TTF source file that is acceptable to cv_ttf.  

Instead, the resulting TTF cannot be compiled with cv_ttf.  It gets this error message:

{{{
display_ttt -of my_ttf.ttf
r 15:07 4.471 44

cv_ttf my_ttf.ttf

FATAL ERROR 37, SEVERITY 3 IN LINE 2868
Repetition factors nested too deep.
SOURCE:
           initial_string:   (111077) <H ETX ESC ""A11"" ESC ""`;"" (12) <NUL> ESC ""z0"" CR ESC ""z1"" CR ESC ""z2"" CR ESC ""z3"" CR ESC ""z4""
\c CR ESC ""z5"" CR ESC ""z6"" CR ESC ""z7"" CR ESC ""z8"" CR ESC ""z9"" CR ESC ""z:"" CR ESC ""z;"" CR ESC ""z<"" CR ESC ""z="" CR ESC ""z>"" CR ESC ""
\cz?"" CR ESC ""z@"" 177  ESC ""zA"" 177  ESC ""zB"" 177  ESC ""zC"" 177  ESC ""zD"" 177  ESC ""zE"" 177  ESC ""zF"" 177  ESC ""zG"" 177  ESC ""zH"" 1
\c77  ESC ""zI"" 177  ESC ""zJ"" 177  ESC ""zK"" 177  ESC ""zL"" 177  ESC ""zM"" 177  ESC ""zN"" 177  ESC ""zO"" 177  ESC ""zP"" CR ESC ""zQ"" CR ESC
\c ""zR"" CR ESC ""zS"" CR ESC ""zT"" CR ESC ""zU"" CR ESC ""zV"" CR ESC ""zW"" CR ESC ""zX"" CR ESC ""zY"" CR ESC ""zZ"" CR ESC ""z["" CR ESC ""z\"" CR
\cESC ""z]"" CR ESC ""z^"" CR ESC ""z_"" CR ESC ""z`"" 177  ESC ""za"" 177  ESC ""zb"" 177  ESC ""zc"" 177  ESC ""zd"" 177  ESC ""ze"" 177  ESC ""zf""
\c177  ESC ""zg"" 177  ESC ""zh"" 177  ESC ""zi"" 177  ESC ""zj"" 177  ESC ""zk"" 177  ESC ""zl"" 177  ESC ""zm"" 177  ESC ""zn"" 177  ESC ""zo"" 177
\c  ESC ""A10"" RS ESC Y ESC 0 CR ESC 1 (13) <(10) <SP> ESC 1>;
cv_ttf: Translation failed.
r 15:07 12.752 431
}}}
"	john ata
265	cref_analyze_ gives superfluous errors for non-object segments	Tools	MR12.5		defect	Eric Swenson	new	2021-12-04T18:59:04Z	2026-09-15T17:51:07Z	"If you attempt to produce a crossref, you get lots of spurious errors from cref_analyze_ for every non-object segment it encounters (e.g. exec_coms, data files, etc.).  The error messages look like:

{{{
cref_analyze_: There is an internal inconsistency in the segment. volume_sys_vols.dump is non-object.
}}}

These should probably just be surpressed, as these are not really errors and muddy up the output so that real errors are obscured."	Eric Swenson
269	PL/I convert operators returns wrong oncode for 1.Fnnn Exponent	Standard Library			defect	Eric Swenson	new	2021-12-19T17:28:41Z	2021-12-19T17:39:18Z	"Test program fld59 accepts a fixed-point string with optional exponent sub-field, and uses the PL/I convert built-in to change this string to a float dec(59) data type.  

Results of using this program to convert strings within and just outside of the support exponent range for float dec(59) show correct signaling of exponent overflow and underflow when outside the supported range:
      -128 <= exponent <= +127.

{{{
fld59 1E(-129 -128 -127 126 127 128 129) -d
   in:  1E-129
fld59  underflow condition:  oncode: 706  exponent underflow condition
   in:  1E-128
  out:  1.e-128
 dump:  +00000000000000000000000000000000000000000000000000000000001 -128
   in:  1E-127
  out:  1.e-127
 dump:  +00000000000000000000000000000000000000000000000000000000001 -127
   in:  1E126
  out:  1.e126
 dump:  +00000000000000000000000000000000000000000000000000000000001 126
   in:  1E127
  out:  1.e127
 dump:  +00000000000000000000000000000000000000000000000000000000001 127
   in:  1E128
fld59  overflow  condition:  oncode: 705  exponent overflow condition
   in:  1E129
fld59  overflow  condition:  oncode: 705  exponent overflow condition
}}}

If the same test values are entered using the F exponent letter, slightly different failure points are signaled, and different oncode values are returned.  Also, the messages associated with the returned oncode values seem inverted: 

- The message associated with overflow is returned (by interpret_oncode_) for the oncode value for F-exponents experiencing underflow.
- The message associated with underflow is returned for the oncode value for F-exponents experiencing overflow.

{{{
fld59 1F(-129 -128 -127 126 127 128 129) -d
   in:  1F-129
fld59  conversion condition:  oncode: 408  Scale factor > 127 in scaled fixed binary or decimal field.
  onsource: ""1F-129""  onchar: ""9""  onchar_index:  6
                  ^
   in:  1F-128
fld59  conversion condition:  oncode: 408  Scale factor > 127 in scaled fixed binary or decimal field.
  onsource: ""1F-128""  onchar: ""8""  onchar_index:  6
                  ^
   in:  1F-127
  out:  1.e-127
 dump:  +00000000000000000000000000000000000000000000000000000000001 -127
   in:  1F126
  out:  1.e126
 dump:  +00000000000000000000000000000000000000000000000000000000001 126
   in:  1F127
  out:  1.e127
 dump:  +00000000000000000000000000000000000000000000000000000000001 127
   in:  1F128
fld59  overflow  condition:  oncode: 705  exponent overflow condition
   in:  1F129
fld59  conversion condition:  oncode: 409  Scale factor < -128 in scaled fixed binary or decimal field.
  onsource: ""1F129""  onchar: ""9""  onchar_index:  5
}}}

Because oncode values are just numbers having no names, it isn't clear whether the wrong oncode number is associated with F-exponent underflow and overflow; or the correct oncode is being used but the message table containing the description associated with those encode values (oncode_messages_$) is wrong.  "	Gary Dixon
286	mbuild should detect when segments in install directory match components in archives	Tools	MR12.7		defect	Gary Dixon	assigned	2022-08-03T01:15:12Z	2026-09-15T17:50:20Z	"If, in order to fix a compilation bug, you extract a source program from a source archive, fix the bug, and then reinvoke mbuild, it doesn't notice that there exists a segment (modified in this case) in the install directory that matches a component in the source archive.  The ""compile"" request works fine -- and compiles the standalone segment, but the source archive is not updated.  The bad source (in the archive) is installed.  If you later delete the install directory, the fixes you made are lost.

Recommend that mbuild warn if there exists a standalone segment in the source archive that matches a component in a source (or object) archive."	Eric Swenson
307	azm apte request display bad year numbers in date associated with State value	Tools			defect	Eric Swenson	new	2023-05-01T17:08:32Z	2026-11-25T01:00:41Z	"The following scenario shows a year number of ""*"" in date associated with State value for a running process in an azm apte output.


{{{
azm

azm:  sld 1
  ERF 1   in directory >dumps dumped at 12/24/21  1306.7 pdt Fri.
  System-ID MR12.7 Version-ID MR12.7
Proc   0 DBR  17171450 running        on cpu a   Initializer.SysDaemon.z

azm:  apte -run

APTE #1 at ADDR 3000:
Processid:  003000777777 (Initializer.SysDaemon.z); DBR:      17171450
State:      running at 12/24/* 13:5:57.486967

azm:  

}}}
"	Gary Dixon
311	Misleading error message from exec_com processor	Standard Library	MR12.8		defect	Eric Swenson	new	2023-08-25T02:37:19Z	2023-08-27T19:42:08Z	"The following exec_com contains an error.

&version 2
&if &[or true &[equal A B] &then &print Misleading error message

The letter B should be followed by two close square brackets, not just one. However, the error message produced is
'''Nested control statement keyword ""&then""'''
which seems to be rather misleading since there is only one occurrence of ""&then"" and hence it can't be nested. "	David Rosenberg
314	Some command_processor_ pipes don't work in subsystem request lines.  Others do.	Hardcore	MR12.8		defect	Eric Swenson	new	2023-09-06T18:31:29Z	2026-09-15T17:49:42Z	"Inside an SSU subsystem like analyze_multics (azm), a request line using pipe syntax is supposed to
return the output of an azm request line as results of a pipe-capturing active request string.  Using azm
as an example:



{{{
azm

azm:  sld >dumps>gary_dumps>3
  ERF 3   in directory >dumps>gary_dumps dumped at 08/21/23  1019.4 pdt Mon.
  System-ID MR12.8 Version-ID MR12.8
Proc   0 DBR  17171450 running        on cpu a   Initializer.SysDaemon.z

azm:  d 234 -as stack_header.ect_ptr;
  ect_ptr = 340|16040 >pdd>!zzzzzzzbBBBBBB>!BBBKWznZHhplJH.area.linker|16040


azm:  sbag &1 ||[d 234 -as stack_header.ect_ptr;|]
azm: File does not exist.

azm:  sbag &1 ""  ect_ptr = 340|16040 >pdd>!zzzzzzzbBBBBBB>!BBBKWznZHhplJH.area.linker|16040""
  ect_ptr = 340|16040 >pdd>!zzzzzzzbBBBBBB>!BBBKWznZHhplJH.area.linker|16040

azm:  
}}}

An equivalent set of commands does work at Multics command level.  For example:


{{{
dump_segment 234 -as stack_header.ect_ptr
000000
  ect_ptr = 247|17240   [pd]>!BBBKXCDgBLglMZ.area.linker
r 11:27 0.172 0

string ||[dump_segment 234 -as stack_header.ect_ptr;|]
000000   ect_ptr = 247|17240   [pd]>!BBBKXCDgBLglMZ.area.linker
r 11:28 0.237 2

}}}
"	Gary Dixon
356	Bind map appears to have wrong symbol name	Tools			defect	Eric Swenson	new	2025-03-28T03:32:59Z	2025-03-28T03:32:59Z	"Segment aligna_.alm

```        segdef  aligna_
        zero    1,1
aligna_:
        zero    1,2
        zero    1,3
        end
```

Segment alignb_.alm

```
        segdef  alignb_
        zero    2,1
        eight
alignb_:
        zero    2,2
        end
```

Segment align.bind

```
Objectname:     bound_align_;
Addname:        aligna_, alignb_;
Order:  aligna_, alignb_;
objectname:     aligna_;
objectname:     alignb_;
```

Segment align.ec:

``alm aligna_ -list
alm alignb_ -list
delete align.archive
ac ad align aligna_ alignb_
ac a align align.bind
bind align -ls
```

Executing ""ec align"" will assemble and bind. The generated bind map shows:

```
segname:    aligna_

text|10         alignb_
symb|100        symbol_table

segname:    alignb_

text|30         alignb_
symb|206        symbol_table
````

Note that segname aligna_  contains the symbol ""alignb_"" instead of the expected ""aligna_""

"	canthony
384	config deck parser doesn't understand that L68 CPUs have 2 bit CPU numbers.	Hardcore			defect	Eric Swenson	new	2025-12-07T22:34:28Z	2025-12-07T22:34:28Z	"On DPS8M CPUs, the configuration panel has a 3 bit ""CPU number"" setting, allowing the number to be set from 0 to 7 (A-H).

On L68 CPUs, it is a 2 bit number, so L68 CPUs are numbered 0-3 (A-D).

The RSW,2 instruction is used to read the CPU number switch settings. On L68, the value is returned in bits 34-35; on DPS8M in bits 33-35.

When Multics starts the CPU. the switch setting is compared to the CPU config card; if they do not match, the CPU is not started.

When ISOLTS starts the test CPU, the same check is made.

The switch settings are cosmetic; they are checked to make sure that operations can locate the correct cabinet if Multics/ISOLTS/T&D directs them to a particular CPU.

Because L68 CPUs have a two bit CPU number, they cannot pass the value check if that are configured as E, F, G or H.

The config deck parser should generate a warning if a CPU config deck CPU card specifies a L68 model and a D, E, F or G tag.

"	canthony
439	"If use use the BCE ""get_flagbox"" (gfb) command with 0 as the argument, it crashes"	Hardcore	MR12.9		defect	Eric Swenson	new	2026-11-16T21:05:15Z	2026-11-27T22:39:03Z	"The ""gfb 0"" command (not legal) results in:
{{{
bce (boot) 1303.4: M-> gfb 0

CONSOLE: ALERT
1303.5  initial_error_handler: out_of_bounds condition by 451|14024 referencing 5|616220; MC at 62|3320.
1303.5  Multics not in operation; control process: Initializer.SysDaemon.z.
2103.6  initializer: 6009  scas_init  state 1  phase 6.
2103.6  initializer: 6010  tc_init$early  state 1  phase 6.
2103.6  initializer: 6011  init_sst$early  state 1  phase 6.
2103.6  initializer: 6012  disabling slt allocation  state 1  phase 6.
2103.6  initializer: 6013  initialize_faults$interrupt_init  state 1  phase 6.
2103.6  initializer: 6016  load_disk_mpcs  state 1  phase 6.
2103.6  initializer: 6017  init_pvt  state 1  phase 6.
2103.6  initializer: 6018  read_disk$init  state 1  phase 6.
2103.6  initializer: 6019  init_root_vols  state 1  phase 6.
2103.6  initializer: 6020  establish_temp_segs  state 1  phase 6.
2103.6  initializer: 6021  find_file_partition  state 1  phase 6.
2103.6  initializer: 6025  load_mst$init_commands  state 1  phase 6.
2103.6  initializer: 6028  scs_and_clock_init$date_time  state 1  phase 6.
1303.6  initializer: 6029  io_config_init  state 1  phase 6.
1303.6  initializer: 6030  ioi_init  state 1  phase 6.
1303.6  initializer: 6032  bce_get_to_command_level  state 1  phase 6.
bce (bce_crash) 1303.6:
}}}"	Eric Swenson
131	read_mail (rdm) enhancement for brief header display mode	Unbundled Library	MR12.6f		enhancement	Eric Swenson	new	2018-07-15T03:29:58Z	2026-10-13T19:37:21Z	"rdm would be greatly enhanced with an equivalent of Emacs rmail-header-format brief-formatting-mode.

Modern internet header bloat makes handling intersystem Mail in rdm less than friendly.  

As rdm already support the ""-lghe"" control argument (long header), I propose that only a subset of important headers, ala rmail brief-formatting-mode be the default, and the full header can be displayed only if specifically requested. 

Other alternative implementations are possible and the proposal likely merits further discussion."	Trn
230	"""initiate"" command lacks ability to specify the segment number of the initiated segment."	Hardcore			enhancement	Eric Swenson	new	2021-07-24T00:29:35Z	2026-11-24T00:23:05Z	"hcs_$initiate allows the specification of the segment number of the initiated segment (set the baseno of the segptr argument to the desired number and set seg_sw to 1).

The initiate command does not support this. A command line parameter to specify that a specific segment number is wanted, and to specify it; something akin to

      -seg_no number"	canthony
284	>doc>info>manuals.gi.info needs improvements	Documentation			enhancement	Eric Swenson	new	2022-07-11T03:24:30Z	2022-07-11T03:24:30Z	"manuals.gi.info needs several changes to make it easier to use.

 - To make it easier to find, add the name:  manuals.info
 - To make it more inclusive, add entries for all the Multics manuals known on the bitsavers web site:
        http://www.bitsavers.org/pdf/honeywell/multics/
 - Include URL of this web site to provide location from which to download Multics manuals in PDF form.

The reference to the URL might appear early in the info segment, along with clues about using help's -search (-srh) control argument and search (srh) request to locate manuals.

Consider moving manual version publication information into some other info block (like manual_versions.gi.info which could be a block in the same manuals.gi.info segment).  Just have one line per manual to make the list shorter.

Instead of grouping manuals by order number, consider grouping them in info sections by major topic like PL/I  or  Other Languages  or  Commands  or  Subroutines  or  Introduction to Multics  etc.
Explain these section divisions in opening section of the info block.

       "	Gary Dixon
292	Add support to help and help_ to use -referencing_dir to locate info segments	Tools	MR12.7		enhancement	Gary Dixon	assigned	2022-10-07T16:18:12Z	2026-09-06T15:38:52Z	"Since the info search path already supports -referencing_dir and this is included in the default search path, it might be nice to add the following feature:  if ""help foo"" is invoked, and foo is a program found in the search rules, but in a non-standard library, and if -referencing_dir is present in the info search paths, then look for a ""foo.info"" segment in the same directory where ""foo"" is found."	Eric Swenson
305	Conditional assembly/compilation of simulator-aware code.	Hardcore			enhancement	Eric Swenson	new	2023-04-22T22:09:40Z	2023-04-29T23:53:41Z	"I would like to propose the addition of a conditional build construct to allow control over simulator-aware code changes to Multics. (See #228 for an example.)

Definitions:
   Simulator-dependent:  Code that will only run correctly on the simulator, and will give unexpected results if run on hardware.
   Simulator-aware:  Code that will run correctly on both the simulator and the hardware, but mitigates some simulator issue. This code may cause unnecessary overhead on hardware.

Statement of purpose for conditional assembly/compilation""

""We are careful to not put simulator dependencies in Multics, so as to remain h/w compatible. We may carefully add simulator aware code; that code will be conditionally built. The Multics distributions will always be built with the condition enabled; but a simulator agnostic build can easy be done if needed.""

"	canthony
345	"Multics C: Create a ""limits.h"" and other standard include files."	Administration			enhancement	Eric Swenson	new	2025-01-15T17:52:49Z	2026-11-16T22:20:40Z	"Multics C is ""C87"", i.e. enhanced K&R C.  This is a pre-standard pre-ANSI (pre-C89) superset of K&R C (C78), roughly compatible with circa-1987 PCC/SGS as distributed with AT&T System V.

Multics C includes a non-standard ""values.h"" which defines some pre-ANSI standard definitions such as BITSPERBYTE, etc.

We should create a standard ""limits.h"" file, the following would be a good start:

#include <values.h>
#define CHAR_BIT BITSPERBYTE
#define CHAR_WIDTH CHAR_BIT
#define CHAR_MIN -256
#define CHAR_MAX 255
#define SCHAR_MIN CHAR_MIN
#define SCHAR_MAX CHAR_MAX
#define UCHAR_MIN 0
#define UCHAR_MAX 511

This would take care of the char types.

https://en.cppreference.com/w/c/types/limits shows other things this file should include.  This would not interfere with or modify the existing non-standard ""values.h"".

This issue is mostly a placeholder for now - I intend to complete the limits.h to be C89 compliant, and provide some additional C89 headers as well."	trnsz@…
272	Crank runs give warnings about missing PDTs	Administration	MR12.5		issue	Eric Swenson	accepted	2021-12-24T17:25:53Z	2026-12-02T01:16:35Z	"When you run the crank on a newly-coldbooted system, you get the following warnings:

{{{
pdt_copy: Entry not found. Operator.pdt
pdt_copy: Entry not found. HFED.pdt
pdt_copy: Entry not found. Terminals.pdt
compute_bill: Entry not found. Operator.pdt
compute_bill: Entry not found. HFED.pdt
compute_bill: Entry not found. Terminals.pdt
update_pdts_from_reqfile: Entry not found. Operator.pdt
update_pdts_from_reqfile: Entry not found. HFED.pdt
update_pdts_from_reqfile: Entry not found. Terminals.pdt
}}}

These are not fatal, and probably even reasonable. It probably makes sense to NOT install the Operator, HFED, and Terminals projects automatically.  However, if we agree that this is true, it might be nice to update the crank to not provide these warnings (or not).  

This ticket is here so that we can decide. "	Eric Swenson
197	tape_mult_ does not return error_table_$short_record when fewer chars remain than caller requested	General			task	Eric Swenson	new	2020-01-23T20:49:00Z	2026-11-22T23:39:08Z	"The iox_$get_chars subroutine document (MPM Subroutines, AG93) specifies:

The desired number of bytes, N, is specified in the call.  Some I/O modules may actually read fewer than N bytes into the buffer, even though N bytes are available from the file or device. In this case the code error table_$short_record is returned.  When this code is returned, the caller may again call the iox_$get_chars entry point to get more bytes. The contents of the buffer beyond the last byte read are undefined.

The meaning of this specification is unclear.  If taken literally, it says that error_table_$short_record should be used only if n_read (the number of bytes returned) is less than n (the number of bytes the caller asked to be read) AND there are more bytes to be read in subsequent calls.  However, some people have interpreted this to mean error_table_$short_record should be returned whenever 0 < n_read < n, even when no more bytes remain to be read.

It is unclear which of these ambiguous interpretations of the iox_$get_chars specification is correct.

This ticket records the fact that the tape_mult_ I/O module does not return error_table_$short_record when\\
 0 < n_read < n for the last set of data read from the tape.  

Instead, it returns error_table_$end_of_info with 0 < n_read < n.

If tape_mult_'s implementation is deemed to be defective, it would have to be changed to return error_table_$short_record when last set of characters read was less than n (number of characters expected by the caller) when reading at end-of-tape.  

NOTES:
It may be difficult to find all programs using tape_mult_ and evaluate whether they would work correctly if such change was made.  Not all tape_mult_ programs are installed in the Multics Libraries.  Some may be owned by users.  

Furthermore, peruse_crossreference is of little help when searching for programs using I/O modules, since the I/O module name is generally a character string in an attach description; not a direct declaration and use of a particular subroutine entrypoint.  print -match tape_mult_ might have to be used to search the Multics Library source directories for such programs.

Given the ambiguity of the iox_$get_chars specification, I am marking this ticket as a ""task"" type.  It is not yet considered either a defect or an enhancement request.

See the description of iox_$get_chars and the tape_mult_ I/O module in the MPM Subroutines manual, AG93 for more details.  See ticket #195 and MCR10071 (https://s3.amazonaws.com/eswenson-multics/public/mcrs/MCR10071.pdf) for more details about how this issue was discovered."	Gary Dixon
178	Extraordinarily bad code in init_sst.pl1	Hardcore			defect	Eric Swenson	new	2019-06-05T17:29:32Z	2019-06-05T17:29:32Z	"In init_sst.pl1 is the code:

{{{
          begin;
declare  1 TEMPLATE_CME aligned like cme;
               unspec (TEMPLATE_CME) = """"b;
               TEMPLATE_CME.fp, TEMPLATE_CME.bp = ""777777""b3;
               CME (*) = TEMPLATE_CME;                      /* compiler is clever with these */
          end;
}}}

The comment is not at all true. The generated code for ""CME(*) ="" is

{{{
    for (*)
      {
         CME.fp = CME_TEMPLATE.fp;
         CME.bp = CME_TEMPLATE.bp;
....
         CME.synch_page_entryp = CME_TEMPLATE.synch_page_entryp;
      }
}}}

Each of the 19 fields in individually copied, usually with a CSL instruction, with its attendant overhead.

There should be a pl1 construct that generates a single MRL instruction to copy the entire CME_TEMPLATE."	canthony
137	Deprecated code scheduled for removal	Include Files			task	Eric Swenson	new	2018-08-25T15:48:41Z	2026-10-13T19:38:54Z	"The segment >ldd>include>mcs_echo_neg.incl.pl1 contains a declaration for ""v1_echo_neg_data"" captioned with the comment:

/*** VERSION 1 STRUCTURE DECLARATION FOR COMPATIBILITY (TO BE REMOVED FOR MR12) ***/

Here we are at MR12.6f and it hasn't been removed.

"	chares.unix.pro@…
