Re: Freeze in re:run
Miroslav Urbanek <[email protected]> Sat, 23 May 2015 04:54:12 +0200
| Newsgroups | gmane.comp.lang.erlang.bugs |
|---|---|
| Message-ID | <[email protected]> |
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 > [email protected] > http://erlang.org/mailman/listinfo/erlang-bugs _______________________________________________ erlang-bugs mailing list [email protected] http://erlang.org/mailman/listinfo/erlang-bugs