[Samba] Samba problems after latest Solaris 10 Patches

Jeremy Allison jra at samba.org
Thu Mar 8 00:55:20 GMT 2007


On Wed, Mar 07, 2007 at 11:45:54PM +0000, Andrew Watkins wrote:
> 
> Can I check how to get this information, since I do not seem to get the 
> right info.
> 
> 1) ./configure --enable-debug
> 2) add 'panic action = "/bin/sleep 90000"' to smb.conf
> 3) run samba in normal may and then locate my PID
> 	i.e. smbstatus |grep andrew
> 4) gdb /usr/local/samba/sbin/smbd  PID
> 5) gdb> backtrace
> #0  0xfefc19dc in _waitid () from /lib/libc.so.1
> #1  0xfef68414 in _waitpid () from /lib/libc.so.1
> #2  0xfefb48ec in waitpid () from /lib/libc.so.1
> #3  0xfefa7f34 in system () from /lib/libc.so.1
> #4  0x003339bc in ?? ()
> #5  0x003339bc in ?? ()
> (gdb) The program is running.  Quit anyway (and detach it)? (y or n) y
> 
> This does not seem correct?

Well it might be if the stack got smashed....

Are you sure it's being compiled with -g ?

You can also try getting a debug level 10 log
which will at least show where it went down.

Jeremy.


More information about the samba mailing list