END block ignored while run_cmd() is executing

Fulko Hew fulko.hew at gmail.com
Thu Apr 12 18:43:31 CEST 2012


On Thu, Apr 12, 2012 at 11:03 AM, Marc Lehmann <schmorp at schmorp.de> wrote:
> On Thu, Apr 12, 2012 at 10:48:09AM -0400, Fulko Hew <fulko.hew at gmail.com>
wrote:
>> > Otherwise, I need a program that I can use to reproduce the problem, or
>> > somebody ahs to analyze the problem on a system where it doesn't work.
>>
>> Booting and running off of that 'Fedora 16 Live' DVD
>> was a simple test environment.
>
> Ahh, but you no longer sent ^C to the program. I guess the only method to
do
> that is either use kill from another shell, or strace -p <pid>, to attach
> strace from another shell.

I thought something wasn't quite right.
Here's another attempt (providing only the 'end part'
where its different) but I still think something
isn't quite right.

[pid 18277] nanosleep({30, 0},  <unfinished ...>
[pid 18276] <... select resumed> )      = ? ERESTARTNOHAND (To be restarted)
[pid 18276] --- SIGINT (Interrupt) @ 0 (0) ---
[pid 18276] write(3, "\1", 1)           = -1 EINVAL (Invalid argument)
[pid 18276] write(3, "\1\0\0\0\0\0\0\0", 8) = 8
[pid 18276] sigreturn()                 = ? (mask now [])
[pid 18276] rt_sigprocmask(SIG_BLOCK, [KILL], NULL, 8) = 0
[pid 18276] rt_sigprocmask(SIG_UNBLOCK, [KILL], NULL, 8) = 0
[pid 18276] gettimeofday({1334243924, 626502}, NULL) = 0
[pid 18276] clock_gettime(CLOCK_MONOTONIC, {155855, 810585322}) = 0
[pid 18276] gettimeofday({1334243924, 626664}, NULL) = 0
[pid 18276] clock_gettime(CLOCK_MONOTONIC, {155855, 810739589}) = 0
[pid 18276] select(8, [3 4], NULL, NULL, {47, 355215}) = 1 (in [3], left
{47, 355215})
[pid 18276] gettimeofday({1334243924, 626910}, NULL) = 0
[pid 18276] clock_gettime(CLOCK_MONOTONIC, {155855, 810985340}) = 0
[pid 18276] read(3, "\1\0\0\0\0\0\0\0", 9) = 8
[pid 18276] write(1, "\ncatcher called with \'INT\'\n", 27
catcher called with 'INT'
) = 27
[pid 18276] exit_group(0)               = ?

... snip ...

> That sounds like some old versions of Coro and/or AnyEvent - whats the
> Coro and AnyEvent versions on Fedora? If debian is ~3 years behind
> releases, maybe fedora isn't much newer.

FYI... checking the F16 Live DVD, I see the following versions shipped:

            F16 Live    my (F8)           soon to be
               DVD      devsys           released F17

Coro          5.372     6.07                6.07
AnyEvent      5.271  was 5.28, now 6.16     5.27
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schmorp.de/pipermail/anyevent/attachments/20120412/0a097a5f/attachment.html>


More information about the anyevent mailing list