[Pkg-samba-maint] Bug#551030: SAMBA 2:3.4.2-1 core dumps on INTERNAL ERROR

Anthony Lau anthonyllau at yahoo.com
Thu Oct 15 04:57:46 UTC 2009


Package: samba
Version: 2:3.4.2-1

After upgrading to version 2:3.4.2-1 from 3.4.0-1, samba crashes and
core dumps immediately after it is started. /var/log/samba/log.smbd
provides the following information:

[2009/10/14 21:29:54,  0] smbd/server.c:1069(main)
  smbd version 3.4.2 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2009
[2009/10/14 21:29:54,  0] lib/fault.c:41(fault_report)
  ===============================================================
[2009/10/14 21:29:54,  0] lib/fault.c:42(fault_report)
  INTERNAL ERROR: Signal 6 in pid 25852 (3.4.2)
  Please read the Trouble-Shooting section of the Samba3-HOWTO
[2009/10/14 21:29:54,  0] lib/fault.c:44(fault_report)

  From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf
[2009/10/14 21:29:54,  0] lib/fault.c:45(fault_report)
  ===============================================================
[2009/10/14 21:29:54,  0] lib/util.c:1480(smb_panic)
  PANIC (pid 25852): internal error
[2009/10/14 21:29:55,  0] lib/util.c:1584(log_stack_trace)
  BACKTRACE: 18 stack frames:
   #0 /usr/sbin/smbd(log_stack_trace+0x2d) [0x83614ed]
   #1 /usr/sbin/smbd(smb_panic+0x2d) [0x83615ed]
   #2 /usr/sbin/smbd [0x834f136]
   #3 [0xb7f5e400]
   #4 /lib/i686/cmov/libc.so.6(abort+0x188) [0xb7af3008]
   #5 /usr/lib/libtalloc.so.1 [0xb79f573d]
   #6 /usr/lib/libtalloc.so.1(talloc_free+0x28d) [0xb79fa59d]
   #7 /usr/lib/libwbclient.so.0(wbcFreeMemory+0x21) [0xb7c28d41]
   #8 /usr/lib/libwbclient.so.0(wbcSidToGid+0xb0) [0xb7c2b050]
   #9 /usr/sbin/smbd(winbind_sid_to_gid+0x38) [0x8325298]
   #10 /usr/sbin/smbd(sid_to_gid+0x137) [0x83020a7]
   #11 /usr/sbin/smbd(create_local_nt_token+0x2ca) [0x83b79ca]
   #12 /usr/sbin/smbd(get_root_nt_token+0x112) [0x83b7f72]
   #13 /usr/sbin/smbd(svcctl_init_keys+0x2e) [0x825362e]
   #14 /usr/sbin/smbd(registry_init_full+0x92) [0x8608002]
   #15 /usr/sbin/smbd(main+0x7da) [0x864000a]
   #16 /lib/i686/cmov/libc.so.6(__libc_start_main+0xe5) [0xb7adc775]
   #17 /usr/sbin/smbd [0x80c3b11]
[2009/10/14 21:29:55,  0] lib/util.c:1485(smb_panic)
  smb_panic(): calling panic action [/usr/share/samba/panic-action
  25852] Cannot access memory at address 0x64fc
[2009/10/14 21:30:08,  0] lib/util.c:1493(smb_panic)
  smb_panic(): action returned status 0
[2009/10/14 21:30:08,  0] lib/fault.c:321(dump_core)
  dumping core in /var/log/samba/cores/smbd


Output from gdb is as follows:
============================================================
kimagure:/var/log/samba# gdb samba cores/smbd/core
GNU gdb (GDB) 7.0-debian
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html> This is free software: you are free
to change and redistribute it. There is NO WARRANTY, to the extent
permitted by law.  Type "show copying" and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
samba: No such file or directory.
Core was generated by `/usr/sbin/smbd -D'.
Program terminated with signal 6, Aborted.
#0  0xb7f5e424 in __kernel_vsyscall ()
(gdb) where
#0  0xb7f5e424 in __kernel_vsyscall ()
#1  0xb7af1640 in ?? ()


And finally, samba's Panic email to me:
============================================================
[Thread debugging using libthread_db enabled]
0xb7f5e424 in __kernel_vsyscall ()
#0  0xb7f5e424 in __kernel_vsyscall ()
#1  0xb7b64e83 in waitpid () from /lib/i686/cmov/libc.so.6
#2  0xb7aff4eb in ?? () from /lib/i686/cmov/libc.so.6
#3  0xb7cfb3cd in system () from /lib/i686/cmov/libpthread.so.0
#4  0x08361674 in smb_panic (why=0x8701826 "internal error") 
    at lib/util.c:1486
#5  0x0834f136 in fault_report (sig=6) at lib/fault.c:47
#6  sig_fault (sig=6) at lib/fault.c:70
#7  <signal handler called>
#8  0xb7f5e424 in __kernel_vsyscall ()
#9  0xb7af1640 in raise () from /lib/i686/cmov/libc.so.6
#10 0xb7af3008 in abort () from /lib/i686/cmov/libc.so.6
#11 0xb79f573d in ?? () from /usr/lib/libtalloc.so.1
#12 0xb79fa59d in talloc_free () from /usr/lib/libtalloc.so.1
#13 0xb7c28d41 in wbcFreeMemory () from /usr/lib/libwbclient.so.0
#14 0xb7c2b050 in wbcSidToGid () from /usr/lib/libwbclient.so.0
#15 0x08325298 in winbind_sid_to_gid (pgid=0xbf97bd98, sid=0xbf97b3c8)
    at lib/winbind_util.c:175
#16 0x083020a7 in sid_to_gid (psid=0x8703da0, pgid=0xbf97bd98)
    at passdb/lookup_sid.c:1499
#17 0x083b79ca in create_local_nt_token (mem_ctx=0x8906040, 
    user_sid=0xbf97be20, is_guest=false, num_groupsids=1,
    groupsids=0x8703da0)
    at auth/token_util.c:427
#18 0x083b7f72 in get_root_nt_token () at auth/token_util.c:105
#19 0x0825362e in svcctl_init_keys () at services/services_db.c:454
#20 0x08608002 in registry_init_full () at registry/reg_init_full.c:89
#21 0x0864000a in main (argc=) at smbd/server.c:1189
A debugging session is active.

	Inferior 1 [process 25852] will be detached.
===


-- System Information:
Debian Release: 5.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1,
'experimental') Architecture: i386 (i686)

Kernel: Linux 2.6.29-2-686 (SMP w/1 CPU core)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash

Versions of packages samba depends on:
ii  adduser                3.110             add and remove users and
groups 
ii  debconf [debconf-2.0]  1.5.27            Debian configuration
management sy
ii  libacl1                2.2.47-2          Access control list shared
library
ii libattr1                1:2.4.43-1        Extended attribute
shared library
ii  libc6                  2.9-4             GNU C
Library: Shared libraries
ii  libcap2                1:2.16-5          support for getting/setting
POSIX.
ii  libcomerr2             1.41.3-1          common error description
library
ii  libcups2               1.4.0-5           Common UNIX Printing
System(tm) -
ii  libgnutls26            2.8.3-2           the GNU TLS library -
runtime libr
ii  libgssapi-krb5-2       1.7dfsg~beta3-1   MIT Kerberos
runtime libraries - k
ii  libk5crypto3           1.7dfsg~beta3-1   MIT
Kerberos runtime libraries - C
ii  libkrb5-3              1.7dfsg~beta3-1   MIT Kerberos runtime
libraries
ii  libldap-2.4-2          2.4.15-1          OpenLDAP libraries
ii  libpam-modules         1.1.0-1           Pluggable Authentication
Modules f
ii  libpam-runtime         1.1.0-1           Runtime support for the
PAM librar
ii  libpam0g               1.1.0-1           Pluggable
Authentication Modules l
ii  libpopt0               1.14-4            lib for parsing cmdline
parameters
ii  libtalloc2             2.0.0-1           hierarchical pool based
memory all
ii  libwbclient0           2:3.4.2-1         Samba winbind client
library
ii  lsb-base               3.2-23            Linux Standard Base 3.2
init scrip
ii  procps                 1:3.2.7-11        /proc file system utilities
ii  samba-common           2:3.4.2-1         common files used by both
the Samb
ii  update-inetd           4.35              inetd configuration file
updater
ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library -
runtime

Versions of packages samba recommends:
ii  logrotate                     3.7.7-3    Log rotation utility

Versions of packages samba suggests:
pn  ctdb                        <none>       (no description available)
pn  ldb-tools                   <none>       (no description available)
ii  openbsd-inetd [inet-superse 0.20080125-1 The OpenBSD Internet
Superserver
pn  smbldap-tools               <none>       (no description available)

-- debconf information:
  samba/nmbd_from_inetd:
  samba/log_files_moved:
  samba/tdbsam: false
* samba/generate_smbpasswd: true
* samba/run_mode: daemons





More information about the Pkg-samba-maint mailing list