Received: from eggs.gnu.org ([2001:4830:134:3::10]:37745) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cEF7J-0003fo-Rt for qemu-devel@nongnu.org; Tue, 06 Dec 2016 07:45:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cEF7F-0006WU-Lb for qemu-devel@nongnu.org; Tue, 06 Dec 2016 07:45:04 -0500 Received: from indium.canonical.com ([91.189.90.7]:34979) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cEF7F-0006Vk-G8 for qemu-devel@nongnu.org; Tue, 06 Dec 2016 07:45:01 -0500 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.76 #1 (Debian)) id 1cEF7B-0007NF-58 for ; Tue, 06 Dec 2016 12:44:57 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 640192E80E0 for ; Tue, 6 Dec 2016 12:44:56 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Tue, 06 Dec 2016 12:32:11 -0000 From: Peter Maydell Reply-To: Bug 1221966 <1221966@bugs.launchpad.net> Sender: bounces@canonical.com References: <20130906230043.20668.15929.malonedeb@soybean.canonical.com> Message-Id: <20161206123211.28250.2542.malone@soybean.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 1221966] Re: SIGSEGV in static_code_gen_buffer List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Also I just noticed that the original report says the crash is while trying to run a SunOS binary. This isn't supported at all -- we can run Linux Sparc binaries with qemu-sparc, not random-other-OS binaries, and "guest binary crashes" is not an implausible result... -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1221966 Title: SIGSEGV in static_code_gen_buffer Status in QEMU: Incomplete Bug description: Trying to run 'ls' (or, anything else as far as I can tell) from a SunOS 5.8 box under RHEL 6.4 linux, I get a segfault. I've tried qemu-1.5.3, qemu-1.6.0, and I fetched git://git.qemu- project.org/qemu.git. I've also tried a statically linked sh from /sbin/ and it also segfaulted. wcolburn@anotheruvula$ gdb bin/qemu-sparc GNU gdb (GDB) Red Hat Enterprise Linux (7.2-60.el6_4.1) Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-redhat-linux-gnu". For bug reporting instructions, please see: ... Reading symbols from /home/anotheruvula/qemu/bin/qemu-sparc...done. (gdb) run ../sparc/ls Starting program: /home/anotheruvula/qemu/bin/qemu-sparc ../sparc/ls [Thread debugging using libthread_db enabled] Program received signal SIGSEGV, Segmentation fault. 0x00007ffff8259116 in static_code_gen_buffer () Missing separate debuginfos, use: debuginfo-install glib2-2.22.5-7.el6.x8= 6_64 glibc-2.12-1.107.el6_4.4.x86_64 (gdb) where #0 0x00007ffff8259116 in static_code_gen_buffer () #1 0x00007ffff7f570cd in cpu_tb_exec (cpu=3D0x7ffffa2b1210, tb_ptr=3D 0x7ffff82590d0 "A\213n=C2=A0\205=C3=AD\017\205=C3=8D") at /home/anotheruvula/qemu-devel/cpu-exec.c:56 #2 0x00007ffff7f57b2d in cpu_sparc_exec (env=3D0x7ffffa2b1348) at /home/anotheruvula/qemu-devel/cpu-exec.c:631 #3 0x00007ffff7f77f36 in cpu_loop (env=3D0x7ffffa2b1348) at /home/anotheruvula/qemu-devel/linux-user/main.c:1089 #4 0x00007ffff7f798ff in main (argc=3D2, argv=3D0x7fffffffdfc8, envp=3D 0x7fffffffdfe0) at /home/anotheruvula/qemu-devel/linux-user/main.c:40= 83 (gdb) To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1221966/+subscriptions