system-config-printer.py crashed with SIGSEGV in _nss_mdns4_minimal_gethostbyname2_r()

Bug #359088 reported by thukyd
110
This bug affects 8 people
Affects Status Importance Assigned to Milestone
glibc (Ubuntu)
Fix Released
Medium
Unassigned
samba (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: system-config-printer

jaunty, fresh updated (2009-04-10)
see above

did want to install a network (windows) printer.
The programm did crash, while trying to find it.
Manual installation over smb://Server/PrinterX did work well

ProblemType: Crash
Architecture: i386
CrashCounter: 1
DistroRelease: Ubuntu 9.04
ExecutablePath: /usr/share/system-config-printer/system-config-printer.py
InterpreterPath: /usr/bin/python2.6
Lpstat: Error: command ['lpstat', '-v'] failed with exit code 1: lpstat: No destinations added.
Lsusb:
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 002 Device 002: ID 03f0:1105 Hewlett-Packard ScanJet 5470c
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
MachineType:

Package: system-config-printer-gnome 1.1.3+git20090218-0ubuntu18
PackageArchitecture: all
Papersize: a4
ProcCmdLine: root=UUID=34fd65d3-d794-4e78-9ae7-b3c6de9e5c6a ro quiet splash
ProcCmdline: python /usr/share/system-config-printer/system-config-printer.py
ProcEnviron:
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.28-11.41-generic
Signal: 11
SourcePackage: system-config-printer
StacktraceTop:
 _nss_mdns4_minimal_gethostbyname2_r ()
 gethostbyname2_r () from /lib/tls/i686/cmov/libc.so.6
 ?? () from /lib/tls/i686/cmov/libc.so.6
 getaddrinfo () from /lib/tls/i686/cmov/libc.so.6
 ?? () from /usr/lib/libsmbclient.so.0
Title: system-config-printer.py crashed with SIGSEGV in _nss_mdns4_minimal_gethostbyname2_r()
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
thukyd (thukyd) wrote :
Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt (retraced)

StacktraceTop:_nss_mdns4_minimal_gethostbyname2_r (name=0xab25798 "HD-HLANC7A", af=2,
__gethostbyname2_r (name=0xab25798 "HD-HLANC7A", af=2,
gaih_inet (name=0xab25798 "HD-HLANC7A", service=0x0,
*__GI_getaddrinfo (name=0xab25798 "HD-HLANC7A",
internal_resolve_name (name=0xab25798 "HD-HLANC7A",

Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt (retraced)
Changed in system-config-printer (Ubuntu):
importance: Undecided → Medium
tags: removed: need-i386-retrace
visibility: private → public
Changed in system-config-printer (Ubuntu):
status: New → Triaged
Revision history for this message
Thierry Carrez (ttx) wrote :

A nearly identical crash in _nss_dns_gethostbyname2_r is tracked in bug 329974. I suspect it's coming from the same bug.

This seems to be affecting i386 only.
Opening a samba task since the crash is probably libsmbclient-related.

Revision history for this message
Thierry Carrez (ttx) wrote :

To anyone that can reproduce this bug on a Jaunty test system:
Could you test and install glibc 2.9-4ubuntu6.1~ppa1 from my PPA at https://launchpad.net/~ttx/+archive/ppa and let me know if it fixes the problem or not. You should upgrade the libc6 binary package (which should pull the libc6-i686 or libc6-amd64 and libc6-dev packages). Please reboot before testing to make sure you fully test the right glibc.

Revision history for this message
Chuck Short (zulcss) wrote :

It looks like a conflict between avahi and samba. According to this blog post, its apparently fixed in avahi:

http://michael.susens-schurter.com/blog/2006/11/29/mdns-crashes-samba/

Regards
chuck

Revision history for this message
Thierry Carrez (ttx) wrote :

Chuck: I fear it's more general than that. There is a trends towards _nss_*_gethostbyname_r crashes on jaunty/karmic. Failing to reproduce, I can't confirm but it might stem from bug 374674.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

I move it to glibc, but I do not mark it as duplicate, as there is no way to automaticaly pass over all the duplicates of this bug.

affects: system-config-printer (Ubuntu) → glibc (Ubuntu)
Revision history for this message
Thierry Carrez (ttx) wrote :

glibc was updated in karmic removing the problematic patch. Would be good to confirm that the problem is gone on karmic now.

Revision history for this message
Thierry Carrez (ttx) wrote :

This is believed to be fixed in karmic by bug 374674 fix. Please reopen if you can reproduce this on a current karmic setup.

Changed in glibc (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
Thierry Carrez (ttx) wrote :

Not a samba bug.

Changed in samba (Ubuntu):
status: New → Invalid
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.