Comment 2 for bug 773209

Revision history for this message
Tilghman Lesher (v-launchpad-net-the-tilghman-com) wrote :

Valgrind shows this as the result:
$ valgrind /usr/bin/nspluginwrapper -a -v -u
==19997== Memcheck, a memory error detector
==19997== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
==19997== Using Valgrind-3.6.1 and LibVEX; rerun with -h for copyright info
==19997== Command: /usr/bin/nspluginwrapper -a -v -u
==19997==
Auto-update plugins from /usr/lib/mozilla/plugins
Looking for plugins in /usr/lib/mozilla/plugins
==19997== Invalid free() / delete / delete[]
==19997== at 0x4C282ED: free (vg_replace_malloc.c:366)
==19997== by 0x511F564: _dlerror_run (dlerror.c:160)
==19997== by 0x511F099: dlsym (dlsym.c:71)
==19997== by 0x4017E0: ??? (in /usr/lib/nspluginwrapper/x86_64/linux/npconfig)
==19997== by 0x401901: ??? (in /usr/lib/nspluginwrapper/x86_64/linux/npconfig)
==19997== by 0x401660: ??? (in /usr/lib/nspluginwrapper/x86_64/linux/npconfig)
==19997== by 0x402F11: ??? (in /usr/lib/nspluginwrapper/x86_64/linux/npconfig)
==19997== by 0x403B6E: ??? (in /usr/lib/nspluginwrapper/x86_64/linux/npconfig)
==19997== by 0x5340EFE: (below main) (libc-start.c:226)
==19997== Address 0x1 is not stack'd, malloc'd or (recently) free'd
==19997==
Auto-update plugins from /usr/lib64/mozilla/plugins
Looking for plugins in /usr/lib64/mozilla/plugins
==19997== Invalid read of size 8
==19997== at 0x101062C6: ??? (in /opt/google/talkplugin/libnpgoogletalk64.so)
==19997== by 0x5DEC6FF: ???
==19997== by 0x535BD3C: __cxa_finalize (cxa_finalize.c:56)
==19997== by 0x10101162: ??? (in /opt/google/talkplugin/libnpgoogletalk64.so)
==19997== by 0x1011E7C0: ??? (in /opt/google/talkplugin/libnpgoogletalk64.so)
==19997== by 0x401470B: _dl_close (dl-close.c:748)
==19997== by 0x400E745: _dl_catch_error (dl-error.c:178)
==19997== by 0x511F52B: _dlerror_run (dlerror.c:164)
==19997== by 0x511F00E: dlclose (dlclose.c:48)
==19997== by 0x401888: ??? (in /usr/lib/nspluginwrapper/x86_64/linux/npconfig)
==19997== by 0x401901: ??? (in /usr/lib/nspluginwrapper/x86_64/linux/npconfig)
==19997== by 0x401660: ??? (in /usr/lib/nspluginwrapper/x86_64/linux/npconfig)
==19997== Address 0x8 is not stack'd, malloc'd or (recently) free'd
==19997==
==19997==
==19997== Process terminating with default action of signal 11 (SIGSEGV): dumping core
==19997== Access not within mapped region at address 0x8
==19997== at 0x101062C6: ??? (in /opt/google/talkplugin/libnpgoogletalk64.so)
==19997== by 0x5DEC6FF: ???
==19997== by 0x535BD3C: __cxa_finalize (cxa_finalize.c:56)
==19997== by 0x10101162: ??? (in /opt/google/talkplugin/libnpgoogletalk64.so)
==19997== by 0x1011E7C0: ??? (in /opt/google/talkplugin/libnpgoogletalk64.so)
==19997== by 0x401470B: _dl_close (dl-close.c:748)
==19997== by 0x400E745: _dl_catch_error (dl-error.c:178)
==19997== by 0x511F52B: _dlerror_run (dlerror.c:164)
==19997== by 0x511F00E: dlclose (dlclose.c:48)
==19997== by 0x401888: ??? (in /usr/lib/nspluginwrapper/x86_64/linux/npconfig)
==19997== by 0x401901: ??? (in /usr/lib/nspluginwrapper/x86_64/linux/npconfig)
==19997== by 0x401660: ??? (in /usr/lib/nspluginwrapper/x86_64/linux/npconfig)

gdb shows:
#0 __libc_free (mem=0x1) at malloc.c:3709
        ar_ptr = <value optimized out>
        p = <value optimized out>
        hook = 0
#1 0x00007f31847e9565 in _dlerror_run (operate=0x7f31847e8eb0 <dlopen_doit>, args=0x7fffdedd1720) at dlerror.c:160
        result = 0x1a2bf70
#2 0x00007f31847e8fc1 in __dlopen (file=<value optimized out>, mode=<value optimized out>) at dlopen.c:88
        args = {file = 0x0, mode = 1, new = 0x1, caller = 0x7f3182d9f6dd}
#3 0x00007f3182d9f6dd in ?? () from /usr/lib/nvidia-current/libGL.so.1
No symbol table info available.
(more, but I don't believe it's relevant...)