Bug 192922 - ports-mgmt/pkg: "pkg install" raises jemalloc assertion for bitmap_get()
Summary: ports-mgmt/pkg: "pkg install" raises jemalloc assertion for bitmap_get()
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-pkg (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-22 16:10 UTC by Kate
Modified: 2014-12-29 23:44 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kate 2014-08-22 16:10:16 UTC
For 11.0-CURRENT i386, installing any package gives:

# pkg -v
1.3.6
# pkg install unclutter
Updating repository catalogue
FreeBSD repository is up-to-date
All repositories are up-to-date
Checking integrity... done (0 conflicting)
The following 1 packages will be affected (of 0 checked):

New packages to be INSTALLED:
        unclutter: 8_3

The process will require 12 KB more space

Proceed with this action [y/N]: y
[1/1] Installing unclutter-8_3: 100%
<jemalloc>: jemalloc_arena.c:321: Failed assertion: "bitmap_get(b
itmap, &bin_info->bitmap_info, regind)"
Child process pid=4554 terminated abnormally: Abort trap
#

The packages are actually installed, so I imagine this is in the cleanup code before exit.

I have a 25M core file if you want it.

This was built from base/head -r270176.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2014-09-06 01:59:09 UTC
The pkg(8) command in base is just a kickstarter.  Reclassify PR and assign.
Comment 2 Baptiste Daroussin freebsd_committer freebsd_triage 2014-12-29 23:44:07 UTC
It has been fixed since