tag 543915 unreproducible moreinfo
thanks
Hi,
On Thu, Aug 27 2009, Max Kellermann wrote:
> I was trying to load the new selinux-policy-default 2:0.2.20090818-1,
> but failed:
>
> dory:/usr/share/selinux/default# semodule -b base.pp
> libsepol.sepol_module_package_read: out of memory
> libsemanage.semanage_load_module: Error while reading from module file
> /etc/selinux/default/modules/tmp/base.pp.
> semodule: Failed!
Well, if you run out of memory, this is not surprising. The
thing is, it is not a problem anyone else is seeing, and every single
buildd out there installs libsepol1, if only to compile SELinux
packages, and there has been no other report.
I am inclined to chalk this up as a local error.
> strace shows after reading tmp/base.pp:
>
> [...]
> brk(0x3233000) = 0x3233000
> mmap(NULL, 18446744073703178240, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 ENOMEM (Cannot allocate memory)
> mmap(NULL, 18446744073703313408, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 ENOMEM (Cannot allocate memory)
> mmap(NULL, 134217728, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE,
> -1, 0) = 0x7fdfda316000
So, seems like a memory issue to me.
> munmap(0x7fdfda316000, 30318592) = 0
> munmap(0x7fdfe0000000, 36790272) = 0
> mprotect(0x7fdfdc000000, 135168, PROT_READ|PROT_WRITE) = 0
> mmap(NULL, 18446744073703178240, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 ENOMEM (Cannot allocate memory)
> write(2, "libsepol.sepol_module_package_rea"...,
> 36libsepol.sepol_module_package_read: ) = 36
>
> This looks like a buffer underflow (0xffffffffff9ec000) or an
> uninitialized variable.
Why do you think this is buffer underflow? (Also, I do not see
0xffffffffff9ec000 in the log fragment)
Unless you can provide some evidence that his is not a local
hardware or configuration error, or if I can reproduce this, I would
have to treat this as an out of memory error.
manoj
--
Marriage causes dating problems.
Manoj Srivastava <[email protected]> <http://www.golden-gryphon.com/>
1024D/BF24424C print 4966 F272 D093 B493 410B 924B 21BA DABB BF24 424C
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]