[Bug 1278635] Re: Panic or segfault in Samba

Wm Lewis kg6baj at n1oes.org
Tue Feb 11 23:20:57 UTC 2014


Another panic or segfault in Samba

This one just occurred right after a reboot of the machine
==============================================

[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007f85d6d89c8e in waitpid () from /lib/x86_64-linux-gnu/libc.so.6
#0  0x00007f85d6d89c8e in waitpid () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f85d6d0f29e in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007f85da160f3c in smb_panic (why=<optimized out>) at lib/util.c:1123
#3  0x00007f85da1521d8 in fault_report (sig=11) at lib/fault.c:53
#4  sig_fault (sig=11) at lib/fault.c:76
#5  <signal handler called>
#6  0x00007f85d6e2d321 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#7  0x00007f85da136f4e in rep_strlcpy (d=0x7fffd0ff2664 "", s=0x0, bufsize=256) at ../lib/replace/replace.c:70
#8  0x00007f85da16d7b4 in connections_fetch_entry (mem_ctx=0x7f85db634270, conn=0x7f85db625170, name=0x0) at lib/conn_tdb.c:63
#9  0x00007f85d9e4f13c in yield_connection (conn=0x7f85db625170, name=0x0) at smbd/connection.c:37
#10 0x00007f85d9ec4243 in close_cnum (conn=0x7f85db625170, vuid=100) at smbd/service.c:1350
#11 0x00007f85d9e55e14 in conn_close_all (sconn=<optimized out>) at smbd/conn.c:242
#12 0x00007f85da3ced85 in exit_server_common (how=SERVER_EXIT_NORMAL, reason=0x7f85da3f0764 "termination signal") at smbd/server_exit.c:104
#13 0x00007f85da3cf12e in exit_server_cleanly (explanation=<optimized out>) at smbd/server_exit.c:205
#14 0x00007f85d9ebb710 in smbd_sig_term_handler (ev=<optimized out>, se=<optimized out>, signum=<optimized out>, count=<optimized out>, siginfo=<optimized out>, private_data=<optimized out>) at smbd/process.c:931
#15 0x00007f85da17316a in tevent_common_check_signal (ev=0x7f85db60d520) at ../lib/tevent/tevent_signal.c:366
#16 0x00007f85da1708d5 in run_events_poll (ev=0x7f85db60d520, pollrtn=0, pfds=0x0, num_pfds=0) at lib/events.c:193
#17 0x00007f85d9ec113c in smbd_server_connection_loop_once (conn=0x7f85db60d5e0) at smbd/process.c:995
#18 smbd_process (sconn=0x7f85db60d5e0) at smbd/process.c:3158
#19 0x00007f85da3ceb8f in smbd_accept_connection (ev=<optimized out>, fde=<optimized out>, flags=<optimized out>, private_data=<optimized out>) at smbd/server.c:511
#20 0x00007f85da170bfe in run_events_poll (num_pfds=5, pfds=0x7f85db62e8c0, pollrtn=<optimized out>, ev=0x7f85db60d520) at lib/events.c:286
#21 run_events_poll (ev=0x7f85db60d520, pollrtn=<optimized out>, pfds=0x7f85db62e8c0, num_pfds=5) at lib/events.c:184
#22 0x00007f85da170d9a in s3_event_loop_once (ev=0x7f85db60d520, location=<optimized out>) at lib/events.c:349
#23 0x00007f85da171920 in _tevent_loop_once (ev=0x7f85db60d520, location=0x7f85da5d39b7 "smbd/server.c:844") at ../lib/tevent/tevent.c:494
#24 0x00007f85d9e3f090 in smbd_parent_loop (parent=<optimized out>) at smbd/server.c:844
#25 main (argc=<optimized out>, argv=<optimized out>) at smbd/server.c:1326
A debugging session is active.


        Inferior 1 [process 24852] will be detached.

Quit anyway? (y or n) [answered Y; input not from terminal]

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/1278635

Title:
  Panic or segfault in Samba

Status in “samba” package in Ubuntu:
  Confirmed

Bug description:
  Panic email supplied this:

  ------------------------------------------------

  The Samba 'panic action' script, /usr/share/samba/panic-action,
  was called for PID 19000 (/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
  Ubuntu by visiting this link:
  https://launchpad.net/ubuntu/+source/samba/+filebug

  
  [Thread debugging using libthread_db enabled]
  Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
  0x00007f85d6d89c8e in waitpid () from /lib/x86_64-linux-gnu/libc.so.6
  #0  0x00007f85d6d89c8e in waitpid () from /lib/x86_64-linux-gnu/libc.so.6
  #1  0x00007f85d6d0f29e in ?? () from /lib/x86_64-linux-gnu/libc.so.6
  #2  0x00007f85da160f3c in smb_panic (why=<optimized out>) at lib/util.c:1123
  #3  0x00007f85da1521d8 in fault_report (sig=11) at lib/fault.c:53
  #4  sig_fault (sig=11) at lib/fault.c:76
  #5  <signal handler called>
  #6  0x00007f85d6e2d321 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
  #7  0x00007f85da136f4e in rep_strlcpy (d=0x7fffd0ff2674 "", s=0x0, bufsize=256) at ../lib/replace/replace.c:70
  #8  0x00007f85da16d7b4 in connections_fetch_entry (mem_ctx=0x7f85db634270, conn=0x7f85db62aed0, name=0x0) at lib/conn_tdb.c:63
  #9  0x00007f85d9e4f13c in yield_connection (conn=0x7f85db62aed0, name=0x0) at smbd/connection.c:37
  #10 0x00007f85d9ec4243 in close_cnum (conn=0x7f85db62aed0, vuid=101) at smbd/service.c:1350
  #11 0x00007f85d9e7d35d in reply_tdis (req=0x7f85db634350) at smbd/reply.c:5105
  #12 0x00007f85d9ebf224 in switch_message (type=113 'q', req=0x7f85db634350, size=39) at smbd/process.c:1574
  #13 0x00007f85d9ebf63b in construct_reply (deferred_pcd=0x0, encrypted=false, seqnum=<optimized out>, unread_bytes=0, size=39, inbuf=0x0, sconn=0x7f85db60d5e0) at smbd/process.c:1610
  #14 process_smb (sconn=0x7f85db60d5e0, inbuf=<optimized out>, nread=39, unread_bytes=0, seqnum=<optimized out>, encrypted=false, deferred_pcd=0x0) at smbd/process.c:1688
  #15 0x00007f85d9ebfa53 in smbd_server_connection_read_handler (conn=0x7f85db60d5e0, fd=25) at smbd/process.c:2317
  #16 0x00007f85da170bfe in run_events_poll (num_pfds=3, pfds=0x7f85db625bc0, pollrtn=<optimized out>, ev=0x7f85db60d520) at lib/events.c:286
  #17 run_events_poll (ev=0x7f85db60d520, pollrtn=<optimized out>, pfds=0x7f85db625bc0, num_pfds=3) at lib/events.c:184
  #18 0x00007f85d9ec11c2 in smbd_server_connection_loop_once (conn=0x7f85db60d5e0) at smbd/process.c:1017
  #19 smbd_process (sconn=0x7f85db60d5e0) at smbd/process.c:3158
  #20 0x00007f85da3ceb8f in smbd_accept_connection (ev=<optimized out>, fde=<optimized out>, flags=<optimized out>, private_data=<optimized out>) at smbd/server.c:511
  #21 0x00007f85da170bfe in run_events_poll (num_pfds=5, pfds=0x7f85db62e8c0, pollrtn=<optimized out>, ev=0x7f85db60d520) at lib/events.c:286
  #22 run_events_poll (ev=0x7f85db60d520, pollrtn=<optimized out>, pfds=0x7f85db62e8c0, num_pfds=5) at lib/events.c:184
  #23 0x00007f85da170d9a in s3_event_loop_once (ev=0x7f85db60d520, location=<optimized out>) at lib/events.c:349
  #24 0x00007f85da171920 in _tevent_loop_once (ev=0x7f85db60d520, location=0x7f85da5d39b7 "smbd/server.c:844") at ../lib/tevent/tevent.c:494
  #25 0x00007f85d9e3f090 in smbd_parent_loop (parent=<optimized out>) at smbd/server.c:844
  #26 main (argc=<optimized out>, argv=<optimized out>) at smbd/server.c:1326
  A debugging session is active.

  
          Inferior 1 [process 19000] will be detached.

  Quit anyway? (y or n) [answered Y; input not from terminal] 
  --------------------------------------------------------------------------------------

  System information as follows :

  Operating system Ubuntu Linux 12.04.4 
  Time on system Mon Feb 10 15:16:07 2014 
  Kernel and CPU Linux 3.8.0-35-generic on x86_64 
  Processor information Intel(R) Core(TM) i5-4430 CPU @ 3.00GHz, 4 cores 
  Running processes 241 
  CPU load averages 0.00 (1 min) 0.01 (5 mins) 0.05 (15 mins) 
  CPU usage 0% user, 0% kernel, 0% IO, 100% idle 
  Real memory 1.09 GB used, 3.56 GB total
  Virtual memory 0 bytes used, 14.90 GB total
  Local disk space 68.54 GB used, 905.56 GB total
  --------------------------------------------------------------------------------------

  This panic in Samba happens about once or twice a week.

  Hope this helps

  Bill
  --- 
  ApportVersion: 2.0.1-0ubuntu17.6
  Architecture: amd64
  DistroRelease: Ubuntu 12.04
  InstallationMedia: Ubuntu-Server 12.04.3 LTS "Precise Pangolin" - Release amd64 (20130820.2)
  MarkForUpload: True
  NmbdLog:
   
  OtherFailedConnect: Yes
  Package: samba 2:3.6.3-2ubuntu2.9
  PackageArchitecture: amd64
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcVersionSignature: Ubuntu 3.8.0-35.52~precise1-generic 3.8.13.13
  SambaServerRegression: Yes
  SmbConfIncluded: Yes
  SmbLog:   failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL
  Tags:  precise running-unity
  Uname: Linux 3.8.0-35-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1278635/+subscriptions



More information about the foundations-bugs mailing list