qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [Bug 671831] [NEW] Sparc guest assert error
@ 2010-11-06 13:24 Nigel Horne
  2010-11-06 20:28 ` Stefan Hajnoczi
                   ` (5 more replies)
  0 siblings, 6 replies; 25+ messages in thread
From: Nigel Horne @ 2010-11-06 13:24 UTC (permalink / raw)
  To: qemu-devel

Public bug reported:

The latest version in git (d33ea50a958b2e050d2b28e5f17e3b55e91c6d74)
crashes with an assert error when booting a Sparc/Linux guest.

The last time I tried it (about a week ago) it worked fine.  Yesterdai,
I did a git pull, make clean, reran configure and compiled.

Host OS: Debian Linux/x86_64 5.0
C Compiler: 4.4.5
Guest OS: Linux/Sparc (2.4)
Command Line: qemu-system-sparc -hda ~njh/qemu/sparc/debian.img -nographic -m 128
Build Configure: ./configure --enable-linux-aio --enable-io-thread --enable-kvm
GIT commit: d33ea50a958b2e050d2b28e5f17e3b55e91c6d74

Output:

Adding Swap: 122532k swap-space (priority -1)
.
Will now check root file system:fsck 1.40-WIP (14-Nov-2006)
[/sbin/fsck.ext3 (1) -- /] fsck.ext3 -a -C0 /dev/sda2 
qemu-system-sparc: /home/njh/src/qemu/hw/scsi-disk.c:201: scsi_read_data: Assertion `r->req.aiocb == ((void *)0)' failed.


It crashes in the same place every time.

(gdb) thread apply all bt:

Thread 3 (Thread 17643):
#0  0x00007f4db21bc8d3 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00000000004d02c4 in main_loop_wait (nonblocking=<value optimized out>)
    at /home/njh/src/qemu/vl.c:1246
#2  0x00000000004d0e57 in main_loop (argc=<value optimized out>, 
    argv=<value optimized out>, envp=<value optimized out>)
    at /home/njh/src/qemu/vl.c:1309
#3  main (argc=<value optimized out>, argv=<value optimized out>, 
    envp=<value optimized out>) at /home/njh/src/qemu/vl.c:2999

Thread 2 (Thread 17645):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x000000000042450b in cond_timedwait (unused=<value optimized out>)
    at posix-aio-compat.c:104
#2  aio_thread (unused=<value optimized out>) at posix-aio-compat.c:325
#3  0x00007f4db3b818ba in start_thread (arg=<value optimized out>)
    at pthread_create.c:300
#4  0x00007f4db21c302d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()
Current language:  auto
The current source language is "auto; currently asm".

Thread 1 (Thread 17644):
#0  0x00007f4db2126165 in *__GI_raise (sig=<value optimized out>)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x00007f4db2128f70 in *__GI_abort () at abort.c:92
#2  0x00007f4db211f2b1 in *__GI___assert_fail (
    assertion=0x52690a "r->req.aiocb == ((void *)0)", 
    file=<value optimized out>, line=201, function=0x527480 "scsi_read_data")
    at assert.c:81
#3  0x000000000044f363 in scsi_read_data (d=<value optimized out>, tag=0)
    at /home/njh/src/qemu/hw/scsi-disk.c:201
#4  0x00000000004ebd6c in esp_do_dma (s=0x20679d0)
    at /home/njh/src/qemu/hw/esp.c:377
#5  0x00000000004ec781 in handle_ti (opaque=0x20679d0, 
    addr=<value optimized out>, val=<value optimized out>)
    at /home/njh/src/qemu/hw/esp.c:443
#6  esp_mem_writeb (opaque=0x20679d0, addr=<value optimized out>, 
    val=<value optimized out>) at /home/njh/src/qemu/hw/esp.c:595
#7  0x0000000041b2d971 in ?? ()
#8  0xffffffffffffffff in ?? ()
#9  0x00000000031ad000 in ?? ()
#10 0x0000000301adfa20 in ?? ()
#11 0x0000100000000007 in ?? ()
#12 0x00007f4daf80e8a0 in ?? ()
#13 0x0000000000000001 in ?? ()
#14 0x0000000000000000 in ?? ()

** Affects: qemu
     Importance: Undecided
         Status: New

-- 
Sparc guest assert error
https://bugs.launchpad.net/bugs/671831
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.

Status in QEMU: New

Bug description:
The latest version in git (d33ea50a958b2e050d2b28e5f17e3b55e91c6d74) crashes with an assert error when booting a Sparc/Linux guest.

The last time I tried it (about a week ago) it worked fine.  Yesterdai, I did a git pull, make clean, reran configure and compiled.

Host OS: Debian Linux/x86_64 5.0
C Compiler: 4.4.5
Guest OS: Linux/Sparc (2.4)
Command Line: qemu-system-sparc -hda ~njh/qemu/sparc/debian.img -nographic -m 128
Build Configure: ./configure --enable-linux-aio --enable-io-thread --enable-kvm
GIT commit: d33ea50a958b2e050d2b28e5f17e3b55e91c6d74

Output:

Adding Swap: 122532k swap-space (priority -1)
.
Will now check root file system:fsck 1.40-WIP (14-Nov-2006)
[/sbin/fsck.ext3 (1) -- /] fsck.ext3 -a -C0 /dev/sda2 
qemu-system-sparc: /home/njh/src/qemu/hw/scsi-disk.c:201: scsi_read_data: Assertion `r->req.aiocb == ((void *)0)' failed.


