[antlr-interest] v3 antlr hangs at waitpid

Omry Yadan omry at yadan.net
Tue Feb 20 14:10:33 PST 2007


This question is asked again and again.

maybe the -debug switch should print "waiting for connection on port
XXX" to the stdout  (if its not doing it already)?



Terence Parr wrote:

> Hi. If you use -debug, it is a server and waits for AW to connect.
> Ter
> On Feb 20, 2007, at 11:40 AM, Martin d'Anjou wrote:
>
>> Hello,
>>
>> My grammar hangs... or I should say when I use my compiled grammar it
>> hangs. I don't know where or how. The -debug switch does not print
>> information. This is using 3.0b6.
>>
>> I ran it with strace to see if I learned something, and it hangs at
>> waitpid(-1,  <unfinished ...>
>>
>> The CPU is at 0% utilization, so control-C is the only way out.
>>
>> How can I debug this problem? Prune things out of my grammar until it
>> no longer hangs?
>>
>> Thanks,
>> Martin
>



More information about the antlr-interest mailing list