Bug 175707

Summary: nmdb crash when wins proxy and wins support = yes
Product: Red Hat Enterprise Linux 4 Reporter: quekky <redhat>
Component: sambaAssignee: Jay Fenlason <fenlason>
Status: CLOSED WONTFIX QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0CC: jfeeney, nalin, zwlu
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-09-25 04:00:09 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description quekky 2005-12-14 04:11:22 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)

Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
#smb.conf
[global]
wins proxy = yes 
wins support = yes

Actual Results:  #nmdb.log
*** glibc detected *** free(): invalid next size (fast): 0x09a182e8 ***

Additional info:

Comment 1 zwlu 2006-08-01 17:16:07 UTC
I hit this bug also on July 31, 2006 after I migrated my server from
RHEL3 to RHEL4. I have spent nearly one day to figure this out.
This bug exists for i386 and x86_64.

Comment 2 RHEL Program Management 2006-08-18 16:51:58 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.

Comment 3 Nalin Dahyabhai 2006-08-31 22:08:11 UTC
Can we get more information about your network setup and anything specific
you're doing which triggers the crash?  I tried the simple "turn both on and
restart" case, and nmbd (3.0.10-1.4E.2) didn't crash outright, and it kept
running when I ran a simple 'nmblookup' command.  Hopefully more info will help
us reproduce this here....

Comment 5 David Herselman 2006-09-12 23:44:41 UTC
We can confirm the existence of this incredibly frustrating bug. The latest 
samba RPMs (3.0.10-1.4E.9) still don't address this problem.

We notice this bug when downgrading from our custom compiled Samba RPMs back
to the RHEL ones and then waiting a couple of minutes... We have Samba acting
as a domain controller for Windows XP machines and after a while one can
no longer resolve security groups and/or users from the domain but restarting
samba resolves the problem.

/var/log/samba/nmbd.log contains the following when nmbd dies:
  *** glibc detected *** free(): invalid next size (fast): 0x09670d10 ***

Let me know if you want my smb.conf configuration file...

Comment 6 quekky 2006-09-25 03:51:44 UTC
Did a test today on a new RHEL4 update 3 installation. 

kernel 2.6.9-34.EL
samba 3.0.10-1.4E.6

enviroment is the test server, a RHEL2.1 with DHCP and 1 Windows XP SP2
connected in vmware.

smb.conf is the default installation, added with 2 lines in the [global]:
wins proxy = yes 
wins support = yes


/var/log/samba/nmbd.log have only the following:
  Netbios nameserver version 3.0.10-1.4E.6 started.
  Copyright Andrew Tridgell and the Samba Team 1994-2004
*** glibc detected *** free(): invalid next size (fast): 0x09a54728 ***

Comment 7 RHEL Program Management 2006-09-25 04:00:09 UTC
Development Management has reviewed and declined this request.  You may appeal
this decision by reopening this request. 

Comment 8 quekky 2006-12-04 05:50:47 UTC
Retest with RHEL4 Update 4, samba 3.0.10-1.4E.9

enviroment is the test server and 1 Windows XP SP2 with lastest patch connected
in vmware.

smb.conf is the default installation, added with 2 lines in the [global]:
wins proxy = yes 
wins support = yes

Added 1 user using adduser and smbpasswd.

When the Win XP browse the samba home dir, /var/log/samba/nmbd.log have "***
glibc detected ***"

Comment 9 Jose Plans 2007-08-08 16:58:56 UTC
Is this not dup of 172713 ?