Winbind service stops often

Bug #781195 reported by Jack Cobb
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
samba (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

Binary package hint: samba

Ubuntu version: Ubuntu 10.04.2 LTS
Package version: Samba/Winbind 2:3.4.7
What happened: The Samba 'panic action' script, /usr/share/samba/panic-action, was called for PID 27460 (/usr/sbin/winbindd).

[Thread debugging using libthread_db enabled] 0x00007fa091636f7e in waitpid () from /lib/libc.so.6
#0 0x00007fa091636f7e in waitpid () from /lib/libc.so.6
#1 0x00007fa0915ce7e9 in ?? () from /lib/libc.so.6
#2 0x00007fa093a77264 in smb_panic (why=<value optimized out>)
    at lib/util.c:1486
#3 0x00007fa093a6684d in fault_report (sig=11) at lib/fault.c:52
#4 sig_fault (sig=11) at lib/fault.c:75
#5 <signal handler called>
#6 rpc_pipe_np_smb_conn (p=0x0) at rpc_client/rpc_transport_np.c:402
#7 0x00007fa093b52048 in rpccli_set_timeout (rpc_cli=0x0, timeout=35000)
    at rpc_client/cli_pipe.c:2956
#8 0x00007fa0939ec7a1 in winbindd_lookup_sids (mem_ctx=0x7fa094685880,
    domain=<value optimized out>, num_sids=<value optimized out>,
    sids=<value optimized out>, domains=0x7fff5305fab0, names=0x7fff5305fac0,
    types=0x7fff5305fab8) at winbindd/winbindd_rpc.c:1221
#9 0x00007fa0939ef092 in lookup_groupmem (domain=0x7fa09468dab0,
    mem_ctx=0x7fa094614400, group_sid=0x7fa094651f40,
    num_names=0x7fff5305fdfc, sid_mem=<value optimized out>,
    names=<value optimized out>, name_types=0x7fff5305fdc8)
    at winbindd/winbindd_ads.c:1124
#10 0x00007fa0939d6503 in lookup_groupmem (domain=<value optimized out>,
    mem_ctx=<value optimized out>, group_sid=<value optimized out>,
    num_names=0x7fff5305fdfc, sid_mem=0x7fff5305fdb8, names=0x7fff5305fdc0,
    name_types=0x7fff5305fdc8) at winbindd/winbindd_cache.c:2211
#11 0x00007fa0939c95e7 in expand_groups (domain=0x7fa09468dab0,
    state=<value optimized out>, group_sid=<value optimized out>,
    group_name_type=SID_NAME_DOM_GRP, num_gr_mem=<value optimized out>,
    gr_mem=<value optimized out>, gr_mem_len=0x7fff53060188)
    at winbindd/winbindd_group.c:468
#12 fill_grent_mem (domain=0x7fa09468dab0, state=<value optimized out>,
    group_sid=<value optimized out>, group_name_type=SID_NAME_DOM_GRP,
    num_gr_mem=<value optimized out>, gr_mem=<value optimized out>,
    gr_mem_len=0x7fff53060188) at winbindd/winbindd_group.c:604
#13 0x00007fa0939caa9f in getgrsid_sid2gid_recv (private_data=0x7fa0946288d0,
    success=<value optimized out>, gid=10000) at winbindd/winbindd_group.c:866
#14 0x00007fa0939c3ba0 in process_loop (argc=<value optimized out>,
    argv=<value optimized out>, envp=<value optimized out>)
    at winbindd/winbindd.c:1115
#15 main (argc=<value optimized out>, argv=<value optimized out>,
    envp=<value optimized out>) at winbindd/winbindd.c:1440 A debugging session is active.

 Inferior 1 [process 27460] will be detached.

Revision history for this message
Chuck Short (zulcss) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Unfortunately we can't fix it without more information.

Please include the information requested at https://wiki.ubuntu.com/DebuggingSamba#samba-server.

