Skip to content
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

Recieving SIGABRT when printing lots on many printers #1833

Closed
michaelrsweet opened this issue Jul 11, 2006 · 4 comments
Closed

Recieving SIGABRT when printing lots on many printers #1833

michaelrsweet opened this issue Jul 11, 2006 · 4 comments
Labels
duplicate This issue or pull request already exists priority-high
Milestone

Comments

@michaelrsweet
Copy link
Collaborator

Version: 1.2.1
CUPS.org User: SmallOne

When printing LOTS on several queues on a client that polls 500 printers from two servers and builing implicit classes from them i get a SIGABRT after about 60 jobs spanning over 6 queues.

<---- snipp from error_log ----->
D [11/Jul/2006:14:09:14 +0200] [Job 228] envp[22]="PRINTER=test2@n14022.scania.se"
D [11/Jul/2006:14:09:14 +0200] [Job 228] envp[23]="CLASS=test2"
E [11/Jul/2006:14:09:14 +0200] Unable to open "/dev/null" - Too many open files.D [11/Jul/2006:14:09:14 +0200] Discarding unused job-completed event...
<---- END -------->

Backtrace from gdb. About 75% of the cases gets this
#0 0x0807891f in cupsdStopJob ()
#1 0x0807b371 in start_job ()
#2 0x0807ca43 in cupsdCheckJobs ()
#3 0x0807d0b5 in cupsdFinishJob ()
#4 0x0807d4dc in cupsdUpdateJob ()
#5 0x08064ca5 in main ()

Backtrace from gdb. Therest 25% of the cases gets this
*** glibc detected *** double free or corruption (!prev): 0x09638518 ***

Program received signal SIGABRT, Aborted.
[Switching to Thread -1208997664 (LWP 20533)]
0x0010d7a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
(gdb) bt
#0 0x0010d7a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1 0x00b827f5 in raise () from /lib/tls/libc.so.6
#2 0x00b84199 in abort () from /lib/tls/libc.so.6
#3 0x00bb64ea in __libc_message () from /lib/tls/libc.so.6
#4 0x00bbcc6f in _int_free () from /lib/tls/libc.so.6
#5 0x00bbcfea in free () from /lib/tls/libc.so.6
#6 0x080852f0 in cupsdStatBufDelete ()
#7 0x0807895f in cupsdStopJob ()
#8 0x0807b371 in start_job ()
#9 0x0807ca43 in cupsdCheckJobs ()
#10 0x0807d0b5 in cupsdFinishJob ()
#11 0x0807d4dc in cupsdUpdateJob ()
#12 0x08064ca5 in main ()

/Johan "SmallOne" Bernhardsson

@michaelrsweet
Copy link
Collaborator Author

CUPS.org User: SmallOne

CO=1;while [ $CO -lt 50 ];do lpr -P test$CO /testfiles/test0.ps;lpr -P test$CO /testfiles/test1.ps; echo -e "Printing $CO";CO=$[$CO+1];done

This oneliner takes two postscript files and queues them on a printer. And walks through 50 test printers.

Using one file works ok. But when i stress the printers with two or more it crashes according to the previous text.

/Johan "SmallOne" Bernhardsson

@michaelrsweet
Copy link
Collaborator Author

CUPS.org User: mike

I believe this is a dupe of STR #1736 and has already been fixed; will verify today...

@michaelrsweet
Copy link
Collaborator Author

CUPS.org User: mike

I am unable to reproduce this problem with current 1.2.x or 1.3.x. Can you test against the current SVN code and let me know if the problem is gone for you as well?

Thanks!

@michaelrsweet
Copy link
Collaborator Author

CUPS.org User: SmallOne

Works with latest 1.2.x svn checkout. Good work.

@michaelrsweet michaelrsweet added priority-high duplicate This issue or pull request already exists labels Mar 17, 2016
@michaelrsweet michaelrsweet added this to the Stable milestone Mar 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists priority-high
Projects
None yet
Development

No branches or pull requests

1 participant