On Wed, Oct 15, 2014 at 10:12 PM, Max Filippov <jcmvb...@gmail.com> wrote: > On Thu, Oct 16, 2014 at 6:00 AM, Pranith Kumar <bobby.pr...@gmail.com> wrote: >>>> + tcg_gen_add_i32(cpu_fence_count, cpu_fence_count, 1); >>> >>> tcg_gen_addi_i32, as you're adding an immediate. >>> Enabling TCG debug would catch such errors. >>> Not sure if that will fix crashing, but it should improve accuracy (: >> >> I had that before the change to tcg_gen_add_i32 and the crashes were >> still there. But yes, this needs to be changed to use addi. > > Got backtraces of your crashes? >
These bugs seem to be Heisenbugs. As Peter Maydell pointed out, apparently multi-threaded user mode execution is not supported. I will try to use system mode. Thanks! -- Pranith