Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AXnLF-0002ym-10 for qemu-devel@nongnu.org; Sat, 20 Dec 2003 15:04:49 -0500 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AXnKh-0002tn-Nx for qemu-devel@nongnu.org; Sat, 20 Dec 2003 15:04:48 -0500 Received: from [204.127.202.56] (helo=sccrmhc12.comcast.net) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AXnIB-0002UR-JD for qemu-devel@nongnu.org; Sat, 20 Dec 2003 15:01:39 -0500 Received: from enterprise.local.lan (enterprise.local.lan [127.0.0.1]) by enterprise.local.lan (8.12.10/8.12.8) with ESMTP id hBKJ04Yt011985 for ; Sat, 20 Dec 2003 12:00:05 -0700 Received: (from torriem@localhost) by enterprise.local.lan (8.12.10/8.12.10/Submit) id hBKJ03iM011983 for qemu-devel@nongnu.org; Sat, 20 Dec 2003 12:00:03 -0700 Subject: segfault -- was Re: [Qemu-devel] Unsupported syscall: 149 From: Michael Torrie In-Reply-To: <1071909547.31858.1.camel@enterprise.local.lan> References: <1071909547.31858.1.camel@enterprise.local.lan> Content-Type: text/plain Content-Transfer-Encoding: 7bit Message-Id: <1071946802.11869.7.camel@enterprise.local.lan> Mime-Version: 1.0 Date: Sat, 20 Dec 2003 12:00:02 -0700 Reply-To: qemu-devel@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On Sat, 2003-12-20 at 01:39, Michael Torrie wrote: > I've managed to get many simple apps to work under qemu, but many more > complicated apps, including one I'm developing cause qemu 0.5 to seg > fault with a message "Unsupported syscall: 149." What is this syscall > and will we ever be able to have it supported? Alright I misunderstood what was going on. What is really happening is that qemu-i386 is crashing on many of my programs (often after the message Unsupported syscall. In the debugger, I find that at some point, the inline function ldub_raw in cpu-all.h is passed a null pointer. Hence it segfaults. This may have something to do with all the libraries I put in my i386- lib folder to try to get things like wine running, as some programs before ran just fine and now they segfault. I will attempt to get a better backtrace. Oddly enough, when I when to build a qemu binary with all optimization off to get a better debug view, it now crashes on all programs with an "illegal instruction error. > > Thanks. > Michael -- Michael Torrie