nspluginwrapper: double free or corruption (out)

If you are having problems unmerging nspluginwrapper on Gentoo Linux, here is a workaround I found in the Italian Gentoo forums.

   
  * Removing wrapper plugins... 
 *** glibc detected *** nspluginwrapper: double free or corruption (out): 0x0000000000626ba0 ***
 

Executing the following shell script with super-user privileges should remove the troublesome package.

 1
 2
 3
 4
 5
 6
 7
 8
 #! /bin/sh 

 rm /usr/bin/nspluginplayer                                                    
 rm /usr/bin/nspluginwrapper                                                  
 rm /usr/lib64/nsbrowser/plugins/npwrapper.so 
 rm -r /usr/lib64/nspluginwrapper 
 rm -r /usr/share/doc/nspluginwrapper*
 emerge -C nspluginwrapper