Public bug reported:

Continual email from root noting "Panic or segfault in Samba".  Unknown
if a security issue.

By 'Continual' I mean about once a day. Does seem to do it more when I'm
coming across a LAN to the Samba machine.

I have one folder at  root drive called 'shared' (/shared)

This folder is for users on the LAN to share items. Not sure if it
matters, but all users are accessing this shared folder from a windows
O/S.

Two uses accessing are using Windows XP, and a third is using Windows 7.

The bulk of the times I get the email seem to be right after [accessing
/sending-to/receiving-from] the shared drive via the LAN.

There have been a couple of times that I have gotten the email from
root, where no known accessing of the shared folder had occurred.

Here is email from root
-----------------------------------

The Samba 'panic action' script, /usr/share/samba/panic-action,
was called for PID 11354 (/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".
0x00007f0d3e098c8e in waitpid () from /lib/x86_64-linux-gnu/libc.so.6
#0  0x00007f0d3e098c8e in waitpid () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f0d3e01e29e in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007f0d4146ff3c in smb_panic (why=<optimized out>) at lib/util.c:1123
#3  0x00007f0d414611d8 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  0x00007f0d3e13c321 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#7  0x00007f0d41445f4e in rep_strlcpy (d=0x7fffadd529f4 "", s=0x0, bufsize=256) 
at ../lib/replace/replace.c:70
#8  0x00007f0d4147c7b4 in connections_fetch_entry (mem_ctx=0x7f0d42883d70, 
conn=0x7f0d42880880, name=0x0) at lib/conn_tdb.c:63
#9  0x00007f0d4115e13c in yield_connection (conn=0x7f0d42880880, name=0x0) at 
smbd/connection.c:37
#10 0x00007f0d411d3243 in close_cnum (conn=0x7f0d42880880, vuid=100) at 
smbd/service.c:1350
#11 0x00007f0d41164e14 in conn_close_all (sconn=<optimized out>) at 
smbd/conn.c:242
#12 0x00007f0d416ddd85 in exit_server_common (how=SERVER_EXIT_NORMAL, 
reason=0x7f0d41700389 "failed to receive smb request") at smbd/server_exit.c:104
#13 0x00007f0d416de12e in exit_server_cleanly (explanation=<optimized out>) at 
smbd/server_exit.c:205
#14 0x00007f0d411ceb09 in smbd_server_connection_read_handler 
(conn=0x7f0d4285c5e0, fd=8) at smbd/process.c:2310
#15 0x00007f0d4147fbfe in run_events_poll (num_pfds=3, pfds=0x7f0d428796a0, 
pollrtn=<optimized out>, ev=0x7f0d4285c520) at lib/events.c:286
#16 run_events_poll (ev=0x7f0d4285c520, pollrtn=<optimized out>, 
pfds=0x7f0d428796a0, num_pfds=3) at lib/events.c:184
#17 0x00007f0d411d01c2 in smbd_server_connection_loop_once 
(conn=0x7f0d4285c5e0) at smbd/process.c:1017
#18 smbd_process (sconn=0x7f0d4285c5e0) at smbd/process.c:3158
#19 0x00007f0d416ddb8f in smbd_accept_connection (ev=<optimized out>, 
fde=<optimized out>, flags=<optimized out>, private_data=<optimized out>) at 
smbd/server.c:511
#20 0x00007f0d4147fbfe in run_events_poll (num_pfds=3, pfds=0x7f0d4285f780, 
pollrtn=<optimized out>, ev=0x7f0d4285c520) at lib/events.c:286
#21 run_events_poll (ev=0x7f0d4285c520, pollrtn=<optimized out>, 
pfds=0x7f0d4285f780, num_pfds=3) at lib/events.c:184
#22 0x00007f0d4147fd9a in s3_event_loop_once (ev=0x7f0d4285c520, 
location=<optimized out>) at lib/events.c:349
#23 0x00007f0d41480920 in _tevent_loop_once (ev=0x7f0d4285c520, 
location=0x7f0d418e29b7 "smbd/server.c:844") at ../lib/tevent/tevent.c:494
#24 0x00007f0d4114e090 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 11354] will be detached.

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

Operating Machine Info:

 
Operating system = Ubuntu Linux 12.04.4 

Webmin version = 1.660

Time on system = Mon Mar 3 14:38:56 2014

Kernel and CPU = Linux 3.8.0-36-generic on x86_64

Processor information = Intel(R) Core(TM) i5-4430 CPU @ 3.00GHz, 4 cores

System uptime = 3 days, 4 hours, 58 minutes

Running processes = 239

CPU load = averages 0.00 (1 min) 0.01 (5 mins) 0.05 (15 mins)

CPU usage = 0% user, 0% kernel, 1% IO, 99% idle

Real memory = 1.12 GB used, 3.56 GB total
 
Virtual memory = 96 kB used, 14.90 GB total
 
Local disk space = 46.95 GB used, 450.87 GB total

===============================

Please let me know if you need more information.

Wm Lewis

** Affects: samba (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  Panic or segfault in Samba

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to