From owner-freebsd-emulation@freebsd.org Tue Feb 9 00:17:00 2021 Return-Path: Delivered-To: freebsd-emulation@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 535F0546F98 for ; Tue, 9 Feb 2021 00:17:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4DZNk41j3sz3NPd for ; Tue, 9 Feb 2021 00:17:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 3A452547003; Tue, 9 Feb 2021 00:17:00 +0000 (UTC) Delivered-To: emulation@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 38F50546CBD for ; Tue, 9 Feb 2021 00:17:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DZNk415ltz3N0N for ; Tue, 9 Feb 2021 00:17:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 18DB120C6C for ; Tue, 9 Feb 2021 00:17:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 1190H0fa033610 for ; Tue, 9 Feb 2021 00:17:00 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1190H0rq033609 for emulation@FreeBSD.org; Tue, 9 Feb 2021 00:17:00 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: emulation@FreeBSD.org Subject: [Bug 253335] emulators/qemu-user-static php segfault building devel/pear for armv7 Date: Tue, 09 Feb 2021 00:17:00 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: markj@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: markj@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Feb 2021 00:17:00 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253335 --- Comment #9 from Mark Johnston --- qemu is doing the mprotect here: Thread 1 hit Catchpoint 1 (call to syscall mprotect), 0x000000006049f48a in= ?? ()=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 (gdb) bt=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 #0 0x000000006049f48a in ?? ()=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20 #1 0x00000000602b413a in page_find_alloc (index=3D5, alloc=3D1)=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 at /usr/home/markj/src/freebsd-ports/emulators/qemu-user-static/work/qemu-bsd-= user-39244526c0af/accel/tcg/translate-all.c:497=20 #2 page_lock_pair (ret_p1=3D, phys1=3D4095827272, ret_p2=3D= , phys2=3D4294967295, alloc=3D1)=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20 at /usr/home/markj/src/freebsd-ports/emulators/qemu-user-static/work/qemu-bsd-= user-39244526c0af/accel/tcg/translate-all.c:882=20 #3 tb_link_page (tb=3D0x60598280 , phys_pc=3D4095827272, phys_page2=3D4294967295)=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 at /usr/home/markj/src/freebsd-ports/emulators/qemu-user-static/work/qemu-bsd-= user-39244526c0af/accel/tcg/translate-all.c:1628=20 #4 tb_gen_code (cpu=3D, pc=3D, cs_base=3D0, flags=3D1626480128, cflags=3D)=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 at /usr/home/markj/src/freebsd-ports/emulators/qemu-user-static/work/qemu-bsd-= user-39244526c0af/accel/tcg/translate-all.c:1831=20 #5 0x00000000602b2a95 in cpu_loop_exit_restore (cpu=3D0xf4215000, pc=3D409= 6)=20=20=20=20=20=20=20 at /usr/home/markj/src/freebsd-ports/emulators/qemu-user-static/work/qemu-bsd-= user-39244526c0af/accel/tcg/cpu-exec-common.c:72=20 #6 0x00000000602c2ff1 in target_cpu_loop (env=3D0x0)=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 at /usr/home/markj/src/freebsd-ports/emulators/qemu-user-static/work/qemu-bsd-= user-39244526c0af/bsd-user/arm/target_arch_cpu.h:259=20 #7 0x00000000602c2f89 in target_cpu_loop (env=3D0x860933c00) In tb_page_add() I see: 1560 /* force the host page as non writable (writes will have a=20= =20=20=20=20=20=20=20=20 1561 page fault + mprotect overhead) */ but it looks like something's not implementing that...? --=20 You are receiving this mail because: You are on the CC list for the bug.=