[Bug 1053414] Re: smbd crashed when trying to connect from Ubuntu

Michał Sawicz michal.sawicz at canonical.com
Thu Sep 20 13:55:43 UTC 2012

I just noticed one thing that might be relevant - I'm using the kernel
from ppa:ubuntu-x-swat/q-lts-backport.

You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to samba in Ubuntu.

  smbd crashed when trying to connect from Ubuntu

Status in “samba” package in Ubuntu:

Bug description:
  Right now every time I try and connect to the server, smbd crashes.

  Here's the traceback I got from the panic-action script:

  [Thread debugging using libthread_db enabled]
  Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
  0x00007fba0e927c3e in waitpid () from /lib/x86_64-linux-gnu/libc.so.6
  #0  0x00007fba0e927c3e in waitpid () from /lib/x86_64-linux-gnu/libc.so.6
  #1  0x00007fba0e8adf5e in ?? () from /lib/x86_64-linux-gnu/libc.so.6
  #2  0x00007fba11cffbec in smb_panic (why=<optimized out>) at lib/util.c:1123
  #3  0x00007fba11a4abe6 in set_unix_security_ctx (uid=65534, gid=65534, ngroups=1, groups=0x7fba12c20910) at smbd/sec_ctx.c:250
  #4  0x00007fba11a4af0f in set_sec_ctx (uid=65534, gid=65534, ngroups=1, groups=0x7fba12c20910, token=0x7fba12c20640) at smbd/sec_ctx.c:320
  #5  0x00007fba11a39db5 in change_to_user_internal (conn=0x7fba12c19470, session_info=<optimized out>, vuid=101) at smbd/uid.c:304
  #6  0x00007fba11a61e2b in make_connection_snum (sconn=0x7fba12c0c5e0, conn=0x7fba12c19470, snum=3, vuser=<optimized out>, password=..., pdev=0x7fff26d5c330 "IPC", pstatus=0x7fff26d5c4d0) at smbd/service.c:960
  #7  0x00007fba11a6276e in make_connection_smb1 (sconn=0x7fba12c0c5e0, snum=3, vuser=0x7fba12c21590, password=..., pdev=0x7fff26d5c330 "IPC", pstatus=0x7fff26d5c4d0) at smbd/service.c:1127
  #8  0x00007fba11a62aea in make_connection (sconn=0x7fba12c0c5e0, service_in=<optimized out>, password=..., pdev=<optimized out>, vuid=<optimized out>, status=0x7fff26d5c4d0) at smbd/service.c:1323
  #9  0x00007fba11a1382c in reply_tcon_and_X (req=0x7fba12c33260) at smbd/reply.c:796
  #10 0x00007fba11a5dfa4 in switch_message (type=117 'u', req=0x7fba12c33260, size=80) at smbd/process.c:1574
  #11 0x00007fba11a5e3bb in construct_reply (deferred_pcd=0x0, encrypted=false, seqnum=<optimized out>, unread_bytes=0, size=80, inbuf=0x0, sconn=0x7fba12c0c5e0) at smbd/process.c:1610
  #12 process_smb (sconn=0x7fba12c0c5e0, inbuf=<optimized out>, nread=80, unread_bytes=0, seqnum=<optimized out>, encrypted=false, deferred_pcd=0x0) at smbd/process.c:1688
  #13 0x00007fba11a5e7d3 in smbd_server_connection_read_handler (conn=0x7fba12c0c5e0, fd=26) at smbd/process.c:2317
  #14 0x00007fba11d0f8ae in run_events_poll (num_pfds=2, pfds=0x7fba12c17240, pollrtn=<optimized out>, ev=0x7fba12c0c520) at lib/events.c:286
  #15 run_events_poll (ev=0x7fba12c0c520, pollrtn=<optimized out>, pfds=0x7fba12c17240, num_pfds=2) at lib/events.c:184
  #16 0x00007fba11a5ff42 in smbd_server_connection_loop_once (conn=0x7fba12c0c5e0) at smbd/process.c:1017
  #17 smbd_process (sconn=0x7fba12c0c5e0) at smbd/process.c:3158
  #18 0x00007fba11f6d66f in smbd_accept_connection (ev=<optimized out>, fde=<optimized out>, flags=<optimized out>, private_data=<optimized out>) at smbd/server.c:511
  #19 0x00007fba11d0f8ae in run_events_poll (num_pfds=3, pfds=0x7fba12c0f780, pollrtn=<optimized out>, ev=0x7fba12c0c520) at lib/events.c:286
  #20 run_events_poll (ev=0x7fba12c0c520, pollrtn=<optimized out>, pfds=0x7fba12c0f780, num_pfds=3) at lib/events.c:184
  #21 0x00007fba11d0fa4a in s3_event_loop_once (ev=0x7fba12c0c520, location=<optimized out>) at lib/events.c:349
  #22 0x00007fba11d105d0 in _tevent_loop_once (ev=0x7fba12c0c520, location=0x7fba121722d7 "smbd/server.c:844") at ../lib/tevent/tevent.c:494
  #23 0x00007fba119de030 in smbd_parent_loop (parent=<optimized out>) at smbd/server.c:844
  #24 main (argc=<optimized out>, argv=<optimized out>) at smbd/server.c:1326

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: samba 2:3.6.3-2ubuntu2.3
  ProcVersionSignature: Ubuntu 3.5.0-15.20~precise1-generic 3.5.4
  Uname: Linux 3.5.0-15-generic x86_64
  ApportVersion: 2.0.1-0ubuntu13
  Architecture: amd64
  Date: Thu Sep 20 15:49:12 2012
  SambaServerRegression: Yes
  SmbConfIncluded: Yes
  SmbLog:   failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL
  SourcePackage: samba
  UpgradeStatus: No upgrade log present (probably fresh install)
  WindowsFailedConnect: Yes

To manage notifications about this bug go to:

More information about the foundations-bugs mailing list