Problem with PPH plugin
Hi,
Just wanted to highlight a bug over on Mozilla relating to a crash in the PPH plugin.
https://bugzilla.mozilla.org/show_bug.cgi?id=540460
It was initially though to be in PulseAudio, but on closer inspection this doesn't involve PA at all and in fact seems to relate to the PPH plugin from what I can gather.
The backtrace is here:
https://bug540460.bugzilla.mozilla.org/attachment.cgi?id=422264
The user did submit a bug report to the bugtracker
(https://bugtrack.alsa-project.org/alsa-bug/view.php?id=4878) but given previous experience there (see other mail!) I figured I'd post a message here to highlight it seeing as the reporter has already done a lot to try and work out what is going on and posting a message on his behalf seemed like a good idea :)
Cheers
All the best.
Signature · 10 lines
Colin Guthrie gmane(at)colin.guthr.ie http://colin.guthr.ie/ Day Job: Tribalogic Limited [http://www.tribalogic.net/] Open Source: Mandriva Linux Contributor [http://www.mandriva.com/] PulseAudio Hacker [http://www.pulseaudio.org/] Trac Hacker [http://trac.edgewall.org/]
At Tue, 19 Jan 2010 17:49:16 +0000,
Quoted 15 lines · Colin Guthrie
Hi,
Just wanted to highlight a bug over on Mozilla relating to a crash in the PPH plugin.
https://bugzilla.mozilla.org/show_bug.cgi?id=540460
It was initially though to be in PulseAudio, but on closer inspection this doesn't involve PA at all and in fact seems to relate to the PPH plugin from what I can gather.
The backtrace is here:
https://bug540460.bugzilla.mozilla.org/attachment.cgi?id=422264
Quoted 6 lines
The user did submit a bug report to the bugtracker
(https://bugtrack.alsa-project.org/alsa-bug/view.php?id=4878) but given previous experience there (see other mail!) I figured I'd post a message here to highlight it seeing as the reporter has already done a lot to try and work out what is going on and posting a message on his behalf seemed like a good idea :)
Hm, this is a horrible combination for debugging: a binary-only app plugin from another app.... The backtrace shows the function: that's good. But, it shows the very first line of the function. So, it can't tell where actually hits. It makes hard to guess...
And, I can't reproduce the bug.
The reporter can try the following, at least:
- uninstall alsa-plugins package to see whether it's a speexrate plugin issue
- update packages from OBS multimedia:audio:libs repo, to be sure, whether the problem got fixed in the later versions
Takashi
Quoted 8 lines · Takashi Iwai <tiwai <at> suse.de> writes:
Hm, this is a horrible combination for debugging: a binary-only app plugin from another app.... The backtrace shows the function: that's good. But, it shows the very first line of the function. So, it can't tell where actually hits. It makes hard to guess...
And, I can't reproduce the bug.
Quoted 8 lines
The reporter can try the following, at least:
- uninstall alsa-plugins package to see whether it's a speexrate plugin issue
- update packages from OBS multimedia:audio:libs repo, to be sure, whether the problem got fixed in the later versionsTakashi
Hi and thanks for the advice. Yes the issue is present only if a package "alsa-plugins" installed. The problem also occurs after the upgrade packages
http://download.opensuse.org/repositories/multimedia:/libs/openSUSE_11.2/ . I also added information to the alsa bugtracker.
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=4878
Anton
At Wed, 20 Jan 2010 22:24:46 +0000 (UTC),
Quoted 17 lines · Anton Yashin
Quoted 14 lines · Takashi Iwai <tiwai <at> suse.de> writes:
Hm, this is a horrible combination for debugging: a binary-only app plugin from another app.... The backtrace shows the function: that's good. But, it shows the very first line of the function. So, it can't tell where actually hits. It makes hard to guess...
And, I can't reproduce the bug.
The reporter can try the following, at least:
- uninstall alsa-plugins package to see whether it's a speexrate plugin issue
- update packages from OBS multimedia:audio:libs repo, to be sure, whether the problem got fixed in the later versions
Quoted 8 lines
Quoted 2 lines
Takashi
Hi and thanks for the advice. Yes the issue is present only if a package "alsa-plugins" installed. The problem also occurs after the upgrade packages
http://download.opensuse.org/repositories/multimedia:/libs/openSUSE_11.2/ . I also added information to the alsa bugtracker.
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=4878
OK, just one more thing to be sure -- does this happen also with samplerate plugin? I suppose it's PPH specific, but it's not clear whether this comes from the PCM core side or just in the SRC side.
Also, did you see any similar error with other apps?
thanks,
Takashi
Quoted 4 lines · Takashi Iwai <tiwai <at> suse.de> writes:
OK, just one more thing to be sure -- does this happen also with samplerate plugin? I suppose it's PPH specific, but it's not clear whether this comes from the PCM core side or just in the SRC side.
You mean alsa-plugins-samplerate ? No this issue exists if alsa-plugins is installed. Installing or uninstalling alsa-plugins-samplerate does not change the situation.
Quoted 6 lines
Also, did you see any similar error with other apps?
thanks,
Takashi
There is unique to firefox. Is the only browser that makes sounds. The rest multithreaded audio output is working properly. For example i can watch two videos at once on youtube.
One more thing. Raymond says:
Quoted 3 lines
is
flashsupport.cthe source code of libflashplayer.sohttp://labs.adobe.com/wiki/index.php/Flash_Player:Additional_Interface_Support_for_Linux
[^]
Quoted 5 lines
It seem that there are some bugs in
flashsupport.c#14
0xb5ae6379insnd_pcm_mmap_writei(pcm=0xb0c96ac0, buffer=0xaa1ae000,
size=940) at pcm_mmap.c:186
Quoted 1 line
#15
0xb5ad415ein_snd_pcm_writei(size=<value optimized out>, buffer=<value
optimized out>, pcm=<value optimized out>) at pcm_local.h:516
Quoted 1 line
#16
snd_pcm_writei(size=<value optimized out>, buffer=<value optimized out>,
pcm=<value optimized out>) at pcm.c:1247
Quoted 4 lines
#17
0xab01acd4in ?? () from/usr/lib/browser-plugins/libflashplayer.so#180xab01af15in ?? () from/usr/lib/browser-plugins/libflashplayer.so#190xb7e876e5instart_thread(arg=0x0) at pthread_create.c:297 #200xb7e87600in ?? () at pthread_create.c:216 from/lib/libpthread.so.0
at https://bugtrack.alsa-project.org/alsa-bug/view.php?id=4878
Later I will send a bug in the adobe.
Thanks,
Anton
At Thu, 21 Jan 2010 11:19:24 +0000 (UTC),
Quoted 11 lines · Anton Yashin
Quoted 4 lines · Takashi Iwai <tiwai <at> suse.de> writes:
OK, just one more thing to be sure -- does this happen also with samplerate plugin? I suppose it's PPH specific, but it's not clear whether this comes from the PCM core side or just in the SRC side.
You mean alsa-plugins-samplerate ? No this issue exists if alsa-plugins is installed. Installing or uninstalling alsa-plugins-samplerate does not change the situation.
You need to set up the configuration to use that plugin. Just installing doesn't enable the plugin setup. See README.
Quoted 10 lines
Quoted 6 lines
Also, did you see any similar error with other apps?
thanks,
Takashi
There is unique to firefox. Is the only browser that makes sounds. The rest multithreaded audio output is working properly. For example i can watch two videos at once on youtube.
How does firefox make sounds by itself? Since the bug is triggered when you enter some error texts in the search field, I guess this is causing a beep or whatever tone.
Quoted 7 lines
One more thing. Raymond says:
Quoted 3 lines
is
flashsupport.cthe source code of libflashplayer.sohttp://labs.adobe.com/wiki/index.php/Flash_Player:Additional_Interface_Support_for_Linux
[^]
Quoted 2 lines
It seem that there are some bugs in
flashsupport.c
Quite possibly.
thanks,
Takashi
Quoted 3 lines · Takashi Iwai <tiwai <at> suse.de> writes:
You need to set up the configuration to use that plugin. Just installing doesn't enable the plugin setup. See README.
Thanks, after i added:
defaults.pcm.rate_converter "samplerate"
to ~/.asoundrc i got segmentation fault. I added crash-with-alsa-plugins-samplerate-enabled.txt to the alsa bugtracker.
Quoted 5 lines
How does firefox make sounds by itself? Since the bug is triggered when you enter some error texts in the search field, I guess this is causing a beep or whatever tone.
This is what I had in mind. Beep sound played by firefox. No other browser can not play sounds on events in my system.
thanks,
Anton.
'Twas brillig, and Anton Yashin at 21/01/10 11:19 did gyre and gimble:
Quoted 15 lines
One more thing. Raymond says:
Quoted 3 lines
is
flashsupport.cthe source code of libflashplayer.sohttp://labs.adobe.com/wiki/index.php/Flash_Player:Additional_Interface_Support_for_Linux
[^]
Quoted 5 lines
It seem that there are some bugs in
flashsupport.c#14
0xb5ae6379insnd_pcm_mmap_writei(pcm=0xb0c96ac0, buffer=0xaa1ae000,size=940) at pcm_mmap.c:186
Quoted 1 line
#15
0xb5ad415ein_snd_pcm_writei(size=<value optimized out>, buffer=<valueoptimized out>, pcm=<value optimized out>) at pcm_local.h:516
Quoted 1 line
#16
snd_pcm_writei(size=<value optimized out>, buffer=<value optimized out>,pcm=<value optimized out>) at pcm.c:1247
Quoted 8 lines
Quoted 4 lines
#17
0xab01acd4in ?? () from/usr/lib/browser-plugins/libflashplayer.so#180xab01af15in ?? () from/usr/lib/browser-plugins/libflashplayer.so#190xb7e876e5instart_thread(arg=0x0) at pthread_create.c:297 #200xb7e87600in ?? () at pthread_create.c:216 from/lib/libpthread.so.0at https://bugtrack.alsa-project.org/alsa-bug/view.php?id=4878
Later I will send a bug in the adobe.
I'm not sure where Raymond sees flashsupport.c...
Could it be that you have libflashsupport.so (probably in /usr/lib/) on your system somewhere? If so you should try removing it (e.g. finding which package owns the file - rpm -qf <file> - and then removing the package) and see if the problem goes away.
It's used to extend Flash player and I guess it could be cocking up somewhere or other.
Col
Signature · 10 lines
Colin Guthrie gmane(at)colin.guthr.ie http://colin.guthr.ie/ Day Job: Tribalogic Limited [http://www.tribalogic.net/] Open Source: Mandriva Linux Contributor [http://www.mandriva.com/] PulseAudio Hacker [http://www.pulseaudio.org/] Trac Hacker [http://trac.edgewall.org/]
Quoted 8 lines · Colin Guthrie <gmane <at> colin.guthr.ie> writes:
I'm not sure where Raymond sees
flashsupport.c...Could it be that you have libflashsupport.so (probably in
/usr/lib/) on your system somewhere? If so you should try removing it (e.g. finding which package owns the file - rpm -qf <file> - and then removing the package) and see if the problem goes away.
Quoted 5 lines
It's used to extend Flash player and I guess it could be cocking up somewhere or other.
Col
Hi
#LANG=C find / | grep libflashsupport
find: `/home/anton/.gvfs': Permission denied
May be this some internal features of flash player?
Thanks,
Anton.
'Twas brillig, and Anton Yashin at 21/01/10 15:04 did gyre and gimble:
Quoted 16 lines
Quoted 8 lines · Colin Guthrie <gmane <at> colin.guthr.ie> writes:
I'm not sure where Raymond sees
flashsupport.c...Could it be that you have libflashsupport.so (probably in
/usr/lib/) on your system somewhere? If so you should try removing it (e.g. finding which package owns the file - rpm -qf <file> - and then removing the package) and see if the problem goes away.Quoted 5 lines
It's used to extend Flash player and I guess it could be cocking up somewhere or other.
Col
Quoted 6 lines
Hi
#LANG=C find / | grep libflashsupport
find: `/home/anton/.gvfs': Permission deniedMay be this some internal features of flash player?
flashsupport is an external system. If your system has a libflashsupport.so file it will be loaded into the flashplayer. We used to use this some time ago when Flash's audio support was shocking (libflashsupport.so was used to provide pulseaudio support). Now flash works OK with alsa and PA via alsa, we no longer need this. Just wanted to ensure you weren't generating some odd code paths as a result of this file being present. It seems you are not and thus, I don't think flashsupport is an issue (tho as the internals of Flash are a black box I can't be 100% certain).
Cheers
Col
Signature · 10 lines
Colin Guthrie gmane(at)colin.guthr.ie http://colin.guthr.ie/ Day Job: Tribalogic Limited [http://www.tribalogic.net/] Open Source: Mandriva Linux Contributor [http://www.mandriva.com/] PulseAudio Hacker [http://www.pulseaudio.org/] Trac Hacker [http://trac.edgewall.org/]