qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Regression: segfault on ARM host
@ 2010-03-01 21:33 Aurelien Jarno
  2010-03-01 22:33 ` [Qemu-devel] " Paolo Bonzini
  0 siblings, 1 reply; 4+ messages in thread
From: Aurelien Jarno @ 2010-03-01 21:33 UTC (permalink / raw)
  To: qemu-devel; +Cc: Paolo Bonzini

While trying to implement setcond on TCG ARM, I have discovered it does
not work anymore. I have bisected this regression to:

commit 6113d6d3169393c323ac4c82d756a850145a5e7a
Author: Paolo Bonzini <pbonzini@redhat.com>
Date:   Fri Jan 15 09:42:09 2010 +0100

    change while to if

    The while loop will be executed exactly 0 or 1 times, depending on
    env->exit_request.

    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>

The assertion is actually triggered. When the next patch removing the
assertion is also applied it segfaults instead.

The patch does not seem to be wrong. Moreover I have tried to debug the
problem, but I failed to as it looks like an Heisenbug. Compiling this
file with -O0 also fixes the problem.

Does someone have an idea?

-- 
Aurelien Jarno	                        GPG: 1024D/F1BCDB73
aurelien@aurel32.net                 http://www.aurel32.net

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-03-05 20:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-01 21:33 [Qemu-devel] Regression: segfault on ARM host Aurelien Jarno
2010-03-01 22:33 ` [Qemu-devel] " Paolo Bonzini
2010-03-02  0:05   ` Aurelien Jarno
2010-03-05 20:03     ` Aurelien Jarno

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).