[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#85419: marked as done (apt fails instantly with Dynamic MMap ran out of room .. msync (14 Bad address))



Your message dated Sat, 17 Feb 2001 21:57:13 -0700 (MST)
with message-id <Pine.LNX.3.96.1010217215655.1723H-100000@wakko.deltatee.com>
and subject line Closed
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Darren Benham
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 9 Feb 2001 19:16:42 +0000
>From tavin@swissmail.org Fri Feb 09 13:16:41 2001
Return-path: <tavin@swissmail.org>
Received: from server5.fpw.ch (server5.generalmail.com) [::ffff:194.209.117.20] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 14RJ27-0005ym-00; Fri, 09 Feb 2001 13:16:40 -0600
Received: from localhost ([194.209.117.3]) by server5.generalmail.com
          (Post.Office MTA v3.5 release 215 ID# 0-58584U1100L100S0V35)
          with ESMTP id com for <submit@bugs.debian.org>;
          Fri, 9 Feb 2001 19:41:37 +0100
Received: from tavin by localhost with local (Exim 3.12 #1 (Debian))
	id 14RJ22-0000Ap-00
	for <submit@bugs.debian.org>; Fri, 09 Feb 2001 14:16:34 -0500
Date: Fri, 9 Feb 2001 14:16:34 -0500
From: Tavin Cole <tavin@swissmail.org>
To: submit@bugs.debian.org
Subject: apt fails instantly with Dynamic MMap ran out of room .. msync (14 Bad address)
Message-ID: <[🔎] 20010209141634.A619@niss>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
Delivered-To: submit@bugs.debian.org

Package: apt
Version: 0.3.19
Severity: grave

When I invoke any apt-get or apt-cache command that involves the package
database (e.g. apt-cache search or apt-get install), the program fails
instantly with this:

~# apt-cache search apt
E: Dynamic MMap ran out of room
E: Error occured while processing abiword (NewVersion1)
E: Problem with MergeList /var/state/apt/lists/spidermonkey.helixcode.com_distributions_debian_dists_unstable_main_binary-i386_Packages
E: Unable to write mmap - msync (14 Bad address)

This started happening while I was using apt to upgrade from stable to
testing.  I used dselect to finish the upgrade, but I'm unsure whether
the system is truly fully upgraded (as apt informed me about a number
of packages that were being 'kept back' when I began the process).

Kernel is 2.2.17, libc6 is 2.2.1-1

Finally, here is the output of `strace -ff apt-cache search apt`:
Thanks!

execve("/usr/bin/apt-cache", ["apt-cache", "search", "apt"], [/* 19 vars */]) = 0
uname({sys="Linux", node="niss", ...})  = 0
brk(0)                                  = 0x805632c
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40017000
open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 4
fstat64(0x4, 0xbfffee74)                = -1 ENOSYS (Function not implemented)
fstat(4, {st_mode=S_IFREG|0644, st_size=26359, ...}) = 0
old_mmap(NULL, 26359, PROT_READ, MAP_PRIVATE, 4, 0) = 0x40018000
close(4)                                = 0
open("/usr/lib/libapt-pkg.so.2.7", O_RDONLY) = 4
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 %\2\000"..., 1024) = 1024
fstat(4, {st_mode=S_IFREG|0644, st_size=703336, ...}) = 0
old_mmap(NULL, 706424, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0x4001f000
mprotect(0x400b7000, 83832, PROT_NONE)  = 0
old_mmap(0x400b7000, 86016, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4, 0x97000) = 0x400b7000
close(4)                                = 0
open("/usr/lib/libstdc++-libc6.1-2.so.3", O_RDONLY) = 4
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0\247\1"..., 1024) = 1024
fstat(4, {st_mode=S_IFREG|0644, st_size=270280, ...}) = 0
old_mmap(NULL, 282280, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0x400cc000
mprotect(0x40103000, 57000, PROT_NONE)  = 0
old_mmap(0x40103000, 49152, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4, 0x36000) = 0x40103000
old_mmap(0x4010f000, 7848, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4010f000
close(4)                                = 0
open("/lib/libm.so.6", O_RDONLY)        = 4
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240I\0"..., 1024) = 1024
fstat(4, {st_mode=S_IFREG|0644, st_size=117448, ...}) = 0
old_mmap(NULL, 118728, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0x40111000
mprotect(0x4012d000, 4040, PROT_NONE)   = 0
old_mmap(0x4012d000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4, 0x1b000) = 0x4012d000
close(4)                                = 0
open("/lib/libc.so.6", O_RDONLY)        = 4
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\224\316"..., 1024) = 1024
fstat(4, {st_mode=S_IFREG|0755, st_size=1078540, ...}) = 0
old_mmap(NULL, 1093700, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0x4012e000
mprotect(0x4022f000, 41028, PROT_NONE)  = 0
old_mmap(0x4022f000, 28672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4, 0x100000) = 0x4022f000
old_mmap(0x40236000, 12356, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40236000
close(4)                                = 0
open("/usr/lib/libstdc++-libc6.1-2.so.3", O_RDONLY) = 4
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0\247\1"..., 1024) = 1024
fstat(4, {st_mode=S_IFREG|0644, st_size=270280, ...}) = 0
close(4)                                = 0
open("/lib/libm.so.6", O_RDONLY)        = 4
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240I\0"..., 1024) = 1024
fstat(4, {st_mode=S_IFREG|0644, st_size=117448, ...}) = 0
close(4)                                = 0
open("/lib/libc.so.6", O_RDONLY)        = 4
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\224\316"..., 1024) = 1024
fstat(4, {st_mode=S_IFREG|0755, st_size=1078540, ...}) = 0
close(4)                                = 0
open("/lib/libm.so.6", O_RDONLY)        = 4
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240I\0"..., 1024) = 1024
fstat(4, {st_mode=S_IFREG|0644, st_size=117448, ...}) = 0
close(4)                                = 0
open("/lib/libc.so.6", O_RDONLY)        = 4
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\224\316"..., 1024) = 1024
fstat(4, {st_mode=S_IFREG|0755, st_size=1078540, ...}) = 0
close(4)                                = 0
open("/lib/libc.so.6", O_RDONLY)        = 4
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\224\316"..., 1024) = 1024
fstat(4, {st_mode=S_IFREG|0755, st_size=1078540, ...}) = 0
close(4)                                = 0
munmap(0x40018000, 26359)               = 0
getpid()                                = 662
brk(0)                                  = 0x805632c
brk(0x805634c)                          = 0x805634c
brk(0x8057000)                          = 0x8057000
stat64(0x8056668, 0xbffff7bc)           = -1 ENOSYS (Function not implemented)
stat("/etc/apt/apt.conf", {st_mode=S_IFREG|0644, st_size=189, ...}) = 0
open("/etc/apt/apt.conf", O_RDONLY|0x8000) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=189, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40018000
read(4, "// Pre-configure all packages be"..., 4096) = 189
brk(0x8058000)                          = 0x8058000
read(4, "", 4096)                       = 0
close(4)                                = 0
munmap(0x40018000, 4096)                = 0
ioctl(1, TCGETS, {B38400 opost isig icanon echo ...}) = 0
brk(0x805a000)                          = 0x805a000
readlink("/proc/self/fd/1", "/dev/pts/0", 4095) = 10
open("/etc/apt/sources.list", O_RDONLY|0x8000) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=1228, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40018000
read(4, "# Use for a local mirror - remov"..., 4096) = 1228
read(4, "", 4096)                       = 0
close(4)                                = 0
munmap(0x40018000, 4096)                = 0
access("/var/cache/apt/pkgcache.bin", W_OK) = 0
stat("/var/state/apt/lists/spidermonkey.helixcode.com_distributions_debian_dists_unstable_main_binary-i386_Packages", {st_mode=S_IFREG|0644, st_size=158503, ...}) = 0
stat("/var/state/apt/lists/http.us.debian.org_debian_dists_testing_main_binary-i386_Packages", {st_mode=S_IFREG|0644, st_size=3429416, ...}) = 0
stat("/var/state/apt/lists/http.us.debian.org_debian_dists_testing_contrib_binary-i386_Packages", {st_mode=S_IFREG|0644, st_size=107493, ...}) = 0
stat("/var/state/apt/lists/http.us.debian.org_debian_dists_testing_non-free_binary-i386_Packages", {st_mode=S_IFREG|0644, st_size=238680, ...}) = 0
stat("/var/state/apt/lists/non-us.debian.org_debian-non-US_dists_testing_non-US_main_binary-i386_Packages", {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
stat("/var/state/apt/lists/non-us.debian.org_debian-non-US_dists_testing_non-US_contrib_binary-i386_Packages", {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
stat("/var/state/apt/lists/non-us.debian.org_debian-non-US_dists_testing_non-US_non-free_binary-i386_Packages", {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
stat("/var/cache/apt/srcpkgcache.bin", {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
open("/var/cache/apt/srcpkgcache.bin", O_RDONLY) = 4
shmat(4, 0x80552e8, 0x2)                = -1 ENOSYS (Function not implemented)
fcntl(4, F_SETFD, FD_CLOEXEC)           = 0
fstat(4, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
close(4)                                = 0
lstat("/var/cache/apt/srcpkgcache.bin", {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
open("/var/cache/apt/srcpkgcache.bin", O_RDWR|O_CREAT|O_TRUNC, 0666) = 4
fcntl(4, F_SETFD, FD_CLOEXEC)           = 0
unlink("/var/cache/apt/pkgcache.bin")   = 0
lstat("/var/cache/apt/pkgcache.bin", 0xbffff4bc) = -1 ENOENT (No such file or directory)
open("/var/cache/apt/pkgcache.bin", O_RDWR|O_CREAT|O_TRUNC, 0666) = 5
fcntl(5, F_SETFD, FD_CLOEXEC)           = 0
fstat(5, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
lseek(5, 50000, SEEK_SET)               = 50000
write(5, "\0", 1)                       = 1
fstat(5, {st_mode=S_IFREG|0644, st_size=50001, ...}) = 0
old_mmap(NULL, 50001, PROT_READ|PROT_WRITE, MAP_SHARED, 5, 0) = 0x4023a000
msync(0x4023a000, 8528, MS_SYNC)        = 0
stat("/var/state/apt/lists/spidermonkey.helixcode.com_distributions_debian_dists_unstable_main_binary-i386_Packages", {st_mode=S_IFREG|0644, st_size=158503, ...}) = 0
stat("/var/state/apt/lists/http.us.debian.org_debian_dists_testing_main_binary-i386_Packages", {st_mode=S_IFREG|0644, st_size=3429416, ...}) = 0
stat("/var/state/apt/lists/http.us.debian.org_debian_dists_testing_contrib_binary-i386_Packages", {st_mode=S_IFREG|0644, st_size=107493, ...}) = 0
stat("/var/state/apt/lists/http.us.debian.org_debian_dists_testing_non-free_binary-i386_Packages", {st_mode=S_IFREG|0644, st_size=238680, ...}) = 0
stat("/var/state/apt/lists/non-us.debian.org_debian-non-US_dists_testing_non-US_main_binary-i386_Packages", {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
stat("/var/state/apt/lists/non-us.debian.org_debian-non-US_dists_testing_non-US_contrib_binary-i386_Packages", {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
stat("/var/state/apt/lists/non-us.debian.org_debian-non-US_dists_testing_non-US_non-free_binary-i386_Packages", {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
stat("/var/state/apt/lists/http.us.debian.org_debian_dists_testing_main_source_Sources", {st_mode=S_IFREG|0644, st_size=1375293, ...}) = 0
stat("/var/state/apt/lists/http.us.debian.org_debian_dists_testing_contrib_source_Sources", {st_mode=S_IFREG|0644, st_size=46791, ...}) = 0
stat("/var/state/apt/lists/http.us.debian.org_debian_dists_testing_non-free_source_Sources", {st_mode=S_IFREG|0644, st_size=97462, ...}) = 0
stat("/var/state/apt/lists/non-us.debian.org_debian-non-US_dists_testing_non-US_main_source_Sources", {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
stat("/var/state/apt/lists/non-us.debian.org_debian-non-US_dists_testing_non-US_contrib_source_Sources", {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
stat("/var/state/apt/lists/non-us.debian.org_debian-non-US_dists_testing_non-US_non-free_source_Sources", {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
stat("/var/state/apt/xstatus", 0xbfffeb4c) = -1 ENOENT (No such file or directory)
stat("/var/state/apt/status.user", 0xbfffeb4c) = -1 ENOENT (No such file or directory)
stat("/var/lib/dpkg/status", {st_mode=S_IFREG|0644, st_size=750930, ...}) = 0
stat("/var/state/apt/lists/spidermonkey.helixcode.com_distributions_debian_dists_unstable_main_binary-i386_Packages", {st_mode=S_IFREG|0644, st_size=158503, ...}) = 0
open("/var/state/apt/lists/spidermonkey.helixcode.com_distributions_debian_dists_unstable_main_binary-i386_Packages", O_RDONLY) = 6
fcntl(6, F_SETFD, FD_CLOEXEC)           = 0
brk(0x8063000)                          = 0x8063000
fstat(6, {st_mode=S_IFREG|0644, st_size=158503, ...}) = 0
read(6, "Package: abiword\nVersion: 0.7.12"..., 32768) = 32768
fstat(6, {st_mode=S_IFREG|0644, st_size=158503, ...}) = 0
fstat(6, {st_mode=S_IFREG|0644, st_size=158503, ...}) = 0
stat("/var/state/apt/lists/spidermonkey.helixcode.com_distributions_debian_dists_unstable_main_binary-i386_Packages", {st_mode=S_IFREG|0644, st_size=158503, ...}) = 0
close(6)                                = 0
msync(0x4023a000, 70104, MS_SYNC)       = -1 EFAULT (Bad address)
munmap(0x4023a000, 50000)               = 0
ftruncate(5, 70104)                     = 0
close(5)                                = 0
close(4)                                = 0
write(2, "E: ", 3)                      = 3
write(2, "Dynamic MMap ran out of room", 28) = 28
write(2, "\n", 1)                       = 1
write(2, "E: ", 3)                      = 3
write(2, "Error occured while processing a"..., 52) = 52
write(2, "\n", 1)                       = 1
write(2, "E: ", 3)                      = 3
write(2, "Problem with MergeList /var/stat"..., 132) = 132
write(2, "\n", 1)                       = 1
write(2, "E: ", 3)                      = 3
write(2, "Unable to write mmap - msync (14"..., 45) = 45
write(2, "\n", 1)                       = 1
_exit(100)                              = ?

---------------------------------------
Received: (at 85419-done) by bugs.debian.org; 18 Feb 2001 04:57:14 +0000
>From jgg@debian.org Sat Feb 17 22:57:14 2001
Return-path: <jgg@debian.org>
Received: from cast-ext.ab.videon.ca [::ffff:206.75.216.34] 
	by master.debian.org with smtp (Exim 3.12 1 (Debian))
	id 14ULuM-0008Un-00; Sat, 17 Feb 2001 22:57:14 -0600
Received: (qmail 16203 invoked from network); 18 Feb 2001 04:57:13 -0000
Received: from unknown (HELO wakko.deltatee.com) ([24.108.173.63]) (envelope-sender <jgg@debian.org>)
          by cast-ext.ab.videon.ca (qmail-ldap-1.03) with SMTP
          for <85419-done@bugs.debian.org>; 18 Feb 2001 04:57:13 -0000
Received: from localhost
	([127.0.0.1] helo=wakko.deltatee.com ident=jgg)
	by wakko.deltatee.com with smtp (Exim 3.16 #1 (Debian))
	id 14ULuL-00018w-00
	for <85419-done@bugs.debian.org>; Sat, 17 Feb 2001 21:57:13 -0700
Date: Sat, 17 Feb 2001 21:57:13 -0700 (MST)
From: Jason Gunthorpe <jgg@debian.org>
X-Sender: jgg@wakko.deltatee.com
To: 85419-done@bugs.debian.org
Subject: Closed
Message-ID: <Pine.LNX.3.96.1010217215655.1723H-100000@wakko.deltatee.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Delivered-To: 85419-done@bugs.debian.org


See my comments in the report.

Jason



Reply to: