Red Hat Bugzilla – Bug 186231
cupsd segfault with PPD
Last modified: 2007-11-30 17:11:27 EST
Description of problem:
Mar 22 08:30:09 nbecker4 kernel: cupsd: segfault at 0000000000000010 rip
000055555557d836 rsp 00007ffff
fc535f0 error 4
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. visit localhost:631
2. Add printer
3. Try to print test page
Changing version to devel. FC5 ships with cups-1.1.23.
Please install the corresponding cups-debuginfo package, and then attach to the
cupsd process like this:
gdb /usr/sbin/cupsd 1104
(or whatever PID cupsd has)
Then at the (gdb) prompt enter 'continue'. Go through the steps-to-reproduce
above, and when you get the (gdb) prompt again, please enter 'bt'.
I get an immediate segfault on i386:
cupsd: Child exited on signal 11!
Running under the debugger causes it to not segfault:
# gdb /usr/sbin/cupsd
GNU gdb Red Hat Linux (6.6-15.fc8rh)
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) set detach-on-fork off
Starting program: /usr/sbin/cupsd
[Thread debugging using libthread_db enabled]
[New Thread -1208736032 (LWP 4955)]
Stracing it causes it to not crash as well.
Bernard: please attach your CUPS configuration.
tar zcf cups-config.tar.gz /etc/cups /var/cache/cups
Created attachment 158106 [details]
Thanks. Reported upstream.
cups-1.2.11-2.fc7 has been pushed to the Fedora 7 testing repository. If problems still persist, please make note of it in this bug report.
cups-1.2.11-2.fc7 has been pushed to the Fedora 7 stable repository. If problems still persist, please make note of it in this bug report.