Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LyrNd-00030z-NK for qemu-devel@nongnu.org; Tue, 28 Apr 2009 13:46:05 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LyrNc-0002zt-5t for qemu-devel@nongnu.org; Tue, 28 Apr 2009 13:46:05 -0400 Received: from [199.232.76.173] (port=47418 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LyrNb-0002zq-QY for qemu-devel@nongnu.org; Tue, 28 Apr 2009 13:46:03 -0400 Received: from gelbbaer.kn-bremen.de ([78.46.108.116]:52664 helo=smtp.kn-bremen.de) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LyrNb-0006gV-AL for qemu-devel@nongnu.org; Tue, 28 Apr 2009 13:46:03 -0400 From: Juergen Lock Date: Tue, 28 Apr 2009 19:42:39 +0200 Message-ID: <20090428174239.GA28828@triton.kn-bremen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: [Qemu-devel] commit r7088 breaks kqemu, even when its not loaded... List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Paul Brook I was just trying to build head again on FreeBSD, and found it now always segfaults at startup regardless whether kqemu is loaded or not, the only thing that helps is passing -no-kqemu. Bisected, and found the breakage starts with r7088 (git 94a6b54fd6d2d3321066cb4db7abeeb417af9365, `Implement dynamic guest ram allocation.') #0 cpu_physical_memory_reset_dirty (start=134344704, end=134348800, dirty_flags=2) at /usr/ports/emulators/qemu-devel-20090411a/work/qemu-snapshot-20090411_14/exec.c:1879 1879 p[i] &= mask; [New Thread 0x8023020b0 (LWP 100219)] (gdb) bt #0 cpu_physical_memory_reset_dirty (start=134344704, end=134348800, dirty_flags=2) at /usr/ports/emulators/qemu-devel-20090411a/work/qemu-snapshot-20090411_14/exec.c:1879 #1 0x00000000004b5131 in tb_link_phys (tb=0x802400000, phys_pc=Variable "phys_pc" is not available. ) at /usr/ports/emulators/qemu-devel-20090411a/work/qemu-snapshot-20090411_14/exec.c:1147 #2 0x00000000004b692c in tb_gen_code (env=0x802338000, pc=4294967280, cs_base=4294901760, flags=Variable "flags" is not available. ) at /usr/ports/emulators/qemu-devel-20090411a/work/qemu-snapshot-20090411_14/exec.c:896 #3 0x00000000004bae5b in cpu_x86_exec (env1=Variable "env1" is not available. ) at /usr/ports/emulators/qemu-devel-20090411a/work/qemu-snapshot-20090411_14/cpu-exec.c:160 #4 0x000000000040c7a1 in main (argc=7, argv=0x7fffffffe9d8, envp=Variable "envp" is not available. ) at /usr/ports/emulators/qemu-devel-20090411a/work/qemu-snapshot-20090411_14/vl.c:3840 (gdb) p p $1 = (uint8_t *) 0x801f
(gdb) q Cheers, Juergen