Red Hat Bugzilla – Bug 30940
memory alloc(2554682469 bytes) returned NULL.
Last modified: 2007-04-18 12:32:03 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows 98)
rpm -i "any rpm file" shows message "memory alloc(2554682469 bytes)
returned NULL" and can't install. rpm --rebuilddb shows the same. I use
RedHat7.1RC1. After I install the java-1.1.8.rpm from SuSe7.1, I got this
Steps to Reproduce:
1.rpm -i "a package"
3.any rpm command
Actual Results: I can't install, upgrade,nor delete a package
Expected Results: Should be able to install,upgrade and delete a package
I have installed java1.1.8.rpm from SuSe 7.1 CDROM
This is a package problem, not an rpm problem. rpm is reading the two ints from
the package metadata that describe the size of the metadata, and, for reasons
known only to the person who created the package, the values are wrong,
possibly because of a little-endian/big-endian ordering problem.
I have encountered a similar problem though my malloc goes from 28 bytes to
286261256 bytes. I encounter this message:
[root@shadow /root]# rpm -qa
... (lists *nearly* all my rpms)
memory alloc (286261256 bytes) returned NULL.
I am able to install packages, receive information/filelists of installed
packages (rpm -qi/rpm -qil), and uninstalled packages. My only problem is a
query of all package names installed. This occured while using kpackage and
kpackage refuses to start after this occured.