phrelay coredump

I can reliably crash (SIGSEGV) phrelay simply by running phdiff on a
particular pair of files.
The coreinfo is attached, let me know if anyone wants the actual core file.

We are running the release version of 6.2 SE/PE.

Rob Rutherford
Ruzz Technology


begin 666 phrelay.coreinfo.txt
M+W9A<B]D=6UP<R]P:’)E;&%Y+F-O<F4Z"B!S:7IE/3$U-B!T;W1A;%]S:7IE
M/3(S,C @<WES=&5M7W!R:79A=&4Z;V9F+W-I>F4]-#8T+#$P- H@87-I;F9O
M.F]F9B]S:7IE/3$T.#@L-3$R(&UE;6EN9F\Z;V9F+W-I>F4]-38X+#$Q,B!H
M=VEN9F\Z;V9F+W-I>F4].3(P+#4V. H@8W!U:6YF;SIO9F8O<VEZ93TS-S8L
M,S(@8V%C:&5A=‘1R.F]F9B]S:7IE/3(S,C L,"!Q=&EM93IO9F8O<VEZ93TS
M,#0L-S((&-A;&QO=70Z;V9F+W-I>F4],38P+#<R(&-A;&QI;CIO9F8O<VEZ
M93TR,S(L-C0@:6YT<FEN9F\Z;V9F+W-I>F4],C P,“PS,C (‘1Y<&5D7W-T
M<FEN9W,Z;V9F+W-I>F4]-C@P+#,R(’-T<FEN9W,Z;V9F+W-I>F4]-S$R+#(P
M. H@<’)O8V5S<V]R/5@X-B!N=6U?8W!U<STQ"B @8W!U(#$@8W!U/38X-B!N
M86UE/4%-1" V.#8@1C9–E,R(’-P965D/3$U,S (" @9FQA9W,],'AC,# P
M,69F9B!&4%4@34U5($-054E$(%)$5%-#($E.5DQ01R!74"!“4U=!4”!-35@@
M0TU/5B!04T4@4$=%($U44E(@4T50(%-)340@1EA34@H@8WEC+W-E8STQ-3,P
M,CDR-C P('1O9%]A9&H],3 R-3@S.#4T-3(R.#,W,C0S-"!N<V5C/3$P,C<S
M-S$R-#4W-#4Y.#<R(&EN8STY.3DX-#<
(&)O;W0],3 R-3@X,#DV,"!E<&]C
M:#TQ.3<P(&EN=’(], H@<F%T93TX,S@P.34S-#4@<V-A;&4]+3$U(&QO860]
M,3$Y,PH@("!-04-(24Y%/2)X.#9P8R(@2$]35$Y!344](FQO8V%L:&]S="(

M(&AW9FQA9W,],’@P,# U-# ("!V86QI9#TU,3(@:&5A9’,],C4U(&-Y;’,]
M,3 R-2!S96-T;W)S/38S(&YB;&]C:W,]-S@Q-38R,C4@<W!A<F4], H@<&ED
M/3,T,3DU,#0X,2!P87)E;G0],3<P.3 U-C,Q(&-H:6QD/3,T,3DX,S(W-R!P
M9W)P/3$W,#DP-38S,2!S:60],0H@9FQA9W,],’@P,#(R,# @=6UA<VL],#(R
M(&)A<V5?861D#@P-#@P,# @:6YI=%]S=&%C:STP>#@P-#=A.6,
(’)U
M:60],”!E=6ED/3 @<W5I9#TP("!R9VED/3 @96=I9#TP(’-G:60], H@:6=N
M/3 P,# P,# P,# P,#@P,# @<75E=64]9F8P,# P,# P,# P,# P,"!P96YD
M:6YG/3 P,# P,# P,# P,# P,# (&9D<STX(‘1H<F5A9’,],R!T:6UE<G,]
M,"!C:&%N<STQ"B!T:’)E860@,2!324=.04Q,140M4TE’4T5’5B!C;V1E/3$@
M34%015)2(’)E9F%D9’(],"!F;'1N;STQ,0H@(&EP/3!X.# T9F4W8R!S<#TP
M>#@P-#<Q83@@<W1K8F%S93TP>#=F8S<P,# @<W1K<VEZ93TU,C@S.#0
("!S
M=&%T93U35$]04$5$(&9L86=S/3 @;&%S=%]C<‘4],2!T:6UE;W5T/3 P,# P
M,# P"B @<’)I/3$P(’)E86QP<FD],3 @<&]L:6-Y/5)2"B!T:’)E860@,@H@
M(&EP/3!X8C S,C=C,#$@<W ],’@W9F,V9C,P(’-T:V)A<V4],’@W9F$V,# P
M(’-T:W-I>F4],3,U,38X"B @<W1A=&4]4D503%D@9FQA9W,]-# P,# P,"!L
M87-T7V-P=3TQ('1I;65O=70],# P,# P,# ("!P<FD],3 @<F5A;’!R:3TQ
M,"!P;VQI8WD]4E(
('1H<F5A9" S"B @:7 ],'AB,#,R.#4T9"!S<#TP>#=F
M835F-3 @<W1K8F%S93TP>#=F.#4P,# @<W1K<VEZ93TQ,S4Q-C@
("!S=&%T
M93U#3TY$5D%2(&9L86=S/30P,# P,# @;&%S=%]C<‘4],2!T:6UE;W5T/3 P
M,# P,# P"B @<’)I/3$P(’)E86QP<FD],3 @<&]L:6-Y/5)2"B!-87!P:6YG
M(#!X,#=F834P,# M,’@P-V9A-C P,"!25RT*($UA<’!I;F<@,’@P-V9C-3 P
M,“TP># W9F,W,# P(%)7+0H@36%P<&EN9R P># X,#0V,# P+3!X,#@P-#@P
M,# @4E<M"B!-87!P:6YG(#!X,#@P-#@P,# M,’@P.# U-C P,”!25U@($UA
M<’!I;F<@,’@P.# U-C P,“TP># X,#4Y,# P(%)76 H@36%P<&EN9R P># X
M,#4Y,# P+3!X,#@P.#4P,# @4E<M"B!-87!P:6YG(#!X-# Q,# P,# M,’@T
M,#$P,3 P,”!25RT
($UA<’!I;F<@,‘AB,#,P,# P,“TP>&(P,S1B,# P(%)7
M6 H@36%P<&EN9R P>&(P,S1B,# P+3!X8C S-&8P,# @4E=8"B!-87!P:6YG
M(#!X8C@R,# P,# M,'AB.#)E9# P,”!25U@($UA<’!I;F<@,'AB.#)E9# P
M,“TP>&(X,F8X,# P(%)76 H@36%P<&EN9R P>&(X,F8X,# P+3!X8C@S,3<P
M,# @4E=8"B!-87!P:6YG(#!X8C@S,3<P,# M,'AB.#,Q93 P,”!25U@
($UA
M<’!I;F<@,'AB.#,Q93 P,“TP>&(X,S)D,# P(%)76 H@36%P<&EN9R P>&(X
6,S)D,# P+3!X8C@S,F8P,# @4E=8”@``
`
end

Hi Robert,

Can you try starting phrelay in the /etc/inetd.conf file so that the info
being transmitted is also put out to a file, and then post the file here.

phrelay stream tcp nowait root /usr/bin/phrelay
phrelay -x -VVVVVVV -D/tmp/phrelay.output

You will then need to restart inetd.

Then try doing the phdiff on the files your talking about and when the crash
occurs post the phrelay.output file.
Do you know if either of the files that your trying to use phdiff on contain
“\r” character ?

Regards
Brenda


Robert Rutherford <ruzz@NoSpamPlease.ruzz.com> wrote in message
news:apsjmr$lvh$1@inn.qnx.com

I can reliably crash (SIGSEGV) phrelay simply by running phdiff on a
particular pair of files.
The coreinfo is attached, let me know if anyone wants the actual core
file.

We are running the release version of 6.2 SE/PE.

Rob Rutherford
Ruzz Technology

Do you know if either of the files that your trying to use phdiff on
contain
“\r” character ?

Yes. The two files that were being diff’ed were effectively the DOS-format
(CRLF) and Unix-format (LF) version of the same file.

Does this mean this is a known problem? Do you still need the other info?

Robert

A way to test it is to use the" textto" utility to change the dos formatted
file to qnx format( unix format) this should remove the “\r”
and then phdiff the files again to see if they still crash phrelay.

If you do run the phrelay with the -VVVVV and the output file, when phrelay
crashes - look at the output file and see if near the end there is a line
that looks like this

Wed Oct 30 15:42:29 2002: render opts D800 font TextFont09 (5,2 2,18)
Wed Oct 30 15:42:29 2002: got parts 0


If you get the “got parts 0” then it is the same problem - which is a known
issue and will be fixed for a future release.
If you don’t get this message then please post the info so that I can show
it to the developer.

Regards
Brenda




“Robert Rutherford” <ruzz@NoSpamPlease.ruzz.com> wrote in message
news:aq4d77$cnr$1@inn.qnx.com

Do you know if either of the files that your trying to use phdiff on
contain
“\r” character ?

Yes. The two files that were being diff’ed were effectively the DOS-format
(CRLF) and Unix-format (LF) version of the same file.

Does this mean this is a known problem? Do you still need the other info?

Robert