Infinite loop in PrettyWriter

Per Bothner per@bothner.com
Fri Dec 20 10:36:00 GMT 2002


Wen-Chun Ni wrote:
> When I was testing my program, certain string (FString really) will
> cause the program to hang.

I recently ran into a PrettyWriter hang, but haven't been able to
chase it down.  Your input helped me find one possible culprit.
Could you try the attached patch?  If it doesn't solve the problem,
I also added a bunch of comments that may help you understand
enough of how the queue works to debug it.
-- 
	--Per Bothner
per@bothner.com   http://www.bothner.com/per/
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: PrettyWriter.patch
URL: <http://sourceware.org/pipermail/kawa/attachments/20021220/d8012447/attachment.ksh>


More information about the Kawa mailing list