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

Bug #309539 reported by benbennett
4
Affects Status Importance Assigned to Milestone
samba (Ubuntu)
New
Undecided
Unassigned

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/libc.so.6
#1 0x00007f90f5f67b43 in abort () from /lib/libc.so.6
#2 0x00007f90dfc63c51 in talloc_free () from /usr/lib/libtalloc.so.1
#3 0x00007f90e0eb6f48 in ?? () from /lib/libnss_wins.so.2
#4 0x00007f90dfc63c92 in talloc_free () from /usr/lib/libtalloc.so.1
#5 0x00007f90e0eded02 in alloc_sub_basic () from /lib/libnss_wins.so.2
#6 0x00007f90e0edf26d in talloc_sub_basic () from /lib/libnss_wins.so.2
#7 0x00007f90e0e2ebe9 in ?? () from /lib/libnss_wins.so.2
#8 0x00007f90e0e2fa93 in lp_lockdir () from /lib/libnss_wins.so.2
#9 0x00007f90e0ed9972 in lock_path () from /lib/libnss_wins.so.2
#10 0x00007f90e0e84321 in receive_unexpected () from /lib/libnss_wins.so.2
#11 0x00007f90e0e86d2e in receive_nmb_packet () from /lib/libnss_wins.so.2
#12 0x00007f90e0e89530 in name_query () from /lib/libnss_wins.so.2
#13 0x00007f90e0e2c202 in _nss_wins_gethostbyname_r ()
   from /lib/libnss_wins.so.2
#14 0x00007f90e0e2c484 in _nss_wins_gethostbyname2_r ()
   from /lib/libnss_wins.so.2
#15 0x00007f90f6000f73 in ?? () from /lib/libc.so.6
#16 0x00007f90f600296e in getaddrinfo () from /lib/libc.so.6
#17 0x00007f90f565a828 in PR_GetAddrInfoByName () from /usr/lib/libnspr4.so.0d
#18 0x00007f90f4764b82 in ?? () from /usr/lib/xulrunner-1.9.0.4/libxul.so
#19 0x00007f90f5666dc3 in ?? () from /usr/lib/libnspr4.so.0d
#20 0x00007f90f6c5a3ea in start_thread () from /lib/libpthread.so.0

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 mozilla.org

Revision history for this message
Yossi Gil (yossi-gil) wrote :
Revision history for this message
Christian Perrier (bubulle) wrote : Please help testing *Debian* packages fixing these bugs in samba

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
reality.

These packages are apt-get'able:

deb http://pkg-samba.alioth.debian.org/packages-prospective/ ./
deb-src http://pkg-samba.alioth.debian.org/packages-prospective/ ./

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.

Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.