[Pkg-samba-maint] Bug#676228: samba: Panic or segfault in Samba

Arthur Marsh arthur.marsh at internode.on.net
Tue Jun 5 14:14:15 UTC 2012


Package: samba
Version: 2:3.6.5-5
Severity: normal

Dear Maintainer,

I received the following log messages a few times when restarting samba after
some upgrades and running prelink:

The Samba 'panic action' script, /usr/share/samba/panic-action,
was called for PID 21298 (/usr/sbin/smbd).

This means there was a problem with the program, such as a segfault.
Below is a backtrace for this process generated with gdb, which shows
the state of the program at the time the error occurred.  The Samba log
files may contain additional information about the problem.

If the problem persists, you are encouraged to first install the
samba-dbg package, which contains the debugging symbols for the 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)
manual page.

[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/i686/cmov/libthread_db.so.1".
0xffffe424 in __kernel_vsyscall ()

I have samba shares between two local machines both running GNU/Linux, one
i386 architecture (this machine) and one running AMD64 architecture.

The smbd logfile shows:

[2012/06/05 22:55:11.860524,  3] smbd/server_exit.c:180(exit_server_common)
  Server exit (termination signal)
[2012/06/05 22:55:11.885182,  3] smbd/server_exit.c:180(exit_server_common)
  Server exit (termination signal)
[2012/06/05 22:55:14,  0] smbd/server.c:1051(main)
  smbd version 3.6.5 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2011
[2012/06/05 22:55:14,  2] lib/tallocmsg.c:124(register_msg_pool_usage)
  Registered MSG_REQ_POOL_USAGE
[2012/06/05 22:55:14,  2] lib/dmallocmsg.c:78(register_dmalloc_msgs)
  Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED
[2012/06/05 22:55:14.560032,  3] param/loadparm.c:9572(lp_load_ex)
  lp_load_ex: refreshing parameters
[2012/06/05 22:55:14.560125,  3] param/loadparm.c:5192(init_globals)
  Initialising global parameters
[2012/06/05 22:55:14.560201,  2] param/loadparm.c:4985(max_open_files)
  rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
[2012/06/05 22:55:14.560334,  3] ../lib/util/params.c:550(pm_process)
  params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf"
[2012/06/05 22:55:14.560403,  3] param/loadparm.c:8310(do_section)
  Processing section "[global]"
[2012/06/05 22:55:14.560617,  2] param/loadparm.c:8327(do_section)
  Processing section "[homes]"
[2012/06/05 22:55:14.560799,  2] param/loadparm.c:8327(do_section)
  Processing section "[printers]"
[2012/06/05 22:55:14.561009,  2] param/loadparm.c:8327(do_section)
  Processing section "[print$]"
[2012/06/05 22:55:14.561188,  2] param/loadparm.c:8327(do_section)
  Processing section "[symonec]"
[2012/06/05 22:55:14.561314,  2] param/loadparm.c:8327(do_section)
  Processing section "[victoriac]"
[2012/06/05 22:55:14.572212,  2] param/loadparm.c:8327(do_section)
  Processing section "[victoriad]"
[2012/06/05 22:55:14.572459,  2] param/loadparm.c:8327(do_section)
  Processing section "[mirror3]"
[2012/06/05 22:55:14.572658,  2] param/loadparm.c:8327(do_section)
  Processing section "[archives]"
[2012/06/05 22:55:14.572848,  2] param/loadparm.c:8327(do_section)
  Processing section "[CANON]"
[2012/06/05 22:55:14.573047,  2] param/loadparm.c:8327(do_section)
  Processing section "[HP-K5300]"
[2012/06/05 22:55:14.573368,  1] param/loadparm.c:7992(lp_do_parameter)
  WARNING: The "share modes" option is deprecated
[2012/06/05 22:55:14.573482,  2] param/loadparm.c:8327(do_section)
  Processing section "[src]"
[2012/06/05 22:55:14.573716,  2] param/loadparm.c:8327(do_section)
  Processing section "[homes]"
[2012/06/05 22:55:14.573985,  3] param/loadparm.c:6630(lp_add_ipc)
  adding IPC service
[2012/06/05 22:55:14.574510,  2] lib/interface.c:341(add_interface)
  added interface eth0 ip=fe80::ca3a:35ff:fed4:c59b%eth0 bcast=fe80::ffff:ffff:f
fff:ffff%eth0 netmask=ffff:ffff:ffff:ffff::
[2012/06/05 22:55:14.574827,  2] lib/interface.c:341(add_interface)
  added interface eth0 ip=192.168.1.100 bcast=192.168.1.255 netmask=255.255.255.
0
[2012/06/05 22:55:14.574981,  3] smbd/server.c:1086(main)
  loaded services
[2012/06/05 22:55:14.586062,  3] smbd/server.c:1118(main)
  Becoming a daemon.
[2012/06/05 22:55:14.971324,  3] passdb/lookup_sid.c:1737(get_primary_group_sid)
  Forcing Primary Group to 'Domain Users' for root
[2012/06/05 22:55:14.981056,  3] passdb/lookup_sid.c:1737(get_primary_group_sid)
  Forcing Primary Group to 'Domain Users' for root
[2012/06/05 22:55:15.008496,  3] auth/token_util.c:438(finalize_local_nt_token)
  Failed to fetch domain sid for MSHOME
[2012/06/05 22:55:15.009994,  3] auth/token_util.c:469(finalize_local_nt_token)
  Failed to fetch domain sid for MSHOME
[2012/06/05 22:55:15.039523,  3] passdb/lookup_sid.c:1737(get_primary_group_sid)
  Forcing Primary Group to 'Domain Users' for nobody
[2012/06/05 22:55:15.039708,  3] auth/token_util.c:438(finalize_local_nt_token)
  Failed to fetch domain sid for MSHOME
[2012/06/05 22:55:15.039842,  3] auth/token_util.c:469(finalize_local_nt_token)
  Failed to fetch domain sid for MSHOME
[2012/06/05 22:55:15.059895,  3] rpc_server/svcctl/srv_svcctl_reg.c:569(svcctl_i
nit_winreg)
  Initialise the svcctl registry keys if needed.
[2012/06/05 22:55:15.087138,  3] rpc_server/rpc_handles.c:281(close_policy_hnd)
  Closed policy
[2012/06/05 22:55:15.087719,  3] rpc_server/rpc_handles.c:281(close_policy_hnd)
  Closed policy
[2012/06/05 22:55:15.088262,  3] rpc_server/rpc_handles.c:281(close_policy_hnd)
  Closed policy
[2012/06/05 22:55:15.088606,  3] rpc_server/rpc_handles.c:281(close_policy_hnd)
  Closed policy
[2012/06/05 22:55:15.089075,  3] rpc_server/rpc_handles.c:281(close_policy_hnd)
  Closed policy
[2012/06/05 22:55:15.089408,  3] rpc_server/rpc_handles.c:281(close_policy_hnd)
  Closed policy
[2012/06/05 22:55:15.100706,  3] rpc_server/rpc_handles.c:281(close_policy_hnd)
  Closed policy
[2012/06/05 22:55:15.101091,  3] rpc_server/rpc_handles.c:281(close_policy_hnd)
  Closed policy
[2012/06/05 22:55:15.101185,  3] rpc_server/rpc_handles.c:281(close_policy_hnd)
  Closed policy
[2012/06/05 22:55:15.102021,  3] rpc_server/eventlog/srv_eventlog_reg.c:59(event
log_init_winreg)
  Initialise the eventlog registry keys if needed.
[2012/06/05 22:55:15.102543,  3] rpc_server/rpc_handles.c:281(close_policy_hnd)
  Closed policy
[2012/06/05 22:55:15.102690,  3] printing/pcap.c:138(pcap_cache_reload)
  reloading printcap cache
[2012/06/05 22:55:15.103470,  3] printing/pcap.c:189(pcap_cache_reload)
  reload status: ok
[2012/06/05 22:55:15.103767,  3] printing/printing.c:1644(start_background_queue
)
  start_background_queue: Starting background LPQ thread
[2012/06/05 22:55:15.106822,  2] smbd/server.c:839(smbd_parent_loop)
  waiting for connections
[2012/06/05 22:55:15.113556,  3] param/loadparm.c:6669(lp_add_printer)
  adding printer service Officejet_Pro_8000_A809
[2012/06/05 22:55:15.114508,  1] lib/serverid.c:197(serverid_deregister)
  Deleting serverid.tdb record failed: NT_STATUS_NOT_FOUND
[2012/06/05 22:55:15.114685,  1] smbd/server.c:309(remove_child_pid)
  Could not remove pid 20273 from serverid.tdb
[2012/06/05 22:55:15.114752,  1] smbd/server.c:323(remove_child_pid)
  Could not find child 20273 -- ignoring
[2012/06/05 22:56:15.162469,  3] smbd/server.c:629(smbd_parent_housekeeping)
  Printcap cache time expired.
[2012/06/05 22:56:15.162715,  3] printing/pcap.c:138(pcap_cache_reload)
  reloading printcap cache
[2012/06/05 22:56:15.163730,  3] printing/pcap.c:189(pcap_cache_reload)
  reload status: ok
[2012/06/05 22:56:15.182249,  2] lib/messages_local.c:310(message_notify)
  message to process 21845 failed - No such process
[2012/06/05 22:56:15.188044,  2] lib/messages_local.c:400(messaging_tdb_send)
  pid 21845 doesn't exist - deleting messages record
[2012/06/05 22:56:15.188193,  2] lib/messages.c:121(traverse_fn)
  pid 21845 doesn't exist
[2012/06/05 22:56:15.188879,  1] lib/serverid.c:197(serverid_deregister)
  Deleting serverid.tdb record failed: NT_STATUS_NOT_FOUND
[2012/06/05 22:56:15.189023,  1] smbd/server.c:309(remove_child_pid)
  Could not remove pid 21199 from serverid.tdb
[2012/06/05 22:56:15.189115,  1] smbd/server.c:323(remove_child_pid)
  Could not find child 21199 -- ignoring
[2012/06/05 22:56:15.380392,  3] smbd/server.c:292(remove_child_pid)
  smbd/server.c:292 Unclean shutdown of pid 20342
[2012/06/05 22:56:15.380622,  1] smbd/server.c:300(remove_child_pid)
  Scheduled cleanup of brl and lock database after unclean shutdown
[2012/06/05 22:56:18.825293,  3] smbd/server.c:292(remove_child_pid)
  smbd/server.c:292 Unclean shutdown of pid 21203
[2012/06/05 22:56:32.388000,  3] smbd/server.c:292(remove_child_pid)
  smbd/server.c:292 Unclean shutdown of pid 21225
[2012/06/05 22:56:35.383756,  1] smbd/server.c:272(cleanup_timeout_fn)
  Cleaning up brl and lock database after unclean shutdown
[2012/06/05 22:56:46.008587,  3] smbd/server.c:292(remove_child_pid)
  smbd/server.c:292 Unclean shutdown of pid 21250
[2012/06/05 22:56:46.008814,  1] smbd/server.c:300(remove_child_pid)
  Scheduled cleanup of brl and lock database after unclean shutdown
[2012/06/05 22:56:59.307771,  3] smbd/server.c:292(remove_child_pid)
  smbd/server.c:292 Unclean shutdown of pid 21273
[2012/06/05 22:57:02.934445,  3] smbd/server.c:292(remove_child_pid)
  smbd/server.c:292 Unclean shutdown of pid 21298
[2012/06/05 22:57:06.010360,  1] smbd/server.c:272(cleanup_timeout_fn)
  Cleaning up brl and lock database after unclean shutdown
[2012/06/05 22:57:16.738370,  3] smbd/server.c:292(remove_child_pid)
  smbd/server.c:292 Unclean shutdown of pid 21320
[2012/06/05 22:57:16.738588,  1] smbd/server.c:300(remove_child_pid)
  Scheduled cleanup of brl and lock database after unclean shutdown
[2012/06/05 22:57:36.759159,  1] smbd/server.c:272(cleanup_timeout_fn)
  Cleaning up brl and lock database after unclean shutdown


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

Kernel: Linux 3.5.0-rc1 (SMP w/2 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages samba depends on:
ii  adduser                3.113+nmu3
ii  debconf [debconf-2.0]  1.5.43
ii  libacl1                2.2.51-7
ii  libattr1               1:2.4.46-7
ii  libc6                  2.13-33
ii  libcap2                1:2.22-1.1
ii  libcomerr2             1.42.2-2
ii  libcups2               1.5.3-1
ii  libgssapi-krb5-2       1.10.1+dfsg-1
ii  libk5crypto3           1.10.1+dfsg-1
ii  libkrb5-3              1.10.1+dfsg-1
ii  libldap-2.4-2          2.4.28-1.3
ii  libpam-modules         1.1.3-7.1
ii  libpam-runtime         1.1.3-7.1
ii  libpam0g               1.1.3-7.1
ii  libpopt0               1.16-7
ii  libtalloc2             2.0.7+git20120207-1
ii  libtdb1                1.2.10-2
ii  libwbclient0           2:3.6.5-5
ii  lsb-base               4.1+Debian6
ii  procps                 1:3.3.3-1
ii  samba-common           2:3.6.5-5
ii  update-inetd           4.43
ii  zlib1g                 1:1.2.7.dfsg-11

Versions of packages samba recommends:
ii  logrotate  3.8.1-4
ii  tdb-tools  1.2.10-2

Versions of packages samba suggests:
pn  ctdb                              <none>
pn  ldb-tools                         <none>
pn  openbsd-inetd [inet-superserver]  0.20091229-2
pn  smbldap-tools                     <none>

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





More information about the Pkg-samba-maint mailing list