Bug 178699
Summary: | LJ6P stopped working, gs eats one CPU | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Patrick C. F. Ernzer <pcfe> | ||||||
Component: | hplip | Assignee: | Tim Waugh <twaugh> | ||||||
Status: | CLOSED NOTABUG | QA Contact: | |||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 4 | ||||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | All | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2006-01-23 19:05:51 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
Patrick C. F. Ernzer
2006-01-23 16:40:56 UTC
small correction, I just rebooted and saw that while I get a gs taking one CPU, I have no hpijs zombie, guess that will appear when I kill the offending gs process Most likely culprit is hplip. Please change the 'LogLevel' line in
/etc/cups/cupsd.conf to read:
LogLevel debug2
then clear out /var/log/cups/error_log with:
/sbin/service cups stop
>/var/log/cups/error_log
/sbin/service cups start
1. When you try printing now, what's in /var/log/cups/error_log when the job has
failed?
2. If you install ghostscript-debug and attach gdb with 'gdb /usr/bin/gs 1000'
(with 1000 replaced by gs's PID), what does 'bt' say?
this is weird, I have ghostscript-7.07-41 installed while the ftp server only has ghostscript-7.07-40 I'll downgrade to -40 and retest doh!, /me bangs head on table saying 'updates is the directory to check' (gdb) bt #0 0x00bff402 in __kernel_vsyscall () #1 0x00a95a83 in __read_nocancel () from /lib/libc.so.6 #2 0x00a39731 in _IO_file_read_internal () from /lib/libc.so.6 #3 0x00a3857c in _IO_new_file_underflow () from /lib/libc.so.6 #4 0x00a3a4a9 in __underflow () from /lib/libc.so.6 #5 0x00a39ba0 in _IO_file_xsgetn_internal () from /lib/libc.so.6 #6 0x00a3a8b3 in _IO_sgetn_internal () from /lib/libc.so.6 #7 0x00a2f98f in fread () from /lib/libc.so.6 #8 0x002300e6 in clist_fread_chars (data=0xbfb2c0cc, len=12, cf=0x9628418) at ./src/gxclfile.c:96 #9 0x002242f6 in s_band_read_process (st=0xbfb2bca8, ignore_pr=0xbfb2ab90, pw=0xbfb2abd0, last=0) at ./src/gxclread.c:117 #10 0x001b3057 in sreadbuf (s=Variable "s" is not available. ) at ./src/stream.c:795 #11 0x001b378d in sgets (s=0xbfb2c3f8, buf=0xbfb2ae44 "\220\uffff\uffff\uffffx\uffff\uffff\uffff(\0252", nmax=800, pn=0x0) at ./src/stream.c:518 #12 0x0021f8dc in top_up_cbuf (pcb=0xbfb2bb84, cbp=Variable "cbp" is not available. ) at ./src/gxclrast.c:134 #13 0x0021fe23 in clist_playback_band (playback_action=playback_action_render, cdev=0x957f3a4, s=0xbfb2c3f8, target=0x9631e68, x0=0, y0=0, mem=0x951b41c) at ./src/gxclrast.c:361 #14 0x0022458f in clist_playback_file_bands (action=playback_action_render, cdev=0x957f3a4, page_info=Variable "page_info" is not available. ) at ./src/gxclread.c:517 #15 0x00224873 in clist_render_rectangle (cdev=0x957f3a4, prect=0xbfb2cadc, bdev=0x9631e68, render_plane=0xbfb2cbec, clear=1) at ./src/gxclread.c:459 #16 0x00224acf in clist_rasterize_lines (dev=0x957f3a4, y=0, line_count=Variable "line_count" is not available. ) at ./src/gxclread.c:369 #17 0x00224ccf in clist_get_bits_rectangle (dev=0x957f3a4, prect=0xbfb2cccc, params=0xbfb2cc40, unread=0x0) at ./src/gxclread.c:260 #18 0x0034c22f in gx_default_get_bits (dev=0x957f3a4, y=0, data=0x0, actual_data=0xbfb2cea4) at ./src/gdevdgbr.c:57 #19 0x0021b92d in gdev_prn_get_bits (pdev=0x957f3a4, y=0, str=0x96a52fc "", actual_data=0xbfb2cea4) at ./src/gdevprn.c:1150 #20 0x00249d60 in gsijs_output_page (dev=0x957f3a4, num_copies=1, flush=1) at ./src/gdevijs.c:712 #21 0x003120d8 in gs_output_page (pgs=0x0, num_copies=1, flush=0) at ./src/gsdevice.c:138 #22 0x001c64ce in zoutputpage (i_ctx_p=0x953bd88) at ./src/zdevice.c:326 #23 0x001a9346 in gs_interpret (pi_ctx_p=0x4b7ba4, pref=0x0, user_errors=1, pexit_code=0xbfb2d448, perror_object=0xbfb2d440) at ./src/interp.c:1493 #24 0x0019f5b2 in gs_main_interpret (minst=0x4b79a0, pref=Variable "pref" is not available. ) at ./src/imain.c:207 #25 0x0019f7ad in gs_main_run_string_end (minst=0x0, user_errors=-1208823808, pexit_code=0xbfb2d448, perror_object=0xbfb2d448) at ./src/imain.c:595 #26 0x0019fb20 in gs_main_run_string_with_length (minst=0x4b79a0, str=0x0, length=0, user_errors=1, pexit_code=0xbfb2d448, perror_object=0xbfb2d440) at ./src/imain.c:553 #27 0x0019fb6e in gs_main_run_string (minst=0x0, str=0x955e4c0 "<2f6465762f66642f30>.runfile", user_errors=0, pexit_code=0x0, perror_object=0x0) at ./src/imain.c:535 #28 0x001a0367 in run_string (minst=0x4b79a0, str=Variable "str" is not available. ) at ./src/imainarg.c:758 #29 0x001a06c3 in argproc (minst=0x4b79a0, arg=0xbfb2fe38 "/dev/fd/0") at ./src/imainarg.c:687 #30 0x001a236e in gs_main_init_with_args (minst=0x4b79a0, argc=17, argv=0xbfb2e2b4) at ./src/imainarg.c:209 #31 0x001a30e1 in gsapi_init_with_args (minst=0x4b79a0, argc=0, argv=0x0) at ./src/iapi.c:145 #32 0x080488f2 in main (argc=0, argv=0x0) at ./src/dxmainc.c:90 (gdb) Created attachment 123583 [details]
error log
error log after 25 minutes, it's still hogging the CPU
I'll kill the gs now (this is not the same process as the one used with gdb in
my previous update to this BZ, I killed that one already and only changed the
LogLevel afterwards
Created attachment 123584 [details]
/etc/cups/printers.conf
/me swears loudly found the problem, /var had run full, all 3 GB of it, thank you yum. closing. |