-
Notifications
You must be signed in to change notification settings - Fork 469
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cupsd don't accept return-code 0 from backend to finish the job #1892
Comments
CUPS.org User: mike Please attach the following files:
Also, what operating system, compiler, etc. are you using? |
CUPS.org User: d_ferdi hello, but i found nothing in the error log. i see later, this problem is also with all backends included with cups. goodby |
CUPS.org User: mike I still need to see the error_log file - run with the LogLevel set to "debug2"... |
CUPS.org User: d_ferdi hello, after the printjob is finished, the job is already active and not finished. i must abort it, to print the next job. i use version 1.2.2 at this time, because this version don't have this bug. goodby |
CUPS.org User: mike Well, I've diff'd the 1.2.2 and trunk code, and there are no differences that could account for the problem you are seeing. In addition, I am unable to duplicate the problem when using the "make test" test framework. What operating system, architecture, and compiler are you using? |
CUPS.org User: d_ferdi hello, if there are no changes in the code, the binaries must be the same, but they don't. and a diff of the source is not identical: i don't know, which of the changes affect cupsd, but one of the difference change one byte of the binary file! i have my own system with glibc-2.3.6 and use gcc 3.3.6 to compile the most programs, only programs, which make problems with this version, are compile with newer or older gcc. goodby |
CUPS.org User: mike You can't compare executable files to see if there have been any changes. File dates, version numbers, etc. all will change the executable image. I did a diff of the source code, and none of the signal or job processing code has been changed since 1.2.2. I'm guessing you are running on Linux. What processor are you using? |
CUPS.org User: d_ferdi hello, i don't know, why the new version don't work on this system. i can configure my system to get you access to cups or full access to a test system. i set up my second linux-server last days with a copy from first server and can test the program for this problem in the next days. the other system has only one cpu and the most components are the same. goodby |
CUPS.org User: mike Strange, what happens if you run a "make test" against 1.3/trunk? (my main devel system is a dual Xeon system...) |
CUPS.org User: d_ferdi hello, Starting scheduler: Scheduler is PID 20818; run debugger now if you need to. Press ENTER to continue... sheduler is ready and test wait for ready. but make test with version 1.2.2 has the same problem. goodby |
CUPS.org User: d_ferdi hello, you have time, to fix this problem. the problem is know and it gives a workaround. this is not the best, but it works. goodby |
CUPS.org User: mike OK, well, I am not able to reproduce your problems on either 1.2svn or trunk on any of our single or dual CPU systems... All of them pass the "make test" tests... Adding "one more line" to your output should have no effect... |
CUPS.org User: mike OK, I just reproduced this on trunk; it is getting stuck in cupsdUpdateJob()... Will track down and fix ASAP... |
CUPS.org User: mike Try the attached patch and let me know if it fixes things for you (seems to work for me here...) |
CUPS.org User: d_ferdi hello, finished jobs are deleted. goodby |
"cupsd.conf": AccessLog /var/log/cups/access.log Show general information in error_log.LogLevel info Allow remote accessPort 631 Show shared printers on the local network.Browsing On Allow remote administration...Order allow,deny Allow remote administration...Order allow,deny Allow remote access to the configuration files...Order allow,deny |
"str1892.patch": Index: client.c--- client.c (revision 5882)
/*
- */- errno = 0;
@@ -179,7 +172,6 @@
|
Version: 1.3-current
CUPS.org User: d_ferdi
hello,
i have a big problem with the aktual version which i download today.
this version don't accept the return-code 0 to finish the print-job.
after the job is printed, i must kill it, to print the next job.
first, i think i have a bug in the new backend-program and use a script, but this don't work. i look to the source from a backend, which comes with cups to see what is wrong, but i can't find any error.
after i reinstall the older version 1.2.2, it works fine.
goodby
The text was updated successfully, but these errors were encountered: