Summary: | net-print/cups crash-1.4.2-r1 when www-client/firefox is resuming cups session | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Joseph <syscon780> |
Component: | Current packages | Assignee: | Printing Team <printing> |
Status: | RESOLVED NEEDINFO | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Joseph
2010-01-16 16:43:16 UTC
I've tried to delay cups start up script: cupsd depend() { use net need dbus after * } but it make no difference it boot show it started OK but the process is not running. Can any of you try it: open a tab in firefox "localhost:631" (without closing the firefox) restart your computer (so the firefox will be open when you next time login) Is the cups still running after restarting? The cupsd is closed by: "cupsdAcceptClient: 11" ??? Here is a log from cups error.log: D [19/Jan/2010:09:39:59 -0700] cupsdAcceptClient: 11 from localhost:631 (IPv4) D [19/Jan/2010:09:39:59 -0700] cupsdReadClient: 11 GET /favicon.ico HTTP/1.1 D [19/Jan/2010:09:39:59 -0700] cupsdAuthorize: No authentication data provided. D [19/Jan/2010:09:39:59 -0700] cupsdCloseClient: 11 D [19/Jan/2010:09:39:59 -0700] cupsdCloseClient: -607871304 It only happens in xfce4, it doesn't effect KDE How about changing LogLevel to 'debug' in your cupsd.conf, and then attach logs from a working KDE startup vs a broken xfce4 startup I just change "info" to "debug" in cupcd.conf and cupsd sript to --verbose here is the output: Code: I [19/Jan/2010:09:39:31 -0700] Listening to ::1:631 (IPv6) I [19/Jan/2010:09:39:31 -0700] Listening to 127.0.0.1:631 (IPv4) I [19/Jan/2010:09:39:31 -0700] Listening to /var/run/cups/cups.sock (Domain) I [19/Jan/2010:09:39:31 -0700] Remote access is disabled. I [19/Jan/2010:09:39:31 -0700] Loaded configuration file "/etc/cups/cupsd.conf" I [19/Jan/2010:09:39:31 -0700] Using default TempDir of /var/spool/cups/tmp... I [19/Jan/2010:09:39:31 -0700] Configured for up to 100 clients. I [19/Jan/2010:09:39:31 -0700] Allowing up to 100 client connections per host. I [19/Jan/2010:09:39:31 -0700] Using policy "default" as the default! I [19/Jan/2010:09:39:31 -0700] Full reload is required. I [19/Jan/2010:09:39:31 -0700] Loaded MIME database from '/etc/cups': 35 types, 39 filters... I [19/Jan/2010:09:39:31 -0700] Loading job cache file "/var/cache/cups/job.cache"... I [19/Jan/2010:09:39:31 -0700] Full reload complete. I [19/Jan/2010:09:39:31 -0700] Cleaning out old temporary files in "/var/spool/cups/tmp"... I [19/Jan/2010:09:39:31 -0700] Listening to ::1:631 on fd 4... I [19/Jan/2010:09:39:31 -0700] Listening to 127.0.0.1:631 on fd 6... I [19/Jan/2010:09:39:31 -0700] Listening to /var/run/cups/cups.sock on fd 7... I [19/Jan/2010:09:39:31 -0700] Resuming new connection processing... D [19/Jan/2010:09:39:31 -0700] Discarding unused server-started event... D [19/Jan/2010:09:39:32 -0700] Report: clients=0 D [19/Jan/2010:09:39:32 -0700] Report: jobs=0 D [19/Jan/2010:09:39:32 -0700] Report: jobs-active=0 D [19/Jan/2010:09:39:32 -0700] Report: printers=0 D [19/Jan/2010:09:39:32 -0700] Report: printers-implicit=0 D [19/Jan/2010:09:39:32 -0700] Report: stringpool-string-count=165 D [19/Jan/2010:09:39:32 -0700] Report: stringpool-alloc-bytes=6080 D [19/Jan/2010:09:39:32 -0700] Report: stringpool-total-bytes=3592 cupsd start fine but when I open a firefox with one of the tab pointing to: localhost:631 (cups) and restart the computer without shutting down firefox (having localhost:631 tab open) the cups is being shut down by: "cupsdAcceptClient: 11" log: Code: D [19/Jan/2010:09:39:59 -0700] cupsdAcceptClient: 11 from localhost:631 (IPv4) D [19/Jan/2010:09:39:59 -0700] cupsdReadClient: 11 GET /favicon.ico HTTP/1.1 D [19/Jan/2010:09:39:59 -0700] cupsdAuthorize: No authentication data provided. D [19/Jan/2010:09:39:59 -0700] cupsdCloseClient: 11 D [19/Jan/2010:09:39:59 -0700] cupsdCloseClient: -607871304 Who is "cupsdAcceptClient: 11"??? Here are steps to reproduce this "bug" (only on XFCE4): 1.) open firefox tab "localhost:631" (don't close the firefox or the "localhost:631" tab) and restart your computer; so the firefox tries to open "localhost:631" upon log-in. The "cupsd" closes after firefox opens the "localhost:631" I can reproduce it on two different computers running amd64 It only happens in xfce4, it doesn't effect KDE Here is a link to the forum where I posted this information. I've tried to update the subject line to reflect your latest information on how to reproduce the problem. Also, here's the forum topic that you were intending to post, though it looks like you have included the relevant info in this bug already (which is good): http://forums.gentoo.org/viewtopic-t-811389-highlight-cups+xfce4.html Well, Xfce doesn't do anything printing related since 4.8.x, even xfprint was removed in favour of GTK+ native printing dialogs. Removing Xfce from summary. No mozilla issue here, this is strickly cups. Do you still have this problem with current cups? (In reply to comment #8) > Do you still have this problem with current cups? No reply for some months... |