firefox 3.0.4 / 3.0.5 + libnss_wins ibex netswitch samba = firefox crash

Bug #309539 reported by benbennett on 2008-12-19
Affects Status Importance Assigned to Milestone
samba (Ubuntu)

Bug Description

Bug description :
Using firefox with wins enabled in /etc/netswitch.conf
# /etc/nsswitch.conf
hosts: files wins mdns4_minimal [NOTFOUND=return] dns mdns4
Causes firefox to crash over and over, on almost every site.
I don't know if this incorrect to add the wins section to the netswitch or what?
Removing the wins from the netswitch file and firefox works fine.

Backtrace :
#0 0x00007f90f5f65fd5 in raise () from /lib/
#1 0x00007f90f5f67b43 in abort () from /lib/
#2 0x00007f90dfc63c51 in talloc_free () from /usr/lib/
#3 0x00007f90e0eb6f48 in ?? () from /lib/
#4 0x00007f90dfc63c92 in talloc_free () from /usr/lib/
#5 0x00007f90e0eded02 in alloc_sub_basic () from /lib/
#6 0x00007f90e0edf26d in talloc_sub_basic () from /lib/
#7 0x00007f90e0e2ebe9 in ?? () from /lib/
#8 0x00007f90e0e2fa93 in lp_lockdir () from /lib/
#9 0x00007f90e0ed9972 in lock_path () from /lib/
#10 0x00007f90e0e84321 in receive_unexpected () from /lib/
#11 0x00007f90e0e86d2e in receive_nmb_packet () from /lib/
#12 0x00007f90e0e89530 in name_query () from /lib/
#13 0x00007f90e0e2c202 in _nss_wins_gethostbyname_r ()
   from /lib/
#14 0x00007f90e0e2c484 in _nss_wins_gethostbyname2_r ()
   from /lib/
#15 0x00007f90f6000f73 in ?? () from /lib/
#16 0x00007f90f600296e in getaddrinfo () from /lib/
#17 0x00007f90f565a828 in PR_GetAddrInfoByName () from /usr/lib/
#18 0x00007f90f4764b82 in ?? () from /usr/lib/xulrunner-
#19 0x00007f90f5666dc3 in ?? () from /usr/lib/
#20 0x00007f90f6c5a3ea in start_thread () from /lib/

Machine information
Description: Ubuntu 8.10
Release: 8.10
Linux xpslappy 2.6.27-10-generic #1 SMP Fri Nov 21 19:19:18 UTC 2008 x86_64 GNU/Linux
Mozilla Firefox 3.0.5, Copyright (c) 1998 - 2008

Yossi Gil (yossi-gil) wrote :

To Ubuntu Intrepid users experiencing these bugs:

For Debian, I prepared samba 3.2.5 packages that supposedly fix them:

  * Fix segfault whan accessign some NAS devices running old versions of Samba
    Closes: #500129
  * Fix process crush when using gethostbyname_r in several threads
    Closes: #509101, #510450

It would help a lot if you could test these packages. I suppose they
will work properly on Ubuntu Intrepid but I haven't check this in

These packages are apt-get'able:

deb ./
deb-src ./

Please note that using this source will upgrade any existing samba
binary package on your systems. No *other* package should be upgraded
by this operation.

If you use aptitude, I recommend you "simpulate" the upgrade:

aptitude update
aptitude -s upgrade

Please also note that reverting back to official Ubuntu packages would
be recommended after this test, otherwise you might be later left
with packages for which no more security updates will come.

Still, if some of you could test and report if issues are fixed, that
would help greatly to improve samba packages in Debian, which in turn
will participate to the improvement of samba packages in Ubuntu.

jeekajoo (jeekajoo) wrote :

I'm also affected by this bug using Intrepid Ibex, up to date.
Linux francois-desktop 2.6.27-9-generic #1 SMP Thu Nov 20 21:57:00 UTC 2008 i686 GNU/Linux

$ cat /etc/nsswitch.conf
# /etc/nsswitch.conf
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc-reference' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.

passwd: compat winbind
group: compat winbind
shadow: compat

hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4 wins
networks: files

protocols: db files
services: db files
ethers: db files
rpc: db files

netgroup: nis

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers