Package: timidity-daemon
Version: 2.13.2-34
Severity: normal

Dear timidity hackers,


Am Sonntag, den 30.08.2009, 14:36 +0200 schrieb Julien Valroff:
> Le dimanche 30 août 2009 à 10:02 +0200, Joost Yervante Damad a écrit :
> > On Friday 28 August 2009 21:12:51 Julien Valroff wrote:
> > >
> > > You are right, from the error message, it is related to PolicyKit.
> > > If timidity-daemon is not the origin of the problem, it should be fixed
> > > in policykit, feel free to reassign the bug to the appropriate package.
> > >
> > >
> > > See http://hal.freedesktop.org/docs/PolicyKit/ for a description of
> > > policykit. I use GNOME, hence have PolicyKit installed on my system.
> > 
> > I am unable to reproduce this on my system.

[moved below]

> I was unable to reproduce this today.
> Must have been an issue on my system.
> I think you can safely close this bug.

Unfortunately I am able to reproduce this bug since yesterday upgrading
from 2.13.2-32 to 2.13.2-33. It did not vanish for me upgrading today to
2.13.2-34. I cannot remember that it surfaced with 2.13.2-32.

> > Could you perhaps provide me with a process tree ( pstree -c ) of the 
> > situation, so I can see which process is hanging?

        $ LANG=C sudo aptitude safe-upgrade
        […]
        The following partially installed packages will be configured:
          timidity-daemon
        […]
        Setting up timidity-daemon (2.13.2-34) ...
        Starting TiMidity++ ALSA midi emulation...No protocol specified
        XOpenDisplay() failed
        Home directory /etc/timidity not ours.
        [WARN  9648] polkit-session.c:144:polkit_session_set_uid(): session != 
NULL
         Not built with -rdynamic so unable to print a backtrace
        ^CTerminated sig=0x02
         failed!
        invoke-rc.d: initscript timidity, action "start" failed.
        dpkg: error processing timidity-daemon (--configure):
         subprocess installed post-installation script returned error exit 
status 1
        Errors were encountered while processing:
         timidity-daemon
        E: Sub-process /usr/bin/dpkg returned an error code (1)
        A package failed to install.  Trying to recover:
        Setting up timidity-daemon (2.13.2-34) ...
        Starting TiMidity++ ALSA midi emulation...No protocol specified
        XOpenDisplay() failed
        Home directory /etc/timidity not ours.
        [WARN   850] polkit-session.c:144:polkit_session_set_uid(): session != 
NULL
         Not built with -rdynamic so unable to print a backtrace
        ^CTerminated sig=0x02
         failed!
        invoke-rc.d: initscript timidity, action "start" failed.
        dpkg: error processing timidity-daemon (--configure):
         subprocess installed post-installation script returned error exit 
status 1
        Errors were encountered while processing:
         timidity-daemon
        […]

        $ LANG=C sudo pstree -c # run during first hang
        init-+
        […]
             
|-gnome-terminal-+-bash---aptitude-+-dpkg---timidity-daemon---invoke-rc.d-+
             |                |                 `-{aptitude}
             |                |-bash---pstree
        […]
             |-pulseaudio-+-{pulseaudio}
             |            `-{pulseaudio}
             |-rc---S99timidity---timidity-+-pulseaudio
             |                             |-{timidity}
             |                             `-{timidity}

I can reproduce this running the init.d script directly. I added `set
-x` after `set -e` in </etc/init.d/timidity>.

        $ sudo invoke-rc.d timidity start
        + test -x /usr/bin/timidity
        + TIM_ALSASEQ=true
        + TIM_ALSASEQPARAMS=-B2,8
        + '[' -r /etc/default/timidity ']'
        + . /etc/default/timidity
        ++ SERVER_HOME=/etc/timidity
        ++ SERVER_USER=timidity
        ++ SERVER_NAME='TiMidity++ MIDI sequencer service'
        ++ SERVER_GROUP=timidity
        ++ ADDGROUP=audio
        ++ TIM_ALSASEQPARAMS=-Os
        + '[' true '!=' true ']'
        + '[' -z timidity ']'
        + '[' -z timidity ']'
        + getent passwd
        + grep -q '^timidity:'
        + getent group
        + grep -q '^timidity:'
        + PARAMS='-Os -iAD'
        + START='--start --chuid timidity --quiet --exec /usr/bin/timidity 
--pidfile /var/run/timidity/timidity.pid -- -Os -iAD'
        + case "$1" in
        + '[' -d /proc/asound ']'
        + '[' -d /dev/snd/ ']'
        + log_begin_msg 'Starting TiMidity++ ALSA midi emulation...'
        + '[' -z 'Starting TiMidity++ ALSA midi emulation...' ']'
        + echo -n 'Starting TiMidity++ ALSA midi emulation...'
        Starting TiMidity++ ALSA midi emulation...+ mkdir -p /var/run/timidity
        + chown timidity /var/run/timidity
        + start-stop-daemon --start --chuid timidity --quiet --exec 
/usr/bin/timidity --pidfile /var/run/timidity/timidity.pid -- -Os -iAD
        No protocol specified
        XOpenDisplay() failed
        Home directory /etc/timidity not ours.
        [WARN 15963] polkit-session.c:144:polkit_session_set_uid(): session != 
NULL
         Not built with -rdynamic so unable to print a backtrace
        ^CTerminated sig=0x02
        + log_end_msg 1
        + '[' -z 1 ']'
        + retval=1
        + log_end_msg_pre 1
        + :
        + log_use_fancy_output
        + TPUT=/usr/bin/tput
        + EXPR=/usr/bin/expr
        + '[' -t 1 ']'
        + '[' xxterm '!=' x ']'
        + '[' xxterm '!=' xdumb ']'
        + '[' -x /usr/bin/tput ']'
        + '[' -x /usr/bin/expr ']'
        + /usr/bin/tput hpa 60
        + /usr/bin/tput setaf 1
        + '[' -z ']'
        + FANCYTTY=1
        + case "$FANCYTTY" in
        + true
        ++ /usr/bin/tput setaf 1
        + RED=''
        ++ /usr/bin/tput setaf 3
        + YELLOW=''
        ++ /usr/bin/tput op
        + NORMAL=''
        + '[' 1 -eq 0 ']'
        + '[' 1 -eq 255 ']'
        + /bin/echo -e ' failed!'
         failed!
        + log_end_msg_post 1
        + :
        + return 1
        invoke-rc.d: initscript timidity, action "start" failed

Running the line before the hang

        $ sudo start-stop-daemon --start --chuid timidity --quiet --exec 
/usr/bin/timidity --pidfile /var/run/timidity/timidity.pid -- -Os -iAD
        No protocol specified
        XOpenDisplay() failed
        Home directory /etc/timidity not ours.
        [WARN 22450] polkit-session.c:144:polkit_session_set_uid(): session != 
NULL
         Not built with -rdynamic so unable to print a backtrace
        ^CTerminated sig=0x02

seems to reveal that this is related to the start-stop-daemon.


If you need more information, please tell me.


Thanks,

Paul


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.30-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages timidity-daemon depends on:
ii  adduser                       3.110      add and remove users and groups
ii  timidity                      2.13.2-34  Software sound renderer (MIDI sequ

timidity-daemon recommends no packages.

timidity-daemon suggests no packages.

-- no debconf information

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

Reply via email to