Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 290078

Summary: bash-4.0_p28 and bash-completion 1.0-r5 crashes
Product: Gentoo Linux Reporter: Joel <joel>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info

Description Joel 2009-10-21 22:41:00 UTC
I'm trying to enable bash-completion, but when I type 'source /etc/profile.d/bash-completion.sh' or if I put it in bashrc, session crashes with the error message:
"bash: xmalloc: no se pueden asignar 20971520001 bytes (0 bytes asignados)", which in English means something like "bash: xmalloc: Cannot assign 20971520001 bytes (0 bytes assigned)". 
I've installed bash-4.0_p28, bash-completion-1.0-r5 and gentoo-bashcomp, and I've activated all bash-completions (for i in `seq 1 49`; do eselect bashcomp enable --global $i; done).

Reproducible: Always
Comment 1 Joel 2009-10-21 22:41:22 UTC
Created attachment 207862 [details]
emerge --info
Comment 2 Joel 2009-10-22 19:06:41 UTC
I've just uninstalled gentoo-bashcomp, and everything goes fine now. So, the bug is in gentoo-bashcomp
Comment 3 Peter Alfredsen (RETIRED) gentoo-dev 2009-10-23 13:07:54 UTC
You need more ram, obviously. Only enable the bash-completions you need.
Comment 4 Joel 2009-10-23 15:28:53 UTC
It's not that obvious. This happens when activate bash-completion for base, gentoo and every completion that comes from gentoo-bashcomp package. The rest of the completions doesn't affect to the behaviour of this.