Your message dated Tue, 23 Jan 2007 03:17:21 -0800
with message-id <[EMAIL PROTECTED]>
and subject line Bug#367621: [Pkg-samba-maint] Bug#367621: samba: Panic or 
segfault in Samba
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: samba

Version: 3.0.22-1

 

----------------Quote segfault email ----------------------

The Samba 'panic action' script, /usr/share/samba/panic-action,

was called for pid 23147 (/usr/sbin/nmbd).

 

Below is a backtrace for this process generated with gdb, which shows

the state of the program at the time the error occurred. 

 

If the problem persists, you are encouraged to first install the 

samba-dbg package which contains the debugging symbols for samba 

binaries. Then submit the provided information as a bug report to Debian.

For information about the procedure for submitting bug reports , please see

http://www.debian.org/Bugs/Reporting or the reportbug(1) manpage.

 

Using host libthread_db library "/lib/libthread_db.so.1".

[Thread debugging using libthread_db enabled]

[New Thread 16384 (LWP 23147)]

0x40218b38 in waitpid () from /lib/libc.so.6

#0  0x40218b38 in waitpid () from /lib/libc.so.6

#1  0x402a8ff4 in ?? () from /lib/libc.so.6

#2  0x401c1669 in strtold_l () from /lib/libc.so.6

#3  0x080d7cb7 in smb_panic2 (

    why=0xfffffe00 <Address 0xfffffe00 out of bounds>,
decrement_pid_count=1)

    at lib/util.c:1545

#4  0x080d7dea in smb_panic (why=0xfffffe00 <Address 0xfffffe00 out of
bounds>)

    at lib/util.c:1506

#5  0x080c31e4 in sig_fault (sig=-512) at lib/fault.c:42

#6  0x40334d26 in __pthread_sighandler () from /lib/libpthread.so.0

#7  0x401b44c8 in killpg () from /lib/libc.so.6

#8  0x08076f64 in write_browse_list (t=0, force_write=1)

    at nmbd/nmbd_serverlistdb.c:350

#9  0x0806267f in msg_reload_nmbd_services (msg_type=3001, src={pid = 0}, 

    buf=0xbffffcfc, len=0) at nmbd/nmbd.c:314

#10 0x08062ef7 in main (argc=-512, argv=0xbffffd54) at nmbd/nmbd.c:597

----------------- end quote ---------------------

 

 

Notes :

 

Packages installed:-

 

mail-server:~# dpkg --list samba*

Desired=Unknown/Install/Remove/Purge/Hold

| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed

|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:
uppercase=bad)

||/ Name                  Version               Description

+++-=====================-==================================================
==

ii  samba                 3.0.22-1              a LanManager-like file and
printer server for Unix

un  samba-client          <none>                (no description available)

ii  samba-common          3.0.22-1              Samba common files used by
both the server and the client

ii  samba-dbg             3.0.22-1              Samba debugging symbols

ii  samba-doc             3.0.22-1              Samba documentation

pn  samba-doc-ja          <none>                (no description available)

un  samba-doc-pdf         <none>                (no description available)

un  samba-tng-common      <none>                (no description available)

 

mail-server:~# dpkg --list smb*

Desired=Unknown/Install/Remove/Purge/Hold

| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed

|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:
uppercase=bad)

||/ Name                  Version               Description

+++-=====================-=====================-============================
=

pn  smb-nat               <none>                (no description available)

pn  smb2www               <none>                (no description available)

pn  smb4k                 <none>                (no description available)

pn  smbc                  <none>                (no description available)

ii  smbclient             3.0.22-1              a LanManager-like simple
client for Unix

ii  smbfs                 3.0.22-1              mount and umount commands
for the smbfs (for kernels >= th

un  smbfsx                <none>                (no description available)

pn  smbget                <none>                (no description available)

pn  smbldap-tools         <none>                (no description available)

 

 

Other things of note:-

 

What was happening at the time of the segfault is unknown.

I do have a backup script which uses smbmount to mount a Windows XP share,
backs up the mail folders and then unmounts the share.

 

This little script seems to leave multiple mount entries all from the
Windows box & share to the same mount point.

 

I have tried to duplicate this unsuccessfully but I've only tried very
briefly.

 

If log.nmbd is required please ask, I haven't restarted samba since this
crash.

 

 

 

Richard Wood

 


--- End Message ---
--- Begin Message ---
On Tue, Jan 23, 2007 at 07:17:41AM +0100, Christian Perrier wrote:
> > Using host libthread_db library "/lib/tls/libthread_db.so.1".
> > [Thread debugging using libthread_db enabled]
> > [New Thread -1212488000 (LWP 7659)]
> > 0xb7cbc80e in waitpid () from /lib/tls/libc.so.6
> > #0  0xb7cbc80e in waitpid () from /lib/tls/libc.so.6
> > #1  0xb7c64699 in strtold_l () from /lib/tls/libc.so.6
> > #2  0xb7df456d in system () from /lib/tls/libpthread.so.0
> > #3  0x0822bf4a in smb_panic (
> >     why=0xbfd70a84 "pdb_get_methods_reload: failed to get pdb methods
> >     for backend tdbsam, guest\n") at lib/util.c:1608

> Please remove the comma in the "passdb backend" line.

> That should do the trick.

According to the samba-common postinst, this line should have already been
corrected automatically if:

- you were upgrading from a version before 3.0.23b-2
- you said "yes" to letting samba manage smb.conf (default)

The upgrade code appears to handle cases both with and without the comma.

I'm afraid we've done everything we can here to support automatic upgrades. 
Chris, to fix your problem change the "passdb backend" line in smb.conf to
list only "tdbsam".

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
[EMAIL PROTECTED]                                   http://www.debian.org/

--- End Message ---

Reply via email to