Date: Mon, 07 Sep 2020 15:07:45 +0000 From: bugzilla-noreply@freebsd.org To: pkg@FreeBSD.org Subject: [Bug 249166] ports-mgmt/pkg audit -F Segmentation fault Message-ID: <bug-249166-32340-ofuxHLN3yg@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-249166-32340@https.bugs.freebsd.org/bugzilla/> References: <bug-249166-32340@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D249166 --- Comment #1 from Matthias Andree <mandree@FreeBSD.org> --- ...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.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-249166-32340-ofuxHLN3yg>