The Samba 'panic action' script, /usr/share/samba/panic-action,
was called for pid 8377 (/usr/sbin/nmbd).
Below is a backtrace for this process generated with gdb, which shows
the state of the program at the time the error occurred.
If the problem persists, you are encouraged to first install the
samba-dbg package which contains the debugging symbols for samba
binaries. Then, submit the provided information as a bug report to Ubuntu.
For information about the procedure for submitting bug reports, please
see http://www.ubuntulinux.org/support/bugs/document_view
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1211996480 (LWP 8377)]
0xffffe410 in __kernel_vsyscall ()
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb7db7933 in waitpid () from /lib/tls/i686/cmov/libc.so.6
#2 0xb7d613c9 in strtold_l () from /lib/tls/i686/cmov/libc.so.6
#3 0x080cc403 in smb_panic2 (
why=0xfffffe00 <Address 0xfffffe00 out of bounds>, decrement_pid_count=1)
at lib/util.c:1545
#4 0x080cc525 in smb_panic (why=0xfffffe00 <Address 0xfffffe00 out of bounds>)
at lib/util.c:1506
#5 0x080b8624 in push_ascii (dest=0xfffffe00,
src=0x818bd00 "ns1 server (Samba, Ubuntu)", dest_len=4294967295, flags=5)
at lib/charcnv.c:844
#6 0x08073c63 in send_announcement (subrec=0x81897d8,
announce_type=<value optimized out>, from_name=0x818bbfc "NS1",
to_name=0x0, to_type=0, to_ip={s_addr = 0}, announce_interval=-1078055348,
server_name=0xfffffe00 <Address 0xfffffe00 out of bounds>,
server_type=104963,
server_comment=0xfffffe00 <Address 0xfffffe00 out of bounds>)
at nmbd/nmbd_sendannounce.c:119
#7 0x08073e2a in send_host_announcement (subrec=0x81897d8, work=0x8189910,
servrec=0x818bbf0) at nmbd/nmbd_sendannounce.c:210
#8 0x08074167 in announce_my_server_names (t=1195196102)
at nmbd/nmbd_sendannounce.c:257
#9 0x08062b7d in main (argc=-512, argv=0xbfbe34e4) at nmbd/nmbd.c:449
Binary package hint: samba
Running 6.06 LTS, I did a routine update/upgrade and now Samba will no longer start. The system sends this email:
------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ---
The Samba 'panic action' script, /usr/share/ samba/panic- action,
was called for pid 8377 (/usr/sbin/nmbd).
Below is a backtrace for this process generated with gdb, which shows
the state of the program at the time the error occurred.
If the problem persists, you are encouraged to first install the www.ubuntulinux .org/support/ bugs/document_ view
samba-dbg package which contains the debugging symbols for samba
binaries. Then, submit the provided information as a bug report to Ubuntu.
For information about the procedure for submitting bug reports, please
see http://
Using host libthread_db library "/lib/tls/ i686/cmov/ libthread_ db.so.1" . i686/cmov/ libc.so. 6 i686/cmov/ libc.so. 6 pid_count= 1) 4294967295, flags=5) type=<value optimized out>, from_name=0x818bbfc "NS1", interval= -1078055348, name=0xfffffe00 <Address 0xfffffe00 out of bounds>, type=104963, comment= 0xfffffe00 <Address 0xfffffe00 out of bounds>) sendannounce. c:119 announcement (subrec=0x81897d8, work=0x8189910, 0x818bbf0) at nmbd/nmbd_ sendannounce. c:210 my_server_ names (t=1195196102) sendannounce. c:257
[Thread debugging using libthread_db enabled]
[New Thread -1211996480 (LWP 8377)]
0xffffe410 in __kernel_vsyscall ()
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb7db7933 in waitpid () from /lib/tls/
#2 0xb7d613c9 in strtold_l () from /lib/tls/
#3 0x080cc403 in smb_panic2 (
why=0xfffffe00 <Address 0xfffffe00 out of bounds>, decrement_
at lib/util.c:1545
#4 0x080cc525 in smb_panic (why=0xfffffe00 <Address 0xfffffe00 out of bounds>)
at lib/util.c:1506
#5 0x080b8624 in push_ascii (dest=0xfffffe00,
src=0x818bd00 "ns1 server (Samba, Ubuntu)", dest_len=
at lib/charcnv.c:844
#6 0x08073c63 in send_announcement (subrec=0x81897d8,
announce_
to_name=0x0, to_type=0, to_ip={s_addr = 0}, announce_
server_
server_
server_
at nmbd/nmbd_
#7 0x08073e2a in send_host_
servrec=
#8 0x08074167 in announce_
at nmbd/nmbd_
#9 0x08062b7d in main (argc=-512, argv=0xbfbe34e4) at nmbd/nmbd.c:449
------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ---
From /var/log/ samba/log. nmbd:
[2007/11/15 22:55:02, 0] nmbd/nmbd. c:main( 727) c:smb_panic2( 1544) samba/panic- action 8377] c:smb_panic2( 1552) c:smb_panic2( 1554) c:smb_panic2( 1562) nmbd(smb_ panic2+ 0x78) [0x80cc328] nmbd(smb_ panic+0x19) [0x80cc525] nmbd(push_ ascii+0xca) [0x80b8624] nmbd(announce_ my_server_ names+0xbc) [0x8074167] nmbd(main+ 0x4ec) [0x8062b7d] i686/cmov/ libc.so. 6(__libc_ start_main+ 0xd2) [0xb7d40ea2]
Netbios nameserver version 3.0.22 started.
Copyright Andrew Tridgell and the Samba Team 1992-2006
[2007/11/15 22:55:02, 0] lib/util.
smb_panic(): calling panic action [/usr/share/
[2007/11/15 22:55:02, 0] lib/util.
smb_panic(): action returned status 0
[2007/11/15 22:55:02, 0] lib/util.
PANIC: push_ascii - dest_len == -1
[2007/11/15 22:55:02, 0] lib/util.
BACKTRACE: 9 stack frames:
#0 /usr/sbin/
#1 /usr/sbin/
#2 /usr/sbin/
#3 /usr/sbin/nmbd [0x8073c63]
#4 /usr/sbin/nmbd [0x8073e2a]
#5 /usr/sbin/
#6 /usr/sbin/
#7 /lib/tls/
#8 /usr/sbin/nmbd [0x80614a1]
------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ---
/etc/samba/smb.conf (comments removed):
[global] samba/log. %m samba/panic- action %d snew\sUNIX\ spassword: * %n\n *Retype\ snew\sUNIX\ spassword: * %n\n *password\ supdated\ ssuccessfully* . samba/printers
workgroup = WORKGROUP
server string = %h server (Samba, Ubuntu)
dns proxy = no
interfaces = 127.0.0.0/8 eth0
bind interfaces only = true
log file = /var/log/
max log size = 1000
syslog = 0
panic action = /usr/share/
security = user
encrypt passwords = true
passdb backend = tdbsam
obey pam restrictions = yes
invalid users = root
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\
load printers = yes
printing = cups
printcap name = cups
socket options = TCP_NODELAY
[printers]
comment = All Printers
browseable = yes
path = /tmp
printable = yes
public = yes
writable = no
create mode = 0700
[print$]
comment = Printer Drivers
path = /var/lib/
browseable = yes
read only = yes
guest ok = yes
------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ---