From fhimpe at telenet.be Sun Feb 1 22:21:58 2009 From: fhimpe at telenet.be (Frederik Himpe) Date: Sun, 01 Feb 2009 23:21:58 +0100 Subject: nspluginwrapper 1.2.2 crashes with Flash 10 Message-ID: <1233526918.12634.31.camel@Anastacia.local> I can pretty easily reproduce an nspluginwrapper 1.2.2 crash on i586 with Flash 10 in Firefox 3.0.5 (without any extensions installed) on Mandriva Cooker. I navigate around on different pages of a site where (almost) every page contains Flash. I open an article containing a Flash image, then click on the Back button to go back to the main page, and navigate to another article. Once in a while (I would say between 5 and 10 % of the time) when clicking on the Back button, nspluginwrapper crashes. With bug-buddy installed, the crash is caught and an error message with the whole backtrace pops up, and there seem to be assertion errors in .xsession-errors too. I have attached the information caught by bug-buddy here. I can reproduce the problem on any site containing Flash on every page, for example on Youtube. -- Frederik Himpe -------------- next part -------------- System: Linux 2.6.28.2-desktop-1mnb #1 SMP Wed Jan 28 13:42:20 EST 2009 i686 X Vendor: The X.Org Foundation X Vendor Release: 10599003 Selinux: No Accessibility: Disabled GTK+ Theme: Clearlooks Icon Theme: gnome GTK+ Modules: canberra-gtk-module, gnomebreakpad Memory status: size: 96124928 vsize: 96124928 resident: 23871488 share: 13946880 rss: 23871488 rss_rlim: 18446744073709551615 CPU usage: start_time: 1233417034 rtime: 8749 utime: 3491 stime: 5258 cutime:0 cstime: 11 timeout: 0 it_real_value: 0 frequency: 100 Backtrace was generated from '/usr/lib/nspluginwrapper/i386/linux/npviewer.bin' [Thread debugging using libthread_db enabled] [New Thread 0xb71768e0 (LWP 11608)] 0xffffe416 in __kernel_vsyscall () #0 0xffffe416 in __kernel_vsyscall () #1 0xb761ac2b in waitpid () from /lib/i686/libpthread.so.0 #2 0xb7806f0b in IA__g_spawn_sync (working_directory=0x0, argv=0x9d4cb10, envp=0x0, flags=, child_setup=0, user_data=0x0, standard_output=0x0, standard_error=0x0, exit_status=0x0, error=0xbff47a58) at gspawn.c:382 #3 0xb7807264 in IA__g_spawn_command_line_sync ( command_line=0x9d0eab8 "bug-buddy --appname=\"npviewer.bin\" --pid=11608", standard_output=0x0, standard_error=0x0, exit_status=0x0, error=0xbff47a58) at gspawn.c:694 #4 0xb52de63e in run_bug_buddy (appname=0x9c66b18 "npviewer.bin", pid=11608, minidump_path=0x0) at gnome-breakpad.cc:369 #5 0xb52decc8 in bugbuddy_segv_handle (signum=11) at gnome-breakpad.cc:440 #6 #7 0xff9d1e4c in ?? () #8 0xb6a72f92 in ?? () from /usr/lib/mozilla/plugins/libflashplayer.so #9 0xb6741c0f in ?? () from /usr/lib/mozilla/plugins/libflashplayer.so #10 0xb6abf234 in ?? () from /usr/lib/mozilla/plugins/libflashplayer.so #11 0xb6757681 in ?? () from /usr/lib/mozilla/plugins/libflashplayer.so #12 0xb6741a23 in ?? () from /usr/lib/mozilla/plugins/libflashplayer.so #13 0xb77cd557 in g_timeout_dispatch (source=0x9cf6ec0, callback=0xb706b0e8, user_data=0xb5ddf000) at gmain.c:3253 #14 0xb77ccdea in IA__g_main_context_dispatch (context=0x9c83290) at gmain.c:1814 #15 0xb77d0508 in g_main_context_iterate (context=0x9c83290, block=1, dispatch=1, self=0x9c60260) at gmain.c:2448 #16 0xb77d0a1b in IA__g_main_loop_run (loop=0x9cb49a8) at gmain.c:2656 #17 0xb7d0977f in IA__gtk_main () at gtkmain.c:1205 #18 0x0804ebc0 in main (argc=-1074493932, argv=0xbff4a65e) at ../src/npw-viewer.c:3923 Thread 1 (Thread 0xb71768e0 (LWP 11608)): #0 0xffffe416 in __kernel_vsyscall () No symbol table info available. #1 0xb761ac2b in waitpid () from /lib/i686/libpthread.so.0 No symbol table info available. #2 0xb7806f0b in IA__g_spawn_sync (working_directory=0x0, argv=0x9d4cb10, envp=0x0, flags=, child_setup=0, user_data=0x0, standard_output=0x0, standard_error=0x0, exit_status=0x0, error=0xbff47a58) at gspawn.c:382 outpipe = -1 errpipe = -1 pid = 11634 fds = {__fds_bits = {8, 163973256, 0, 0, -1216522730, 160, 0, 8, -1215987724, 0, 164940572, 164749328, -1216424113, 8, 164749328, 4, -1216437584, 164749328, -1216522784, 0, 0, 16, 164686520, -1219406964, 11, 576666368, -1074497096, -1074497100, 164940560, 3, 0, 941789992}} ret = outstr = (GString *) 0x0 errstr = (GString *) 0x0 failed = 0 status = __PRETTY_FUNCTION__ = "IA__g_spawn_sync" #3 0xb7807264 in IA__g_spawn_command_line_sync ( command_line=0x9d0eab8 "bug-buddy --appname=\"npviewer.bin\" --pid=11608", standard_output=0x0, standard_error=0x0, exit_status=0x0, error=0xbff47a58) at gspawn.c:694 retval = 0 argv = (gchar **) 0x9d4cb10 __PRETTY_FUNCTION__ = "IA__g_spawn_command_line_sync" #4 0xb52de63e in run_bug_buddy (appname=0x9c66b18 "npviewer.bin", pid=11608, minidump_path=0x0) at gnome-breakpad.cc:369 res = warning_file = 0x9ce3c90 "???\t?(?\t" exec_str = 0x9d0eab8 "bug-buddy --appname=\"npviewer.bin\" --pid=11608" args_str = error = (GError *) 0x0 #5 0xb52decc8 in bugbuddy_segv_handle (signum=11) at gnome-breakpad.cc:440 in_segv = 1 #6 No symbol table info available. #7 0xff9d1e4c in ?? () No symbol table info available. #8 0xb6a72f92 in ?? () from /usr/lib/mozilla/plugins/libflashplayer.so No symbol table info available. #9 0xb6741c0f in ?? () from /usr/lib/mozilla/plugins/libflashplayer.so No symbol table info available. #10 0xb6abf234 in ?? () from /usr/lib/mozilla/plugins/libflashplayer.so No symbol table info available. #11 0xb6757681 in ?? () from /usr/lib/mozilla/plugins/libflashplayer.so No symbol table info available. #12 0xb6741a23 in ?? () from /usr/lib/mozilla/plugins/libflashplayer.so No symbol table info available. #13 0xb77cd557 in g_timeout_dispatch (source=0x9cf6ec0, callback=0xb706b0e8, user_data=0xb5ddf000) at gmain.c:3253 No locals. #14 0xb77ccdea in IA__g_main_context_dispatch (context=0x9c83290) at gmain.c:1814 No locals. #15 0xb77d0508 in g_main_context_iterate (context=0x9c83290, block=1, dispatch=1, self=0x9c60260) at gmain.c:2448 max_priority = 0 timeout = 0 some_ready = 1 nfds = 3 allocated_nfds = fds = (GPollFD *) 0x9cb4eb0 __PRETTY_FUNCTION__ = "g_main_context_iterate" #16 0xb77d0a1b in IA__g_main_loop_run (loop=0x9cb49a8) at gmain.c:2656 self = (GThread *) 0x9c60260 __PRETTY_FUNCTION__ = "IA__g_main_loop_run" #17 0xb7d0977f in IA__gtk_main () at gtkmain.c:1205 tmp_list = (GList *) 0x3 functions = (GList *) 0x0 init = (GtkInitFunction *) 0x9cb4dc8 loop = (GMainLoop *) 0x9cb49a8 #18 0x0804ebc0 in main (argc=-1074493932, argv=0xbff4a65e) at ../src/npw-viewer.c:3923 plugin_path = 0x1
connection_path = 0xbff4a633 "/usr/lib/mozilla/plugins/libflashplayer.so" cmd = -1074485653 handles = {0x9c4a050, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0} n_handles = ret = The program is running. Quit anyway (and detach it)? (y or n) [answered Y; input not from terminal] ----------- .xsession-errors (263 sec old) --------------------- *** NSPlugin Wrapper *** WARNING:(../src/npw-wrapper.c:1973):invoke_NPP_GetValue: assertion failed: (rpc_method_invoke_possible(plugin->connection)) *** NSPlugin Wrapper *** WARNING: unhandled variable 11 in NPP_GetValue() *** NSPlugin Wrapper *** WARNING:(../src/npw-wrapper.c:1973):invoke_NPP_GetValue: assertion failed: (rpc_method_invoke_possible(plugin->connection)) *** NSPlugin Wrapper *** WARNING: unhandled variable 11 in NPP_GetValue() *** NSPlugin Wrapper *** WARNING:(../src/npw-wrapper.c:1973):invoke_NPP_GetValue: assertion failed: (rpc_method_invoke_possible(plugin->connection)) *** NSPlugin Wrapper *** WARNING: unhandled variable 11 in NPP_GetValue() *** NSPlugin Wrapper *** WARNING:(../src/npw-wrapper.c:1923):invoke_NPP_SetWindow: assertion failed: (rpc_method_invoke_possible(plugin->connection)) *** NSPlugin Wrapper *** WARNING:(../src/npw-wrapper.c:2533):invoke_NPP_HandleEvent: assertion failed: (rpc_method_invoke_possible(plugin->connection)) *** NSPlugin Wrapper *** WARNING:(../src/npw-wrapper.c:1923):invoke_NPP_SetWindow: assertion failed: (rpc_method_invoke_possible(plugin->connection)) *** NSPlugin Wrapper *** WARNING:(../src/npw-wrapper.c:2533):invoke_NPP_HandleEvent: assertion failed: (rpc_method_invoke_possible(plugin->connection)) *** NSPlugin Wrapper *** WARNING:(../src/npw-wrapper.c:1854):invoke_NPP_Destroy: assertion failed: (rpc_method_invoke_possible(plugin->connection)) *** NSPlugin Wrapper *** WARNING:(../src/npw-wrapper.c:1854):invoke_NPP_Destroy: assertion failed: (rpc_method_invoke_possible(plugin->connection)) *** NSPlugin Wrapper *** WARNING:(../src/npw-wrapper.c:1854):invoke_NPP_Destroy: assertion failed: (rpc_method_invoke_possible(plugin->connection)) *** NSPlugin Wrapper *** WARNING:(../src/npw-wrapper.c:1854):invoke_NPP_Destroy: assertion failed: (rpc_method_invoke_possible(plugin->connection)) *** NSPlugin Wrapper *** WARNING:(../src/npw-wrapper.c:1854):invoke_NPP_Destroy: assertion failed: (rpc_method_invoke_possible(plugin->connection)) -------------------------------------------------- From ye.xu.hdm at gmail.com Thu Feb 5 13:20:42 2009 From: ye.xu.hdm at gmail.com (Ye Xu) Date: Thu, 5 Feb 2009 14:20:42 +0100 Subject: nspluginwrapper conflicts with gtk engine aurora? Message-ID: Hello Everyone, I am currently using nspluginwrapper(1.3.0-dev) with 32bit flashplayer on ubuntu 8.10 amd64, so far everything works fine. but if I launch firefox from terminal it will always give me a bunch of warnings like the following: (npviewer.bin:xxxxx): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libaurora.so: wrong ELF class: ELFCLASS64 Actually it hasn't done any bad things, like crash firefox, but it just looks so messy, if somehow we can fix this, it would be great. From fhimpe at telenet.be Thu Feb 5 14:01:52 2009 From: fhimpe at telenet.be (Frederik Himpe) Date: Thu, 5 Feb 2009 15:01:52 +0100 Subject: nspluginwrapper conflicts with gtk engine aurora? In-Reply-To: References: Message-ID: <20090205140152.GA20453@telenet.be> On Thu, Feb 05, 2009 at 02:20:42PM +0100, Ye Xu wrote: > Hello Everyone, > > I am currently using nspluginwrapper(1.3.0-dev) with 32bit flashplayer > on ubuntu 8.10 amd64, so far everything works fine. but if I launch > firefox from terminal it will always give me a bunch of warnings like > the following: > > (npviewer.bin:xxxxx): Gtk-WARNING **: > /usr/lib/gtk-2.0/2.10.0/engines/libaurora.so: wrong ELF class: > ELFCLASS64 > > Actually it hasn't done any bad things, like crash firefox, but it > just looks so messy, if somehow we can fix this, it would be great. There is nothing to fix in nspluginwrapper here. The problem is that Ubuntu does not support installing 64 bit and 32 bit packages together on the same system, and installs all 64 bit stuff in /usr/lib. The 32 bits GTK+ (which is somewhere in /usr/lib32), tries to load your theme from /usr/lib, and that directory only contains 64 bits stuff, hence the error. Ubuntu could fix their 32 bits gtk+ in 64 bit distro not to load theme modules from /usr/lib. -- Frederik Himpe From ye.xu.hdm at gmail.com Thu Feb 5 13:49:54 2009 From: ye.xu.hdm at gmail.com (Ye Xu) Date: Thu, 5 Feb 2009 14:49:54 +0100 Subject: nspluginwrapper conflicts with gtk engine aurora? In-Reply-To: References: Message-ID: sorry, I had fixed it, simply find 32bit libaurora.so/libaurora.la and put them under /usr/lib/gtk-2.0/2.10.0/engines/ From ye.xu.hdm at gmail.com Thu Feb 5 17:09:30 2009 From: ye.xu.hdm at gmail.com (Ye Xu) Date: Thu, 5 Feb 2009 18:09:30 +0100 Subject: nspluginwrapper conflicts with gtk engine aurora? In-Reply-To: <20090205140152.GA20453@telenet.be> References: <20090205140152.GA20453@telenet.be> Message-ID: > There is nothing to fix in nspluginwrapper here. The problem is that > Ubuntu does not support installing 64 bit and 32 bit packages together > on the same system, and installs all 64 bit stuff in /usr/lib. The 32 > bits GTK+ (which is somewhere in /usr/lib32), tries to load your theme > from /usr/lib, and that directory only contains 64 bits stuff, hence the > error. Ubuntu could fix their 32 bits gtk+ in 64 bit distro not to > load theme modules from /usr/lib. thx for the detailed answser. From ye.xu.hdm at gmail.com Thu Feb 5 19:47:46 2009 From: ye.xu.hdm at gmail.com (Ye Xu) Date: Thu, 5 Feb 2009 20:47:46 +0100 Subject: firefox flash window black out everytime opening a file dialog Message-ID: Hello Everyone, So far nspluginwrapper with flashplayer 32bit v10[1] works well for me, but there is a really annoying problem bugging me for quite sometime, the situation is like this, initially opening firefox plays flash video without any problem, but everytime right after the browser triggered a save file dialog, flash videos will be replaced with a black window, which generates a error msg in console[2], only restart firefox can fix it. I know there is flashplayer 64bit already, but its performance is worse than 32bit flashplayer while I am playing fullscreen flash videos, and the 64bit one isn't compatible with all videos on tudou.com, those are the reasons I am still using 32bit flashplayer with nspluginwrapper so, any ideas how to fix this problem, thx a lot [1]system spec: ubuntu 8.10 64bit nspluginwrapper 1.2.2 (self compiled from source tarball) flashplayer 32bit 10.0.15.3 [2] error msg after triggering the file save dialog: LoadPlugin: failed to initialize shared library /usr/lib/mozilla/plugins/libflashplayer.so [/usr/lib/mozilla/plugins/libflashplayer.so: wrong ELF class: ELFCLASS32] [3] list plugins currently installed seen at seen-desktop $ nspluginwrapper -l /usr/lib/mozilla/plugins/npwrapper.libflashplayer.so Original plugin: /usr/lib/mozilla/plugins/libflashplayer.so Wrapper version string: 1.2.2 /usr/lib64/mozilla/plugins/npwrapper.libflashplayer.so Original plugin: /usr/lib/mozilla/plugins/libflashplayer.so Wrapper version string: 1.2.2 /usr/lib/firefox/plugins/npwrapper.libflashplayer.so Original plugin: /usr/lib/mozilla/plugins/libflashplayer.so Wrapper version string: 1.2.2 /usr/lib64/firefox/plugins/npwrapper.libflashplayer.so Original plugin: /usr/lib/mozilla/plugins/libflashplayer.so Wrapper version string: 1.2.2 /home/seen/.mozilla/plugins/npwrapper.libflashplayer.so Original plugin: /usr/lib64/mozilla/plugins/libflashplayer.so Wrapper version string: 1.2.2