Debian Bug report logs -
#504200
segmentation violation when running recite
Reported by: reportbug_recite.to.peejay@spamgourmet.com
Date: Sat, 1 Nov 2008 16:33:01 UTC
Severity: grave
Tags: security
Found in version recite/1.0-8
Fixed in version recite/1.0-8.1
Done: Barry deFreese <bdefreese@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Sam Hocevar (Debian packages) <sam+deb@zoy.org>:
Bug#504200; Package recite.
(Sat, 01 Nov 2008 16:33:03 GMT) (full text, mbox, link).
Acknowledgement sent
to reportbug_recite.to.peejay@spamgourmet.com:
New Bug report received and forwarded. Copy sent to Sam Hocevar (Debian packages) <sam+deb@zoy.org>.
(Sat, 01 Nov 2008 16:33:03 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: recite
Version: 1.0-8
Severity: grave
Tags: security
Justification: renders package unusable
When running "recite ok", me and two other fairly random lenny users
get a segmentation violation. Also a fairly random sid user reported
this problem.
("Fairly random" here means people on an irc #debian channel who responded
to a request to test it).
The bug makes the current lenny package unusable. And also lets audio
users do a buffer overflow.
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-1-486
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages recite depends on:
ii libc6 2.7-15 GNU C Library: Shared libraries
recite recommends no packages.
recite suggests no packages.
-- no debconf information
Information forwarded
to debian-bugs-dist@lists.debian.org, Sam Hocevar (Debian packages) <sam+deb@zoy.org>:
Bug#504200; Package recite.
(Tue, 04 Nov 2008 15:45:05 GMT) (full text, mbox, link).
Acknowledgement sent
to Sven Joachim <svenjoac@gmx.de>:
Extra info received and forwarded to list. Copy sent to Sam Hocevar (Debian packages) <sam+deb@zoy.org>.
(Tue, 04 Nov 2008 15:45:06 GMT) (full text, mbox, link).
Message #10 received at 504200@bugs.debian.org (full text, mbox, reply):
On 2008-11-01 17:32 +0100, reportbug_recite.to.peejay@spamgourmet.com wrote:
> Package: recite
> Version: 1.0-8
> Severity: grave
> Tags: security
> Justification: renders package unusable
>
>
> When running "recite ok", me and two other fairly random lenny users
> get a segmentation violation. Also a fairly random sid user reported
> this problem.
And another fairly random sid user (me) can confirm this as well.
However, when I rebuilt the package to get a backtrace of the segfault,
the crash magically disappeared.
Sven
Information forwarded
to debian-bugs-dist@lists.debian.org, Sam Hocevar (Debian packages) <sam+deb@zoy.org>:
Bug#504200; Package recite.
(Tue, 04 Nov 2008 23:18:02 GMT) (full text, mbox, link).
Acknowledgement sent
to Robert Lemmen <robertle@semistable.com>:
Extra info received and forwarded to list. Copy sent to Sam Hocevar (Debian packages) <sam+deb@zoy.org>.
(Tue, 04 Nov 2008 23:18:02 GMT) (full text, mbox, link).
Message #15 received at 504200@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
some additional, although not very halpfull, info:
i tried this on two of my machines with the following result:
on my amd64 it doesn't show up at all. on a i386 the regular package
fails, if i rebuild it (nothing changed in the package), it works and
the binary has a different size. i had a look at the strace of both, but
nothing really strange shows up...
cu robert
--
Robert Lemmen http://www.semistable.com
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Sam Hocevar (Debian packages) <sam+deb@zoy.org>:
Bug#504200; Package recite.
(Wed, 05 Nov 2008 11:30:23 GMT) (full text, mbox, link).
Acknowledgement sent
to "Neil Muller" <drnlmuller+bugs@gmail.com>:
Extra info received and forwarded to list. Copy sent to Sam Hocevar (Debian packages) <sam+deb@zoy.org>.
(Wed, 05 Nov 2008 11:30:23 GMT) (full text, mbox, link).
Message #20 received at 504200@bugs.debian.org (full text, mbox, reply):
On i386, it doesn't segfault if using the -Write_Phonemes option or
the undocumented -Write_Klatt option, but does segfault when using
-Write_Ulaw, so the error looks to be in the conversion from the klatt
representation to ulaw.
--
Neil Muller
Information forwarded
to debian-bugs-dist@lists.debian.org, Sam Hocevar (Debian packages) <sam+deb@zoy.org>:
Bug#504200; Package recite.
(Thu, 06 Nov 2008 15:36:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Steve Cotton <steve0001@s.cotton.clara.co.uk>:
Extra info received and forwarded to list. Copy sent to Sam Hocevar (Debian packages) <sam+deb@zoy.org>.
(Thu, 06 Nov 2008 15:36:04 GMT) (full text, mbox, link).
Message #25 received at 504200@bugs.debian.org (full text, mbox, reply):
I can replicate this with a rebuilt, debugging version of the program (and
also with the official package).
Program received signal SIGSEGV, Segmentation fault.
0x0000000000407458 in DBtoLIN (dB=1950) at klatt/parwave.c:584
584 lgtemp = amptable[dB] * .001;
(gdb) bt
#0 0x0000000000407458 in DBtoLIN (dB=1950) at klatt/parwave.c:584
#1 0x0000000000407a28 in gethost (pars=0x8d3520) at klatt/parwave.c:780
#2 0x000000000040913d in parwav (pars=0x8d3520, jwave=0x7fff51320ad0) at klatt/parwave.c:1759
#3 0x00000000004070f7 in klatt_to_ulaw (in=0x8ff0c0 "\024\005\220\001x\005\214\n�, inlen=26000, out=0x7fff51320bc0, outlen=0x7fff51320bb8) at klatt/klatt.c:241
#4 0x000000000040fb69 in main (argc=2, argv=0x7fff51320d08) at recite/main.c:442
DBtoLIN does a lower-bounds-check on the volume, but not an
upper-bounds-check. I haven't traced where that excessive volume setting
comes from.
According to the man page, "recite ok" tries to read text from a file called
"ok". Observed behaviour suggests that the man page is wrong.
Whether it segfaults or not depends on what it's asked to say:
steve@localhost:~/development/deb-source/recite/recite-1.0$ echo "ok" | recite
Segmentation fault
steve@localhost:~/development/deb-source/recite/recite-1.0$ echo "aa" | recite
recite: could not open "/dev/dsp": No such file or directory
(I have an ALSA-only kernel. It doesn't work for me with the aoss wrapper
either, but that could be something misconfigured on my machine).
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (990, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26 (SMP w/2 CPU cores; PREEMPT) [custom-built]
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages recite depends on:
ii libc6 2.7-16 GNU C Library: Shared libraries
recite recommends no packages.
recite suggests no packages.
This gives no hints for working out why it builds differently on my machine
compared to Robert's.
-- no debconf information
Information forwarded
to debian-bugs-dist@lists.debian.org, Sam Hocevar (Debian packages) <sam+deb@zoy.org>:
Bug#504200; Package recite.
(Thu, 06 Nov 2008 20:36:02 GMT) (full text, mbox, link).
Acknowledgement sent
to Marco Rodrigues <gothicx@sapo.pt>:
Extra info received and forwarded to list. Copy sent to Sam Hocevar (Debian packages) <sam+deb@zoy.org>.
(Thu, 06 Nov 2008 20:36:02 GMT) (full text, mbox, link).
Message #30 received at 504200@bugs.debian.org (full text, mbox, reply):
Hi!
Maybe this package should be removed from Debian and people can use a better
one.. like espeak.
At Paul Miller's Homepage, I don't see anything about "recite", so it should be
dead upstream.
--
Marco Rodrigues
http://Marco.Tondela.org
Reply sent
to Barry deFreese <bdefreese@debian.org>:
You have taken responsibility.
(Thu, 06 Nov 2008 21:45:10 GMT) (full text, mbox, link).
Notification sent
to reportbug_recite.to.peejay@spamgourmet.com:
Bug acknowledged by developer.
(Thu, 06 Nov 2008 21:45:10 GMT) (full text, mbox, link).
Message #35 received at 504200-close@bugs.debian.org (full text, mbox, reply):
Source: recite
Source-Version: 1.0-8.1
We believe that the bug you reported is fixed in the latest version of
recite, which is due to be installed in the Debian FTP archive:
recite_1.0-8.1.diff.gz
to pool/main/r/recite/recite_1.0-8.1.diff.gz
recite_1.0-8.1.dsc
to pool/main/r/recite/recite_1.0-8.1.dsc
recite_1.0-8.1_i386.deb
to pool/main/r/recite/recite_1.0-8.1_i386.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 504200@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Barry deFreese <bdefreese@debian.org> (supplier of updated recite package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Thu, 06 Nov 2008 15:23:30 -0500
Source: recite
Binary: recite
Architecture: source i386
Version: 1.0-8.1
Distribution: unstable
Urgency: medium
Maintainer: Sam Hocevar (Debian packages) <sam+deb@zoy.org>
Changed-By: Barry deFreese <bdefreese@debian.org>
Description:
recite - English text speech synthesizer
Closes: 504200
Changes:
recite (1.0-8.1) unstable; urgency=medium
.
* Non-maintainer upload.
+ With permission from maintainer.
* klatt/parwave.c: Check upper bound on DBtoLIN. (Closes: #504200).
+ Not a real solution but exits more gracefully.
+ Thanks to Emmet Hikory for the help.
* Priority medium for RC bug fix.
* Escape hyphens in manpage.
* debian/copyright: Add Copyright holder.
+ Update FSF address.
* Bump Standards Version to 3.8.0. (No changes needed).
Checksums-Sha1:
12c80ad5ed74bc88aba25262724013279659bd4a 943 recite_1.0-8.1.dsc
0adc3068ed80516ed769f5eb74fc92fdc30e76e0 9106 recite_1.0-8.1.diff.gz
b717e0a91a57c2c2f3685ff74270948bdeaecee3 49772 recite_1.0-8.1_i386.deb
Checksums-Sha256:
7a0b099ce511f7e4cde7933118353400e4168619fdf8b3ed354b1460c6afbcc1 943 recite_1.0-8.1.dsc
c1c8e9d3e8d5dab9d5c72742e16447c52517abeb7fa706d1efc552af9a9f6510 9106 recite_1.0-8.1.diff.gz
d705613fe19526b08259fe153a4c916062d87369d3f8f5097dcb420125703c59 49772 recite_1.0-8.1_i386.deb
Files:
9791f7b4f8e01c985d2e38947006baf0 943 sound optional recite_1.0-8.1.dsc
9205b6ee29a59d89b3e8effca00b0401 9106 sound optional recite_1.0-8.1.diff.gz
400fa55fcdb82387fddc9bedd1d1b7d4 49772 sound optional recite_1.0-8.1_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkkTYWMACgkQ5ItltUs5T37V6ACfUghuZyendVz4Qekiz8i5NXEv
ZpYAoLV+oI8JazoO4w2akT5Nw2W3sME6
=TgdZ
-----END PGP SIGNATURE-----
Information forwarded
to debian-bugs-dist@lists.debian.org, Sam Hocevar (Debian packages) <sam+deb@zoy.org>:
Bug#504200; Package recite.
(Wed, 19 Nov 2008 04:42:02 GMT) (full text, mbox, link).
Acknowledgement sent
to reportbug_recite.to.peejay@spamgourmet.com:
Extra info received and forwarded to list. Copy sent to Sam Hocevar (Debian packages) <sam+deb@zoy.org>.
(Wed, 19 Nov 2008 04:42:03 GMT) (full text, mbox, link).
Message #40 received at 504200@bugs.debian.org (full text, mbox, reply):
"recite ok" works for me now (actually, "recite o kay" does what I really
intended when it comes to the sound output phonemes (not a bug)).
In lenny it still needs a "modprobe snd_pcm_oss" or it complains about not
finding /dev/dsp. But that's a devfs or kernel bug, not a recite bug.
happy end user
PJ
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Mon, 16 Mar 2009 07:27:31 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Thu Jan 11 03:31:02 2018;
Machine Name:
beach
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.