Received: from eggs.gnu.org ([2001:4830:134:3::10]:35694) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VcvGd-0003zb-8W for qemu-devel@nongnu.org; Sun, 03 Nov 2013 05:50:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VcvGY-0000Y7-0A for qemu-devel@nongnu.org; Sun, 03 Nov 2013 05:50:51 -0500 Received: from indium.canonical.com ([91.189.90.7]:34391) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VcvGX-0000Xv-Jc for qemu-devel@nongnu.org; Sun, 03 Nov 2013 05:50:45 -0500 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1VcvGV-0007uh-S0 for ; Sun, 03 Nov 2013 10:50:43 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id CD51A2E8009 for ; Sun, 3 Nov 2013 10:50:43 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Sun, 03 Nov 2013 10:41:38 -0000 From: Michael Tokarev <1246990@bugs.launchpad.net> Sender: bounces@canonical.com References: <20131101065844.10659.568.malonedeb@soybean.canonical.com> Message-Id: <20131103104138.10053.93928.malone@soybean.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 1246990] Re: [qemu-x86-64-linux-user 1.6.1] qemu: uncaught target signal 11 (Segmentation fault) - core dumped Reply-To: Bug 1246990 <1246990@bugs.launchpad.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org I'm not sure x86*-linux-user targets are being tested at all. Last time I checked, x86-64 variant crashed left and right to the point of being completely unusable... -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1246990 Title: [qemu-x86-64-linux-user 1.6.1] qemu: uncaught target signal 11 (Segmentation fault) - core dumped Status in QEMU: New Status in =E2=80=9Cqemu=E2=80=9D package in Ubuntu: New Bug description: Rjsupplicant is an authentication client of Campus Network in most universities in China. Its Linux version has only x86 and amd64 version. On linux: ./qemu-x86_64 is compiled from latest qemu 1.6.1, with ./configure options: --enable-debug --target-list=3Dx86_64-linux-user . Compiler is gcc version 4.7.3 (Debian 4.7.3-4) $ sudo ./qemu-x86_64 ./rjsupplicant -n eth0 -u USER -p PASS -d 1 -s inte= rnet = qemu: uncaught target signal 11 (Segmentation fault) - core dumped $ sudo gdb ./qemu-x86_64 (gdb) r ./rjsupplicant -n eth0 -u USER -p PASS -d 1 -s internet (gdb) where #0 0x00005555559c21bd in static_code_gen_buffer () #1 0x00005555555b74d5 in cpu_tb_exec (cpu=3D0x555557972580, tb_ptr=3D0x5= 555559c2190 "A\213n\250\205\355\017\205\257= ") at /home/USER/x/rjsupplicant/x64/qemu-1.6.1/cpu-exec.c:56 #2 0x00005555555b817d in cpu_x86_exec (env=3D0x5555579726b0) at /home/US= ER/x/rjsupplicant/x64/qemu-1.6.1/cpu-exec.c:631 #3 0x00005555555d997a in cpu_loop (env=3D0x5555579726b0) at /home/USER/x= /rjsupplicant/x64/qemu-1.6.1/linux-user/main.c:283 #4 0x00005555555eca6b in clone_func (arg=3D0x7fffffffc1d0) at /home/USER= /x/rjsupplicant/x64/qemu-1.6.1/linux-user/syscall.c:4266 #5 0x00007ffff71bfe0e in start_thread (arg=3D0x7ffff7f04700) at pthread_= create.c:311 #6 0x00007ffff6ef493d in clone () at ../sysdeps/unix/sysv/linux/x86_64/c= lone.S:113 $ file rjsupplicant = rjsupplicant: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynam= ically linked (uses shared libs), for GNU/Linux 2.6.9, not stripped $ uname -r 3.10-2-amd64 = And it can be run on Linux amd64 successfully. Though I don't have the source code of rjsupplicant, so I don't have further information. `qemu-x86_64 -strace ./rjsupplicant -n eth0 -u USER -p PASS -d 1 -s internet` is attached as strace_qemu.log = The binary is available to download at http://ge.tt/6pgG1tw/v/0 To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1246990/+subscriptions