Changed in samba (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Jack Cobb (jcobb) wrote : RE: [Bug 781195] Re: Winbind service stops often
  • dpkg.log Edit (26.9 KiB, application/octet-stream; name="dpkg.log")
  • log_files.zip Edit (301.7 KiB, application/x-zip-compressed; name="log_files.zip")
  • smb.conf Edit (10.7 KiB, application/octet-stream; name="smb.conf")
  • term.log Edit (3.4 KiB, application/octet-stream; name="term.log")
  • testparm.txt Edit (1.7 KiB, text/plain; name="testparm.txt")
Download full text (7.3 KiB)

See my answers below to each of the questions from the wiki.ubuntu.com/DebuggingSamba#samba-server site:

Is it a regression ?
   Yes

Did this use to work properly with a previous release ?
   Yes

What version of samba packages are used ?

Please give the output of:

dpkg-query -W -f='${Package} ${Version} ${Source} ${Status}\n' | grep samba

 libpam-smbpass 2:3.4.7~dfsg-1ubuntu3.5 samba install ok installed
 libwbclient0 2:3.4.7~dfsg-1ubuntu3.5 samba install ok installed
 samba 2:3.4.7~dfsg-1ubuntu3.5 install ok installed
 samba-common 2:3.4.7~dfsg-1ubuntu3.5 samba install ok installed
 samba-common-bin 2:3.4.7~dfsg-1ubuntu3.5 samba install ok installed
 samba-dbg 2:3.4.7~dfsg-1ubuntu3.5 samba install ok installed
 samba-doc 2:3.4.7~dfsg-1ubuntu3.5 samba install ok installed
 smbclient 2:3.4.7~dfsg-1ubuntu3.5 samba install ok installed
 smbfs 2:3.4.7~dfsg-1ubuntu3.5 samba install ok installed
 swat 2:3.4.7~dfsg-1ubuntu3.5 samba install ok installed
 winbind 2:3.4.7~dfsg-1ubuntu3.5 samba install ok installed

Which clients are failing to connect?

 All clients when the panic action occurs

Include the operating system (Windows, Ubuntu) and version (XP, Vista, 8.04) of the client systems failing to connect to the share.

 Windows XP and Windows 7

What is the error message produced on the client?

 Drive letter not accessible

Other information to include

    *

      the content of the /etc/samba/smb.conf file
    *
  See attached

      log files found in /var/log/samba/
    *
  See attached

      the output of the smbclient -L //server/
    *
 Domain=[SKYLINECORP] OS=[Unix] Server=[Samba 3.4.7]

        Sharename Type Comment
        --------- ---- -------
        print$ Disk Printer Drivers
        oper Disk Timecard Upload Area
        www Disk Web root dir
        netcobol Disk netcobol dir
        ultiprouploads Disk ultipro uploads dir
        sysproap Disk syspro ap dir
        apimport Disk syspro ap import dir
        IPC$ IPC IPC Service (linuxs04 server)
Domain=[SKYLINECORP] OS=[Unix] Server=[Samba 3.4.7]

        Server Comment
        --------- -------
        DC3
        LINUXS04 linuxs04 server

        Workgroup Master
        --------- -------
        SKYLINECORP DC3

      the output of testparm -s

  see attached

Install/upgrade failure

Status of samba packages on the system

Please give the output of:

dpkg-query -W -f='${Package} ${Version} ${Source} ${Status}\n' | grep samba

 libpam-smbpass 2:3.4.7~dfsg-1ubuntu3.5 samba install ok installed
 libwbclient0 2:3.4.7~dfsg-1ubuntu3.5 samba install ok installed
 samba 2:3.4.7~dfsg-1ubuntu3.5 install ok installed
 samba-common 2:3.4.7~dfsg-1ubuntu3.5 samba install ok installed
 samba-common-bin 2:3.4.7~dfsg-1ubuntu3.5 samba install ok installed
 samba-dbg 2:3.4.7~dfsg-1ubuntu3.5 samba install ok installed
 samba-doc 2:3.4.7~dfsg-1ubuntu3.5 samba install ok installed
 smbclient 2:3.4.7~dfsg-1ubuntu3.5 samba install ok installed
 smbfs 2:3.4.7~dfsg-1ubuntu3.5 samba insta...

Read more...

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for samba (Ubuntu) because there has been no activity for 60 days.]

Changed in samba (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Christian Reis (kiko) wrote :

I see the same issue reported on my server every once in a while.

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

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
Ubuntu by visiting this link:
https://launchpad.net/ubuntu/+source/samba/+filebug

[Thread debugging using libthread_db enabled]
0x00007f1ede8271ae in waitpid () from /lib/x86_64-linux-gnu/libc.so.6
#0 0x00007f1ede8271ae in waitpid () from /lib/x86_64-linux-gnu/libc.so.6
#1 0x00007f1ede7bbd6e in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#2 0x00007f1ee0cd3a73 in smb_panic ()
#3 0x00007f1ee0cc3109 in ?? ()
#4 <signal handler called>
#5 0x00007f1ede804995 in memcpy () from /lib/x86_64-linux-gnu/libc.so.6
#6 0x00007f1ee10563f5 in ?? ()
#7 0x00007f1ee1051ad3 in ?? ()
#8 0x00007f1ee1051d80 in tdb_find_lock_hash ()
#9 0x00007f1ee1051e17 in ?? ()
#10 0x00007f1ee1051f03 in tdb_fetch ()
#11 0x00007f1ee0c14bd4 in wcache_tdc_fetch_list ()
#12 0x00007f1ee0c08b75 in ?? ()
#13 0x00007f1ee0c2dffe in ?? ()
#14 0x00007f1ee0c2dc36 in ?? ()
#15 0x00007f1ee0c2d68d in ?? ()
#16 0x00007f1ee0c5975d in ?? ()
#17 0x00007f1ee0c5908b in ?? ()
#18 0x00007f1ee0ce3123 in run_events ()
#19 0x00007f1ee0ce3318 in ?? ()
#20 0x00007f1ee0ce3db0 in _tevent_loop_once ()
#21 0x00007f1ee0c06d6b in main ()

Changed in samba (Ubuntu):
status: Expired → Confirmed
Revision history for this message
Christian Reis (kiko) wrote :

Actually my traceback is completely different from what the reporter had :-/

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.