Sorry ;-) forgot attachments!
The web interface stalls when I go to configure a printer. I can create
it and modify it, but I can't configure it. When this happens the
processes "cups" and "admin.cgi" take most of the cpu time for about 20
seconds.
After checking the error log I get something like this:
-----------------
I [14/Oct/2000:08:14:39 -0500] New printer 'Main' added by 'root'.
E [14/Oct/2000:08:15:14 -0500] PID 20913 crashed on signal 9!
-----------------
When I tried to run the cgi's from "/usr/lib/cups/cgi-bin/", manually on
a shell, I get mixed results:
1. "admin.cgi" and "jobs.cgi" *always* run fine and spit out the
expected HTML code.
2. "printers.cgi" and "classes.cgi" core dump with a segfault after
spiting some HTML code, but only if a printer exists; if I delete all
printers, they do not segfault, and spit out HTML code.
I have tried doing ltrace and strace of it, but I did not got to far.
Only found out that it dies after/on a strcasecmp() call for the
hostname. The results are attached.
I have tried by removing the cups packages completely, and any files
left after package removal, but had no luck.
The problem started after I upgraded to a later version (don't remember
which), but here it what I have now:
-----------------
[root@fulgore:~]# rpm -qa|egrep '^cups|^ghost'|sort
cups-1.1.3-13mdk
cups-devel-1.1.3-13mdk
cups-drivers-0.3.6-25mdk
ghostscript-5.50-31mdk
ghostscript-fonts-5.50-5mdk
ghostscript-module-SVGALIB-5.50-31mdk
ghostscript-module-X-5.50-31mdk
ghostscript-utils-5.50-31mdk
[root@fulgore:~]#
-----------------
[root@fulgore:~]# for i in `rpm -qa|egrep '^cups|^ghost'|sort`;do rpm
-Vv $i;done
S.5....T c /etc/cups/printers.conf
......G. /var/spool/cups
[root@fulgore:~]#
-----------------
Anybody has any ideas on how to debug this?
Thanks.
--
Eugenio Diaz, BSEE/BSCE
Linux Engineer
[EMAIL PROTECTED]
ltrace.bz2
strace.bz2