Latest git crashes in if_start with netBSD guest
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Expired
|
Undecided
|
Unassigned |
Bug Description
The latest version in git (cfd07e7abb1ef3
Host OS: Debian Linux/x86_64 5.0
C Compiler: 4.4.5
Guest OS:NetBSD/i386 5.0.2
Command Line:
Build Configure: ./configure --enable-linux-aio --enable-io-thread --enable-kvm
GIT commit: d33ea50a958b2e0
*** glibc detected *** /home/njh/
======= Backtrace: =========
/lib/libc.
/home/njh/
/home/njh/
/home/njh/
/home/njh/
/home/njh/
/home/njh/
/home/njh/
/lib/libc.
/home/njh/
======= Memory map: ========
00400000-006a1000 r-xp 00000000 08:03 406539 /home/njh/
008a0000-008c4000 rw-p 002a0000 08:03 406539 /home/njh/
008c4000-010ae000 rw-p 00000000 00:00 0
010ae000-010af000 rwxp 00000000 00:00 0
010af000-010c7000 rw-p 00000000 00:00 0
023a8000-024ab000 rw-p 00000000 00:00 0
024ab000-024bb000 rw-p 00000000 00:00 0
024bb000-025d5000 rw-p 00000000 00:00 0
40a6f000-42a6f000 rwxp 00000000 00:00 0
7f15d292b000-
7f15d2941000-
7f15d2b40000-
7f15d2b41000-
7f15d2b46000-
7f15d2d45000-
7f15d2d46000-
7f15d2d4f000-
7f15d2f4f000-
7f15d2f50000-
7f15d3025000-
7f15d319a000-
7f15d31a2000-
7f15d33a1000-
7f15d33a2000-
7f15d33ab000-
7f15d35ab000-
7f15d35ac000-
7f15d35bd000-
7f15d37bd000-
7f15d37d2000-
7f15d37d3000-
7f15d3c49000-
7f15d3d63000-
7f15d3d64000-
7f15d4564000-
7f15d4566000-
7f15dc566000-
7f15dc567000-
7f15dc568000-
7f15de76a000-
7f15de76f000-
7f15de96e000-
7f15de96f000-
7f15de971000-
7f15deb71000-
7f15deb72000-
7f15deb91000-
7f15ded91000-
7f15ded93000-
7f15ded94000-
7f15dedb0000-
7f15defaf000-
7f15defb0000-
7f15deffd000-
7f15df1fc000-
7f15df205000-
7f15df20e000-
7f15df224000-
7f15df423000-
7f15df425000-
7f15df42e000-
7f15df62e000-
7f15df62f000-
7f15df6ae000-
7f15df8ad000-
7f15df8b1000-
7f15df98f000-
7f15dfb8e000-
7f15dfb96000-
7f15dfb98000-
GDB output:
Thread 3 (Thread 3756):
#0 __lll_lock_wait () at ../nptl/
#1 0x00007f15e182a0e9 in _L_lock_953 () from /lib/libpthread
#2 0x00007f15e1829f0b in __pthread_
#3 0x00000000004914f9 in qemu_mutex_lock (mutex=0x10690c0) at qemu-thread.c:50
#4 0x0000000000408c4c in qemu_mutex_
#5 0x000000000041af8e in kvm_cpu_exec (env=0x23e3c40) at /home/njh/
#6 0x00000000004a7885 in cpu_x86_exec (env1=<value optimized out>) at /home/njh/
#7 0x00000000004086e8 in qemu_cpu_exec (env=0x23e3c40) at /home/njh/
#8 0x00000000004099e4 in kvm_cpu_thread_fn (arg=<value optimized out>) at /home/njh/
#9 0x00007f15e18278ba in start_thread (arg=<value optimized out>) at pthread_
#10 0x00007f15dfe6902d in clone () at ../sysdeps/
#11 0x0000000000000000 in ?? ()
Thread 2 (Thread 3757):
#0 pthread_
#1 0x000000000042ca0b in cond_timedwait (unused=<value optimized out>) at posix-aio-
#2 aio_thread (unused=<value optimized out>) at posix-aio-
#3 0x00007f15e18278ba in start_thread (arg=<value optimized out>) at pthread_
#4 0x00007f15dfe6902d in clone () at ../sysdeps/
#5 0x0000000000000000 in ?? ()
Current language: auto
The current source language is "auto; currently asm".
Thread 1 (Thread 3755):
#0 0x00007f15dfdcc165 in *__GI_raise (sig=<value optimized out>) at ../nptl/
#1 0x00007f15dfdcef70 in *__GI_abort () at abort.c:92
#2 0x00007f15dfe0227b in __libc_message (do_abort=<value optimized out>, fmt=<value optimized out>) at ../sysdeps/
#3 0x00007f15dfe0bad6 in malloc_printerr (action=3, str=0x7f15dfebfb75 "free(): invalid pointer", ptr=<value optimized out>) at malloc.c:6267
#4 0x0000000000492ff3 in if_start (slirp=0x23aa400) at slirp/if.c:205
#5 0x0000000000494082 in ip_output (so=<value optimized out>, m0=0x25d3ff0) at slirp/ip_
#6 0x000000000049b38e in udp_output (so=0xeab, m=0xeab, addr=<value optimized out>) at slirp/udp.c:299
#7 0x000000000049710a in sorecvfrom (so=0x2529380) at slirp/socket.c:527
#8 0x00000000004947c7 in slirp_select_poll (readfds=
at slirp/slirp.c:542
#9 0x00000000005181cc in main_loop_wait (nonblocking=<value optimized out>) at /home/njh/
#10 0x0000000000518c67 in main_loop (argc=<value optimized out>, argv=<value optimized out>, envp=<value optimized out>) at /home/njh/
#11 main (argc=<value optimized out>, argv=<value optimized out>, envp=<value optimized out>) at /home/njh/
I assume this problem has been fixed nowadays ... or can you still somehow reproduce it with the latest version of QEMU?