On Mon, Oct 21, 2013 at 05:56:56PM -0600, Darin McBride <[email protected]> 
wrote:
> Yes.  I have an object hierarchy going: Moose -> X -> Y -> Z.  If I do that, 
> it works, but if I remove "Y" from the list, then it dies.  I'm going to 
> continue looking at that to see if I can pare it down to not using any of my 
> hierarchy and just something you can use/see.

Interesting (smells like stack corruption on extend or so somewhere).

> > A testcase would be the next step :)
> 
> Here's one:
> 
> $ dev_perl -MCoro -MAnyEvent::DBI -de 1
> 

Unfortunately, this works just fine here :/

> panic: sv_len_utf8 cache 22 real 13 for AnyEvent::log at 

fun.

> Note that when I try to debug my real code, I get the panic elsewhere, but 
> still somewhere in Coro:

I would guesss the panic is likely not due to the code being executed when
it panics, but due to some code executed much earlier, so you see it in
more or less random places.

> Note that if I remove -MCoro, then the above debugger works fine.  Also, if I 
> add in -MAnyEvent::Loop it also works fine.  Hmm - I should try that with my 
> real code - remove EV, switch to AnyEvent::Loop...

Have you tried valgrind? It doesn't work that well with perl, but it sitll
has a small chance of detecting e.g. freed memory reusage, which *might*
be the reason here (but likely isn't).

-- 
                The choice of a       Deliantra, the free code+content MORPG
      -----==-     _GNU_              http://www.deliantra.net
      ----==-- _       generation
      ---==---(_)__  __ ____  __      Marc Lehmann
      --==---/ / _ \/ // /\ \/ /      [email protected]
      -=====/_/_//_/\_,_/ /_/\_\

_______________________________________________
anyevent mailing list
[email protected]
http://lists.schmorp.de/mailman/listinfo/anyevent

Reply via email to