Bug#342861: Bug report from samba panic action script: Segfault in Samba
Package: samba Priority: optional Section: net Installed-Size: 5928 Maintainer: Eloy A. Paris [EMAIL PROTECTED] Architecture: i386 Version: 3.0.14a-6ubuntu1 I got an email from root regarding a segfault in nmbd. Nmbd was down. Restarted nmbd and resend this message to [EMAIL PROTECTED] as it asks for. My configuration is almost the default. My smb.conf is attached to this email. smbd listens only to 127.0.0.1 and nmbd listens to some more according standard directives. I have one user at the time (me) via an SSH tunnel. The automatic email follows: === The Samba 'panic action' script, /usr/share/samba/panic-action, was called for pid 8405 (/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 occured. You are encouraged to submit this information as a bug report to Debian. For information about the procedure for submitting bug reports , please see http://www.debian.org/Bugs/Reporting or the reportbug(1) manpage. (no debugging symbols found) Using host libthread_db library /lib/tls/i686/cmov/libthread_db.so.1. (no debugging symbols found) `system-supplied DSO at 0xe000' has disappeared; keeping its symbols. (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) [Thread debugging using libthread_db enabled] [New Thread -1212614976 (LWP 8405)] (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) 0xe410 in __kernel_vsyscall () #0 0xe410 in __kernel_vsyscall () #1 0xb7d1a543 in waitpid () from /lib/tls/i686/cmov/libc.so.6 #2 0xb7cc43d9 in strtold_l () from /lib/tls/i686/cmov/libc.so.6 #3 0x080c719e in smb_panic2 () #4 0x080c72c0 in smb_panic () #5 0x080b5e4a in debug_parse_levels () #6 signal handler called #7 0x08078b8a in find_workgroup_on_subnet () #8 0x08073d95 in write_browse_list () #9 0x08061436 in queue_dns_query () #10 0x08061a33 in main () # # Sample configuration file for the Samba suite for Debian GNU/Linux. # # # This is the main Samba configuration file. You should read the # smb.conf(5) manual page in order to understand the options listed # here. Samba has a huge number of configurable options most of which # are not shown in this example # # Any line which starts with a ; (semi-colon) or a # (hash) # is a comment and is ignored. In this example we will use a # # for commentary and a ; for parts of the config file that you # may wish to enable # # NOTE: Whenever you modify this file you should run the command # testparm to check that you have not many any basic syntactic # errors. # #=== Global Settings === [global] ## Browsing/Identification ### # Change this to the workgroup/NT-domain name your Samba server will part of workgroup = MSHOME # server string is the equivalent of the NT Description field server string = %h server (Samba, Ubuntu) # Windows Internet Name Serving Support Section: # WINS Support - Tells the NMBD component of Samba to enable its WINS Server ; wins support = no # WINS Server - Tells the NMBD components of Samba to be a WINS Client # Note: Samba can be either a WINS Server, or a WINS Client, but NOT both ; wins server = w.x.y.z # This will prevent nmbd to search for NetBIOS names through DNS. dns proxy = no # What naming service and in what order should we use to resolve host names # to IP addresses ; name resolve order = lmhosts host wins bcast Debugging/Accounting # This tells Samba to use a separate log file for each machine # that connects log file = /var/log/samba/log.%m # Put a capping on the size of the log files (in Kb). max log size = 1000 # If you want Samba to only log through syslog then set the following # parameter to 'yes'. ; syslog only = no # We want Samba to log a minimum amount of information to syslog. Everything # should go to /var/log/samba/log.{smbd,nmbd} instead. If you want to log # through syslog you should set the following parameter to something higher. syslog = 0 # Do something sensible when Samba crashes: mail the admin a backtrace panic action = /usr/share/samba/panic-action %d interfaces = 127.0.0.1 bind interfaces only = 1 ### Authentication ### # security = user is always a good idea. This will require a Unix account # in this server for every user accessing the server. See # /usr/share/doc/samba-doc/htmldocs/ServerType.html in the samba-doc # package
Bug#342861: Bug report from samba panic action script: Segfault in Samba
On Sun, Dec 11, 2005 at 12:55:32PM +0100, Carl Ekman wrote: Sorry, the Ubuntu package shouldn't be asking you to submit reports to Debian (though this is partially our fault for not making this clear in the Oh. Sorry. I'll submit it to ubuntu aswell. I'll look for the time to find the right person to point this issue out to. I thought it was a bit odd that you shared bug management... interfaces = 127.0.0.1 bind interfaces only = 1 This completely cripples nmbd, and makes it useless; so yes, nmbd objects. Oh, it also makes samba as a whole pretty useless, since file *sharing* usually means you have some other machine you want to share with, and your smb.conf is configured so that there never is one. It is configured this way only on my machine, it is not a default. I do this because I use samba through an SSH tunnel from my laptop. However, I do not think that nmbd should segfault anyway. :) Actually, it probably doesn't segfault. These mails are triggered by other error conditions that just segfaults, including failed assertions within the Samba code; the subject line of that email should probably be changed... Cheers, -- Steve Langasek Give me a lever long enough and a Free OS Debian Developer to set it on, and I can move the world. [EMAIL PROTECTED] http://www.debian.org/ signature.asc Description: Digital signature