Re: Solaris fcntl CPU/Lock update

2003-02-27 Thread Jeff Mandel
trace from 12327: (gdb) bt #0 0xfecd9794 in __sigprocmask () from /usr/lib/libthread.so.1 #1 0xfecce1e8 in _deliversigs () from /usr/lib/libthread.so.1 #2 0xfecd05c4 in thr_sigsetmask () from /usr/lib/libthread.so.1 #3 signal handler called #4 0xb in ?? () #5 0xfecdb1f0 in usleep () from

Re: Solaris fcntl CPU/Lock update

2003-02-27 Thread Pierre Belanger
Did you try to compile using OpenLDAP? I think that can be a quick fix. Otherwise, open a ticket with Sun? Pierre B. Jeff Mandel wrote: trace from 12327: (gdb) bt #0 0xfecd9794 in __sigprocmask () from /usr/lib/libthread.so.1 #1 0xfecce1e8 in _deliversigs () from /usr/lib/libthread.so.1 #2

Re: Solaris fcntl CPU/Lock update

2003-02-06 Thread Jeff Mandel
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

Re: Solaris fcntl CPU/Lock update

2003-02-04 Thread jra
On Mon, Feb 03, 2003 at 07:38:31AM -0800, Jeff Mandel wrote: Here's gdb with bt from two processes 12279 and 12327 root@reiger# gdb /usr/local/samba/bin/smbd 12279 GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and

Re: Solaris fcntl CPU/Lock update

2003-02-04 Thread David Collier-Brown -- Customer Engineering
On Mon, Feb 03, 2003 at 07:38:31AM -0800, Jeff Mandel wrote: Reading symbols from /usr/lib/libpthread.so.1...done. Loaded symbols for /usr/lib/libpthread.so.1 jra wrote: This is a much more interesting backtrace than the other. Why is smbd linking in pthread libraries ? smbd is *NOT* a

Re: Solaris fcntl CPU/Lock update

2003-02-04 Thread Pierre Belanger
Hello all, Andrew, true GDB is thread aware but I think last time I used it (back in ~ 1998) I was writing a multi-threaded application and I really remember like if it was yesterday: GDB was not thread aware at that time. I'm glad to hear it's now thread aware! I found the following if it can

Re: Solaris fcntl CPU/Lock update

2003-02-04 Thread Pierre Belanger
Jeff, Ok, you're using nss_ldap from PDAL to use /etc/nsswitch.conf like passwd: ldap files (or reverse) group: ldap files etc Right? (From what I recall that's what nss_ldap is used for). If you did not compile with Samba, it means that if you do ldd on smbd it should not print libthread or

Re: Solaris fcntl CPU/Lock update

2003-02-03 Thread Jeff Mandel
Here's gdb with bt from two processes 12279 and 12327 root@reiger# gdb /usr/local/samba/bin/smbd 12279 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

Re: Solaris fcntl CPU/Lock update

2003-01-31 Thread jra
On Fri, Jan 31, 2003 at 09:07:23AM -0800, Jeff Mandel wrote: I have followed this fcntl bug closely, and I just applied a T-patch for solaris 8 which brought the kernel 108528-19. This includes the fix for 4735093. This has not fixed the problem of smbd growing to consume all available CPU.