Bug 186231 - cupsd segfault with PPD
cupsd segfault with PPD
Product: Fedora
Classification: Fedora
Component: cups (Show other bugs)
All Linux
medium Severity high
: ---
: ---
Assigned To: Tim Waugh
Depends On:
Blocks: F7Update
  Show dependency treegraph
Reported: 2006-03-22 08:28 EST by Neal Becker
Modified: 2007-11-30 17:11 EST (History)
1 user (show)

See Also:
Fixed In Version: 1.2.11-2.fc7
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-07-02 12:12:22 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
cups config (70.31 KB, application/octet-stream)
2007-06-28 05:58 EDT, Bernard Johnson
no flags Details

External Trackers
Tracker ID Priority Status Summary Last Updated
CUPS Bugs and Features 2408 None None None Never
CUPS Bugs and Features 2425 None None None Never

  None (edit)
Description Neal Becker 2006-03-22 08:28:11 EST
Description of problem: 
Mar 22 08:30:09 nbecker4 kernel: cupsd[5380]: segfault at 0000000000000010 rip 
000055555557d836 rsp 00007ffff 
fc535f0 error 4 
Version-Release number of selected component (if applicable): 
How reproducible: 
don't know 
Steps to Reproduce: 
1. visit localhost:631 
2. Add printer 
3. Try to print test page 
Actual results: 
Expected results: 
Additional info:
Comment 1 Tim Waugh 2006-03-22 09:18:11 EST
Changing version to devel.  FC5 ships with cups-1.1.23.
Comment 2 Tim Waugh 2006-03-23 08:42:35 EST
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'.
Comment 4 Bernard Johnson 2007-06-26 18:00:20 EDT

I get an immediate segfault on i386:

# /usr/sbin/cupsd
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
(gdb) r
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.

Comment 5 Tim Waugh 2007-06-28 05:03:04 EDT
Bernard: please attach your CUPS configuration.

tar zcf cups-config.tar.gz /etc/cups /var/cache/cups
Comment 6 Bernard Johnson 2007-06-28 05:58:36 EDT
Created attachment 158106 [details]
cups config
Comment 7 Tim Waugh 2007-06-28 08:12:13 EDT
Thanks.  Reported upstream.
Comment 8 Fedora Update System 2007-06-29 10:02:55 EDT
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.
Comment 9 Fedora Update System 2007-07-02 12:12:14 EDT
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.

Note You need to log in before you can comment on or make changes to this bug.