d-bus error on channel change

Bug #584704 reported by Tim S
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Me TV
Fix Released
High
Unassigned

Bug Description

Using Arch Linux AUR builds (both bzr and standard builds)

[tim@timbo ~]$ me-tv
Me TV 1.2.5
23/05/10 20:31:21: Device: 'DiBcom 7000PC' (DVB-T) at "/dev/dvb/adapter0/frontend0"
23/05/10 20:31:23: Changing channel to 'BBC NEWS'
23/05/10 20:31:23: Frontend::tune_to(505833330)
23/05/10 20:31:23: Waiting for signal lock ...
23/05/10 20:31:23: Got signal lock
23/05/10 20:31:23: Channel changed to BBC NEWS
23/05/10 20:31:24: org.freedesktop.DBus.Error.ServiceUnknown raised:
 The name org.gnome.ScreenSaver was not provided by any .service files

23/05/10 20:31:28: Changing channel to 'BBC ONE'
process 11472: arguments to dbus_connection_send_with_reply_and_block() were incorrect, assertion "(error) == NULL || !dbus_error_is_set ((error))" failed in file dbus-connection.c line 3346.
This is normally a bug in some application using the D-Bus library.
  D-Bus not built with -rdynamic so unable to print a backtrace
Aborted
[tim@timbo ~]$ X Error of failed request: BadWindow (invalid Window parameter)
  Major opcode of failed request: 2 (X_ChangeWindowAttributes)
  Resource id in failed request: 0x2c0008d
  Serial number of failed request: 7
  Current serial number in output stream: 9

Revision history for this message
Tim S (timsonghurst) wrote :

Build 1.2.1 does not crash

[tim@timbo ~]$ me-tv
Me TV 1.2.1
23/05/10 20:45:01: Device: 'DiBcom 7000PC' (DVB-T) at "/dev/dvb/adapter0/frontend0"
23/05/10 20:45:03: Changing channel to 'BBC NEWS'
23/05/10 20:45:03: Frontend::tune_to(505833330)
23/05/10 20:45:03: Waiting for signal lock ...
23/05/10 20:45:03: Got signal lock
23/05/10 20:45:03: Channel changed to BBC NEWS
** Message: Screensaver is not running!
23/05/10 20:45:22: Changing channel to 'BBC ONE'
23/05/10 20:45:23: Channel changed to BBC ONE
** Message: Screensaver is not running!
23/05/10 20:45:36: Me TV terminated
[tim@timbo ~]$

Revision history for this message
Michael Lamothe (lamothe-deactivatedaccount-deactivatedaccount) wrote :

Thanks for testing the branch version :) The issue and solution are simple, you are not running gnome-screensaver, right? Are you using KDE? It is *not* my intention for Me TV to fail when g-s-s is not running, but I can say that I don't really test that scenario. The code just needs to check for an NULL DBus connection before trying to call methods.

This will be fixed in the next release.

Changed in me-tv:
assignee: nobody → Michael Lamothe (lamothe)
importance: Undecided → High
milestone: none → 1.2.5
status: New → Confirmed
Revision history for this message
Torsten Ruck (torsten-ruck) wrote :

I have the same error in Archlinux 64Bit since me-tv 1.2.1

Revision history for this message
Michael Lamothe (lamothe-deactivatedaccount-deactivatedaccount) wrote :

