Red Hat Bugzilla – Bug 178999
Cups it dies with "segfault" and "general protection"
Last modified: 2007-11-30 17:11:22 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.12) Gecko/20050923 Epiphany/1.6.5
Description of problem:
The daemon of cups it dies randomly.
I have this logs in /var/log/messages
Jan 24 10:58:25 lnsys06 kernel: cupsd general protection rip:55555555ec82
Jan 24 15:08:49 lnsys06 kernel: cupsd: segfault at 0000646574726f70 rip 000055555555ec82 rsp 00007fffffe5b190 error 4
Jan 25 14:26:05 lnsys06 kernel: cupsd general protection rip:55555555ec82 rsp:7fffff9f9ea0 error:0
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Start cups
2. wait for cups crash
Actual Results: The daemon of cups it dies.
Expected Results: The daemon of cups not die.
Works for me on x86_64, same n-v-r.
I'd like you to try to obtain some debugging information from cupsd. First,
install this package:
Now please try attaching gdb to cupsd before it dies, like:
gdb /usr/sbin/cupsd 12871
(but use the real PID instead of 12871)
Then, at the '(gdb)' prompt, type 'continue' and press enter. When the daemon
dies, you should get another '(gdb)' prompt -- type 'bt' when this happens.
What does it say?
Created attachment 123715 [details]
This is the output from gdb after cups dies.
Please try this test package:
Does it change the behaviour at all?
After several days, there is no crashes, i think that the last packages have
resolved the problem.
Great. Thanks for testing it out.
Created attachment 125109 [details]
gdb output from cups crash
After a couple of days with cups testing package (cups-1.1.23-15.4), I have the
same problems, cups die.
I upload a new gdb crash output.
Could you attach your /etc/cups/printers.conf and /etc/cups/classes.conf files
That two files are the original's that came with the package, I use the
"Browsing" to see the printers in the network.
Would you mind showing me the output of 'lpstat -c'?
Created attachment 125118 [details]
This is the output from lpstat -c
*** Bug 189230 has been marked as a duplicate of this bug. ***
I think that the updates-testing package of cups 1.2 should fix this problem.
Please try it out. Thanks.
I have the same problems in others machines with arquitectura i386, but there is
no update-testing packages for cups in i386, it's possible to provides this
packages ? or i need to open another bug ?
The package cups-1.2-0.2.rc1.2.8 that i instaled from update-testing repository
have problems also.
This is the output from gdb
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 46912532052048 (LWP 826)]
delete_rules (rules=0x72702f2f3a707069) at mime.c:439
439 if (rules->child != NULL)
#0 delete_rules (rules=0x72702f2f3a707069) at mime.c:439
#1 0x0000555555592f52 in mimeDeleteType (mime=Variable "mime" is not
available.) at mime.c:156
#2 0x000055555558b6f6 in cupsdDeletePrinter (p=0x55555571f8c0, update=Variable
"update" is not available.
#3 0x0000555555571474 in cupsdSendBrowseList () at dirsvc.c:808
#4 0x0000555555573aff in main (argc=Variable "argc" is not available.
) at main.c:889
Do you still see this in FC6?
No, in FC6 I don't have this problem anymore.