Hi,

>jless hangs if it reaches 524289 bytes. cpu is 100% and control-c
>doesn't kill it. control-\ and kill(1) kill it. jless 382-iso262-2
>works fine.

This is caused by an infinite loop in ch.c#fget_ch.
Internal list operation for cache buffers will not work well.

I guess there may be some build-env problems, perhaps GCC's optimizing
error, because:
  1. 382-iso262-2.1 binary (debian official) is broken,
  2. 382-iso262-2 binary (debian official) works well,
  3. 382-iso262-2 binary (that I rebuild from source) is broken,
and
  4. Setting -O1 instead of -O2 for compiling ch.c fixes this problem.

GCC version is:
>ii  gcc-4.7        4.7.1-7      amd64        GNU C compiler

Confirmed in both amd64 and i386.


Regards,
Nobuhiro


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to