Solaris fcntl CPU/Lock update
jeff.mandel at probes.com
Thu Feb 6 16:52:03 GMT 2003
Esh, Andrew wrote:
>Also, try loading a few other non-Samba programs into gdb, to see what they
>require. Maybe threading is a common library to load.
I have tried this against sshd, httpd, radiusd and lpsched. None are
showing libthread anywhere in the list of symbols.
After latest libthread patch, I still have runaways. Results were the
same for each process. bt gives a greatly shortened output which
highlights libthread quite prominently:
[Switching to Thread 1 (LWP 1)]
0xfecd9764 in __sigprocmask () from /usr/lib/libthread.so.1
#0 0xfecd9764 in __sigprocmask () from /usr/lib/libthread.so.1
#1 0xfecce1b8 in _deliversigs () from /usr/lib/libthread.so.1
#2 0xfecd0594 in thr_sigsetmask () from /usr/lib/libthread.so.1
#3 <signal handler called>
(gdb) The program is running. Quit anyway (and detach it)? (y or n) y
Any other suggestions for gathering more info, or compile options for samba?
Full list again below:
root at reiger# gdb /usr/local/samba/bin/smbd 1812
GNU gdb 5.0
Copyright 2000 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
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "sparc-sun-solaris2.8"...
/tmp/1812: No such file or directory.
Attaching to program `/usr/local/samba/bin/smbd', process 1812
Reading symbols from /usr/lib/libsec.so.1...done.
Loaded symbols for /usr/lib/libsec.so.1
Reading symbols from /usr/lib/libgen.so.1...done.
Loaded symbols for /usr/lib/libgen.so.1
Reading symbols from /usr/lib/libsocket.so.1...done.
Loaded symbols for /usr/lib/libsocket.so.1
Reading symbols from /usr/lib/libnsl.so.1...done.
Loaded symbols for /usr/lib/libnsl.so.1
Reading symbols from /usr/lib/libdl.so.1...done.
Loaded symbols for /usr/lib/libdl.so.1
Reading symbols from /usr/lib/libpopt.so.0...done.
Loaded symbols for /usr/lib/libpopt.so.0
Reading symbols from /usr/lib/libc.so.1...done.
Loaded symbols for /usr/lib/libc.so.1
Reading symbols from /usr/lib/libmp.so.2...done.
Loaded symbols for /usr/lib/libmp.so.2
Reading symbols from
Loaded symbols for /usr/platform/SUNW,Sun-Fire-280R/lib/libc_psr.so.1
Reading symbols from /usr/lib/nss_files.so.1...done.
Loaded symbols for /usr/lib/nss_files.so.1
Reading symbols from /usr/lib/nss_ldap.so.1...done.
Loaded symbols for /usr/lib/nss_ldap.so.1
Reading symbols from /usr/lib/libpthread.so.1...done.
Loaded symbols for /usr/lib/libpthread.so.1
Reading symbols from /usr/local/ldapsdk5/lib/libldap50.so...done.
Loaded symbols for /usr/local/ldapsdk5/lib/libldap50.so
Reading symbols from /usr/local/ldapsdk5/lib/libssldap50.so...done.
Loaded symbols for /usr/local/ldapsdk5/lib/libssldap50.so
Reading symbols from /usr/local/ldapsdk5/lib/libssl3.so...done.
Loaded symbols for /usr/local/ldapsdk5/lib/libssl3.so
---Type <return> to continue, or q <return> to quit---
Reading symbols from /usr/local/ldapsdk5/lib/libnss3.so...done.
Loaded symbols for /usr/local/ldapsdk5/lib/libnss3.so
Reading symbols from /usr/local/ldapsdk5/lib/libnspr4.so...done.
Loaded symbols for /usr/local/ldapsdk5/lib/libnspr4.so
Reading symbols from /usr/local/ldapsdk5/lib/libprldap50.so...done.
Loaded symbols for /usr/local/ldapsdk5/lib/libprldap50.so
Reading symbols from /usr/local/ldapsdk5/lib/libplc4.so...done.
Loaded symbols for /usr/local/ldapsdk5/lib/libplc4.so
Reading symbols from /usr/local/ldapsdk5/lib/libplds4.so...done.
Loaded symbols for /usr/local/ldapsdk5/lib/libplds4.so
Reading symbols from /usr/lib/libdb-3.3.so...done.
Loaded symbols for /usr/lib/libdb-3.3.so
Reading symbols from /usr/lib/libresolv.so.2...done.
Loaded symbols for /usr/lib/libresolv.so.2
Reading symbols from /usr/lib/libthread.so.1...done.
Loaded symbols for /usr/lib/libthread.so.1
Reading symbols from /usr/lib/librt.so.1...done.
Loaded symbols for /usr/lib/librt.so.1
Reading symbols from /usr/lib/libaio.so.1...done.
Loaded symbols for /usr/lib/libaio.so.1
[New LWP 1 ]
[New Thread 1 (LWP 1)]
Symbols already loaded for /usr/lib/libsec.so.1
Symbols already loaded for /usr/lib/libgen.so.1
Symbols already loaded for /usr/lib/libsocket.so.1
Symbols already loaded for /usr/lib/libnsl.so.1
Symbols already loaded for /usr/lib/libdl.so.1
Symbols already loaded for /usr/lib/libpopt.so.0
Symbols already loaded for /usr/lib/libc.so.1
Symbols already loaded for /usr/lib/libmp.so.2
Symbols already loaded for
Symbols already loaded for /usr/lib/nss_files.so.1
Symbols already loaded for /usr/lib/nss_ldap.so.1
Symbols already loaded for /usr/lib/libpthread.so.1
Symbols already loaded for /usr/local/ldapsdk5/lib/libldap50.so
Symbols already loaded for /usr/local/ldapsdk5/lib/libssldap50.so
Symbols already loaded for /usr/local/ldapsdk5/lib/libssl3.so
Symbols already loaded for /usr/local/ldapsdk5/lib/libnss3.so
Symbols already loaded for /usr/local/ldapsdk5/lib/libnspr4.so
Symbols already loaded for /usr/local/ldapsdk5/lib/libprldap50.so
Symbols already loaded for /usr/local/ldapsdk5/lib/libplc4.so
Symbols already loaded for /usr/local/ldapsdk5/lib/libplds4.so
Symbols already loaded for /usr/lib/libdb-3.3.so
Symbols already loaded for /usr/lib/libresolv.so.2
Symbols already loaded for /usr/lib/libthread.so.1
Symbols already loaded for /usr/lib/librt.so.1
Symbols already loaded for /usr/lib/libaio.so.1
More information about the samba-technical