tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* DEC OSF/1 C++ prog crash system w/h_kmem_alloc_memory_: allocation failures
@ 1995-01-12 21:46 Tien LH Mai
  0 siblings, 0 replies; only message in thread
From: Tien LH Mai @ 1995-01-12 21:46 UTC (permalink / raw)
  To: tru64-unix-managers


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@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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1995-01-12 21:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-01-12 21:46 DEC OSF/1 C++ prog crash system w/h_kmem_alloc_memory_: allocation failures Tien LH Mai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox