Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: Coro + LWP freezes (*trace)

by elgato (Novice)
on Aug 26, 2012 at 07:26 UTC ( #989798=note: print w/ replies, xml ) Need Help??


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

Here what i get with perl-stacktrace:

root@elgato:/etc# perl-stacktrace 9366 [Thread debugging using libthread_db enabled] 0x00007f7ba19bd500 in __nanosleep_nocancel () at ../sysdeps/unix/sysca +ll-template.S:82 82 ../sysdeps/unix/syscall-template.S: No such file or directory. in ../sysdeps/unix/syscall-template.S /tmp/3c5eHcBTdw.gdb:1761: Error in sourced command file: Cannot access memory at address 0x1
What does that mean?


Comment on Re^2: Coro + LWP freezes (*trace)
Download Code
Re^3: Coro + LWP freezes (*trace)
by tye (Cardinal) on Aug 26, 2012 at 15:49 UTC

    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        

      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 ...)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://989798]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (9)
As of 2014-09-23 15:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (227 votes), past polls