Hi, I have a problem with ifhp core dumping on a regular basis (probably 1 out of two times that its called). Here is my set up :- Printer: Xerox N2125 ifhp.conf setup: [ xerox ] status pjl pcl ps text ps_ctrl_t@ waitend=ps Printcap entry: ifhp=model=xerox,a4,1200dpi,debug=4 The problem seems to be that in the Do_waitend state the if/of filter just crashes out. I first noted the problem when using ifhp-3.4.2 on a Compaq Tru64 Unix alpha, upgrading to ifhp-3.4.3 and ifhp-3.4.4 doesn't help (I had to hack the source codein versions 3.4.3 and 3.4.4, to avoid inet_ntop not being found on an alpha :- in open_device.c change: return( inet_ntop( addr->sa_family, a, str, len ) ); to: return( 0 ); ). And switching to running ifhp-3.4.4 on a Redhat 6.2 Linux PC didn't stop the core dumps. As mentioned before, the problem seems to happen when if/of is in a waitend state - and doesn't happen on our other printers (a Lexmark Optra, and several HPs (4050,5mp,2100)) the difference seems to be that for the xerox we've been forced to use the "ps_ctrl_t@" and "waitend=ps" options - mainily becuase pjl commands seem to leave the printer in a "processing" state - in which case ifhp never detects the printer finishing a job, and eventually times out. As this seems to happen accros several versions of ifhp, and on two different platforms (Linux PC and Compaq alpha) can anyone see a problem with using both "ps_ctrl_t@" and "waitend=ps" ? Surely this shouldn't in itself cause ifhp to core dump? Hopefully in the next few days I'll get a chance to run a version of ifhp with debugging informations and be able to trace down exactly which code is cause the core dump - but if anyone out there has had similar expreiences I be glad of any suggestions that people have. Yours, David Summers. ----------------------------------------------------------------------------- YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST The address you post from MUST be your subscription address If you need help, send email to [EMAIL PROTECTED] (or lprng-requests or lprng-digest-requests) with the word 'help' in the body. For the impatient, to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED] with: | example: subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED] unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED] If you have major problems, send email to [EMAIL PROTECTED] with the word LPRNGLIST in the SUBJECT line. -----------------------------------------------------------------------------
