From owner-freebsd-bugs@freebsd.org Fri May 19 13:45:16 2017 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 056ADD73D17 for ; Fri, 19 May 2017 13:45:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C4C331DCA for ; Fri, 19 May 2017 13:45:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v4JDjFvl039538 for ; Fri, 19 May 2017 13:45:15 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 219402] bsdgrep jemalloc assertion failure with --mmap Date: Fri, 19 May 2017 13:45:15 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: emaste@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: 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-bugs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 May 2017 13:45:16 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219402 Bug ID: 219402 Summary: bsdgrep jemalloc assertion failure with --mmap Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: freebsd-bugs@FreeBSD.org Reporter: emaste@freebsd.org Running a test like that documented in 165471 resulted in an assertion fail= ure: nuc% cd /usr/share nuc% time bsdgrep --mmap -r -e '^Feb' * : jemalloc_arena.c:353: Failed assertion: "p[i] =3D=3D 0" zsh: abort bsdgrep --mmap -r -e '^Feb' * bsdgrep --mmap -r -e '^Feb' * 0.04s user 0.04s system 99% cpu 0.081 total (lldb) bt * thread #1, stop reason =3D signal SIGABRT * frame #0: 0x000000015747cd8a libc.so.7`__sys_thr_kill + 10 frame #1: 0x000000015747cd54 libc.so.7`raise + 52 frame #2: 0x000000015747ccc9 libc.so.7`abort + 73 frame #3: 0x000000015747497f libc.so.7`___lldb_unnamed_symbol886$$libc.= so.7 + 447 frame #4: 0x000000015746d6f9 libc.so.7`___lldb_unnamed_symbol835$$libc.= so.7 + 233 frame #5: 0x000000015746d3b1 libc.so.7`___lldb_unnamed_symbol833$$libc.= so.7 + 353 frame #6: 0x000000015744f96d libc.so.7`___lldb_unnamed_symbol319$$libc.= so.7 + 397 frame #7: 0x0000000157477eba libc.so.7`___lldb_unnamed_symbol952$$libc.= so.7 + 202 frame #8: 0x000000015747871b libc.so.7`__realloc + 667 frame #9: bsdgrep`grep_realloc(ptr=3D, size=3D) at util.c:542 frame #10: bsdgrep`grep_fgetln [inlined] grep_lnbufgrow at file.c:173 frame #11: bsdgrep`grep_fgetln(f=3D0x0000068da0c1c040, lenp=3D0x00007fffffffe400) at file.c:213 frame #12: bsdgrep`procfile(fn=3D"i18n/esdb/esdb.dir.db") at util.c:253 frame #13: bsdgrep`grep_tree(argv=3D) at util.c:182 frame #14: bsdgrep`main(argc=3D, argv=3D0x00007fff00000005= ) at grep.c:776 frame #15: 0x000000000040226f bsdgrep`_start + 383 --=20 You are receiving this mail because: You are the assignee for the bug.=