Re: [Qemu-devel] [PATCH] thread: move detach_thread from creating thread to created thread

2017-11-28 Thread no-reply
Hi, This series failed automatic build test. Please find the testing commands and their output below. If you have docker installed, you can probably reproduce it locally. Subject: [Qemu-devel] [PATCH] thread: move detach_thread from creating thread to created thread Type: series Message-id

Re: [Qemu-devel] [PATCH] thread: move detach_thread from creating thread to created thread

2017-11-27 Thread no-reply
Hi, This series failed build test on ppc host. Please find the details below. Subject: [Qemu-devel] [PATCH] thread: move detach_thread from creating thread to created thread Type: series Message-id: 20171127145936.15676-1-linzhech...@huawei.com === TEST SCRIPT BEGIN === #!/bin/bash # Testing

Re: [Qemu-devel] [PATCH] thread: move detach_thread from creating thread to created thread

2017-11-27 Thread Paolo Bonzini
On 27/11/2017 16:08, Daniel P. Berrange wrote: > We should just do > > if (mode == QEMU_THREAD_DETACHED) { > pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED); > } > This is true, but Zhecheng's patch (when fixed---see patchew's report) would also fix a similar race on

Re: [Qemu-devel] [PATCH] thread: move detach_thread from creating thread to created thread

2017-11-27 Thread Daniel P. Berrange
On Mon, Nov 27, 2017 at 10:59:36PM +0800, linzhecheng wrote: > If we create a thread with QEMU_THREAD_DETACHED mode, QEMU may get a segfault > in a low probability. > > The backtrace is: > #0 0x7f46c60291d7 in __GI_raise (sig=sig@entry=6) at > ../nptl/sysdeps/unix/sysv/linux/raise.c:56 > #1

Re: [Qemu-devel] [PATCH] thread: move detach_thread from creating thread to created thread

2017-11-27 Thread no-reply
Hi, This series failed build test on s390x host. Please find the details below. Type: series Subject: [Qemu-devel] [PATCH] thread: move detach_thread from creating thread to created thread Message-id: 20171127145936.15676-1-linzhech...@huawei.com === TEST SCRIPT BEGIN === #!/bin/bash # Testing

[Qemu-devel] [PATCH] thread: move detach_thread from creating thread to created thread

2017-11-27 Thread linzhecheng
If we create a thread with QEMU_THREAD_DETACHED mode, QEMU may get a segfault in a low probability. The backtrace is: #0 0x7f46c60291d7 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 #1 0x7f46c602a8c8 in __GI_abort () at abort.c:90 #2 0x008543c9