[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC PATCH] tests: replace rem = sleep(time) with g_tim
From: |
Eduardo Habkost |
Subject: |
Re: [Qemu-devel] [RFC PATCH] tests: replace rem = sleep(time) with g_timer |
Date: |
Fri, 11 Jan 2019 17:05:28 -0200 |
User-agent: |
Mutt/1.10.1 (2018-07-13) |
On Fri, Jan 11, 2019 at 04:06:54PM +0000, Alex Bennée wrote:
>
> Paolo Bonzini <address@hidden> writes:
>
> > On 11/01/19 16:28, Alex Bennée wrote:
> >>> Why not g_usleep? It already does a while loop around nanosleep (which
> >>> returns the remaining time in the wait, like select but unlike sleep and
> >>> poll).
> >> Yeah I'm testing that now. However I have managed to trigger:
> >>
> >> ERROR:tests/test-qht-par.c:20:test_qht: assertion failed (rc == 0):
> >> (35584 == 0)
> >
> > I think that's a good old SIGSEGV (0x8B00).
>
> According to the PC in the logs:
>
> Line 98 of "mcount.c" starts at address 0x7ffff6e15145
> <__mcount_internal+69> and ends at 0x7ffff6e15148 <__mcount_internal+72>.
Was this on Travis? Which architecture?
--
Eduardo
- [Qemu-devel] [RFC PATCH] tests: replace rem = sleep(time) with g_timer, Alex Bennée, 2019/01/11
- Re: [Qemu-devel] [RFC PATCH] tests: replace rem = sleep(time) with g_timer, Paolo Bonzini, 2019/01/11
- Re: [Qemu-devel] [RFC PATCH] tests: replace rem = sleep(time) with g_timer, Alex Bennée, 2019/01/11
- Re: [Qemu-devel] [RFC PATCH] tests: replace rem = sleep(time) with g_timer, Paolo Bonzini, 2019/01/11
- Re: [Qemu-devel] [RFC PATCH] tests: replace rem = sleep(time) with g_timer, Alex Bennée, 2019/01/11
- Re: [Qemu-devel] [RFC PATCH] tests: replace rem = sleep(time) with g_timer, Alex Bennée, 2019/01/11
- Re: [Qemu-devel] [RFC PATCH] tests: replace rem = sleep(time) with g_timer,
Eduardo Habkost <=
- Re: [Qemu-devel] [RFC PATCH] tests: replace rem = sleep(time) with g_timer, Greg Kurz, 2019/01/11
- Re: [Qemu-devel] [RFC PATCH] tests: replace rem = sleep(time) with g_timer, Alex Bennée, 2019/01/11