qemu-system-sparc64 -M sun4v aborts on tribblix-sparc-0m16.iso qemu-system-sparc64 qemu-2.9.0-3.10.x86_64 on openSUSE Leap 42.3 using 'sun4v' machine aborts with tribblix. With 2048 MB of RAM it takes considerably more time to abort (but the core is always truncated). > qemu-system-sparc64 -m 1024 -cdrom tribblix-sparc-0m16.iso -boot d -nographic -M sun4v qemu: fatal: Trap 0x0010 while trap level (6) >= MAXTL (6), Error state pc: 0000000000000200 npc: 0000000000000204 %g0-3: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 %g4-7: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 %o0-3: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 %o4-7: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 %l0-3: 000000003ff00000 000001ff00000000 000001fff0080000 0000000000000000 %l4-7: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 %i0-3: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 %i4-7: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 %f00: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 %f08: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 %f16: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 %f24: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 %f32: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 %f40: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 %f48: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 %f56: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 pstate: 00000014 ccr: 44 (icc: -Z-- xcc: -Z--) asi: 00 tl: 6 pil: 0 gl: 8 tbr: 0000000000000000 hpstate: 0000000000000004 htba: 0000000000000000 cansave: 6 canrestore: 0 otherwin: 0 wstate: 0 cleanwin: 6 cwp: 7 fsr: 0000000000000000 y: 0000000000000000 fprs: 0000000000000000 Aborted (core dumped) PID: 26999 (qemu-system-spa) UID: 1000 (newman) GID: 100 (users) Signal: 6 (ABRT) Timestamp: Thu 2017-06-22 16:19:02 CEST (1min 5s ago) Command Line: qemu-system-sparc64 -m 1024 -cdrom tribblix-sparc-0m16.iso -boot d -nographic -M sun4v Executable: /usr/bin/qemu-system-sparc64 Control Group: / Slice: -.slice Boot ID: aa7431274f854fb7a02a773eefa8a9bb Machine ID: 89c660865c00403a9bacef32b6828556 Hostname: assam.suse.cz Coredump: /var/lib/systemd/coredump/core.qemu-system-spa.1000.aa7431274f854fb7a02a773eefa8a9bb.26999.1498141142000000.xz Message: Process 26999 (qemu-system-spa) of user 1000 dumped core. (gdb) thread apply all bt full Thread 4 (Thread 0x7f3896aca700 (LWP 27001)): #0 0x00007f38bb983295 in do_futex_wait () at /lib64/libpthread.so.0 #1 0x00007f38bb983349 in __new_sem_wait_slow () at /lib64/libpthread.so.0 #2 0x00007f38bb9833f7 in sem_timedwait () at /lib64/libpthread.so.0 #3 0x00005599ec6a1147 in qemu_sem_timedwait (sem=sem@entry=0x5599ef168628, ms=ms@entry=10000) at util/qemu-thread-posix.c:255 rc = ts = {tv_sec = 1498141152, tv_nsec = 280531000} __func__ = "qemu_sem_timedwait" #4 0x00005599ec69c83c in worker_thread (opaque=0x5599ef1685c0) at util/thread-pool.c:92 req = ret = pool = 0x5599ef1685c0 #5 0x00007f38bb97c744 in start_thread () at /lib64/libpthread.so.0 #6 0x00007f38b79bdd3d in clone () at /lib64/libc.so.6 Thread 3 (Thread 0x7f38bee01c40 (LWP 26999)): #0 0x00007f38b79b555f in ppoll () at /lib64/libc.so.6 #1 0x00005599ec69d289 in ppoll (__ss=0x0, __timeout=0x7ffd1dcf2a20, __nfds=, __fds=) at /usr/include/bits/poll2.h:77 ts = {tv_sec = 1, tv_nsec = 0} Python Exception That operation is not available on integers of more than 8 bytes.: #2 0x00005599ec69d289 in qemu_poll_ns (fds=, nfds=, timeout=timeout@entry=1000000000) at util/qemu-timer.c:334 ts = {tv_sec = 1, tv_nsec = 0} Python Exception That operation is not available on integers of more than 8 bytes.: #3 0x00005599ec69dff8 in os_host_main_loop_wait (timeout=1000000000) at util/main-loop.c:255 context = 0x5599ef147470 ret = spin_counter = 0 ret = -283872144 timeout = 1000 #4 0x00005599ec69dff8 in main_loop_wait (nonblocking=) at util/main-loop.c:517 ret = -283872144 timeout = 1000 #5 0x00005599ec3c8c5f in main_loop () at vl.c:1900 i = snapshot = linux_boot = initrd_filename = kernel_filename = kernel_cmdline = boot_order = boot_once = 0x0 ds = cyls = heads = secs = translation = opts = hda_opts = icount_opts = accel_opts = olist = optind = 10 optarg = 0x7ffd1dcf51d2 "sun4v" loadvm = machine_class = 0x5599ec6d6f6f cpu_model = vga_model = 0x5599ec6d6f81 "std" qtest_chrdev = qtest_log = pid_file = incoming = defconfig = userconfig = nographic = display_type = display_remote = log_mask = log_file = trace_file = maxram_size = ram_slots = vmstate_dump_file = main_loop_err = 0x0 err = 0x0 list_data_dirs = bdo_queue = {sqh_first = 0x0, sqh_last = 0x7ffd1dcf2ba0} rlimit_as = {rlim_cur = 18446744073709551615, rlim_max = 18446744073709551615} __func__ = "main" __FUNCTION__ = "main" #6 0x00005599ec3c8c5f in main (argc=, argv=, envp=) at vl.c:4730 i = snapshot = linux_boot = initrd_filename = kernel_filename = kernel_cmdline = boot_order = boot_once = 0x0 ds = cyls = heads = secs = translation = opts = hda_opts = icount_opts = accel_opts = olist = optind = 10 optarg = 0x7ffd1dcf51d2 "sun4v" loadvm = machine_class = 0x5599ec6d6f6f cpu_model = vga_model = 0x5599ec6d6f81 "std" qtest_chrdev = qtest_log = pid_file = incoming = defconfig = userconfig = nographic = display_type = display_remote = log_mask = log_file = trace_file = maxram_size = ram_slots = vmstate_dump_file = main_loop_err = 0x0 err = 0x0 list_data_dirs = bdo_queue = {sqh_first = 0x0, sqh_last = 0x7ffd1dcf2ba0} rlimit_as = {rlim_cur = 18446744073709551615, rlim_max = 18446744073709551615} __func__ = "main" __FUNCTION__ = "main" Thread 2 (Thread 0x7f38abf99700 (LWP 27000)): #0 0x00007f38b79b98e9 in syscall () at /lib64/libc.so.6 #1 0x00005599ec6a12d6 in qemu_futex_wait (val=, f=) at /usr/src/debug/qemu-2.9.0/include/qemu/futex.h:26 value = #2 0x00005599ec6a12d6 in qemu_event_wait (ev=ev@entry=0x5599ed0f1e40 ) at util/qemu-thread-posix.c:399 value = #3 0x00005599ec6b0a78 in wait_for_readers () at util/rcu.c:131 qsreaders = {lh_first = 0x7f38abf99588} index = tmp = #4 0x00005599ec6b0a78 in synchronize_rcu () at util/rcu.c:162 #5 0x00005599ec6b0c79 in call_rcu_thread (opaque=) at util/rcu.c:256 tries = 0 n = 565 node = #6 0x00007f38bb97c744 in start_thread () at /lib64/libpthread.so.0 #7 0x00007f38b79bdd3d in clone () at /lib64/libc.so.6 Thread 1 (Thread 0x7f38962c9700 (LWP 27002)): #0 0x00007f38b79088d7 in raise () at /lib64/libc.so.6 #1 0x00007f38b7909caa in abort () at /lib64/libc.so.6 #2 0x00005599ec3d1125 in cpu_abort (cpu=cpu@entry=0x5599ef16f800, fmt=fmt@entry=0x5599ec6d3388 "Trap 0x%04x while trap level (%d) >= MAXTL (%d), Error state") at /usr/src/debug/qemu-2.9.0/exec.c:962 ap = {{gp_offset = 40, fp_offset = 48, overflow_arg_area = 0x7f38962c88b0, reg_save_area = 0x7f38962c87d0}} ap2 = {{gp_offset = 16, fp_offset = 48, overflow_arg_area = 0x7f38962c88b0, reg_save_area = 0x7f38962c87d0}} #3 0x00005599ec4790b8 in sparc_cpu_do_interrupt (cs=0x5599ef16f800) at /usr/src/debug/qemu-2.9.0/target/sparc/int64_helper.c:119 cpu = 0x5599ef16f800 __func__ = "sparc_cpu_do_interrupt" env = 0x5599ef177a98 intno = 16 tsptr = 0x6 #4 0x00005599ec3dcf54 in cpu_handle_exception (ret=, cpu=0x5599ef12e000) at /usr/src/debug/qemu-2.9.0/cpu-exec.c:463 cc = 0x5599ef12e000 cc = __func__ = "cpu_exec" ret = sc = {diff_clk = 0, last_cpu_icount = 0, realtime_clock = } __FUNCTION__ = "cpu_exec" #5 0x00005599ec3dcf54 in cpu_exec (cpu=cpu@entry=0x5599ef16f800) at /usr/src/debug/qemu-2.9.0/cpu-exec.c:668 cc = __func__ = "cpu_exec" ret = sc = {diff_clk = 0, last_cpu_icount = 0, realtime_clock = } __FUNCTION__ = "cpu_exec" #6 0x00005599ec40796d in tcg_cpu_exec (cpu=0x5599ef16f800) at /usr/src/debug/qemu-2.9.0/cpus.c:1260 ret = r = -1775462656 cpu = 0x5599ef16f800 #7 0x00005599ec40796d in qemu_tcg_rr_cpu_thread_fn (arg=) at /usr/src/debug/qemu-2.9.0/cpus.c:1355 r = -1775462656 cpu = 0x5599ef16f800 #8 0x00007f38bb97c744 in start_thread () at /lib64/libpthread.so.0 #9 0x00007f38b79bdd3d in clone () at /lib64/libc.so.6