nspluginwrapper: double free or corruption (out): 0x000000000087de10

Bug #683557 reported by Marco
70
This bug affects 14 people
Affects Status Importance Assigned to Milestone
nspluginwrapper (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: nspluginwrapper

plugin dirs:
Auto-update plugins from /usr/lib/mozilla/plugins
Looking for plugins in /usr/lib/mozilla/plugins
*** glibc detected *** nspluginwrapper: double free or corruption (out): 0x000000000087de10 ***
======= Backtrace: =========
/lib/libc.so.6(+0x774b6)[0x7fdee531c4b6]
/lib/libc.so.6(cfree+0x73)[0x7fdee5322c83]
/lib/libdl.so.2(+0x12e5)[0x7fdee56292e5]
/lib/libdl.so.2(dlsym+0x4a)[0x7fdee562907a]
nspluginwrapper[0x40179c]
nspluginwrapper[0x4018c6]
nspluginwrapper[0x401613]
nspluginwrapper[0x403a32]
nspluginwrapper[0x403448]
/lib/libc.so.6(__libc_start_main+0xfe)[0x7fdee52c3d8e]
nspluginwrapper[0x401209]
======= Memory map: ========
00400000-00405000 r-xp 00000000 08:02 3746 /usr/lib/nspluginwrapper/x86_64/linux/npconfig
00605000-00606000 r--p 00005000 08:02 3746 /usr/lib/nspluginwrapper/x86_64/linux/npconfig
00606000-00607000 rw-p 00006000 08:02 3746 /usr/lib/nspluginwrapper/x86_64/linux/npconfig
00607000-00608000 rw-p 00000000 00:00 0
0083e000-00880000 rw-p 00000000 00:00 0 [heap]
7fded4000000-7fded4021000 rw-p 00000000 00:00 0
7fded4021000-7fded8000000 ---p 00000000 00:00 0
7fded9f7d000-7fded9fdb000 r-xp 00000000 08:02 1703948 /opt/google/talkplugin/libnpgoogletalk64.so
7fded9fdb000-7fdeda1da000 ---p 0005e000 08:02 1703948 /opt/google/talkplugin/libnpgoogletalk64.so
7fdeda1da000-7fdeda1de000 rw-p 0005d000 08:02 1703948 /opt/google/talkplugin/libnpgoogletalk64.so
7fdeda1de000-7fdeda1fa000 r-xp 00000000 08:02 80 /lib/libselinux.so.1
7fdeda1fa000-7fdeda3f9000 ---p 0001c000 08:02 80 /lib/libselinux.so.1
7fdeda3f9000-7fdeda3fa000 r--p 0001b000 08:02 80 /lib/libselinux.so.1
7fdeda3fa000-7fdeda3fb000 rw-p 0001c000 08:02 80 /lib/libselinux.so.1
7fdeda3fb000-7fdeda3fc000 rw-p 00000000 00:00 0
7fdeda3fc000-7fdeda412000 r-xp 00000000 08:02 12601 /lib/libresolv-2.12.1.so
7fdeda412000-7fdeda611000 ---p 00016000 08:02 12601 /lib/libresolv-2.12.1.so
7fdeda611000-7fdeda612000 r--p 00015000 08:02 12601 /lib/libresolv-2.12.1.so
7fdeda612000-7fdeda613000 rw-p 00016000 08:02 12601 /lib/libresolv-2.12.1.so
7fdeda613000-7fdeda615000 rw-p 00000000 00:00 0
7fdeda615000-7fdeda61c000 r-xp 00000000 08:02 6011 /usr/lib/libxcb-render.so.0.0.0
7fdeda61c000-7fdeda81c000 ---p 00007000 08:02 6011 /usr/lib/libxcb-render.so.0.0.0
7fdeda81c000-7fdeda81d000 r--p 00007000 08:02 6011 /usr/lib/libxcb-render.so.0.0.0
7fdeda81d000-7fdeda81e000 rw-p 00008000 08:02 6011 /usr/lib/libxcb-render.so.0.0.0
7fdeda81e000-7fdeda820000 r-xp 00000000 08:02 13516 /usr/lib/libxcb-shm.so.0.0.0
7fdeda820000-7fdedaa1f000 ---p 00002000 08:02 13516 /usr/lib/libxcb-shm.so.0.0.0
7fdedaa1f000-7fdedaa20000 r--p 00001000 08:02 13516 /usr/lib/libxcb-shm.so.0.0.0
7fdedaa20000-7fdedaa21000 rw-p 00002000 08:02 13516 /usr/lib/libxcb-shm.so.0.0.0
7fdedaa21000-7fdedaa7c000 r-xp 00000000 08:02 4334 /usr/lib/libpixman-1.so.0.18.4
7fdedaa7c000-7fdedac7b000 ---p 0005b000 08:02 4334 /usr/lib/libpixman-1.so.0.18.4
7fdedac7b000-7fdedac7f000 r--p 0005a000 08:02 4334 /usr/lib/libpixman-1.so.0.18.4
7fdedac7f000-7fdedac80000 rw-p 0005e000 08:02 4334 /usr/lib/libpixman-1.so.0.18.4
7fdedac80000-7fdedac85000 r-xp 00000000 08:02 11571 /usr/lib/libXdmcp.so.6.0.0
7fdedac85000-7fdedae84000 ---p 00005000 08:02 11571 /usr/lib/libXdmcp.so.6.0.0
7fdedae84000-7fdedae85000 r--p 00004000 08:02 11571 /usr/lib/libXdmcp.so.6.0.0
7fdedae85000-7fdedae86000 rw-p 00005000 08:02 11571 /usr/lib/libXdmcp.so.6.0.0
7fdedae86000-7fdedae88000 r-xp 00000000 08:02 3513 /usr/lib/libXau.so.6.0.0
7fdedae88000-7fdedb087000 ---p 00002000 08:02 3513 /usr/lib/libXau.so.6.0.0
7fdedb087000-7fdedb088000 r--p 00001000 08:02 3513 /usr/lib/libXau.so.6.0.0
7fdedb088000-7fdedb089000 rw-p 00002000 08:02 3513 /usr/lib/libXau.so.6.0.0
7fdedb089000-7fdedb08d000 r-xp 00000000 08:02 703 /lib/libuuid.so.1.3.0
7fdedb08d000-7fdedb28c000 ---p 00004000 08:02 703 /lib/libuuid.so.1.3.0
7fdedb28c000-7fdedb28d000 r--p 00003000 08:02 703 /lib/libuuid.so.1.3.0
7fdedb28d000-7fdedb28e000 rw-p 00004000 08:02 703 /lib/libuuid.so.1.3.0
7fdedb28e000-7fdedb2a3000 r-xp 00000000 08:02 3595 /lib/libgcc_s.so.1
7fdedb2a3000-7fdedb4a2000 ---p 00015000 08:02 3595 /lib/libgcc_s.so.1
7fdedb4a2000-7fdedb4a3000 r--p 00014000 08:02 3595 /lib/libgcc_s.so.1
7fdedb4a3000-7fdedb4a4000 rw-p 00015000 08:02 3595 /lib/libgcc_s.so.1
7fdedb4a4000-7fdedb4ca000 r-xp 00000000 08:02 1056 /lib/libexpat.so.1.5.2
7fdedb4ca000-7fdedb6ca000 ---p 00026000 08:02 1056 /lib/libexpat.so.1.5.2
7fdedb6ca000-7fdedb6cc000 r--p 00026000 08:02 1056 /lib/libexpat.so.1.5.2
7fdedb6cc000-7fdedb6cd000 rw-p 00028000 08:02 1056 /lib/libexpat.so.1.5.2
7fdedb6cd000-7fdedb6d1000 r-xp 00000000 08:02 3206 /usr/lib/libgthread-2.0.so.0.2600.1
7fdedb6d1000-7fdedb8d0000 ---p 00004000 08:02 3206 /usr/lib/libgthread-2.0.so.0.2600.1
7fdedb8d0000-7fdedb8d1000 r--p 00003000 08:02 3206 /usr/lib/libgthread-2.0.so.0.2600.1
7fdedb8d1000-7fdedb8d2000 rw-p 00004000 08:02 3206 /usr/lib/libgthread-2.0.so.0.2600.1
7fdedb8d2000-7fdedb8d5000 r-xp 00000000 08:02 4360 /usr/lib/libgmodule-2.0.so.0.2600.1
7fdedb8d5000-7fdedbad4000 ---p 00003000 08:02 4360 /usr/lib/libgmodule-2.0.so.0.2600.1
7fdedbad4000-7fdedbad5000 r--p 00002000 08:02 4360 /usr/lib/libgmodule-2.0.so.0.2600.1
7fdedbad5000-7fdedbad6000 rw-p 00003000 08:02 4360 /usr/lib/libgmodule-2.0.so.0.2600.1
7fdedbad6000-7fdedbb1b000 r-xp 00000000 08:02 791 /usr/lib/libpango-1.0.so.0.2800.2/var/lib/dpkg/info/nspluginwrapper.postinst: riga 5: 9774 Aborted nspluginwrapper -a -v -u

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: nspluginwrapper 1.2.2-0ubuntu7
ProcVersionSignature: Ubuntu 2.6.35-23.41-generic 2.6.35.7
Uname: Linux 2.6.35-23-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Wed Dec 1 11:33:48 2010
ProcEnviron:
 SHELL=/bin/bash
 LANG=it_IT.utf8
 LANGUAGE=it_IT
SourcePackage: nspluginwrapper

Revision history for this message
Marco (0m3g4) wrote :
Revision history for this message
Mark (mark-wege) wrote :

I kind of fixed the problem:
- First removed nspluginwrapper totally (incl purging settings)
- Then removed all mozilla-plugins installed on my system
- Rebooted
- reinstalled nspluginwrapper -> No problems during installation
- then reinstalled the mozilla-plugins

Revision history for this message
Anton Piatek (anton-piatek) wrote :

Attached is my log of failing to install nspluginwrapper. I have several plugins in the mozilla plugins dir, and I would prefer to not have to remove them:
$ ls -l /usr/lib64/mozilla/plugins
total 148
lrwxrwxrwx 1 root root 39 2010-10-04 13:05 libjavaplugin.so -> /etc/alternatives/mozilla-javaplugin.so
lrwxrwxrwx 1 root root 43 2011-06-27 18:47 libnpgoogletalk64.so -> /opt/google/talkplugin/libnpgoogletalk64.so
lrwxrwxrwx 1 root root 47 2011-06-27 18:47 libnpgtpo3dautoplugin.so -> /opt/google/talkplugin/libnpgtpo3dautoplugin.so
-rw-r--r-- 1 root root 31064 2010-11-23 09:58 ocdc-gpws.so
-rw-r--r-- 1 root root 44080 2011-06-22 10:56 packagekit-plugin.so
-rw-r--r-- 1 root root 72840 2011-06-02 22:47 skypebuttons.so

Changed in nspluginwrapper (Ubuntu):
status: New → Confirmed
Revision history for this message
Luiz Angelo Daros de Luca (luizluca) wrote :

I also got this problem today when upgrading from 10.10 to 11.04 (kubuntu).

The workarround solution solved my problem. I removed all plugins: two java plugins (icetead and sun), googletalk, flash and even a gstreamer one that I wasn't sure if it was a browser plugin.

I removed the nspluginwrapper package, reinstalled it (i guess a simple "dkpg --configure -a" would do the job). After that, I reinstalled all plugins without a problem.

Revision history for this message
Boris Dalstein (dalboris) wrote :

Also got this problem (Kubuntu 11.04, 64 bits) today after desinstalling and reinstalling nspluginwrapper to update flashplayer, following this: http://doc.ubuntu-fr.org/flashplayer

deleting all the files in /usr/lib64/mozilla/plugins and reconfigure dkpg solved the problem too:

cd /usr/lib64/mozilla/plugins/
sudo rm *
sudo dpkg --configure -a

Revision history for this message
Prateek Karandikar (prateek.karandikar) wrote :

I'm having the same problem on Kubuntu 11.10 64-bit, after upgrading from 11.04. People here are saying they deleted *all* their Firefox plugins - does one really need to delete plugins which have nothing to do with flash? Also, as far as I know flashplugin-installer downloads the actual flash plugin during installation. Is there any way to force it to redownload? I have purged and reinstalled flashplugin-installer and nspluginwrapper several times, but it never seems to download the plugin while installing.

I deleted /usr/lib/mozilla/plugins/flashplugin-alternative.so too, which is just a symbolic link to /etc/alternatives/mozilla-flashplugin. When flashplugin-installer and nspluginviewer are installed, /etc/alternatives/mozilla-flashplugin points to /var/lib/flashplugin-installer/npwrapper.libflashplayer.so, and otherwise it points to /usr/lib/flashplugin-installer/libflashplayer.so. This last file stays even if I purge all relevant packages and deleting it only screws things up when I try to install flashplugin-installer and nspluginviewer again.

So how is one supposed to get flash working?

Revision history for this message
Erik Johansson (erijo) wrote :

I get "double free or corruption" when running /usr/lib/nspluginwrapper/x86_64/linux/npconfig -l. See below for backtrace:

#0 0x00007ffff75793a5 in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1 0x00007ffff757cb0b in __GI_abort () at abort.c:92
#2 0x00007ffff75b1113 in __libc_message (do_abort=2, fmt=0x7ffff76a20d8 "*** glibc detected *** %s: %s: 0x%s ***\n")
    at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#3 0x00007ffff75bba96 in malloc_printerr (action=3, str=0x7ffff76a2258 "double free or corruption (out)", ptr=<optimized out>) at malloc.c:6283
#4 0x00007ffff75bfd7c in __GI___libc_free (mem=<optimized out>) at malloc.c:3738
#5 0x00007ffff7bd9565 in _dlerror_run (operate=0x7ffff7bd9030 <dlsym_doit>, args=0x7fffffffa140) at dlerror.c:160
#6 0x00007ffff7bd909a in __dlsym (handle=<optimized out>, name=<optimized out>) at dlsym.c:71
#7 0x0000000000401991 in is_wrapper_plugin_handle (out_plugin_info=0x7fffffffa1b0, handle=0x6474b0) at /build/buildd/nspluginwrapper-1.4.4/src/npw-config.c:534
#8 is_wrapper_plugin (plugin_path=<optimized out>, out_plugin_info=0x7fffffffa1b0) at /build/buildd/nspluginwrapper-1.4.4/src/npw-config.c:575
#9 0x0000000000401b47 in is_wrapper_plugin_0 (plugin_path=0x646fb0 "/usr/lib/mozilla/plugins/libnpgoogletalk64.so")
    at /build/buildd/nspluginwrapper-1.4.4/src/npw-config.c:598
#10 0x00000000004018e1 in process_plugin_dir (plugin_dir=0x4044c5 "/usr/lib/mozilla/plugins", test=0x401b20 <is_wrapper_plugin_0>,
    process=0x4022c0 <list_plugin_cb>) at /build/buildd/nspluginwrapper-1.4.4/src/npw-config.c:672
#11 0x00000000004035e6 in process_list (argvc=<optimized out>, argv=<optimized out>) at /build/buildd/nspluginwrapper-1.4.4/src/npw-config.c:1111
#12 0x00000000004015ac in main (argc=2, argv=0x7fffffffe4c8) at /build/buildd/nspluginwrapper-1.4.4/src/npw-config.c:1245

patty lopez (flor408)
Changed in nspluginwrapper (Ubuntu):
status: Confirmed → Fix Committed
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.