Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jan 2018 00:20:30 +0000
From:      bugzilla-noreply@freebsd.org
To:        gecko@FreeBSD.org
Subject:   [Bug 225237] www/firefox causes zombie through accessibility/speech-dispatcher
Message-ID:  <bug-225237-21738-U76kHOji8Z@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-225237-21738@https.bugs.freebsd.org/bugzilla/>
References:  <bug-225237-21738@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225237

Jan Beich <jbeich@FreeBSD.org> changed:

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

--- Comment #1 from Jan Beich <jbeich@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 may=
be
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 =3D 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>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-225237-21738-U76kHOji8Z>