From owner-svn-src-user@freebsd.org Mon Apr 13 08:56:49 2020 Return-Path: Delivered-To: svn-src-user@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 2D4DE2B7759 for ; Mon, 13 Apr 2020 08:56:49 +0000 (UTC) (envelope-from pho@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) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4912YD6VZGz4JrR; Mon, 13 Apr 2020 08:56:48 +0000 (UTC) (envelope-from pho@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id DA4AD18B05; Mon, 13 Apr 2020 08:56:48 +0000 (UTC) (envelope-from pho@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 03D8umTn095937; Mon, 13 Apr 2020 08:56:48 GMT (envelope-from pho@FreeBSD.org) Received: (from pho@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 03D8umEI095936; Mon, 13 Apr 2020 08:56:48 GMT (envelope-from pho@FreeBSD.org) Message-Id: <202004130856.03D8umEI095936@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pho set sender to pho@FreeBSD.org using -f From: Peter Holm Date: Mon, 13 Apr 2020 08:56:48 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r359852 - user/pho/stress2/misc X-SVN-Group: user X-SVN-Commit-Author: pho X-SVN-Commit-Paths: user/pho/stress2/misc X-SVN-Commit-Revision: 359852 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Apr 2020 08:56:49 -0000 Author: pho Date: Mon Apr 13 08:56:48 2020 New Revision: 359852 URL: https://svnweb.freebsd.org/changeset/base/359852 Log: Fix the mmap() argument type. The test now works as expected. Remove some trailing blanks while here. Reported by: Mark Johnston Modified: user/pho/stress2/misc/syzkaller7.sh Modified: user/pho/stress2/misc/syzkaller7.sh ============================================================================== --- user/pho/stress2/misc/syzkaller7.sh Mon Apr 13 08:56:19 2020 (r359851) +++ user/pho/stress2/misc/syzkaller7.sh Mon Apr 13 08:56:48 2020 (r359852) @@ -1,10 +1,10 @@ #!/bin/sh -# panic: Duplicate free of 0xfffff800049ad800 from zone +# panic: Duplicate free of 0xfffff800049ad800 from zone # 0xfffff800041e82c0(mbuf) slab 0xfffff800049adf90(8) # # KDB: stack backtrace: -# db_trace_self_wrapper() at db_trace_self_wrapper+0x47/frame +# db_trace_self_wrapper() at db_trace_self_wrapper+0x47/frame # 0xfffffe0016b2c4a0 # vpanic() at vpanic+0x1e0/frame 0xfffffe0016b2c500 # panic() at panic+0x43/frame 0xfffffe0016b2c560 @@ -12,7 +12,7 @@ # uma_zfree_arg() at uma_zfree_arg+0x1aa/frame 0xfffffe0016b2c640 # uipc_ready() at uipc_ready+0x19f/frame 0xfffffe0016b2c690 # sendfile_iodone() at sendfile_iodone+0x342/frame 0xfffffe0016b2c6f0 -# vnode_pager_generic_getpages_done_async() at +# vnode_pager_generic_getpages_done_async() at # vnode_pager_generic_getpages_done_async+0x4a/frame 0xfffffe0016b2c720 # bufdone() at bufdone+0xa1/frame 0xfffffe0016b2c7a0 # g_io_deliver() at g_io_deliver+0x35b/frame 0xfffffe0016b2c800 @@ -28,7 +28,7 @@ # $FreeBSD$ -# Not reproduced on r359769 +# Reproduced on r359769 # Fixed by r359779 [ `uname -p` = "i386" ] && exit 0 @@ -146,7 +146,7 @@ void execute_one(void) } int main(void) { - syscall(SYS_mmap, 0x20000000, 0x1000000, 3, 0x1012, -1, 0); + syscall(SYS_mmap, 0x20000000, 0x1000000, 3, 0x1012, -1, 0ul); loop(); return 0; }