[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#28666: More info regarding binary3 sed test which hangs
From: |
Jim Meyering |
Subject: |
bug#28666: More info regarding binary3 sed test which hangs |
Date: |
Wed, 4 Oct 2017 08:15:26 -0700 |
On Sun, Oct 1, 2017 at 7:28 PM, Dennis Clarke <address@hidden> wrote:
> I looked into the binary3 test a bit and tried this manually :
>
> deb8_ppc64$
> deb8_ppc64$ LC_ALL=C ../sed/sed -n -f ./binary3.sed < binary.inp | LC_ALL=C
> tr -d \\r > binary3.out_manual
>
> It just runs endlessly and never returns.
>
> Not sure what data to add in here.
Thank you for the details. I presume this is with the latest?
Does it also infloop if you remove the output pipe:
LC_ALL=C ../sed/sed -n -f ./binary3.sed < binary.inp > out
Can you run it via gdb and hit ^C then see where/why it's looping?
LC_ALL=C gdb --args ../sed/sed
to run it under gdb, do this:
(gdb) run -n -f ./binary3.sed < binary.inp