nspluginwrapper, Flash 10 and flashblock 1.5.7: very unstable

Frederik Himpe fhimpe at telenet.be
Tue Nov 11 20:44:53 UTC 2008


I'm using Flash 10 and nspluginwrapper 1.1.4 and Firefox 3.0.3 on
Mandriva 2009.0 x86_64. nspluginwrapper (different previous versions up
to the current 1.1.4) and Flash 10, have never worked stable for me.

Different things I'm seeing:
- npviewer.bin starts using 100% of cpu time, blocking my web browser
while this happens. strace and ltrace don't give any information about
what it's doing when this happens, but I could grab a backtrace with
gdb:

$ strace -p 4501
Process 4501 attached - interrupt to quit
^C
Process 4501 detached
$ ltrace -p 4501
--- SIGSTOP (Stopped (signal)) ---
--- SIGSTOP (Stopped (signal)) ---
--- SIGSTOP (Stopped (signal)) ---
$ gdb -p 4501
[...]
(gdb) thread apply all bt

Thread 2 (Thread 0xf5168b90 (LWP 4516)):
#0  0xffffe425 in __kernel_vsyscall ()
#1  0xf7865025 in pthread_cond_wait@@GLIBC_2.3.2 ()
from /lib/libpthread.so.0
#2  0xf67af6cf in ?? () from /usr/lib/mozilla/plugins/libflashplayer.so
#3  0xf68e129f in ?? () from /usr/lib/mozilla/plugins/libflashplayer.so
#4  0xf67afb8d in ?? () from /usr/lib/mozilla/plugins/libflashplayer.so
#5  0xf7861315 in start_thread () from /lib/libpthread.so.0
#6  0xf77d4f0e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xf71d46d0 (LWP 4501)):
#0  0xf7862a18 in pthread_mutex_lock () from /lib/libpthread.so.0
#1  0xf6c9c412 in ?? () from /usr/lib/mozilla/plugins/libflashplayer.so
#2  0xf6c9f917 in ?? () from /usr/lib/mozilla/plugins/libflashplayer.so
#3  0xf6b04eeb in ?? () from /usr/lib/mozilla/plugins/libflashplayer.so
#4  0xf67a61e4 in ?? () from /usr/lib/mozilla/plugins/libflashplayer.so
#5  0xf67a00f0 in ?? () from /usr/lib/mozilla/plugins/libflashplayer.so
#6  0xf6798091 in ?? () from /usr/lib/mozilla/plugins/libflashplayer.so
#7  0xf679cd24 in ?? () from /usr/lib/mozilla/plugins/libflashplayer.so
#8  0x08808220 in ?? ()
#9  0xffbab474 in ?? ()
#10 0xffbab488 in ?? ()
#11 0x0804d188 in handle_NPP_DestroyStream (connection=0x8808220)
at ../src/npw-viewer.c:2818
#12 0x0804e712 in handle_NPP_Destroy (connection=0x8807470)
at ../src/npw-viewer.c:2474
#13 0x0805515f in _rpc_dispatch (connection=0x8807470,
message=0xffbab4d0) at ../src/rpc.c:1506
#14 0x08055239 in rpc_dispatch (connection=0x8807470)
at ../src/rpc.c:1547
#15 0x0804aff1 in rpc_event_dispatch (source=0x8807ac8,
callback=0x80551c0 <rpc_dispatch>, connection=0x8807470)
at ../src/npw-viewer.c:3182
#16 0xf7a177ca in IA__g_main_context_dispatch (context=0x87f7b20) at
gmain.c:2142
#17 0xf7a1aee8 in g_main_context_iterate (context=0x87f7b20, block=1,
dispatch=1, self=0x87a8c80) at gmain.c:2776
#18 0xf7a1b3fb in IA__g_main_loop_run (loop=0x88076d8) at gmain.c:2984
#19 0xf7ca249f in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#20 0x0805038e in main (argc=1, argv=0xffbad764)
at ../src/npw-viewer.c:3300

- A flash movie disappears as soon as another Flash movie on the same
page loads

- bug-buddy comes up and complains of a crash in npviewer.bin

- The whole web browser just crashes

What is probably a bit less common to my setup, is that I'm using the
flashblock 1.5.7 extension in Firefox, so maybe that is what triggers my
problems.

