Re: miata and samba3

Edwin Barendse <[email protected]>
Newsgroups gmane.linux.gentoo.alpha
Message-ID <[email protected]>
Hi every one,

sorry for the delay, had other priorities, but when i attach gdb to smbd
I get the following:

<interruption !!!!!>
Seems to me a glibc problem, recompiled glibc with CFLAGS="-mcpu=ev4
-pipe" (previous "-mcpu=ev56 -O3 -pipe") no more problems!!!!!
fast conclusion, no -O3 but -O2 in your make.conf and recompile glibc
(glibc-2.3.2-r12)
<------------->

<last end of ps command output>--------------------------------------
nobody   26107  0.6  1.4 11400 4736 ?        S    19:04
0:00 /usr/sbin/smbd -D
root     26108  0.0  0.4  3840 1272 pts/0    R+   19:07   0:00 ps aux
alpha root # gdb smdb 26107
GNU gdb 6.0
Copyright 2003 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
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "alpha-unknown-linux-gnu"...smdb: No such
file or directory.

Attaching to process 26107
Reading symbols from /usr/sbin/smbd...(no debugging symbols
found)...done.
Using host libthread_db library "/lib/libthread_db.so.1".
Reading symbols from /usr/lib/libldap.so.2...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libldap.so.2
Reading symbols from /usr/lib/liblber.so.2...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/liblber.so.2
Reading symbols from /usr/lib/libcups.so.2...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libcups.so.2
Reading symbols from /usr/lib/libssl.so.0.9.7...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libssl.so.0.9.7
Reading symbols from /usr/lib/libcrypto.so.0.9.7...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libcrypto.so.0.9.7
Reading symbols from /lib/libnsl.so.1.1...(no debugging symbols
found)...done.
Loaded symbols for /lib/libnsl.so.1.1
Reading symbols from /lib/libcrypt.so.1.1...(no debugging symbols
found)...done.
Loaded symbols for /lib/libcrypt.so.1.1
Reading symbols from /lib/libpam.so.0...(no debugging symbols
found)...done.
Loaded symbols for /lib/libpam.so.0
Reading symbols from /lib/libresolv.so.2.1...(no debugging symbols
found)...done.
Loaded symbols for /lib/libresolv.so.2.1
Reading symbols from /lib/libdl.so.2.1...(no debugging symbols
found)...done.
Loaded symbols for /lib/libdl.so.2.1
Reading symbols from /usr/lib/libpopt.so.0...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libpopt.so.0
Reading symbols from /lib/libc.so.6.1...(no debugging symbols
found)...done.
Loaded symbols for /lib/libc.so.6.1
Reading symbols from /lib/ld-linux.so.2...(no debugging symbols
found)...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /usr/lib/gconv/UTF-16.so...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/gconv/UTF-16.so
Reading symbols from /usr/lib/gconv/IBM850.so...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/gconv/IBM850.so
Reading symbols from /lib/libnss_files.so.2...(no debugging symbols
found)...done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from /lib/libnss_compat.so.2...(no debugging symbols
found)...done.
Loaded symbols for /lib/libnss_compat.so.2
Reading symbols from /lib/libnss_nis.so.2...(no debugging symbols
found)...done.
Loaded symbols for /lib/libnss_nis.so.2
0x0000020000497f88 in select () from /lib/libc.so.6.1
(gdb) continue
Continuing.

Program received signal SIG37, Real-time event 37.
0x0000020000490618 in open64 () from /lib/libc.so.6.1
(gdb)

with syslog entry:
-------------------------------------------------------------------------
Mar  7 19:11:22 alpha smbd[26107]: [2005/03/07 19:11:22, 0]
lib/fault.c:fault_report(36)
Mar  7 19:11:22 alpha smbd[26107]:
===============================================================
Mar  7 19:11:22 alpha smbd[26107]: [2005/03/07 19:11:22, 0]
lib/fault.c:fault_report(37)
Mar  7 19:11:22 alpha smbd[26107]:   INTERNAL ERROR: Signal 11 in pid
26107 (3.0.10)
Mar  7 19:11:22 alpha smbd[26107]:   Please read the appendix Bugs of
the Samba HOWTO collection
Mar  7 19:11:22 alpha smbd[26107]: [2005/03/07 19:11:22, 0]
lib/fault.c:fault_report(39)
Mar  7 19:11:22 alpha smbd[26107]:
===============================================================
Mar  7 19:11:22 alpha smbd[26107]: [2005/03/07 19:11:22, 0]
lib/util.c:smb_panic2(1482)
Mar  7 19:11:22 alpha smbd[26107]:   PANIC: internal error
Mar  7 19:11:22 alpha smbd[26107]: [2005/03/07 19:11:22, 0]
lib/util.c:smb_panic2(1490)
Mar  7 19:11:22 alpha smbd[26107]:   BACKTRACE: 0 stack frames:
Mar  7 19:11:22 alpha smbd[26107]:

--------------------------------------------------------------------------

was trying to move/copy a file on a windowsXP system from local drive to
the network drive.

Hopefully It gives some more inside into the problem.

With regards,

Edwin.


On Sat, 2005-02-12 at 11:37 -0800, Jeff Donsbach wrote:
> I think you could attach to the samba process with gdb
> and then when the segfault occured, gdb should catch
> it. Of course unless you have a bit of programming
> experience and know how to debug a little, none of
> that is going to help much anyway. 
> 
> I would try looking at this if I could, but I am
> almost out of disk space on my box at the moment. I
> don't think I have enough room to emerge samba right
> now.
> 
> Jeff
> 
> --- Jean-Sbastien Guay <[email protected]> wrote:
> 
> > Hi Jeff,
> > 
> > In my case, here's the relevant part of my make.conf
> > :
> > 
> > CFLAGS="-mieee -O2 -mcpu=ev56 -pipe"
> > CHOST="alphaev56-unknown-linux-gnu"
> > CXXFLAGS="${CFLAGS}"
> > MAKEOPTS="-j2"
> > 
> > I think that's relatively conservative.
> > 
> > Other than that, how do I get a core file? I assume
> > there's something I 
> > need to enable so that programs will dump core when
> > a segfault occurs, 
> > but I don't know what. But other than providing a
> > core file and 
> > answering questions about my config, there isn't
> > much I can do to zero 
> > in on the problem since I don't know how to use gdb
> > (to get anything 
> > meaningful, in any case...)
> > 
> > Thanks for your help,
> > 
> > J-S
> > 
> > -- 
> > ___________________________________________
> > Jean-Sbastien Guay   [email protected]
> >              http://whitestar02.webhop.org/
> > 
> > 
> > 
> > -- 
> > No virus found in this outgoing message.
> > Checked by AVG Anti-Virus.
> > Version: 7.0.300 / Virus Database: 265.8.7 - Release
> > Date: 2005/02/10
> > 
> > 
> > --
> > [email protected] mailing list
> > 
> > 
> 
> 
> 
> 		
> __________________________________ 
> Do you Yahoo!? 
> Meet the all-new My Yahoo! - Try it today! 
> http://my.yahoo.com 
> 
> 
> 
> --
> [email protected] mailing list
> 


--
[email protected] mailing list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.