On Sat, 12-Mar-2005 at 22:21:35 -0800, Joshua Tinnin wrote:
On Saturday 12 March 2005 05:42 am, James McNaughton <[EMAIL PROTECTED]> wrote:
The Problem:
Using native Mozilla and linuxpluginwrapper/linux-flashplugin (on 4.10-stable et al) to view flash content results in no sound and occasional Mozilla freezes.
The Solution:
Run esd.
How:
I was searching the web for the solution, and got nowhere. There didn't seem to be anyone who had gotten it to work. Linux mailing lists noted a problem with file permissions on /dev/snd or /dev/pcm* depending on the sound system drivers installed. My /dev/pcm* file permissions were all rw to begin with, so this didn't help.
I wondered what device the plugin was actually trying to access, so I did "strings /usr/local/lib/linux-flashplugin6/libflashplayer.so" and found /dev/dsp and /dev/mixer. Nearby in the list I noticed a few lines relating to esd. From a command line I started esd and went back to view some content that had previously frozen Mozilla, and there was sound coming out my speakers and the browser did not hang.
I had long suspected the browser hangs were related to sound in the flash content. My results seem to confirm that suspicion.
Do you have an example (or two or more) of a page that causes the crash? I'd like to test this on 5.3-R. I know I used to have an email around here somewhere with examples ...
Speaking of flashplugin crashes: There is some flash content out there which makes my firefox crash (not due to sound but for some other reasons). One example is:
http://cgi.ebay.de/ws/eBayISAPI.dll?ViewItem&item=5961030392
I'd like to know if other people also experience crashes when viewing this page. The flash content isn't obvious to find: When the page has opened search for the string "Setzen Sie die Andale Gallery". Directly above is the flash part. I can only view this page when disabling the linux-flashplugin :-(
Thanks,
-Andre
That worked ok for me without crashing. One site that I know always crashes my browser is this one: http://www.flickr.com/photos/
Just click on any of the photos there and the new page will load up and crash. If anyone cares I have attached the backtrace from the crash below.
This is what I have installed:
[EMAIL PROTECTED]:/usr/home/chris$ ls -d /var/db/pkg/firefox-* /var/db/pkg/firefox-1.0.1_1,1 /var/db/pkg/firefox-remote-20040803 [EMAIL PROTECTED]:/usr/home/chris$ ls -d /var/db/pkg/linux* /var/db/pkg/linux-XFree86-libs-4.3.99.902_2 /var/db/pkg/linux-atk-1.2.0_2 /var/db/pkg/linux-expat-1.95.5_2 /var/db/pkg/linux-flashplugin-5.0r51_2 /var/db/pkg/linux-flashplugin-6.0r79_2 /var/db/pkg/linux-fontconfig-2.1_2 /var/db/pkg/linux-glib2-2.2.1_2 /var/db/pkg/linux-jpeg-6b.15_3 /var/db/pkg/linux-png-1.2.7_4 /var/db/pkg/linux-sun-jdk-1.4.2.06_1 /var/db/pkg/linux_base-8-8.0_6 /var/db/pkg/linuxpluginwrapper-20050110
I have been bad at updating this month so I may be behind in ports and this has already been fixed.
Chris
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1 (LWP 100180)]
0x2a42a584 in HashTable::ForEach ()
from /usr/local/lib/linux-flashplugin6/libflashplayer.so
(gdb) bt full
#0 0x2a42a584 in HashTable::ForEach ()
from /usr/local/lib/linux-flashplugin6/libflashplayer.so
No symbol table info available.
#1 0x2a4f3679 in FontDirectory::ForEach ()
from /usr/local/lib/linux-flashplugin6/libflashplayer.so
No symbol table info available.
#2 0x2a4f1009 in PlatformFontUtils::GetFontList ()
from /usr/local/lib/linux-flashplugin6/libflashplayer.so
No symbol table info available.
#3 0x2a4b8517 in TextFieldDispatchProc ()
from /usr/local/lib/linux-flashplugin6/libflashplayer.so
No symbol table info available.
#4 0x2a49c304 in CorePlayer::DoCallFunction ()
from /usr/local/lib/linux-flashplugin6/libflashplayer.so
No symbol table info available.
#5 0x2a495d26 in CorePlayer::DoActions ()
from /usr/local/lib/linux-flashplugin6/libflashplayer.so
No symbol table info available.
#6 0x2a48849c in ScriptPlayer::PushDataComplete ()
from /usr/local/lib/linux-flashplugin6/libflashplayer.so
No symbol table info available.
#7 0x2a47c654 in ScriptPlayer::PushImageData ()
from /usr/local/lib/linux-flashplugin6/libflashplayer.so
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#8 0x2a4a027c in CorePlayer::UrlStreamWriteNotify ()
from /usr/local/lib/linux-flashplugin6/libflashplayer.so
No symbol table info available.
#9 0x2a4a0247 in CorePlayer::UrlStreamWrite ()
from /usr/local/lib/linux-flashplugin6/libflashplayer.so
No symbol table info available.
#10 0x2a4ab6d8 in URLStream::StreamWrite ()
from /usr/local/lib/linux-flashplugin6/libflashplayer.so
No symbol table info available.
#11 0x2a4fbc29 in NPP_Write ()
from /usr/local/lib/linux-flashplugin6/libflashplayer.so
No symbol table info available.
#12 0x2a4f9b10 in Private_Write ()
from /usr/local/lib/linux-flashplugin6/libflashplayer.so
No symbol table info available.
#13 0x29e2c13a in ns4xPluginStreamListener::StopDataPump ()
from /usr/X11R6/lib/firefox/components/libgkplugin.so
No symbol table info available.
#14 0x29e343e5 in nsPluginStreamListenerPeer::SetupPluginCacheFile ()
from /usr/X11R6/lib/firefox/components/libgkplugin.so
No symbol table info available.
#15 0x28ee2373 in nsCOMPtr<nsIServerSocketListener>::StartAssignment ()
---Type <return> to continue, or q <return> to quit---
from /usr/X11R6/lib/firefox/components/libnecko.so
No symbol table info available.
#16 0x28f6ae5d in nsHttpChannel::GetCurrentPath ()
from /usr/X11R6/lib/firefox/components/libnecko.so
No symbol table info available.
#17 0x28ec39e1 in nsInputStreamPump::OnStateTransfer ()
from /usr/X11R6/lib/firefox/components/libnecko.so
No symbol table info available.
#18 0x28ec37cc in nsInputStreamPump::EnsureWaiting ()
from /usr/X11R6/lib/firefox/components/libnecko.so
No symbol table info available.
#19 0x281be500 in nsInputStreamReadyEvent::EventHandler ()
from /usr/X11R6/lib/firefox/libxpcom.so
No symbol table info available.
#20 0x281dae77 in PL_HandleEvent () from /usr/X11R6/lib/firefox/libxpcom.so
No symbol table info available.
#21 0x281dad84 in PL_ProcessPendingEvents ()
from /usr/X11R6/lib/firefox/libxpcom.so
No symbol table info available.
#22 0x281dcd39 in nsEventQueueImpl::NotifyObservers ()
from /usr/X11R6/lib/firefox/libxpcom.so
No symbol table info available.
#23 0x28d42185 in nsBaseWidget::FreeNativeData ()
---Type <return> to continue, or q <return> to quit---
from /usr/X11R6/lib/firefox/components/libwidget_gtk2.so
No symbol table info available.
#24 0x2898f65f in g_io_unix_dispatch () from /usr/local/lib/libglib-2.0.so.400
No symbol table info available.
#25 0x2896442b in g_main_context_dispatch ()
from /usr/local/lib/libglib-2.0.so.400
No symbol table info available.
#26 0x28966023 in g_main_context_iterate ()
from /usr/local/lib/libglib-2.0.so.400
No symbol table info available.
#27 0x289662da in g_main_loop_run () from /usr/local/lib/libglib-2.0.so.400
No symbol table info available.
#28 0x2847be83 in gtk_main () from /usr/X11R6/lib/libgtk-x11-2.0.so.400
No symbol table info available.
#29 0x082440b0 in ?? ()
No symbol table info available.
#30 0x00000001 in ?? ()
No symbol table info available.
#31 0x00000000 in ?? ()
No symbol table info available.
#32 0x00000001 in ?? ()
No symbol table info available.
#33 0x082440b0 in ?? ()
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#34 0x00000000 in ?? ()
No symbol table info available.
#35 0x080c9920 in ?? ()
No symbol table info available.
#36 0xbfbfe328 in ?? ()
No symbol table info available.
#37 0xbfbfe258 in ?? ()
No symbol table info available.
#38 0x280659e1 in _rtld_bind_start () from /libexec/ld-elf.so.1
No symbol table info available.
#39 0x2809aa00 in ?? ()
No symbol table info available.
#40 0x000006b0 in ?? ()
No symbol table info available.
#41 0x08065310 in ?? ()
No symbol table info available.
#42 0xc1f30001 in ?? ()
No symbol table info available.
#43 0x28d63b8c in ?? ()
from /usr/X11R6/lib/firefox/components/libwidget_gtk2.so
No symbol table info available.
#44 0x080c9920 in ?? ()
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#45 0xbfbfe328 in ?? ()
No symbol table info available.
#46 0xbfbfe258 in ?? ()
No symbol table info available.
#47 0x28d42699 in nsAppShell::ReleaseGlobals ()
from /usr/X11R6/lib/firefox/components/libwidget_gtk2.so
No symbol table info available.
Previous frame inner to this frame (corrupt stack?)
(gdb)
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"