It crashes in the same place every time.

(gdb) thread apply all bt:

Thread 3 (Thread 17643):
#0  0x00007f4db21bc8d3 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00000000004d02c4 in main_loop_wait (nonblocking=<value optimized out>)
    at /home/njh/src/qemu/vl.c:1246
#2  0x00000000004d0e57 in main_loop (argc=<value optimized out>, 
    argv=<value optimized out>, envp=<value optimized out>)
    at /home/njh/src/qemu/vl.c:1309
#3  main (argc=<value optimized out>, argv=<value optimized out>, 
    envp=<value optimized out>) at /home/njh/src/qemu/vl.c:2999

Thread 2 (Thread 17645):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x000000000042450b in cond_timedwait (unused=<value optimized out>)
    at posix-aio-compat.c:104
#2  aio_thread (unused=<value optimized out>) at posix-aio-compat.c:325
#3  0x00007f4db3b818ba in start_thread (arg=<value optimized out>)
    at pthread_create.c:300
#4  0x00007f4db21c302d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()
Current language:  auto
The current source language is "auto; currently asm".

Thread 1 (Thread 17644):
#0  0x00007f4db2126165 in *__GI_raise (sig=<value optimized out>)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x00007f4db2128f70 in *__GI_abort () at abort.c:92
#2  0x00007f4db211f2b1 in *__GI___assert_fail (
    assertion=0x52690a "r->req.aiocb == ((void *)0)", 
    file=<value optimized out>, line=201, function=0x527480 "scsi_read_data")
    at assert.c:81
#3  0x000000000044f363 in scsi_read_data (d=<value optimized out>, tag=0)
    at /home/njh/src/qemu/hw/scsi-disk.c:201
#4  0x00000000004ebd6c in esp_do_dma (s=0x20679d0)
    at /home/njh/src/qemu/hw/esp.c:377
#5  0x00000000004ec781 in handle_ti (opaque=0x20679d0, 
    addr=<value optimized out>, val=<value optimized out>)
    at /home/njh/src/qemu/hw/esp.c:443
#6  esp_mem_writeb (opaque=0x20679d0, addr=<value optimized out>, 
    val=<value optimized out>) at /home/njh/src/qemu/hw/esp.c:595
#7  0x0000000041b2d971 in ?? ()
#8  0xffffffffffffffff in ?? ()
#9  0x00000000031ad000 in ?? ()
#10 0x0000000301adfa20 in ?? ()
#11 0x0000100000000007 in ?? ()
#12 0x00007f4daf80e8a0 in ?? ()
#13 0x0000000000000001 in ?? ()
#14 0x0000000000000000 in ?? ()

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

end of thread, other threads:[~2010-12-11 13:41 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-06 13:24 [Qemu-devel] [Bug 671831] [NEW] Sparc guest assert error Nigel Horne
2010-11-06 20:28 ` Stefan Hajnoczi
2010-11-08 10:42   ` Stefan Hajnoczi
2010-11-08 14:00     ` Nigel Horne
2010-11-08 14:04     ` Nigel Horne
2010-11-08 14:30       ` Stefan Hajnoczi
2010-11-08 14:36         ` Stefan Hajnoczi
2010-11-08 19:39           ` Blue Swirl
2010-11-09  0:56     ` Nigel Horne
2010-11-09  9:23       ` Stefan Hajnoczi
2010-11-09 13:28         ` Nigel Horne
2010-11-09 14:14           ` Stefan Hajnoczi
2010-11-09 17:07             ` Nigel Horne
2010-11-10  9:42               ` Stefan Hajnoczi
2010-11-10 14:56                 ` Nigel Horne
2010-11-10 14:51 ` [Qemu-devel] [Bug 671831] " Nigel Horne
2010-11-10 14:53 ` Nigel Horne
2010-11-11 14:17   ` Stefan Hajnoczi
2010-11-11 17:00     ` Nigel Horne
2010-11-11 21:19       ` Stefan Hajnoczi
2010-11-11 22:45         ` Nigel Horne
2010-11-12  7:03           ` Stefan Hajnoczi
2010-11-12  9:26 ` Stefan Hajnoczi
2010-12-11 13:30 ` Nigel Horne
2010-12-11 13:32 ` Nigel Horne

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).