Comment 31 for bug 286119

Revision history for this message
benbennett (benbennett) wrote : Re: firefox 3.0.3 crashes (no SIG) on most pages w images: 8.10beta AMD64

I have attached the patch from the samba bug(https://bugzilla.samba.org/show_bug.cgi?id=5904) it fixed the problem on my ibex x64 box but I think the upstream bug has the wrong component listed, I think it should be winbind as the component. After building I am pretty sure you just need to install the winbind*.deb package and that is all, it fixed the problem for me. Write back if I am missing anything. I would submit a package but I have no clue how to do it?
To build packages:
sudo apt-get install build-essential fakeroot dpkg-dev
mkdir -p ~/installs/samba/
cd ~/installs/samba
apt-get source samba (Note no sudo here , do want the files to be owned by root)
sudo apt-get build-dep samba
dpkg-source -x samba_3.2.3-1ubuntu3.3.dsc
cd samba-3.2.3
patch -p1 --dry-run < samba_bug5904.patch
(if it says: patching file source/nsswitch/wins.c )
patch -p1 < samba_bug5904.patch
dpkg-buildpackage -rfakeroot -b
sudo dpkg -i ../winbind_3.2.3-1ubuntu3.3_amd64.deb
add the wins section to your /etc/nsswitch.conf
sudo /etc/init.d/winbind restart
sudo /etc/init.d/networking restart

Make sure you restart any programs that would be using dns.

Only problem I see is my browser "seems" to run slower with wins enabled, but I have no quantitative proof only qualitative.

Overall I think they had a threading issue in samba that causes the crash , the patch puts a mutex in and some other things.