This change was introduced in 1.2.2 (https://launchpad.net/me-tv/+announcement/5787). Are you saying that you had an issue with 1.2.1?

Revision history for this message
Michael Lamothe (lamothe-deactivatedaccount-deactivatedaccount) wrote :

Should be fixed in revision 470 but I have not tested it. Can anyone without g-s-s try this?

Changed in me-tv:
status: Confirmed → In Progress
Revision history for this message
Tim S (timsonghurst) wrote :

Thanks for your quick response

Yes I am using kde4

I have been using a dummy gnome-screensaver-command script consisting of

xset dpms force on
echo "** Message: Screensaver is not running!"

as a work around.

I do not use any kind of screensaver on my system only the "xset dpms force off" command to turn the monitor off

Revision history for this message
Tim S (timsonghurst) wrote :

I have just re-built the arch bzr build

http://aur.archlinux.org/packages/me-tv-bzr/me-tv-bzr/PKGBUILD

I changed pkgver=470

Unfortunately on running me-tv-bzr I'm still getting the error

Maybe I'm not grabbing the 470 revision properly ???

Revision history for this message
Torsten Ruck (torsten-ruck) wrote :

I have still this error with pkgver=470

Me-tv starts but crashes with this error after Channel change.

Revision history for this message
Michael Lamothe (lamothe-deactivatedaccount-deactivatedaccount) wrote :

Please try 471, if it does not work I will need a backtrace because I cannot replicate this.

Changed in me-tv:
status: In Progress → Incomplete
Revision history for this message
Tim S (timsonghurst) wrote :

Channel change crash has stopped but me-tv is running/refreshing painfully slow.

Also (even after me-tv gconf clear) I'm getting subtitles appearing and audio channel changing without request. Basically still unusable

[tim@timbo ~]$ me-tv
Me TV 1.2.5
25/05/10 13:25:42: Device: 'DiBcom 7000PC' (DVB-T) at "/dev/dvb/adapter0/frontend0"
25/05/10 13:25:44: Changing channel to 'BBC ONE'
25/05/10 13:25:44: Frontend::tune_to(505833330)
25/05/10 13:25:44: Waiting for signal lock ...
25/05/10 13:25:44: Got signal lock
25/05/10 13:25:44: Channel changed to BBC ONE
25/05/10 13:25:44: org.freedesktop.DBus.Error.ServiceUnknown raised:
 The name org.gnome.ScreenSaver was not provided by any .service files

25/05/10 13:26:34: Changing channel to 'BBC NEWS'
25/05/10 13:26:34: org.freedesktop.DBus.Error.ServiceUnknown raised:
 The name org.gnome.ScreenSaver was not provided by any .service files

25/05/10 13:26:51: Channel changed to BBC NEWS
25/05/10 13:28:33: Me TV terminated
[tim@timbo ~]$ me-tv
Me TV 1.2.5
25/05/10 13:28:39: Device: 'DiBcom 7000PC' (DVB-T) at "/dev/dvb/adapter0/frontend0"
25/05/10 13:28:41: Changing channel to 'BBC NEWS'
25/05/10 13:28:41: Frontend::tune_to(505833330)
25/05/10 13:28:41: Waiting for signal lock ...
25/05/10 13:28:41: Got signal lock
25/05/10 13:28:41: Channel changed to BBC NEWS
25/05/10 13:28:41: org.freedesktop.DBus.Error.ServiceUnknown raised:
 The name org.gnome.ScreenSaver was not provided by any .service files

25/05/10 13:29:30: Changing channel to 'ITV1'
25/05/10 13:29:32: Frontend::tune_to(481833330)
25/05/10 13:29:32: Waiting for signal lock ...
25/05/10 13:29:33: Got signal lock
25/05/10 13:29:33: org.freedesktop.DBus.Error.ServiceUnknown raised:
 The name org.gnome.ScreenSaver was not provided by any .service files

25/05/10 13:29:46: Channel changed to ITV1
Killed
[tim@timbo ~]$ X Error of failed request: BadDrawable (invalid Pixmap or Window parameter)
  Major opcode of failed request: 132 (XVideo)
  Minor opcode of failed request: 19 ()
  Resource id in failed request: 0x300008d
  Serial number of failed request: 17290
  Current serial number in output stream: 17291
me-tv-player (xine): Setting deinterlacer state to trueme-tv-player (xine): Setting mute state to falseme-tv-player (xine): Setting audio channel to 1me-tv-player (xine): Setting subtitle channel to 0

!!!where the hell did the requests come from on that last line ???!!

Revision history for this message
Torsten Ruck (torsten-ruck) wrote :

A new problem cannot change the channel.
me-tv shows the first channel in the channelist,but cannot click on the tabs oe settings

Me TV 1.2.5
25.05.2010 20:04:01: Device: 'ST STV0299 DVB-S' (DVB-S) at "/dev/dvb/adapter0/frontend0"
25.05.2010 20:04:02: Changing channel to 'eUrotic'
25.05.2010 20:04:02: Frontend::tune_to(12551500)
25.05.2010 20:04:03: Auf Signalsperre warten …
25.05.2010 20:04:03: Signalsperre erhalten
25.05.2010 20:04:03: Channel changed to eUrotic
25.05.2010 20:04:03: org.freedesktop.DBus.Error.ServiceUnknown raised:
 The name org.gnome.ScreenSaver was not provided by any .service files

Beendet
[outer@Linuxmoped ~]$ X Error of failed request: BadDrawable (invalid Pixmap or Window parameter)
  Major opcode of failed request: 132 (XVideo)
  Minor opcode of failed request: 19 ()
  Resource id in failed request: 0x2e0006a
  Serial number of failed request: 1045
  Current serial number in output stream: 1046
me-tv-player (xine): Setting deinterlacer state to trueme-tv-player (xine): Setting mute state to false

Revision history for this message
Michael Lamothe (lamothe-deactivatedaccount-deactivatedaccount) wrote :

"eUrotic" sounds like a very interesting channel indeed ;)

