[erlang-questions] cth_log_redirect crashed
Peter Andersson
peppe@REDACTED
Fri Apr 24 09:58:11 CEST 2015
Hi Roberto,
I've been reading through code but haven't been able to figure out how
the heck the system can end up in a deadlock. It's
application_controller that doesn't respond, but all
application_controller operations are asynchronous so it doesn't make
sense to me. I suspect it's rather an io-request/group-leader related
problem.
I went on to try to reproduce the error by running various stress tests,
but that didn't help either.
So, a few questions:
1. Do you get into this deadlock state each and every time, or does it
happen occasionally?
2. What process/function starts and stops the "goldrush" application?
3. Will you help me do some debugging on your site? I think I need to
make a dump! (what an inappropriate thing to say in any other
context...) :-)
Thanks,
Peter
On 2015-04-23 19:27, Roberto Ostinelli wrote:
> Hello Peti,
> Yes thank you I saw that post. Infoortunately I haven't been able to solve it with the provided suggestions.
>
> I'll dig in further.
>
> Thank you,
> r.
>
>
>
> > On 23/apr/2015, at 18:59, Peti Gömöri <gomoripeti@REDACTED> wrote:
> >
> > Hi Roberto,
> >
> > Others have seen this as well on this thread
> > http://erlang.org/pipermail/erlang-questions/2014-May/079010.html
> > and they suggest a workaround (or two)
> >
> >> On Thu, Apr 23, 2015 at 4:31 PM, Roberto Ostinelli <roberto@REDACTED> wrote:
> >> All,
> >> I'm *still* trying to use Common Tests. My application uses lager.
> >>
> >> When I start my application in Common Tests, and the application uses lager
> >> to log, the application crashes with error:
> >>
> >> =ERROR REPORT==== 23-Apr-2015::16:28:53 ===
> >> ** gen_event handler cth_log_redirect crashed.
> >> ** Was installed in error_logger
> >> ** Last event was: {info_report,<0.29.0>,
> >> {<0.7.0>,std_info,
> >> [{application,goldrush},
> >> {exited,stopped},
> >> {type,temporary}]}}
> >> ** When handler state ==
> >> {eh_state,tc_log_async,undefined,undefined,undefined,
> >> false,false}
> >> ** Reason == {timeout,{gen_server,call,
> >> [application_controller,
> >> which_applications]}}
> >>
> >> Has anyone seen this? how can I fix it?
> >>
> >> Thank you,
> >> r.
> >>
> >> _______________________________________________
> >> erlang-questions mailing list
> >> erlang-questions@REDACTED
> >> http://erlang.org/mailman/listinfo/erlang-questions
> >>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
More information about the erlang-questions
mailing list