Also what I just saw when running Firefox in a console and opening a
movie on youtube (the movie played fine in spite of this error though):

*** glibc detected *** /usr/lib/nspluginwrapper/i386/linux/npviewer.bin:
double free or corruption (!prev): 0x093a5c00 *** (the movie played fine
in spite of this error though)
======= Backtrace: =========
/lib/libc.so.6[0xf76d4784]
/lib/libc.so.6(cfree+0x96)[0xf76d6866]
/usr/lib/libglib-2.0.so.0(g_free+0x36)[0xf798ef96]
/usr/lib/gtk-2.0/modules/libgnomebreakpad.so[0xf5267665]
[0xffffe400]
/usr/lib/mozilla/plugins/libflashplayer.so[0xf6a6e0ca]
/usr/lib/mozilla/plugins/libflashplayer.so[0xf6873e88]
/usr/lib/mozilla/plugins/libflashplayer.so[0xf6a6b6e8]
/usr/lib/mozilla/plugins/libflashplayer.so[0xf6981691]
/usr/lib/mozilla/plugins/libflashplayer.so[0xf6a6e0ca]
/usr/lib/mozilla/plugins/libflashplayer.so[0xf698388e]
/usr/lib/mozilla/plugins/libflashplayer.so[0xf6a8bdc4]
/usr/lib/mozilla/plugins/libflashplayer.so[0xf6724681]
/usr/lib/mozilla/plugins/libflashplayer.so[0xf670ea23]
/usr/lib/libglib-2.0.so.0[0xf7986f37]
======= Memory map: ========
08048000-08062000 r-xp 00000000 fc:03
254164                             /usr/lib/nspluginwrapper/i386/linux/npviewer.bin
08062000-08063000 rw-p 0001a000 fc:03
254164                             /usr/lib/nspluginwrapper/i386/linux/npviewer.bin
08063000-08068000 rw-p 08063000 00:00 0 
09340000-0944d000 rw-p 09340000 00:00 0
[heap]
f3700000-f3721000 rw-p f3700000 00:00 0 
f3721000-f3800000 ---p f3721000 00:00 0 
f38ab000-f38ac000 ---p f38ab000 00:00 0 
f38ac000-f40ac000 rwxp f38ac000 00:00 0 
f4166000-f416c000 r--s 00000000 fc:04
201326708                          /home/frederik/.fontconfig/20b58f14c9b581391d79ea335a81488a-x86.cache-2
f416c000-f416f000 r--s 00000000 fc:04
201326707                          /home/frederik/.fontconfig/87f5e051180a7a75f16eb6fe7dbd3749-x86.cache-2
f416f000-f4175000 r--s 00000000 fc:04
201326703                          /home/frederik/.fontconfig/b79f3aaa7d385a141ab53ec885cc22a8-x86.cache-2
f4175000-f4178000 r--s 00000000 fc:04
201326702                          /home/frederik/.fontconfig/5d999c1bbe32f61af008974facb58b71-x86.cache-2
f4178000-f417a000 r--s 00000000 fc:04
201326700                          /home/frederik/.fontconfig/54c1e18aebbedcfe0b7e9af239200de0-x86.cache-2
f417a000-f4181000 r--s 00000000 fc:04
201326698                          /home/frederik/.fontconfig/79aeb4e90a401e55ec91db207072ba77-x86.cache-2
f4181000-f418e000 r--s 00000000 fc:04
201326697                          /home/frederik/.fontconfig/8d4af663993b81a124ee82e610bb31f9-x86.cache-2
f418e000-f4194000 r--s 00000000 fc:04
201326692                          /home/frederik/.fontconfig/f6b893a7224233d96cb72fd88691c0b4-x86.cache-2
f4194000-f41be000 r--s 00000000 fc:04
201326689                          /home/frederik/.fontconfig/17090aa38d5c6f09fb8c5c354938f1d7-x86.cache-2
f4273000-f42bc000 r-xp 00000000 fc:03
213318                             /usr/lib/libfreebl3.so
f42bc000-f42bd000 rw-p 00049000 fc:03
213318                             /usr/lib/libfreebl3.so
f42bd000-f42e4000 r-xp 00000000 fc:03
213337                             /usr/lib/libnssdbm3.so
f42e4000-f42e5000 rw-p 00026000 fc:03
213337                             /usr/lib/libnssdbm3.so
f42e5000-f4359000 r-xp 00000000 fc:03
213311                             /usr/lib/libsqlite3.so.0.8.6
f4359000-f435a000 rw-p 00074000 fc:03
213311                             /usr/lib/libsqlite3.so.0.8.6
f435a000-f4395000 r-xp 00000000 fc:03
213343                             /usr/lib/libsoftokn3.so
f4395000-f4396000 rw-p 0003a000 fc:03
213343                             /usr/lib/libsoftokn3.so
f4396000-f439e000 r-xp 00000000 fc:03
213412                             /usr/lib/libkrb5support.so.0.1
f439e000-f439f000 rw-p 00007000 fc:03
213412                             /usr/lib/libkrb5support.so.0.1
f439f000-f43c5000 r-xp 00000000 fc:03
213378                             /usr/lib/libk5crypto.so.3.1
f43c5000-f43c6000 rw-p 00026000 fc:03
213378                             /usr/lib/libk5crypto.so.3.1
f43c6000-f446a000 r-xp 00000000 fc:03
213411                             /usr/lib/libkrb5.so.3.3
f446a000-f446c000 rw-p 000a3000 fc:03
213411                             /usr/lib/libkrb5.so.3.3
f446c000-f4486000 r-xp 00000000 fc:03
213460                             /usr/lib/libsasl2.so.2.0.22
f4486000-f4487000 rw-p 00019000 fc:03
213460                             /usr/lib/libsasl2.so.2.0.22
f4487000-f44b5000 r-xp 00000000 fc:03
213341                             /usr/lib/libgssapi_krb5.so.2.2
f44b5000-f44b6000 rw-p 0002e000 fc:03
213341                             /usr/lib/libgssapi_krb5.so.2.2
f44b6000-f44c5000 r-xp 00000000 fc:03
213940                             /usr/lib/liblber-2.4.so.2.1.0
f44c5000-f44c6000 rw-p 0000e000 fc:03
213940                             /usr/lib/liblber-2.4.so.2.1.0
f44c6000-f450b000 r-xp 00000000 fc:03
213088                             /usr/lib/libldap-2.4.so.2.1.0
f450b000-f450d000 rw-p 00044000 fc:03
213088                             /usr/lib/libldap-2.4.so.2.1.0
f450d000-f4530000 r-xp 00000000 fc:03
213286                             /usr/lib/libssh2.so.1.0.0
f4530000-f4531000 rw-p 00022000 fc:03
213286                             /usr/lib/libssh2.so.1.0.0
f4531000-f4562000 r-xp 00000000 fc:03
213292                             /usr/lib/libidn.so.11.5.39
f4562000-f4563000 rw-p 00030000 fc:03
213292                             /usr/lib/libidn.so.11.5.39
f4563000-f45a9000 r-xp 00000000 fc:03
213297                             /usr/lib/libcurl.so.4.1.0
f45a9000-f45ab000 rw-p 00045000 fc:03
213297                             /usr/lib/libcurl.so.4.1.0
f45ab000-f468a000 r-xp 00000000 fc:03
213281                             /usr/lib/libasound.so.2.0.0
f468a000-f468f000 rw-p 000de000 fc:03
213281                             /usr/lib/libasound.so.2.0.0
f468f000-f469e000 r-xp 00000000 fc:02
65570                              /lib/libresolv-2.8.so
f469e000-f469f000 r--p 0000e000 fc:02
65570                              /lib/libresolv-2.8.so
f469f000-f46a0000 rw-p 0000f000 fc:02
65570                              /lib/libresolv-2.8.so
f46a0000-f46a2000 rw-p f46a0000 00:00 0 
f46a2000-f4812000 r-xp 00000000 fc:03
213648                             /usr/lib/libcrypto.so.0.9.8
f4812000-f4827000 rw-p 00170000 fc:03
213648                             /usr/lib/libcrypto.so.0.9.8
f4827000-f482a000 rw-p f4827000 00:00 0 
f482a000-f482f000 r-xp 00000000 fc:03
218753                             /usr/lib/libasyncns.so.0.2.0
f482f000-f4830000 rw-p 00004000 fc:03
218753                             /usr/lib/libasyncns.so.0.2.0
f4830000-f4879000 r-xp 00000000 fc:03
213724                             /usr/lib/libssl.so.0.9.8
f4879000-f487d000 rw-p 00048000 fc:03
213724                             /usr/lib/libssl.so.0.9.8
f487d000-f48d2000 r-xp 00000000 fc:03
218748                             /usr/lib/libpulse.so.0.4.1
f48d2000-f48d3000 rw-p 00055000 fc:03
218748                             /usr/lib/libpulse.so.0.4.1
f48d3000-f48d6000 r-xp 00000000 fc:03
218760                             /usr/lib/libflashsupport.so
f48d6000-f48d7000 rw-p 00002000 fc:03
218760                             /usr/lib/libflashsupport.so
f48d7000-f48d8000 ---p f48d7000 00:00 0 
f48d8000-f50d8000 rwxp f48d8000 00:00 0 
f50d8000-f51d9000 rw-p f50d8000 00:00 0 
f51d9000-f51ed000 r-xp 00000000 fc:03
214186                             /usr/lib/libelf-0.137.so
f51ed000-f51ee000 r--p 00014000 fc:03
214186                             /usr/lib/libelf-0.137.so
f51ee000-f51ef000 rw-p 00015000 fc:03
214186                             /usr/lib/libelf-0.137.so
f51f1000-f5210000 r--s 00000000 fc:04
201326688                          /home/frederik/.fontconfig/df311e82a1a24c41a75c2c930223552e-x86.cache-2
f5210000-f5212000 r--s 00000000 fc:04
201530899                          /home/frederik/.fontconfig/6d55269ca890cf128802a9e1c76fc996-x86.cache-2
f5212000-f5262000 r-xp 00000000 fc:03
218763                             /usr/lib/bug-buddy/libbreakpad.so.0.0.0
f5262000-f5263000 rw-p 00050000 fc:03
218763                             /usr/lib/bug-buddy/libbreakpad.so.0.0.0
f5263000-f5271000 r-xp 00000000 fc:03
483412                             /usr/lib/gtk-2.0/modules/libgnomebreakpad.so
f5271000-f5272000 rw-p 0000d000 fc:03
483412                             /usr/lib/gtk-2.0/modules/libgnomebreakpad.so
f5272000-f527c000 r-xp 00000000 fc:02
65564                              /lib/libnss_files-2.8.so
f527c000-f527d000 r--p 00009000 fc:02
65564                              /lib/libnss_files-2.8.so
f527d000-f527e000 rw-p 0000a000 fc:02
65564                              /lib/libnss_files-2.8.so
f527e000-f5286000 r-xp 00000000 fc:02
65566                              /lib/libnss_nis-2.8.so
f5286000-f5287000 r--p 00007000 fc:02
65566                              /lib/libnss_nis-2.8.so
f5287000-f5288000 rw-p 00008000 fc:02
65566                              /lib/libnss_nis-2.8.so
f5288000-f528f000 r-xp 00000000 fc:02
65562                              /lib/libnss_compat-2.8.so
f528f000-f5290000 r--p 00006000 fc:02
65562                              /lib/libnss_comMultiple segmentation
faults occurred; can't display error dialog
ERROR: ld.so: object '/usr/$LIB/libaoss.so.0' from LD_PRELOAD cannot be
preloaded: ignored.
ERROR: ld.so: object '/usr/$LIB/libaoss.so.0' from LD_PRELOAD cannot be
preloaded: ignored.
Gtk-Message: Failed to load module "canberra-gtk-module":
libcanberra-gtk-module.so: cannot open shared object file: No such file
or directory

(npviewer.bin:5867): Gtk-WARNING **: Unable to locate theme engine in
module_path: "clearlooks",
ERROR: ld.so: object '/usr/$LIB/libaoss.so.0' from LD_PRELOAD cannot be
preloaded: ignored.
Gtk-Message: Failed to load module "canberra-gtk-module":
libcanberra-gtk-module.so: cannot open shared object file: No such file
or directory

(npviewer.bin:5883): Gtk-WARNING **: Unable to locate theme engine in
module_path: "clearlooks",

What would be the best way to properly help debugging these problems?

-- 
Frederik Himpe <fhimpe at telenet.be>




More information about the Nspluginwrapper-devel-list mailing list