Received: from eggs.gnu.org ([2001:4830:134:3::10]:43858) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bybaw-0007DS-VF for qemu-devel@nongnu.org; Mon, 24 Oct 2016 05:31:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bybas-0006zz-1B for qemu-devel@nongnu.org; Mon, 24 Oct 2016 05:31:02 -0400 Received: from indium.canonical.com ([91.189.90.7]:38030) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1bybar-0006zk-Rm for qemu-devel@nongnu.org; Mon, 24 Oct 2016 05:30:57 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.76 #1 (Debian)) id 1bybap-0007xn-Bw for ; Mon, 24 Oct 2016 09:30:55 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 209DB2E80D6 for ; Mon, 24 Oct 2016 09:30:54 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Mon, 24 Oct 2016 09:15:19 -0000 From: Roman Reply-To: Bug 1636126 <1636126@bugs.launchpad.net> Sender: bounces@canonical.com Message-Id: <20161024091519.21408.93740.malonedeb@gac.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 1636126] [NEW] qemu-system-arm segfaults on "smulbb r7, r5, r5" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Public bug reported: I'll attach a binary that runs fine with qemu-system-arm V2.2.0 but V2.7.0 = segfaults. By stepping through with gdb I found that the segfaults happens when execut= ing the line "smulbb r7, r5, r5" (where r7=3D0x1, r5=3D0x12). I'll also attach a debugger screenshot. call and output: /opt/qemu-system-arm -M integratorcp -cpu cortex-m3 -semihosting -nographic -monitor null -serial null -no-reboot -kernel 0MFW_SafetyFunctions_ParameteruP1_CUNIT.elf ------------ CUnit_MFW_SafetyFunctions_Parameter ------------ CUnit - A Unit testing framework for C - Version 2.1-0 http://cunit.sourceforge.net/ Suite: Suite_MFW_SafetyFunctions_Parameter Test: MFW_SafetyFunctions_Parameter_PositionLimiter ... Segmentation faul= t (core dumped) ** Affects: qemu Importance: Undecided Status: New ** Tags: qemu segfault ** Attachment added: "elf-file for reproduction" https://bugs.launchpad.net/bugs/1636126/+attachment/4766311/+files/0MFW_= SafetyFunctions_ParameteruP1_CUNIT.elf -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1636126 Title: qemu-system-arm segfaults on "smulbb r7, r5, r5" Status in QEMU: New Bug description: I'll attach a binary that runs fine with qemu-system-arm V2.2.0 but V2.7.= 0 segfaults. By stepping through with gdb I found that the segfaults happens when exec= uting the line "smulbb r7, r5, r5" (where r7=3D0x1, r5=3D0x12). I'll also attach a debugger screenshot. call and output: /opt/qemu-system-arm -M integratorcp -cpu cortex-m3 -semihosting -nographic -monitor null -serial null -no-reboot -kernel 0MFW_SafetyFunctions_ParameteruP1_CUNIT.elf ------------ CUnit_MFW_SafetyFunctions_Parameter ------------ = CUnit - A Unit testing framework for C - Version 2.1-0 http://cunit.sourceforge.net/ = Suite: Suite_MFW_SafetyFunctions_Parameter Test: MFW_SafetyFunctions_Parameter_PositionLimiter ... Segmentation fa= ult (core dumped) To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1636126/+subscriptions