|
From: Robert W. <rj...@du...> - 2008-01-07 18:31:10
|
That sounds to me like the kernel OOM-killer (out-of-memory) is nuking your process before it can do any (more) damage to other processes. Check your resource limits - if they're unlimited or otherwise OK, then you're probably just running out of memory... On Jan 7, 2008, at 7:53 AM, grog wrote: > Dear all, > > I am running valgrind....and it gets to a few open files and I get a > 'killed' > message....without valgrind the code runs much further before it > falls over > with the segmentation violation I am trying to catch !! > > Please ...any ideas.. I attatch the run log... > > valgrind -v --leak-check=full unifm3d prefix=pvinlunif > offs=175,3100,75 > overwrt=no nostk append > *M* etvrd-1: Module etvrd-1.26 starting... > *M* etvrd-1: Starting at Mon Jan 7 14:21:54 2008 > ==30826== Memcheck, a memory error detector. > ==30826== Copyright (C) 2002-2005, and GNU GPL'd, by Julian Seward > et al. > ==30826== Using LibVEX rev 1575, a library for dynamic binary > translation. > ==30826== Copyright (C) 2004-2005, and GNU GPL'd, by OpenWorks LLP. > ==30826== Using valgrind-3.1.1, a dynamic binary instrumentation > framework. > ==30826== Copyright (C) 2000-2005, and GNU GPL'd, by Julian Seward > et al. > ==30826== > --30826-- Command line > --30826-- unifm3d > --30826-- prefix=pvinlunif > --30826-- offs=175,3100,75 > --30826-- overwrt=no > --30826-- nostk > --30826-- append > --30826-- Startup, with flags: > --30826-- -v > --30826-- --leak-check=full > --30826-- Contents of /proc/version: > --30826-- Linux version 2.6.16.27-0.9-smp (geeko@buildhost) (gcc > version > 4.1.0 (SUSE Linux)) #1 SMP Tue Feb 13 09:35:18 UTC 2007 > --30826-- Arch and subarch: AMD64, NONE > --30826-- Valgrind library directory: /usr/lib64/valgrind > --30826-- Reading syms > from /ioserv01/data001/home/users/grog/e7/gdcmaster/ethos/ethos64/ > Linux_2.6_64/bin/unifm3d > (0x400000) > Initializing byteorder=4321 volume management $Id: volume.c,v 1.37 > 2007/07/16 > 12:36:52 andy Exp $ appname=etvrd area=p4766 line=geom3d verbose > openfiles=1024 lock > *M* etvrd-1: Opening area p4766, line geom3d, volume pvinlinpb1234052 > --30826-- Reading syms from /lib64/ld-2.4.so (0x4000000) > --30826-- Reading syms from /usr/lib64/valgrind/amd64-linux/memcheck > (0x70000000) > --30826-- object doesn't have a symbol table > --30826-- object doesn't have a dynamic symbol table > --30826-- Reading suppressions file: /usr/lib64/valgrind/default.supp > --30826-- Reading syms from /usr/lib64/valgrind/amd64-linux/ > vgpreload_core.so > (0x491D000) > --30826-- object doesn't have a symbol table > --30826-- Reading syms > from /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so (0x4A1E000) > --30826-- object doesn't have a symbol table > --30826-- REDIR: 0x40131E0 (index) redirected to 0x4A213A0 (index) > --30826-- REDIR: 0x4013390 (strcmp) redirected to 0x4A21510 (strcmp) > --30826-- REDIR: 0x40136D0 (strlen) redirected to 0x4A21440 (strlen) > --30826-- Reading syms from /usr/local/lib/libpgftnrtl.so (0x4B24000) > ==30826== Warning: zero-sized CIE/FDE but not at section end in > DWARF2 CFI > reading > --30826-- Reading syms from /lib64/libc-2.4.so (0x4C54000) > --30826-- Reading syms from /usr/local/lib/libpgc.so (0x4E84000) > --30826-- warning: CfiSI 0x26714 .. 0x26714 outside segment > 0x4E84000 .. > 0x4FBBFFF > --30826-- warning: CfiSI 0x26715 .. 0x26717 outside segment > 0x4E84000 .. > 0x4FBBFFF > --30826-- warning: CfiSI 0x26718 .. 0x2676E outside segment > 0x4E84000 .. > 0x4FBBFFF > ==30826== Warning: zero-sized CIE/FDE but not at section end in > DWARF2 CFI > reading > --30826-- Reading syms from /lib64/libm-2.4.so (0x4FBC000) > *M* etvrd-1: Allocating memory for 16 traces, reading direct > *M* hop-2: Changing LINE from geom3d to pvgm3d > --30826-- REDIR: 0x4CC6D10 (rindex) redirected to 0x4A21250 (rindex) > --30826-- REDIR: 0x4CC6670 (strlen) redirected to 0x4A21400 (strlen) > --30826-- REDIR: 0x4CBFD90 (mallopt) redirected to 0x4A1F630 (mallopt) > --30826-- REDIR: 0x4CC2760 (calloc) redirected to 0x4A1FA1B (calloc) > --30826-- REDIR: 0x4CC5C40 (strcpy) redirected to 0x4A21AD0 (strcpy) > --30826-- REDIR: 0x4CC5730 (index) redirected to 0x4A21340 (index) > --30826-- REDIR: 0x4CC58E0 (strcmp) redirected to 0x4A214D0 (strcmp) > --30826-- REDIR: 0x4CC2CF0 (malloc) redirected to 0x4A205A0 (malloc) > --30826-- REDIR: 0x4CC9080 (memcpy) redirected to 0x4A21F20 (memcpy) > *M* unifm3d: Module unifm3d-1.11 starting... > --30826-- REDIR: 0x4CC3180 (realloc) redirected to 0x4A20643 (realloc) > --30826-- REDIR: 0x4CC7AD0 (memset) redirected to 0x4A21620 (memset) > --30826-- REDIR: 0x4CC6B00 (strncat) redirected to 0x4A21E20 (strncat) > --30826-- REDIR: 0x4CC0930 (free) redirected to 0x4A2020A (free) > --30826-- REDIR: 0x4CC6C60 (strncpy) redirected to 0x4A219B0 (strncpy) > *M* unifm3d-3: Buffer window set to 1 based on primary key cdp > --30826-- REDIR: 0x4CC9D00 (rawmemchr) redirected to 0x4A216E0 > (rawmemchr) > *M* unifm3d-3: Cache buffer set to 40 > *M* unifm3d-3: Cache flush set to 20 > --30826-- REDIR: 0x4CC6BA0 (strncmp) redirected to 0x4A21460 (strncmp) > *M* unifm3d-3: creating unifold header, index 187 > --30826-- REDIR: 0x4CC5570 (strcat) redirected to 0x4A21BA0 (strcat) > --30826-- REDIR: 0x4CC73F0 (memchr) redirected to 0x4A21550 (memchr) > --30826-- REDIR: 0xFFFFFFFFFF600400 (???) redirected to 0x70020529 > (???) > Initializing byteorder=4321 volume management $Id: volume.c,v 1.37 > 2007/07/16 > 12:36:52 andy Exp $ appname=unifm3d area=p4766 line=pvgm3d verbose > openfiles=1024 lock > ==30826== Syscall param socketcall.sendto(msg) points to > uninitialised byte(s) > ==30826== at 0x4D14085: send (in /lib64/libc-2.4.so) > ==30826== by 0x4D416EA: get_mapping (in /lib64/libc-2.4.so) > ==30826== by 0x4D41AF2: __nscd_get_map_ref (in /lib64/libc-2.4.so) > ==30826== by 0x4D3F7FC: nscd_getpw_r (in /lib64/libc-2.4.so) > ==30826== by 0x4D3FB55: __nscd_getpwuid_r (in /lib64/libc-2.4.so) > ==30826== by 0x4CE4E87: getpwuid_r@@GLIBC_2.2.5 (in /lib64/ > libc-2.4.so) > ==30826== by 0x4CE46FE: getpwuid (in /lib64/libc-2.4.so) > ==30826== by 0x429282: ethuserinfo > (in /ioserv01/data001/home/users/grog/e7/gdcmaster/ethos/ethos64/ > Linux_2.6_64/bin/unifm3d) > ==30826== by 0x434157: etvid4process > (in /ioserv01/data001/home/users/grog/e7/gdcmaster/ethos/ethos64/ > Linux_2.6_64/bin/unifm3d) > ==30826== by 0x4344B3: etv_lock_a_file > (in /ioserv01/data001/home/users/grog/e7/gdcmaster/ethos/ethos64/ > Linux_2.6_64/bin/unifm3d) > ==30826== by 0x42103B: etv_volume_lock > (in /ioserv01/data001/home/users/grog/e7/gdcmaster/ethos/ethos64/ > Linux_2.6_64/bin/unifm3d) > ==30826== by 0x42685D: reopnetv > (in /ioserv01/data001/home/users/grog/e7/gdcmaster/ethos/ethos64/ > Linux_2.6_64/bin/unifm3d) > ==30826== Address 0x7FEFF9523 is on thread 1's stack > INIT LCK 30826:pvinlunif_00175:ETV_LOCK_EMPTY(0),WRITE > *M* unifm3d-3: Volume pvinlunif_00175 will be appended to > INIT LCK 30826:pvinlunif_00250:ETV_LOCK_EMPTY(0),WRITE > *M* unifm3d-3: Volume pvinlunif_00250 will be appended to > INIT LCK 30826:pvinlunif_00325:ETV_LOCK_EMPTY(0),WRITE > *M* unifm3d-3: Volume pvinlunif_00325 will be appended to > INIT LCK 30826:pvinlunif_00400:ETV_LOCK_EMPTY(0),WRITE > *M* unifm3d-3: Volume pvinlunif_00400 will be appended to > INIT LCK 30826:pvinlunif_00475:ETV_LOCK_EMPTY(0),WRITE > *M* unifm3d-3: Volume pvinlunif_00475 will be appended to > INIT LCK 30826:pvinlunif_00550:ETV_LOCK_EMPTY(0),WRITE > *M* unifm3d-3: Volume pvinlunif_00550 will be appended to > INIT LCK 30826:pvinlunif_00625:ETV_LOCK_EMPTY(0),WRITE > *M* unifm3d-3: Volume pvinlunif_00625 will be appended to > INIT LCK 30826:pvinlunif_00700:ETV_LOCK_EMPTY(0),WRITE > *M* unifm3d-3: Volume pvinlunif_00700 will be appended to > INIT LCK 30826:pvinlunif_00775:ETV_LOCK_EMPTY(0),WRITE > *M* unifm3d-3: Volume pvinlunif_00775 will be appended to > INIT LCK 30826:pvinlunif_00850:ETV_LOCK_EMPTY(0),WRITE > *M* unifm3d-3: Volume pvinlunif_00850 will be appended to > INIT LCK 30826:pvinlunif_00925:ETV_LOCK_EMPTY(0),WRITE > *M* unifm3d-3: Volume pvinlunif_00925 will be appended to > INIT LCK 30826:pvinlunif_01000:ETV_LOCK_EMPTY(0),WRITE > *M* unifm3d-3: Volume pvinlunif_01000 will be appended to > INIT LCK 30826:pvinlunif_01075:ETV_LOCK_EMPTY(0),WRITE > *M* unifm3d-3: Volume pvinlunif_01075 will be appended to > INIT LCK 30826:pvinlunif_01150:ETV_LOCK_EMPTY(0),WRITE > *M* unifm3d-3: Volume pvinlunif_01150 will be appended to > INIT LCK 30826:pvinlunif_01225:ETV_LOCK_EMPTY(0),WRITE > *M* unifm3d-3: Volume pvinlunif_01225 will be appended to > INIT LCK 30826:pvinlunif_01300:ETV_LOCK_EMPTY(0),WRITE > *M* unifm3d-3: Volume pvinlunif_01300 will be appended to > INIT LCK 30826:pvinlunif_01375:ETV_LOCK_EMPTY(0),WRITE > *M* unifm3d-3: Volume pvinlunif_01375 will be appended to > INIT LCK 30826:pvinlunif_01450:ETV_LOCK_EMPTY(0),WRITE > *M* unifm3d-3: Volume pvinlunif_01450 will be appended to > INIT LCK 30826:pvinlunif_01525:ETV_LOCK_EMPTY(0),WRITE > *M* unifm3d-3: Volume pvinlunif_01525 will be appended to > INIT LCK 30826:pvinlunif_01600:ETV_LOCK_EMPTY(0),WRITE > *M* unifm3d-3: Volume pvinlunif_01600 will be appended to > INIT LCK 30826:pvinlunif_01675:ETV_LOCK_EMPTY(0),WRITE > *M* unifm3d-3: Volume pvinlunif_01675 will be appended to > INIT LCK 30826:pvinlunif_01750:ETV_LOCK_EMPTY(0),WRITE > *M* unifm3d-3: Volume pvinlunif_01750 will be appended to > INIT LCK 30826:pvinlunif_01825:ETV_LOCK_EMPTY(0),WRITE > *M* unifm3d-3: Volume pvinlunif_01825 will be appended to > INIT LCK 30826:pvinlunif_01900:ETV_LOCK_EMPTY(0),WRITE > *M* unifm3d-3: Volume pvinlunif_01900 will be appended to > INIT LCK 30826:pvinlunif_01975:ETV_LOCK_EMPTY(0),WRITE > *M* unifm3d-3: Volume pvinlunif_01975 will be appended to > INIT LCK 30826:pvinlunif_02050:ETV_LOCK_EMPTY(0),WRITE > *M* unifm3d-3: Volume pvinlunif_02050 will be appended to > INIT LCK 30826:pvinlunif_02125:ETV_LOCK_EMPTY(0),WRITE > *M* unifm3d-3: Volume pvinlunif_02125 will be appended to > INIT LCK 30826:pvinlunif_02200:ETV_LOCK_EMPTY(0),WRITE > *M* unifm3d-3: Volume pvinlunif_02200 will be appended to > INIT LCK 30826:pvinlunif_02275:ETV_LOCK_EMPTY(0),WRITE > *M* unifm3d-3: Volume pvinlunif_02275 will be appended to > INIT LCK 30826:pvinlunif_02350:ETV_LOCK_EMPTY(0),WRITE > *M* unifm3d-3: Volume pvinlunif_02350 will be appended to > Killed > date > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Valgrind-users mailing list > Val...@li... > https://lists.sourceforge.net/lists/listinfo/valgrind-users |