DEC OSF/1 C++ prog crash system w/h_kmem_alloc_memory_: allocation failures

From: Tien LH Mai <tienm_at_amath.washington.edu>
Date: Thu, 12 Jan 1995 13:46:25 -0800 (PST)

Dear OSFers,

I have a program written in C++ that solves a system of coupled ordinary
differential equations (ODEs) for a prescribed amount of time. The program has
variable resolution in that the number of ODEs to be solved, and hence the
memory needs of the program, is not determined until runtime. The number of
ODEs is approximately maxM*maxN, where maxM and maxN are two parameters read in
at runtime from a file "inputs.dat". Using these two values, the code then
builds data structures of the appropriate size. (For example, there is a class
called "coeff" which has a data member which is a pointer to an array; this
array has approximately maxM*maxN elements.)

When I run the code for a 2x2 case (i.e. maxM = maxN = 2) I don't have a
problem; the code executes without error messages and I get output. Note that
the size of the process while running does *not* continually increase as the
code executes.

However, when I try to run the code at 5x5 resolution, the machine I'm on
crashes! At first it seems to just slow way down so that the window manager is
painfully slow, but ultimately the machine actually crashes and needs to be
rebooted.

We now have three confirmed cases, on two different machines, of this happening,
all with the 5x5 case.

Each crash I received crash-data.#, vmcore.# & vmunix.#. A quick scan of
"crash-data" files, it looks like hw/memory problem. It shows the
following errors consistently:

h_kmem_alloc_memory_: allocation failures = 4500
h_kmem_alloc_memory_: allocation failures = 4600
panic: h_getfreehdr
syncing disks... 4 4 4 1 done
..
..
_proc_thread_list_begin:
thread 0x86b5d8a0 stopped at [boot:1190 +0x4,0xfffffc000037a3bc]
 Source not available
_proc_thread_list_end:

Q1: Is this a known problem?
Q2: Is there any recommendation?


TIA, :)
  <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>

  Tien LH Mai Email: <tienm_at_amath.washington.edu>
  University of Washington
  Dept. of Applied Math, FS-20 Phone: (206) 543-0908
  412 Guggenheim Hall
  Seattle, WA 98195 Fax : (206) 685-1440
Received on Thu Jan 12 1995 - 16:46:42 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:45 NZDT