Skip to content

Cargo Attempts to mmap 139656422572032, bytes of memory then dies with SIGSEGV #1233

Closed
@dkhenry

Description

@dkhenry

While attempting to build https://github.com/danburkert/lmdb-rs.git Cargo will exit with an error 4. While running strace I see the error being encountered is

[pid 27781] mmap(NULL, 139656422572032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 ENOMEM (Cannot allocate memory)
[pid 27781] mmap(NULL, 139656422572032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 ENOMEM (Cannot allocate memory)
[pid 27781] brk(0)                      = 0x7f0450606000
[pid 27781] brk(0xfe089bd61000)         = 0x7f0450606000
[pid 27781] mmap(NULL, 139656422703104, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 ENOMEM (Cannot allocate memory)

After these errors there is a SIGSEGV and then the program exits.

Here is the verison information this is occuring on

cargo 0.0.1-pre-nightly (bb28e71 2015-01-22 06:06:34 +0000)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions