ICEauthority issues after remote frontend wakes up database server

Bug #514727 reported by Douglas Mackay
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Mythbuntu
Expired
Medium
Unassigned
mythtv (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: mythtv

When a remote frontend wakes the database server using the settings in 'Utilities / Setup -> Setup -> General -> Database Configuration 2/2 - Enable Database Server Wakeup' mythtvfrontend will start then immediately exit. Starting mythfrontend when the backend is online works as expected.

When mythtvfrontend fails to start 'ICE default IO error handler doing an exit(), pid = 1561, errno = 32' is logged in mythfrontend.log. Removing ~/.ICEauthority then starting mythtvfrontend (with the backend offline) works as expected however .ICEauthority get recreated when the frontend restarts.

Revision history for this message
Douglas Mackay (o-launchpad-mackayd-co-uk) wrote :
Revision history for this message
Douglas Mackay (o-launchpad-mackayd-co-uk) wrote :
Revision history for this message
Douglas Mackay (o-launchpad-mackayd-co-uk) wrote :

Another user sees the same behaviour - http://ubuntuforums.org/showthread.php?p=8748605

Revision history for this message
Thomas Mashos (tgm4883) wrote :

Thank you for helping to improve Mythbuntu by opening this ticket. Unfortunately it is missing some items necessary to understand or reproduce the problem. Could you please provide the full version of MythTV and what version of Mythbuntu you are using? Please also let us know if this is a Mythbuntu install, or if you installed Ubuntu and added MythTV.

If you would prefer then we can always wait for someone with more experience debugging this product to come along and offer some assistance.

Changed in mythbuntu:
importance: Undecided → Medium
status: New → Incomplete
Revision history for this message
Douglas Mackay (o-launchpad-mackayd-co-uk) wrote :

This is a Mythbuntu 9.10 x64 install.

The attached log files are from Mythtv release-0-22-fixes [23069].

I've tested it again and have the same issue with Mythtv release-0-23-fixes [23983]

Thomas Mashos (tgm4883)
Changed in mythbuntu:
status: Incomplete → Confirmed
Revision history for this message
glenhawk (glenhawk) wrote :

I can confirm this fault and I am also using Mythbuntu 9.10 x64 install with Mythtv release-0-22-fixes.

Revision history for this message
Douglas Mackay (o-launchpad-mackayd-co-uk) wrote :

I've done some further testing and this issue only occurs when using the mythbuntu desktop (xfce). If you use ubuntu desktop (gnome) it works fine.

The WOL command is sent in libs/mythdbcon - OpenDatabase (if frontend 'Ping test server?' is disabled) or in libs/mythcontext - TestDBconnection (if frontend 'Ping test server?' is enabled.

Commenting out the line that sends the WOL Command and then manually starting the backend still shows the same issue.

Steps to reproduce :-
On a remote frontend using the mythbuntu desktop (xfce)

1. Install wakeonlan - sudo apt-get install wakeonlan
2. In the frontend -> setup -> general -> Database Configuration 2/2 . Enable Database Server Wakeup, set reconnect time (e.g. 60), retry attempts (e.g. 5) and set wake command to /usr/bin/wakeonlan <Backend MAC ADDRESS>
3. Make sure backend network card is set-up for WOL - although for testing you can manually start it up when required
4. Shutdown backend.
5. Start frontend. When frontend detects that the backend is available it will start to load the theme but then quits back to desktop

Revision history for this message
Douglas Mackay (o-launchpad-mackayd-co-uk) wrote :

Backtrace attached.

It's ending with

Program received signal SIGPIPE, Broken pipe.
0x00007ffff205b8dd in write () at ../sysdeps/unix/syscall-template.S:82
82 ../sysdeps/unix/syscall-template.S: No such file or directory.
 in ../sysdeps/unix/syscall-template.S
(gdb)

Revision history for this message
Henk Poley (henkpoley) wrote :

I am seeing this (no crashes though) with MythBuntu 10.04, so using XFCE and 0.23-fixes.

Will probably switch the desktop to gnome as a workaround.

Revision history for this message
Fredrik Jägare Lilja (fredrik-jagare-lilja) wrote :

I am currently running a MythUbuntu 10.4 x86 install, with MythTV .23 fixes [26437] and I'm having exactly the same problem. Although I'm running WOL instead of wakeonlan.

Revision history for this message
Thomas Mashos (tgm4883) wrote :

We really do appreciate you opening this ticket to help improve Mythbuntu, but it needs to be closed for a number of reasons. The biggest one is that upstream has moved on to a new version and believes this to be fixed. Could you please verify if this issue still exists in the latest version?

Please do not let the closing of this ticket dissuade you from opening a new ticket if this (or any other) problem occurs with the newer versions.

Thomas Mashos (tgm4883)
Changed in mythbuntu:
status: Confirmed → Expired
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.