Your message dated Fri, 11 Sep 2009 11:04:26 +0000
with message-id <e1mm3vw-0002hw...@ries.debian.org>
and subject line Bug#545476: fixed in timidity 2.13.2-35
has caused the Debian Bug report #545476,
regarding timidity: [FIX] Does not play with pulseaudio
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
545476: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=545476
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: timidity
Version: 2.13.2-33.1
Severity: normal
Attached patch from fedora:
* Wed Jun 03 2009 Hans de Goede <hdego...@redhat.com> 2.13.2-19 - Don't crash
when started in daemon mode (with -iAD) (#501051)
fixes the pulse_new assert when using -iAD.
There is also the need for to add timidity user to pulse-rt group. This I am
not that easy to fix . Needs postinst changes.
Otherwise dreaded permission error is fired up when playing through timidity.
A workaround for the latter is to set the timidity user to the user playing
through timidity (one seat station only that is).
Best regards
Alban
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.31-rc6-wleeepc (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages timidity depends on:
ii libasound2 1.0.20-4 shared library for ALSA applicatio
ii libaudio2 1.9.2-3 Network Audio System - shared libr
ii libc6 2.9-26 GNU C Library: Shared libraries
ii libesd0 0.2.41-5 Enlightened Sound Daemon - Shared
ii libflac8 1.2.1-2+b1 Free Lossless Audio Codec - runtim
ii libice6 2:1.0.5-1 X11 Inter-Client Exchange library
ii libjack0 0.116.2+svn3592-2 JACK Audio Connection Kit (librari
ii libncurses5 5.7+20090803-2 shared libraries for terminal hand
ii libogg0 1.1.4~dfsg-1 Ogg bitstream library
ii libpng12-0 1.2.39-1 PNG library - runtime
ii libsm6 2:1.1.1-1 X11 Session Management library
ii libvorbis0a 1.2.0.dfsg-6 The Vorbis General Audio Compressi
ii libvorbisenc2 1.2.0.dfsg-6 The Vorbis General Audio Compressi
ii libx11-6 2:1.2.2-1 X11 client-side library
ii libxaw7 2:1.0.6-1 X11 Athena Widget library
ii libxext6 2:1.0.4-1 X11 miscellaneous extension librar
ii libxmu6 2:1.0.4-2 X11 miscellaneous utility library
ii libxt6 1:1.0.6-1 X11 toolkit intrinsics library
ii lsb-base 3.2-23 Linux Standard Base 3.2 init scrip
ii zlib1g 1:1.2.3.3.dfsg-15 compression library - runtime
Versions of packages timidity recommends:
ii freepats 20060219-1 Free patch set for MIDI audio synt
ii timidity-daemon 2.13.2-33.1 runs TiMidity++ as a system-wide M
Versions of packages timidity suggests:
ii fluid-soundfont-gm 3.1-2 Fluid (R3) General MIDI SoundFont
ii fluid-soundfont-gs 3.1-2 Fluid (R3) General MIDI SoundFont
ii pmidi 1.6.0-5 A command line midi player for ALS
-- no debconf information
--- ../timidity-2.13.2/interface/alsaseq_c.c 2009-09-07 14:23:14.000000000 +0200
+++ interface/alsaseq_c.c 2009-09-07 14:25:16.000000000 +0200
@@ -390,23 +390,6 @@
play_mode->close_output();
- if (ctl.flags & CTLF_DAEMONIZE)
- {
- int pid = fork();
- FILE *pidf;
- switch (pid)
- {
- case 0: // child is the daemon
- break;
- case -1: // error status return
- exit(7);
- default: // no error, doing well
- if ((pidf = fopen( "/var/run/timidity/timidity.pid", "w" )) != NULL )
- fprintf( pidf, "%d\n", pid );
- exit(0);
- }
- }
-
for (;;) {
server_reset();
doit(&alsactx);
--- ../timidity-2.13.2/timidity/timidity.c 2009-09-07 14:23:14.000000000 +0200
+++ timidity/timidity.c 2009-09-07 14:21:58.000000000 +0200
@@ -5127,6 +5127,29 @@
{
int i, cmderr = 0;
+ /* If we're going to fork for daemon mode, we need to fork now, as
+ certain output libraries (pulseaudio) become unhappy if initialized
+ before forking and then being used from the child. */
+ if (ctl->id_character == 'A' && (ctl->flags & CTLF_DAEMONIZE))
+ {
+ int pid = fork();
+ FILE *pidf;
+ switch (pid)
+ {
+ case 0: // child is the daemon
+ break;
+ case -1: // error status return
+ exit(7);
+ default: // no error, doing well
+ if ((pidf = fopen( "/var/run/timidity.pid", "w" )) != NULL )
+ {
+ fprintf( pidf, "%d\n", pid );
+ fclose( pidf );
+ }
+ exit(0);
+ }
+ }
+
if(play_mode == &null_play_mode)
{
char *output_id;
--- End Message ---
--- Begin Message ---
Source: timidity
Source-Version: 2.13.2-35
We believe that the bug you reported is fixed in the latest version of
timidity, which is due to be installed in the Debian FTP archive:
timidity-daemon_2.13.2-35_all.deb
to pool/main/t/timidity/timidity-daemon_2.13.2-35_all.deb
timidity-el_2.13.2-35_all.deb
to pool/main/t/timidity/timidity-el_2.13.2-35_all.deb
timidity-interfaces-extra_2.13.2-35_amd64.deb
to pool/main/t/timidity/timidity-interfaces-extra_2.13.2-35_amd64.deb
timidity_2.13.2-35.diff.gz
to pool/main/t/timidity/timidity_2.13.2-35.diff.gz
timidity_2.13.2-35.dsc
to pool/main/t/timidity/timidity_2.13.2-35.dsc
timidity_2.13.2-35_amd64.deb
to pool/main/t/timidity/timidity_2.13.2-35_amd64.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 545...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Joost Yervante Damad <and...@debian.org> (supplier of updated timidity 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 ftpmas...@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Fri, 11 Sep 2009 09:16:27 +0200
Source: timidity
Binary: timidity timidity-interfaces-extra timidity-el timidity-daemon
Architecture: source all amd64
Version: 2.13.2-35
Distribution: unstable
Urgency: low
Maintainer: Joost Yervante Damad <and...@debian.org>
Changed-By: Joost Yervante Damad <and...@debian.org>
Description:
timidity - Software sound renderer (MIDI sequencer, MOD player)
timidity-daemon - runs TiMidity++ as a system-wide MIDI sequencer
timidity-el - An Emacs front end to Timidity++
timidity-interfaces-extra - TiMidity++ extra user interfaces
Closes: 538967 544061 545476
Changes:
timidity (2.13.2-35) unstable; urgency=low
.
* apply fedora_forkfix with thanks to Alban Browaeys for
pointing out the patch and Paul Menzel for doing initial
testing. (Closes: #544061) (Closes: #545476)
* lots of upgrade testing, this version should survive
an upgrade from a pre-timidity-daemon version unharmed
(Closes: #538967)
Checksums-Sha1:
f086ea99cd0e87be450993dd9eab67053dec0938 1427 timidity_2.13.2-35.dsc
8285bf5a213fe3544562e3af4c5664f2403801ff 130130 timidity_2.13.2-35.diff.gz
674819f1393a8f2badcc10eb1f9bcc4c66393c05 22396 timidity-el_2.13.2-35_all.deb
e96d015881a3df0ab08f043ace5885d010a28b33 18490
timidity-daemon_2.13.2-35_all.deb
517948915ad702409768f0c63838cd6bbcdb878b 658418 timidity_2.13.2-35_amd64.deb
17a5e5c5f622d29cc1bc5af9f44ddd6095a9dd44 101050
timidity-interfaces-extra_2.13.2-35_amd64.deb
Checksums-Sha256:
a215ddc4843433920e058b43d5f48a6cd945fc83f2d2c125ab70b5146a9186d2 1427
timidity_2.13.2-35.dsc
49634583ee82b0d35f81856744cabbf3b26443b54d1799c908f89e9dcea147d9 130130
timidity_2.13.2-35.diff.gz
2850357c66b860fdf654079ba7d10c01518f743330aea305fbb51915f985b86c 22396
timidity-el_2.13.2-35_all.deb
6c761b997517ab4b5321941a791d170e6d11990016cb70882601a5d61610008c 18490
timidity-daemon_2.13.2-35_all.deb
7eaa82092ab6514a0cc7e598cb80330a2453bd7f6cb74c568934abae2e1cd395 658418
timidity_2.13.2-35_amd64.deb
199ab8b34c98306e4ed93e5346847ddd4fb72f5df95111f3eee3a330d6a5e50f 101050
timidity-interfaces-extra_2.13.2-35_amd64.deb
Files:
0d1d292f1d31c0481e3711785b8dfdcd 1427 sound optional timidity_2.13.2-35.dsc
a70c567f3d2010dec6fad8a28f62e0d6 130130 sound optional
timidity_2.13.2-35.diff.gz
7657b5578a6f1b63a357d0ff1caa003b 22396 lisp optional
timidity-el_2.13.2-35_all.deb
ab46639e9a638279ffb567a71828f748 18490 sound optional
timidity-daemon_2.13.2-35_all.deb
90f1c8fb4ceeedfe4de60faa46886076 658418 sound optional
timidity_2.13.2-35_amd64.deb
24dec840b34e9639b17940c061f5da7f 101050 sound optional
timidity-interfaces-extra_2.13.2-35_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iEYEARECAAYFAkqqKzMACgkQ0/r2+3z8lN3dkwCeLpRSbXt+Gx1+RpGJ87f+w34v
cloAni73gv9SDFSGAmm052qpmM/dogST
=R2kN
-----END PGP SIGNATURE-----
--- End Message ---