Opened 6 years ago

Closed 5 years ago

#210 closed defect (fixed)

The disk_usage_stat command gets a fixed point overflow when run

Reported by: Eric Swenson Owned by: Eric Swenson
Priority: minor Milestone: MR12.8
Component: Tools Version: MR12.6f
Keywords: Cc:

Description

The disk_usage_stat command has (obviously) not been run in a long time and may not really be worth running. But if you try on a MR12.6/7-based system, it will die with this error:

Error:  Fixed point overflow by disk_usage_stat$|4046
(>system_library_tools>bound_admin_tools_)
system handler for error returns to command level

The dds absentee job, if run, will terminate with an error as a result.

The reason is that the program has some hardcoded maximum values for the number of names in any directory. That value is 2048. There are directories in the current system (>doc>info) that have more than 2048 names. Increasing the arrays with size 2048 to 4096 causes the program to run to completion.

Change History (3)

comment:1 by Eric Swenson, 5 years ago

Milestone: MR12.7MR12.8

comment:3 by Eric Swenson, 5 years ago

Resolution: fixed
Status: newclosed

Fixed with 2021-11-04,MR12.8-1006.

Note: See TracTickets for help on using tickets.