From: Avi Kivity <avi@redhat.com>
To: Ryota OZAKI <ozaki.ryota@gmail.com>
Cc: kvm@vger.kernel.org
Subject: Re: [PATCH] kvm: user: Call pthread_join only to created threads.
Date: Sun, 05 Oct 2008 12:00:02 +0200 [thread overview]
Message-ID: <48E89022.1070203@redhat.com> (raw)
In-Reply-To: <5e93dcec0810040020l18d97706m16d4b0669c5dffe4@mail.gmail.com>
Ryota OZAKI wrote:
> Hi,
>
> This patch fixes a bug in kvmtrace.
>
> Thanks,
> ozaki-r
>
> From 4ccee3a01c2e8c377dc6a760b5d7802e58afda72 Mon Sep 17 00:00:00 2001
> From: Ryota Ozaki <ozaki.ryota@gmail.com>
> Date: Sat, 4 Oct 2008 15:30:48 +0900
> Subject: [PATCH] kvm: user: Call pthread_join only to created threads.
>
> If thread_main fails with a somewhat reason (e.g. open fails)
> before all threads are created, pthread_join is called to a
> uncreated thread and a segmentation fault occurs.
>
> This patch checks whether a thread is created before calling
> pthread_join to the thread.
>
>
Applied, thanks.
--
error compiling committee.c: too many arguments to function
prev parent reply other threads:[~2008-10-05 10:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-04 7:20 [PATCH] kvm: user: Call pthread_join only to created threads Ryota OZAKI
2008-10-05 10:00 ` Avi Kivity [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=48E89022.1070203@redhat.com \
--to=avi@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=ozaki.ryota@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.