[Bug 225237] www/firefox causes zombie through accessibility/speech-dispatcher

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jan 17 00:20:30 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225237

Jan Beich <jbeich at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Hardware|amd64                       |Any

--- Comment #1 from Jan Beich <jbeich at FreeBSD.org> ---
Firefox 44+ implements WebSpeech API on FreeDesktop platforms via
speech-dispatcher. Firefox 49+ itself uses WebSpeech to Narrate a page. Both
didn't have any changes in Firefox 58.

Steps To Reproduce:
1. pkg install firefox mesa-dri speech-dispatcher
2. firefox -new-instance -profile $(mktemp -d) https://en.wikipedia.org/
3. Click on Enter Reader View in URL bar
4. Click Narrate button at left side panel
5. Click Play

Firefox spawns sd_* processes as soon as step #3 which highlights there maybe
an issue with initialization. Let's try to minify:

$ cat a.c
#include <libspeechd.h>
#include <unistd.h>

int main(int argc, char *argv[])
{
  SPDConnection* mSpeechdClient = spd_open(argv[0], NULL, NULL,
SPD_MODE_THREADED);
  spd_say(mSpeechdClient, SPD_MESSAGE, "Hello from Speech Dispatcher!");
  sleep(600);
  return 0;
}

$ pkg install speech-dispatcher pkgconf
$ cc a.c `pkg-config --cflags --libs speech-dispatcher`
$ ./a.out &
$ ps xd
  PID TT  STAT    TIME COMMAND
36621  -  SsJ  0:00.00 /usr/local/bin/speech-dispatcher --spawn
--communication-method unix_socket -
36615  6  SJ   0:00.00 /usr/local/lib/speech-dispatcher-modules/sd_generic
/usr/local/etc/speech-dis
36616  6  SJ   0:00.00 /usr/local/lib/speech-dispatcher-modules/sd_dummy
/usr/local/etc/speech-dispa
36618  6  SJ   0:00.01 /usr/local/lib/speech-dispatcher-modules/sd_espeak
/usr/local/etc/speech-disp
36619  6  SJ   0:00.00 /usr/local/lib/speech-dispatcher-modules/sd_cicero
/usr/local/etc/speech-disp
36620  6  ZJ   0:00.00 - <defunct>

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-gecko mailing list