GNOME Bugzilla – Bug 695354
[3.7.12] gtkprintdialog hangs in new avahi code
Last modified: 2014-12-09 09:07:07 UTC
Using gtk+ 3.7.12, if I open the gtkprintdialog in gedit, the cursor starts spinning and the dialog doesn't respond to interaction (it might timeout after some time but after a minute it's still not back): stacktrace from gedit after trying to select a printer in the print dialog: "#0 0xb76e5424 in __kernel_vsyscall ()
+ Trace 231604
Hi Sebastien, does the dialog show you printers advertised on Avahi before it stops to respond? Does it stop to respond when you are trying to select an Avahi printer? What does "avahi-browse -r _ipp._tcp" and "avahi-browse -r _ipps._tcp" returns to you? It seems that it get stuck when the CUPS backend tries to connect to the server on which the printer is installed. Is the server accessible (pingable)? Regards Marek
Hey Marek, > does the dialog show you printers advertised on Avahi before it stops to respond? the dialog lists 3 entries: - print to file - samsung-clp-315 (seems avahi detected, but by cups not gtk since it was there already with 3.7.10) - samsung-clp-325 (I manually added this one) The printing panel says that clp-315's ip is "shared-printer.local" clp-325's ip is "shared-printer" > Does it stop to respond when you are trying to select an Avahi printer? > What does "avahi-browse -r _ipp._tcp" and "avahi-browse -r _ipps._tcp" returns > to you? > It seems that it get stuck when the CUPS backend tries to connect to the server > on which the printer is installed. Is the server accessible (pingable)? Ok, sorry but it stopped reproducing the issue at the moment, I will try to figure if it's due to the state of the remote machine and what's the state of the machine when it happens (the printer is shared on a desktop is not always turned on)
Hi, I've filled bug https://bugzilla.gnome.org/show_bug.cgi?id=695714 which is similar to this one. I think that the patch there is able to prevent print dialog from those hangs you see. But I think that it is not the same bug. Marek
Sebastian, still seeing this after the fix for bug 695714 ?
I didn't see that bug for a while, assuming it has been fixed and closing it, thanks