O/S: Tru64 4.0F
LPRng: 3.8.4
Ifhp: 3.5.1
Printer: hpiiisi

All jobs end in JSIGNAL from ifhp when ifhp core dumps at line 3091 of ifhp.c
because the 'status' string is null. Find_str_value matches nothing and
returns NULL. Strtr() is then called with a null for the second arg and it
core dumps.

Do_waitend: len 0 at 09:48:16.952
Dump_line_list: Do_waitend - Devstatus - count 1, max 102, list 0x140045c00 at
09:48:16.952
  [ 0]='echo=09-47-42.695 PID 7692' at 09:48:16.952
Find_first_key: cmp 0, mid 0, key 'echo', count 1 at 09:48:16.952
Find_str_value: key 'echo', value '09-47-42.695 PID 7692' at 09:48:16.952
Do_waitend: echo '09-47-42.695 PID 7692', endname '09-47-42.695 PID 7692',
echo_received 1 at 09:48:16.952
Find_first_key: cmp 1, mid 0, key 'status', count 1 at 09:48:16.952
Find_str_value: key 'status', value '<NULL>' at 09:48:16.953
Do_waitend: status '<NULL>', End_status 'busy:idle' at 09:48:16.953

The printcap is:

nsrptr|nsr|HP LaserJet IIIsi via Emulex NetJet|IT area
        :client
        :rm=localhost

nsrptr|nsr|HP LaserJet IIIsi via Emulex NetJet|IT area
        :server
        :lp=nsrptr%2501
        :ifhp=model=hpiiisi,sync@,pagecount@,waitend=ps,debug=4
        :if=/usr/local/libexec/filters/ifhp
        :vf=/usr/local/libexec/filters/ifhp -c
        :of=/usr/local/libexec/filters/ofhp
        :fx=flpv
        :pl#60
        :pw#83
        :sh
        :rw
        :save_on_error
        :send_try=0
        :tc=.common,.ifacct

Any ideas what a correct code fix is?

Thanks - Justus Addiss

-- 
Think to the future and beyond....

 /** Justus J. Addiss               Email: [EMAIL PROTECTED]     **\
<*** 3M Health Information Systems  Phone: 203-949-0303 x6414   ***>
 \** Wallingford, CT 06492          FAX:   203-949-6455 or 6331 **/


-----------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------

Reply via email to