nmon 10 segmentation fault



Hi
We're running AIX 5.3 ML02. nmon keeps dumping core. It doesn't
happen every single time nmon runs, but it does happen very frequently.
The problem seems to be in a strcpy call. The core file was
truncated, but indicates the following problem:

# dbx /usr/local/bin/nmon_aix53 core
Type 'help' for help.
warning: The core file is truncated. You may need to increase the
ulimit
for file and coredump, or free some space on the filesystem.
[using memory image in core]
reading symbolic information ...warning: no source compiled with -g

Segmentation fault in . at 0x1001e1ac ($t1)
0x1001e1ac (???) 94e50004 stwu r7,0x4(r5)
(dbx) where
strcpy() at 0x1001e1ac
main(??, ??) at 0x10015188

Has anyone seen this? Is there a fix?

We run it out of a cron job like this (all one line):

/usr/local/bin/nmon -g /usr/local/nmon/nmon.vgs -F
$DATADIR/HOSTNAME$DATETAG.nmon -A -W -t -s30 -c60 >/dev/null

Thanks,
Ross Druker

.



Relevant Pages

  • Re: Exciting new feature for g95
    ... > I've added a new feature to g95 that I've wanted for a long time. ... > core file, which the operating system already writes. ... The behaviour of QUIT is the same as ...
    (comp.lang.fortran)
  • Exciting new feature for g95
    ... core file, which the operating system already writes. ... The behaviour of QUIT is the same as ... andy@fulcrum:~/g95/g95 % cat tst.f90 ...
    (comp.lang.fortran)
  • Exciting new feature for g95
    ... core file, which the operating system already writes. ... The behaviour of QUIT is the same as ... andy@fulcrum:~/g95/g95 % cat tst.f90 ...
    (comp.lang.fortran)
  • Re: Linux sockets.
    ... crashes (no core file or anything) before I get a -1. ... if I connect and disconnect before the 3 seconds is up ), ... errno 1: 0 ...
    (comp.unix.programmer)
  • Re: Oninit from cron leaves engine in permanent fast recovery
    ... Nog does not have it. ... Does anyone know 1) how to create a core dump of oninit. ... have a problem with DBSPACETEMP or any of the dbspaces. ... Please come forward if you REALLY know how to produce a core file from ...
    (comp.databases.informix)