[Bug 805937] [NEW] smbd segfaults at least twice a day
Edson Manners
805937 at bugs.launchpad.net
Tue Jul 5 13:01:00 UTC 2011
Public bug reported:
The Samba 'panic action' script, /usr/share/samba/panic-action,
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://launchpad.net/ubuntu/+source/samba/+filebug
[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/replace/replace.c:69
#8 0x00007fb0a6db0494 in connections_fetch_entry (mem_ctx=0x0, conn=0x7fb0a8dd9770, name=0x0) at lib/conn_tdb.c:65
#9 0x00007fb0a6b2d666 in yield_connection (conn=0x7fb0a8dd9770, name=0x0) at smbd/connection.c:33
#10 0x00007fb0a6b9b496 in close_cnum (conn=0x7fb0a8dd9770, vuid=100) at smbd/service.c:1256
#11 0x00007fb0a6b34d1c in conn_close_all (sconn=<value optimized out>) at smbd/conn.c:185
#12 0x00007fb0a709ed25 in exit_server_common (how=SERVER_EXIT_NORMAL, reason=0x7fb0a70c9047 "failed to receive smb request") at smbd/server.c:852
#13 0x00007fb0a709ef4e in exit_server_cleanly (explanation=0x0) at smbd/server.c:931
#14 0x00007fb0a6b9a8ab in smbd_server_connection_read_handler (ev=<value optimized out>, fde=<value optimized out>, flags=<value optimized out>, private_data=<value optimized out>) at smbd/process.c:2115
#15 smbd_server_connection_handler (ev=<value optimized out>, fde=<value optimized out>, flags=<value optimized out>, private_data=<value optimized out>) at smbd/process.c:2137
#16 0x00007fb0a6db3422 in run_events (ev=0x7fb0a8d21430, selrtn=1, read_fds=0x7fffe1374120, write_fds=0x7fffe13740a0) at lib/events.c:156
#17 0x00007fb0a6b995f0 in smbd_server_connection_loop_once () at smbd/process.c:840
#18 smbd_process () at smbd/process.c:2451
#19 0x00007fb0a709f1ee in smbd_accept_connection (ev=<value optimized out>, fde=<value optimized out>, flags=<value optimized out>, private_data=<value optimized out>) at smbd/server.c:438
#20 0x00007fb0a6db3422 in run_events (ev=0x7fb0a8d21430, selrtn=1, read_fds=0x7fffe1374430, write_fds=0x7fffe13743b0) at lib/events.c:156
#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=0x7fb0a72a5658 "smbd/server.c:726") at ../lib/tevent/tevent.c:497
#23 0x00007fb0a709fed3 in smbd_parent_loop (argc=<value optimized out>, argv=0x7fffe13747b0) at smbd/server.c:726
#24 main (argc=<value optimized out>, argv=0x7fffe13747b0) at smbd/server.c:1316
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~dfsg-1ubuntu8.4
Candidate: 2:3.5.4~dfsg-1ubuntu8.4
Version table:
*** 2:3.5.4~dfsg-1ubuntu8.4 0
500 http://us.archive.ubuntu.com/ubuntu/ maverick-updates/main amd64 Packages
100 /var/lib/dpkg/status
2:3.5.4~dfsg-1ubuntu8.3 0
500 http://security.ubuntu.com/ubuntu/ maverick-security/main amd64 Packages
2:3.5.4~dfsg-1ubuntu8 0
500 http://us.archive.ubuntu.com/ubuntu/ maverick/main amd64 Packages
** Affects: samba (Ubuntu)
Importance: Undecided
Status: New
--
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/805937
Title:
smbd segfaults at least twice a day
Status in “samba” package in Ubuntu:
New
Bug description:
The Samba 'panic action' script, /usr/share/samba/panic-action,
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://launchpad.net/ubuntu/+source/samba/+filebug
[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/replace/replace.c:69
#8 0x00007fb0a6db0494 in connections_fetch_entry (mem_ctx=0x0, conn=0x7fb0a8dd9770, name=0x0) at lib/conn_tdb.c:65
#9 0x00007fb0a6b2d666 in yield_connection (conn=0x7fb0a8dd9770, name=0x0) at smbd/connection.c:33
#10 0x00007fb0a6b9b496 in close_cnum (conn=0x7fb0a8dd9770, vuid=100) at smbd/service.c:1256
#11 0x00007fb0a6b34d1c in conn_close_all (sconn=<value optimized out>) at smbd/conn.c:185
#12 0x00007fb0a709ed25 in exit_server_common (how=SERVER_EXIT_NORMAL, reason=0x7fb0a70c9047 "failed to receive smb request") at smbd/server.c:852
#13 0x00007fb0a709ef4e in exit_server_cleanly (explanation=0x0) at smbd/server.c:931
#14 0x00007fb0a6b9a8ab in smbd_server_connection_read_handler (ev=<value optimized out>, fde=<value optimized out>, flags=<value optimized out>, private_data=<value optimized out>) at smbd/process.c:2115
#15 smbd_server_connection_handler (ev=<value optimized out>, fde=<value optimized out>, flags=<value optimized out>, private_data=<value optimized out>) at smbd/process.c:2137
#16 0x00007fb0a6db3422 in run_events (ev=0x7fb0a8d21430, selrtn=1, read_fds=0x7fffe1374120, write_fds=0x7fffe13740a0) at lib/events.c:156
#17 0x00007fb0a6b995f0 in smbd_server_connection_loop_once () at smbd/process.c:840
#18 smbd_process () at smbd/process.c:2451
#19 0x00007fb0a709f1ee in smbd_accept_connection (ev=<value optimized out>, fde=<value optimized out>, flags=<value optimized out>, private_data=<value optimized out>) at smbd/server.c:438
#20 0x00007fb0a6db3422 in run_events (ev=0x7fb0a8d21430, selrtn=1, read_fds=0x7fffe1374430, write_fds=0x7fffe13743b0) at lib/events.c:156
#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=0x7fb0a72a5658 "smbd/server.c:726") at ../lib/tevent/tevent.c:497
#23 0x00007fb0a709fed3 in smbd_parent_loop (argc=<value optimized out>, argv=0x7fffe13747b0) at smbd/server.c:726
#24 main (argc=<value optimized out>, argv=0x7fffe13747b0) at smbd/server.c:1316
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~dfsg-1ubuntu8.4
Candidate: 2:3.5.4~dfsg-1ubuntu8.4
Version table:
*** 2:3.5.4~dfsg-1ubuntu8.4 0
500 http://us.archive.ubuntu.com/ubuntu/ maverick-updates/main amd64 Packages
100 /var/lib/dpkg/status
2:3.5.4~dfsg-1ubuntu8.3 0
500 http://security.ubuntu.com/ubuntu/ maverick-security/main amd64 Packages
2:3.5.4~dfsg-1ubuntu8 0
500 http://us.archive.ubuntu.com/ubuntu/ maverick/main amd64 Packages
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/805937/+subscriptions
More information about the foundations-bugs
mailing list