From: Nicholas H. <hen...@un...> - 2002-05-10 17:10:47
|
On Thursday 09 May 2002 05:10 pm, ygan wrote: > Dear Admins, > There seem to be some strange behaviour of "bpsh". > > When I ran ps or ls -l commands through bpsh after I reserve nodes, I > get the following error: > bpsh: Child process exited abnormally. > However the ls and tail commands run fine. > > Also ssh to the nodes does not work. > > Can you please help? Thanks! > > Yongchang > PCBI The behavior gets stranger... apparently ls is dumping core. Here is the = bt=20 from gdb on the core file. [henken@alpha pybproc]$ gdb -c core /bin/ls GNU gdb Red Hat Linux (5.1-1) Copyright 2001 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you = are welcome to change it and/or distribute copies of it under certain conditi= ons. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for detail= s. This GDB was configured as "i386-redhat-linux"...(no debugging symbols=20 found)... Core was generated by `ls -la'. Program terminated with signal 11, Segmentation fault. Reading symbols from /lib/libtermcap.so.2...(no debugging symbols=20 found)...done. Loaded symbols for /lib/libtermcap.so.2 Reading symbols from /lib/i686/libc.so.6...done. Loaded symbols for /lib/i686/libc.so.6 Reading symbols from /lib/ld-linux.so.2...done. Loaded symbols for /lib/ld-linux.so.2 Reading symbols from /lib/libnss_files.so.2...done. Loaded symbols for /lib/libnss_files.so.2 #0 _dl_lookup_symbol (undef_name=3D0xbffff600 "_nss_files_getpwuid_r",=20 undef_map=3D0x80597f0, ref=3D0xbffff5dc, symbol_scope=3D0x805999c, type_c= lass=3D0, explicit=3D1) at do-lookup.h:36 36 do-lookup.h: No such file or directory. in do-lookup.h (gdb) bt #0 _dl_lookup_symbol (undef_name=3D0xbffff600 "_nss_files_getpwuid_r",=20 undef_map=3D0x80597f0, ref=3D0xbffff5dc, symbol_scope=3D0x805999c, type_c= lass=3D0, explicit=3D1) at do-lookup.h:36 #1 0x4013a108 in _dl_close (_map=3D0xbffff4b8) at dl-close.c:92 #2 0x4000d7c3 in _dl_catch_error (objname=3D0xbffff5c8, errstring=3D0xbf= fff5cc,=20 operate=3D0x4013a0d0 <_dl_close+268>, args=3D0xbffff5d0) at dl-error.c:15= 2 #3 0x40139fed in _dl_close (_map=3D0x10) at dl-close.c:51 #4 0x4011b326 in _res_hconf_trim_domains (hp=3D0x8059178) at=20 =2E./sysdeps/i386/i486/bits/string.h:539 #5 0x4011bf56 in __nss_lookup_function (ni=3D0xbffff6e4, fct_name=3D0x40= 14df5b "s=20 down") at nsswitch.c:345 #6 0x4011d04c in __nss_hostname_digits_dots (name=3D0xbffff6e4=20 "x\221\005\b\b=F7=FF=BFTa\025@", resbuf=3D0x4014df5b, buffer=3D0xbffff6e8= ,=20 buffer_size=3D0x400, buflen=3D1075136032, result=3D0x8059178, status=3D0xbffff708, typep=3D= 0x40156154,=20 flags=3D1024, afp=3D0x8055d20, h_errnop=3D0xbffff738) at digits_dots.c:72 #7 0x400da147 in fgetpwent (stream=3D0x6c0b) at fgetpwent.c:77 #8 0x400d9abb in __old_getgrgid_r (gid=3D27659, resbuf=3D0x8055d20,=20 buffer=3D0xbffff768 "=A8=F9=FF=BFM=C0\004\b\013l", buflen=3D1074265511, r= esult=3D0xbffff860) at getgrgid_r.c:238 #9 0x0804e2f4 in strcpy () #10 0x0804c04d in strcpy () #11 0x0804bda3 in strcpy () #12 0x0804ae9c in strcpy () #13 0x08049a97 in strcpy () #14 0x4003c507 in init (argc=3D134518704, argv=3D0x2, envp=3D0xbffffac4) = at=20 =2E./sysdeps/unix/sysv/linux/init-first.c:68 (gdb) Any ideas on this one? --=20 Nicholas Henke Undergraduate - Engineering 2002 -- Senior Architect and Developer Liniac Project - University of Pennsylvania http://clubmask.sourceforge.net ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |