Bug#448623: gnome programs hang when trying to show printer list and network printer is not reachable

Soeren Sonnenburg bugreports at nn7.de
Wed Oct 31 12:51:53 UTC 2007


On Wed, 2007-10-31 at 13:45 +0100, Josselin Mouette wrote:
> reassign 448623 libgtk2.0-0
> thanks
> 
> Le mardi 30 octobre 2007 à 14:55 +0100, Soeren Sonnenburg a écrit :
> > given one has a network printer which is currently not reachable
> > although the ip address of that printer can be resolved (but ping
> > 		printer just hangs). in that case opening evince/eog etc and
> > trying to print will make the printer dialog and the application hang
> > when clicking on the non-pingable but resolvable printer name. this is
> > especially bad as e.g. evince remembers the last used printer which will
> > immediately cause it to hang.
> > 
> > I used gdb to attach to evince when it hangs and obtained the following
> > backtrace. Here the printer name is 'moppel' running on the printhost
> > moppel.not.reachable .
> 
> > Thread 1 (Thread 0xb69e26c0 (LWP 15056)):
> > #0  0xb7f15410 in __kernel_vsyscall ()
> > #1  0xb712a498 in connect () from /lib/i686/cmov/libpthread.so.0
> > #2  0xb541c89c in httpAddrConnect (addrlist=0x850d800, sock=0x85a03f0) at http-addrlist.c:114
> > #3  0xb541b1c6 in httpReconnect (http=0x85a03f0) at http.c:1657
> > #4  0xb541b8c7 in httpConnectEncrypt (host=0x852aab0 "moppel.not.reachable", port=631, encryption=HTTP_ENCRYPT_IF_REQUESTED) at http.c:440
> > #5  0xb546e6dc in gtk_cups_request_new (connection=0x0, req_type=GTK_CUPS_GET, operation_id=0, data_io=0x852aa30, server=0x842a010 "moppel.not.reachable", resource=0x8429d48 "/printers/moppel.ppd")
> >     at /tmp/buildd/gtk+2.0-2.12.1/modules/printbackends/cups/gtkcupsutils.c:143
> > #6  0xb546cb3c in cups_printer_request_details (printer=0x847fa38) at /tmp/buildd/gtk+2.0-2.12.1/modules/printbackends/cups/gtkprintbackendcups.c:1382
> > #7  0xb7a3b59e in IA__gtk_printer_request_details (printer=0x847fa38) at /tmp/buildd/gtk+2.0-2.12.1/gtk/gtkprinter.c:759
> 
> How is that printer configured? I understand it isn't done through a
> local CUPS server.

No, there is a cups server running (listening on localhost and allowing
any connection).

> Could you send us your /etc/cups/client.conf file?

the only line there is

Encryption IfRequested






More information about the pkg-gnome-maintainers mailing list