smbd segfaults at least twice a day
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
samba (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
The Samba 'panic action' script, /usr/share/
was called for PID 4493 (/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:/
[Thread debugging using libthread_db enabled]
0x00007fb0a3ecedee in waitpid () from /lib/libc.so.6
#0 0x00007fb0a3ecedee in waitpid () from /lib/libc.so.6
#1 0x00007fb0a3e66a79 in ?? () from /lib/libc.so.6
#2 0x00007fb0a6da39b4 in smb_panic (why=<value optimized out>) at lib/util.c:1471
#3 0x00007fb0a6d9328d 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 0x00007fb0a3ea7e52 in ?? () from /lib/libc.so.6
#7 0x00007fb0a6d7981e in rep_strlcpy (d=0x7fffe1373d28 "", s=0x0, bufsize=256) at ../lib/
#8 0x00007fb0a6db0494 in connections_
#9 0x00007fb0a6b2d666 in yield_connection (conn=0x7fb0a8d
#10 0x00007fb0a6b9b496 in close_cnum (conn=0x7fb0a8d
#11 0x00007fb0a6b34d1c in conn_close_all (sconn=<value optimized out>) at smbd/conn.c:185
#12 0x00007fb0a709ed25 in exit_server_common (how=SERVER_
#13 0x00007fb0a709ef4e in exit_server_cleanly (explanation=0x0) at smbd/server.c:931
#14 0x00007fb0a6b9a8ab in smbd_server_
#15 smbd_server_
#16 0x00007fb0a6db3422 in run_events (ev=0x7fb0a8d21430, selrtn=1, read_fds=
#17 0x00007fb0a6b995f0 in smbd_server_
#18 smbd_process () at smbd/process.c:2451
#19 0x00007fb0a709f1ee in smbd_accept_
#20 0x00007fb0a6db3422 in run_events (ev=0x7fb0a8d21430, selrtn=1, read_fds=
#21 0x00007fb0a6db36e1 in s3_event_loop_once (ev=0x7fb0a8d21430, location=<value optimized out>) at lib/events.c:219
#22 0x00007fb0a6db3ac0 in _tevent_loop_once (ev=0x7fb0a8d21430, location=
#23 0x00007fb0a709fed3 in smbd_parent_loop (argc=<value optimized out>, argv=0x7fffe137
#24 main (argc=<value optimized out>, argv=0x7fffe137
A debugging session is active.
Inferior 1 [process 4493] will be detached.
Quit anyway? (y or n) [answered Y; input not from terminal]
-------
:~$ lsb_release -rd
Description: Ubuntu 10.10
Release: 10.10
:~$ apt-cache policy samba
samba:
Installed: 2:3.5.4~
Candidate: 2:3.5.4~
Version table:
*** 2:3.5.4~
500 http://
100 /var/lib/
2:
500 http://
2:
500 http://
Changed in samba (Ubuntu): | |
importance: | Undecided → Medium |
Changed in samba (Ubuntu): | |
status: | New → Confirmed |
I got the same error when clients are accessing the samba server at random occurrences it happens few times a day
lsb_release -rd
Description: Ubuntu 11.04
Release: 11.04
uname -a
Linux 2.6.38-10-generic #46-Ubuntu SMP Tue Jun 28 15:07:17 UTC 2011 x86_64 GNU/Linux
apt-cache policy samba dfsg-1ubuntu2. 2 dfsg-1ubuntu2. 2 dfsg-1ubuntu2. 2 0 archive. ubuntu. com/ubuntu/ natty-updates/main amd64 Packages dpkg/status 3.5.8~dfsg- 1ubuntu2 0 archive. ubuntu. com/ubuntu/ natty/main amd64 Packages
samba:
Installed: 2:3.5.8~
Candidate: 2:3.5.8~
Version table:
*** 2:3.5.8~
500 http://
100 /var/lib/
2:
500 http://
Thread debugging using libthread_db enabled] 64-linux- gnu/libc. so.6 64-linux- gnu/libc. so.6 64-linux- gnu/libc. so.6 64-linux- gnu/libc. so.6 replace/ replace. c:69 fetch_entry (mem_ctx=0x0, conn=0x7f9b7094 c920, name=0x0) at lib/conn_tdb.c:65 4c920, name=0x0) at smbd/connection .c:33 4c920, vuid=101) at smbd/service.c:1256 5b00) at smbd/reply.c:4912 connection_ read_handler (ev=<value optimized out>, fde=<value optimized out>, flags=<value optimized out>, private_data=<value optimized out>) at smbd/process.c:2126 connection_ handler (ev=<value optimized out>, fde=<value optimized out>, flags=<value optimized out>, private_data=<value optimized out>) at smbd/process.c:2141 0x7fff13d66d90, write_fds= 0x7fff13d66d10) at lib/events.c:157 connection_ loop_once () at smbd/process.c:844 connection (ev=<value optimized out>, fde=<value optimized out>, flags=<value optimized out>, private_data=<value optimized out>) at smbd/server.c:438 0x7fff13d670b0, write_fds= 0x7fff13d67030) at lib/events.c:157
0x00007f9b6bb191ae in waitpid () from /lib/x86_
#0 0x00007f9b6bb191ae in waitpid () from /lib/x86_
#1 0x00007f9b6baadd6e in ?? () from /lib/x86_
#2 0x00007f9b6e9fec53 in smb_panic (why=<value optimized out>) at lib/util.c:1471
#3 0x00007f9b6e9ee2e9 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 0x00007f9b6baee5d1 in ?? () from /lib/x86_
#7 0x00007f9b6e9d511e in rep_strlcpy (d=0x7fff13d66918 "", s=0x0, bufsize=256) at ../lib/
#8 0x00007f9b6ea0b434 in connections_
#9 0x00007f9b6e78c676 in yield_connection (conn=0x7f9b709
#10 0x00007f9b6e7fd7f6 in close_cnum (conn=0x7f9b709
#11 0x00007f9b6e7b916d in reply_tdis (req=0x7f9b7095
#12 0x00007f9b6e7f8bb5 in switch_message (type=113 'q', req=0x7f9b70955b00, size=39) at smbd/process.c:1404
#13 0x00007f9b6e7f8f57 in construct_reply (inbuf=<value optimized out>, nread=39, unread_bytes=0, seqnum=0, encrypted=false, deferred_pcd=0x0, conn=<value optimized out>) at smbd/process.c:1436
#14 process_smb (inbuf=<value optimized out>, nread=39, unread_bytes=0, seqnum=0, encrypted=false, deferred_pcd=0x0, conn=<value optimized out>) at smbd/process.c:1509
#15 0x00007f9b6e7f93da in smbd_server_
#16 smbd_server_
#17 0x00007f9b6ea0e303 in run_events (ev=0x7f9b7086d430, selrtn=1, read_fds=
#18 0x00007f9b6e7fa936 in smbd_server_
#19 smbd_process () at smbd/process.c:2455
#20 0x00007f9b6ecf991e in smbd_accept_
#21 0x00007f9b6ea0e303 in run_events (ev=0x7f9b7086d430, selrtn=1, read_fds=
#22 0x00007f9b6ea0e4f8 in s3_event_loop_once (ev=0x7f9b7086d430, location=<valu...