[linux] Unclean shutdown perhaps...
#1
I've been running xbmc as a frontend for quite some time now. I have a dedicated htpc set up to do this, including a silverstone case with LCD and remote.

I decided to try to save some power by mapping a shutdown command through irexec. Hurrah! It worked, and the remote even powered the system back up from the off state.

Doh! Something happened... I get a black screen with a yellow/beige border a few pixels wide at the top and left.

The remote and presumably xbmc is still working, as I have the sound enabled and when I use the arrows on my remote I can hear it moving between menu items. I just can't see what I'm doing.

Now, I suspect (perhaps?) it wasn't too happy about me running `shutdown -h now` while xbmc was running, as the problem started immediately after. I've done some troubleshooting and it seems to be xbmc related - X and mythtv still work on the same box as the same user.

Here's the log:

Code:
0:47:50 T:140455772587840 M:1890582528   ERROR: GLX: Same window as before, refreshing context
20:47:50 T:140455772587840 M:1890611200 WARNING: CreateFile, successfuly opened </usr/share/xbmc/media/splash.png> instead of </usr/share/xbmc/media/Splash.png>
20:47:51 T:140455772587840 M:1888468992  NOTICE: start dvd mediatype detection
20:47:51 T:140455772587840 M:1888468992  NOTICE: initializing playlistplayer
20:47:51 T:140455772587840 M:1888468992  NOTICE: DONE initializing playlistplayer
20:47:51 T:140455772587840 M:1881739264  NOTICE: initialize done
20:47:51 T:140455772587840 M:1881739264  NOTICE: Running the application...
20:47:51 T:140455772587840 M:1881468928  NOTICE: ES: Starting event server
20:47:51 T:140455772587840 M:1881468928  NOTICE: DS: Starting dbus server
20:47:51 T:140455340766976 M:1881468928  NOTICE: ES: Starting UDP Event server on 0.0.0.0:9777
20:47:51 T:140455340766976 M:1881468928  NOTICE: UDP: Listening on port 9777
20:47:52 T:140455772587840 M:1880412160   ERROR:  DS: Failed to connect to the D-Bus session daemon: /usr/bin/dbus-launch terminated abnormally with the following error: Failed to waitpid() for babysitter intermediate process: No child processes

The GLX error is the one that I'm wondering about. Is there anything I can do to try to troubleshoot this?

I've been using linux for quite some time now, and this one's got me stumped...

Help! Smile
Reply
#2
Weirdly enough, it doesn't seem to like irexec.

If I have the irexec daemon running = no worky.

When it's off = works fine.

I'll look into it more after the hockey game tonight.
Reply
#3
Well, I discovered something strange.

I just set an shutdown option for my remote in /etc/lircrc. Apparently xbmc didn't like that and it got confused? I moved it to its own file, and changed the configuration string for irexec accordingly so that the irexec entries were in its own file, restarted the irexec daemon and...

it works!

Huh.

mplayer and mythtv weren't affected, so I wonder if something weird happened? That's the only change and it works now. Me no touch no more.
Reply

Logout Mark Read Team Forum Stats Members Help
[linux] Unclean shutdown perhaps...0