Ticket #1559 (closed defect: fixed)

Opened 3 weeks ago

Last modified 5 days ago

dbus: control/interface hangs when pausing

Reported by: njh Assigned to: funman
Priority: normal Milestone: 0.9.0-test1
Component: Interfaces Version: master
Severity: normal Keywords: dbus
Cc: Platform(s): all
Difficulty: unknown Work status: Not started

Description

Hi,

I have been working on a Mpris ruby gem, which uses ruby-dbus: http://mpris.rubyforge.org/

I have a couple of example scripts: flophtaf:trunk njh$ ruby examples/identify.rb Identity: vlc 0.9.0-git MPRIS API Version: 1.0

flophtaf:trunk njh$ ruby examples/playerkeys.rb p:play space:pause s:stop [:prev ]:next x:exit

Which allows you to control VLC with key presses on the console. Play, Stop, Prev, Next all work great, however Pause seems to crash the control subsystem - the VLC GUI become unresponsive and dbus no long accepts commands. However playback continues.

I am using the latest version of VLC 0.9.0 from git.

Change History

04/25/08 11:29:41 changed by mirsal

  • owner changed from fkuehne, jb to mirsal.

I'll take care of this.

04/28/08 21:55:03 changed by njh

  • keywords set to dbus.

04/28/08 21:57:00 changed by njh

  • summary changed from Control/Interface hangs when pausing using dbus to dbus: control/interface hangs when pausing.

05/06/08 18:17:56 changed by funman

  • status changed from new to assigned.
  • owner changed from mirsal to funman.
  • milestone set to 0.9.0-test1.

I experience no hang.

Any info on how to reproduce in a more determinist way / the frequency of the bug ?

I myself use qdbus and dbus-send to send dbus messages.

05/10/08 12:57:22 changed by funman

while :;do qdbus org.mpris.vlc /Player org.freedesktop.MediaPlayer.Pause;sleep 2;qdbus org.mpris.vlc /Player org.freedesktop.MediaPlayer.Pause;sleep 1;done

Still irreproducible :/

05/11/08 14:34:18 changed by njh

  • status changed from assigned to closed.
  • resolution set to fixed.

I have just tested this again and it now seems to be fixed :)