http://www.perlmonks.org?node_id=989841


in reply to Re^2: Coro + LWP freezes (*trace)
in thread Coro + LWP freezes

It might be that App::Stacktrace doesn't work with Coro. Or it might just be some other reason it doesn't work in your particular environment.

The documentation for App::Stacktrace immediately mentions three options. If one were actually curious about what was going on, every one of those three options looks like something one would try.

- tye        

Replies are listed 'Best First'.
Re^4: Coro + LWP freezes (*trace)
by elgato (Novice) on Aug 27, 2012 at 16:11 UTC
    This is debug by strace last calls:
    rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 rt_sigaction(SIGCHLD, NULL, {SIG_DFL, [], 0}, 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 nanosleep({1211417888, 0}, {1211354002, 168413065}) = ? ERESTART_RESTA +RTBLOCK (To be restarted) --- SIGWINCH (Window changed) @ 0 (0) --- restart_syscall(<... resuming interrupted call ...>) = ? ERESTART_REST +ARTBLOCK (To be restarted) --- SIGWINCH (Window changed) @ 0 (0) --- restart_syscall(<... resuming interrupted call ...>
    What does that mean? What to look for? Something with thread sor ...? There is a usleep command after my coro-using function to sleep, and as i see there's a work after thread execution and then there's a usleep, so it's the last in trace (nanosleep ...)