Bug 56392

Summary: /etc/hosts differences crash kdeprint/kprinter
Product: [Applications] kdeprint Reporter: wilbert
Component: generalAssignee: Thiago Macieira <thiago>
Status: CLOSED DUPLICATE    
Severity: crash CC: jlayt, qt-bugs
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:

Description wilbert 2003-03-25 17:25:35 UTC
Version:           3.1.1 (using KDE KDE 3.1.1)
Installed from:    Gentoo Packages
Compiler:          gcc versie 3.2.1 
OS:          Linux

When I have a line
127.0.0.1		localhost  obelix.wbsoft.nl
in /etc/hosts, kprinter crashes while it tries to fetch data from the local CUPS server, saying "kdecore (KSocket): ERROR: KExtendedSocket::connectionEvent() called 
 but no data available!"

When I change the line to
127.0.0.1		obelix.wbsoft.nl localhost
it works fine.
Comment 1 Thiago Macieira 2003-03-25 18:33:30 UTC
Somehow, and I don't know why, the QDns used by KExtendedSocket finish their 
lookups but return no results. This is also similar to bug #56263, probably even the 
same cause. 
 
Comment 2 wilbert 2003-03-28 10:38:53 UTC
The problem is rather severe, because _any_application_ will crash as soon the print dialog is 
brought up. 
Comment 3 Thiago Macieira 2003-03-28 18:06:51 UTC
Bug fixed 

*** This bug has been marked as a duplicate of 56263 ***
Comment 4 John Layt 2008-12-31 12:54:11 UTC
Closing old Resolved status bug.