Bug 20950 - rpm stops with 'memory alloc returned NULL'
rpm stops with 'memory alloc returned NULL'
Product: Red Hat Linux
Classification: Retired
Component: rpm (Show other bugs)
i386 Linux
medium Severity high
: ---
: ---
Assigned To: Jeff Johnson
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2000-11-16 07:46 EST by Need Real Name
Modified: 2007-04-18 12:29 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2000-11-16 07:46:14 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Need Real Name 2000-11-16 07:46:12 EST
When trying to install, upgrade or do other rpm-related things, rpm stops
with the message:

memory alloc (2581680408 bytes) returned NULL.

The actual number of bytes is sometimes different:

[root@mordor roel]# helix-update
Distribution: Red Hat Linux 7.0
memory alloc (1420823072 bytes) returned NULL.

I have tried rebuilding the db, but this also fails with the same error.
Comment 1 Jeff Johnson 2000-12-16 20:22:19 EST
For unknown reasons, rpm is requesting very large malloc's. Rather than
returning a NULL pointer and segfaulting, rpm simply exits with an error

This is usually caused by asking rpm to install a corrupted package, but without
more details about what operation you are trying to perform, I cannot tell more.

Please reopen with more specific details.

Note You need to log in before you can comment on or make changes to this bug.