From owner-freebsd-pkg@freebsd.org Mon Sep 7 15:07:45 2020 Return-Path: Delivered-To: freebsd-pkg@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 93F7B3CC8A1 for ; Mon, 7 Sep 2020 15:07:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4BlWqP3V9lz4FK8 for ; Mon, 7 Sep 2020 15:07:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 761E53CC4DC; Mon, 7 Sep 2020 15:07:45 +0000 (UTC) Delivered-To: pkg@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 75E993CC56E for ; Mon, 7 Sep 2020 15:07:45 +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 "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BlWqP2cQgz4FC4 for ; Mon, 7 Sep 2020 15:07:45 +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 3CE9E21272 for ; Mon, 7 Sep 2020 15:07:45 +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 087F7j8Z045168 for ; Mon, 7 Sep 2020 15:07:45 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 087F7jC9045167 for pkg@FreeBSD.org; Mon, 7 Sep 2020 15:07:45 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: pkg@FreeBSD.org Subject: [Bug 249166] ports-mgmt/pkg audit -F Segmentation fault Date: Mon, 07 Sep 2020 15:07:45 +0000 X-Bugzilla-Reason: AssignedTo 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 Only Me X-Bugzilla-Who: mandree@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pkg@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? 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-pkg@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Sep 2020 15:07:45 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D249166 --- Comment #1 from Matthias Andree --- ...its final words, with truss -f: 38964: openat(4,"local.conf",O_RDONLY,00) =3D 5 (0x5) 38964: fstat(5,{ mode=3D-rw-r--r-- ,inode=3D1163531,size=3D109,blksize=3D40= 96 }) =3D 0 (0x0) 38964: mmap(0x0,109,PROT_READ,MAP_SHARED,5,0x0) =3D 34376097792 (0x800f9a0= 00) 38964: munmap(0x800f9a000,109) =3D 0 (0x0) 38964: close(5) =3D 0 (0x0) 38964: close(4) =3D 0 (0x0) 38964: openat(AT_FDCWD,"/var/db/pkg",O_RDONLY|O_DIRECTORY|O_CLOEXEC,00) =3D= 4 (0x4) 38964: fstatat(4,"vuln.xml",{ mode=3D-r--r--r-- ,inode=3D11,size=3D6339069,blksize=3D131072 },0x0) =3D 0 (0x0) 38964: getrandom("(garbled stuff here)"...,40,0) =3D 40 (0x28) 38964: mmap(0x0,1104,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) =3D 34376097792 (0x800f9a000) 38964: minherit(0x800f9a000,1104,INHERIT_ZERO) =3D 0 (0x0) 38964: fstatat(AT_FDCWD,"/tmp",{ mode=3Ddrwxrwxrwt ,inode=3D4,size=3D18,blk= size=3D16384 },0x0) =3D 0 (0x0) 38964: open("/tmp/vuln.xml.bz2.FlL4hBhW",O_RDWR|O_CREAT|O_EXCL,0600) =3D 5 = (0x5) 38964: SIGNAL 11 (SIGSEGV) code=3DSEGV_MAPERR trapno=3D12 addr=3D0x20 38964: process killed, signal =3D 11 (core dumped) (gdb) bt #0 0x000000000049775a in pkg_fetch_file_to_fd () #1 0x000000000049765d in pkg_fetch_file_tmp () #2 0x000000000044cb1b in pkg_audit_fetch () #3 0x000000000029faaa in exec_audit () #4 0x00000000002a8bbc in main () --=20 You are receiving this mail because: You are the assignee for the bug.=