Networker

Re: [Networker] NetWorker 7.3.4 and Linux?

2008-03-30 01:59:28
Subject: Re: [Networker] NetWorker 7.3.4 and Linux?
From: Tim Mooney <Tim.Mooney AT NDSU DOT EDU>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Sun, 30 Mar 2008 00:58:47 -0500
In regard to: [Networker] NetWorker 7.3.4 and Linux?, Preston de Guise said...:

Hi all,

Wondering whether anyone else has run up NetWorker 7.3.4 on Linux yet?

If so, I'd be curious as to whether someone can confirm my experience. I ran up NetWorker 7.3.4 on 2 lab machines, one previously running 7.3.3, and one new, and on both when I run "nsrim -X" it crashes:

[root@earlgrey nw734]# nsrim -X
*** glibc detected *** nsrim: free(): invalid pointer: 0xbf921af0 ***

Clearly a bug in NetWorker.  However, you can make glibc's memory
allocation more forgiving of bad behavior by setting the MALLOC_CHECK_
environment variable.

Try doing

        MALLOC_CHECK_=1
        export MALLOC_CHECK_
        nsrim -X

You will still get warnings, but it may no longer crash.

It might be best to set and export that environment variable in the
environment that the NetWorker daemons start from too, and then check

        dmesg

after the daemons have been running for a day or so, to see if other
NetWorker components are also exhibiting incorrect memory management.

Tim

======= Backtrace: =========
/lib/libc.so.6[0xbe2aa6]
/lib/libc.so.6(cfree+0x90)[0xbe5fc0]
nsrim(vfprintf+0x4a65)[0x80568f5]
/lib/libc.so.6(__libc_start_main+0xdc)[0xb91dec]
nsrim(strcpy+0x31)[0x80527a1]
======= Memory map: ========
00110000-00111000 rwxp 00110000 00:00 0
00111000-0011a000 r-xp 00000000 fd:00 1441832    /lib/libnss_files-2.5.so
0011a000-0011b000 r-xp 00008000 fd:00 1441832    /lib/libnss_files-2.5.so
0011b000-0011c000 rwxp 00009000 fd:00 1441832    /lib/libnss_files-2.5.so
00864000-00a64000 r-xp 00000000 fd:00 2218256 /usr/lib/locale/locale-archive
00b5a000-00b73000 r-xp 00000000 fd:00 1442007    /lib/ld-2.5.so
00b73000-00b74000 r-xp 00019000 fd:00 1442007    /lib/ld-2.5.so
00b74000-00b75000 rwxp 0001a000 fd:00 1442007    /lib/ld-2.5.so
00b7c000-00cb6000 r-xp 00000000 fd:00 1442012    /lib/libc-2.5.so
00cb6000-00cb8000 r-xp 0013a000 fd:00 1442012    /lib/libc-2.5.so
00cb8000-00cb9000 rwxp 0013c000 fd:00 1442012    /lib/libc-2.5.so
00cb9000-00cbc000 rwxp 00cb9000 00:00 0
00ce7000-00ce9000 r-xp 00000000 fd:00 1442013    /lib/libdl-2.5.so
00ce9000-00cea000 r-xp 00001000 fd:00 1442013    /lib/libdl-2.5.so
00cea000-00ceb000 rwxp 00002000 fd:00 1442013    /lib/libdl-2.5.so
00ced000-00d00000 r-xp 00000000 fd:00 1442015    /lib/libpthread-2.5.so
00d00000-00d01000 r-xp 00012000 fd:00 1442015    /lib/libpthread-2.5.so
00d01000-00d02000 rwxp 00013000 fd:00 1442015    /lib/libpthread-2.5.so
00d02000-00d04000 rwxp 00d02000 00:00 0
00db7000-00dbe000 r-xp 00000000 fd:00 1442017    /lib/librt-2.5.so
00dbe000-00dbf000 r-xp 00006000 fd:00 1442017    /lib/librt-2.5.so
00dbf000-00dc0000 rwxp 00007000 fd:00 1442017    /lib/librt-2.5.so
00e3a000-00e3b000 rwxp 00e3a000 00:00 0
00ee7000-00ee8000 r-xp 00ee7000 00:00 0          [vdso]
05635000-05640000 r-xp 00000000 fd:00 1441992 /lib/libgcc_s-4.1.2-20070626.so.1 05640000-05641000 rwxp 0000a000 fd:00 1441992 /lib/libgcc_s-4.1.2-20070626.so.1
08048000-08144000 r-xp 00000000 fd:00 2218672    /usr/sbin/nsrim
08144000-0814f000 rwxp 000fb000 fd:00 2218672    /usr/sbin/nsrim
0814f000-0828d000 rwxp 0814f000 00:00 0
098f8000-0993a000 rwxp 098f8000 00:00 0
b7e00000-b7e21000 rwxp b7e00000 00:00 0
b7e21000-b7f00000 --xp b7e21000 00:00 0
bf918000-bf92d000 rwxp bf918000 00:00 0          [stack]
Aborted

So if someone else has installed 7.3.4 on Linux I'd be interested if you see the same behaviour. I'd tried on both SLES and RHEL.

Obviously the implication of nsrim crashing is volumes don't become recyclable.

Cheers,

Preston.

--
Preston de Guise


"Enterprise Systems Backup and Recovery: A Corporate Insurance Policy", due out 2008:

http://www.crcpress.com/shopping_cart/products/product_detail.asp?sku=AU6396&isbn=9781420076394&parent_id=&pc=

To sign off this list, send email to listserv AT listserv.temple DOT edu and type "signoff networker" in the body of the email. Please write to networker-request AT listserv.temple DOT edu if you have any problems with this list. You can access the archives at http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER

--
Tim Mooney                                        Tim.Mooney AT ndsu DOT edu
Information Technology Services                   (701) 231-1076 (Voice)
Room 242-J6, IACC Building                        (701) 231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164

To sign off this list, send email to listserv AT listserv.temple DOT edu and type 
"signoff networker" in the body of the email. Please write to networker-request 
AT listserv.temple DOT edu if you have any problems with this list. You can access the 
archives at http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER

<Prev in Thread] Current Thread [Next in Thread>