[erlang-bugs] Freeze in re:run

Miroslav Urbanek mu@REDACTED
Sat May 23 04:54:12 CEST 2015


Hi Eric,

thanks for your investigation. One thing I tried before is to
uncomment the line

#define ERLANG_DEBUG 1

in erts/emulator/pcre/pcre_exec.c. I don't have the output anymore,
but it clearly showed "heartbeat" message near "Loop limit break
detected". I think PCRE library doesn't properly return control to the
VM, but my understanding of Erlang and PCRE internals is rather
limited to see why.

Miro

On Sat, May 23, 2015 at 12:24:51AM +0200, PAILLEAU Eric wrote:
> Hi again,
> 
> interestingly, when starting observer before spawn_link, output is
> not anymore frozen. I get heartbeat messages every second until
> nomatch.
> 
> I did this several time, and sometime observer is totally
> unresponsive (frozen), but hearbeat messages are still coming in the
> meantime.
> 
> Regards.
> 
> _______________________________________________
> erlang-bugs mailing list
> erlang-bugs@REDACTED
> http://erlang.org/mailman/listinfo/erlang-bugs



More information about the erlang-bugs mailing list