Try the latest, I'm still trying to get a good CPU balance between the threads.

Revision history for this message
Tim S (timsonghurst) wrote :

473 behaves the same as 471 for me

Would it be possible to add an entry to me-tv gconf xml to specify an alternative screen saver nudge command ?
And a option to completely turn the screensaver nudge call off ? because if I'm only listening to a dvb-t radio station I may want the screensaver/dpms to activate

I'm sure there was something there in the past to do this.
For myself the command would be, xset dpms force on, as i don't use any kind of screensaver.

Of course if no alternative command is given, me-tv will carry on gnome nudging as usual.

Revision history for this message
Michael Lamothe (lamothe-deactivatedaccount-deactivatedaccount) wrote :

Please try revision 479.

Changed in me-tv:
status: Incomplete → Fix Committed
Revision history for this message
Tim S (timsonghurst) wrote :

Yes yes yes !

All looks well now, I will continue testing.

Top Man !

Revision history for this message
Tim S (timsonghurst) wrote :

Whoops

System had not refreshed to new build properly.

Now me-tv does not freeze, but audio channel keeps changing after a few seconds and subtitles switch on by themself.

After changing these settings and restarting it just happens again

[tim@timbo ~]$ me-tv
Me TV 1.2.5
28/05/10 15:07:37: Device: 'DiBcom 7000PC' (DVB-T) at "/dev/dvb/adapter0/frontend0"
28/05/10 15:07:38: Changing channel to 'BBC TWO'
28/05/10 15:07:38: Frontend::tune_to(505833330)
28/05/10 15:07:38: Waiting for signal lock ...
28/05/10 15:07:38: Got signal lock
28/05/10 15:07:38: Channel changed to BBC TWO
28/05/10 15:07:38: org.freedesktop.DBus.Error.ServiceUnknown raised:
 The name org.gnome.ScreenSaver was not provided by any .service files

me-tv-player (xine): Setting deinterlacer state to true
me-tv-player (xine): Setting mute state to false
me-tv-player (xine): Setting audio channel to 1
me-tv-player (xine): Setting subtitle channel to 0/nme-tv-player (xine): Setting audio channel to 0
28/05/10 15:08:16: Changing channel to 'BBC ONE'
28/05/10 15:08:16: org.freedesktop.DBus.Error.ServiceUnknown raised:
 The name org.gnome.ScreenSaver was not provided by any .service files

me-tv-player (xine): Setting deinterlacer state to true
me-tv-player (xine): Setting mute state to false
28/05/10 15:08:19: Channel changed to BBC ONE
me-tv-player (xine): Setting audio channel to 1
28/05/10 15:08:27: Me TV terminated
[tim@timbo ~]$

audio channel needs to stay at 0, and subtitles needs to stay off

Revision history for this message
Tim S (timsonghurst) wrote :

By audio stream I mean audio channel, that should stay at 0:eng.

The audio stream and subtitles change on each channel change

Revision history for this message
Michael Lamothe (lamothe-deactivatedaccount-deactivatedaccount) wrote :

Do you have a preferred language set in the preferences?

Revision history for this message
Tim S (timsonghurst) wrote :

yes

Revision history for this message
Michael Lamothe (lamothe-deactivatedaccount-deactivatedaccount) wrote :

Ummm, well that's what that setting does. It selects audio/subtitle streams automatically based on that setting. This is intentional. Is there something that I'm missing? If you don't want it to automatically select the audio/subtitle channel then clear that setting.

Revision history for this message
Tim S (timsonghurst) wrote :

if you are refering to this :-

<entry name="preferred_language" mtime="1275058744" type="string">
  <stringvalue>eng</stringvalue>

it certainly does not mess up things in version 1.2.0 that I'm using, if things have changed it is very misleading, to me it is asking interface language.

I will switch back to bzr 479, with no "preferred_language" and report back

Revision history for this message
Tim S (timsonghurst) wrote :

After removing all the me-tv xml stuff in ~/gconf/ and leaving the preferences "preferred language" and "Text Encoding" blank on first run, it now runs fine.

So what is the point of a subtitles none/0:eng under Video menu, if it is ignored after one sets their language pref etc ???

Anyways.... Thank-you for all your hard work in sorting this bug out, treat yourself to a few amber nectars.

Revision history for this message
Michael Lamothe (lamothe-deactivatedaccount-deactivatedaccount) wrote :

The automatic selection of audio/subtitle streams feature is broke in 1.2.0 (https://bugs.launchpad.net/me-tv/+bug/558578) and has been fixed. The interface language is set by your system when you installed it. It's not an individual application setting.

Changed in me-tv:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.