PDA

View Full Version : XBMC crashes when i pause a movie


ahuraxbmc
2008-12-10, 22:38
I get an error when i pause a movie in XBMC. This error started comming up only after i installed the latest release. I cannot resume the movie and the xbmc crashes.
Has any one seen this error before?

I do appreciate your help.

I am using Ubuntu 8.04 to run XBMC.

Logs:

21:05:07 T:3056244608 M:1465819136 DEBUG: OnKey: 61472 pressed, action is 12
21:05:07 T:2853735312 M:1465819136 WARNING: CALSADirectSound::CALSADirectSound - device is not able to pause playback, will flush instead
21:05:07 T:3056244608 M:1465819136 DEBUG: ------------------- GUI_MSG_WINDOW_INIT
21:05:07 T:3056244608 M:1465819136 DEBUG:
21:05:07 T:3056244608 M:1465819136 DEBUG: -------------------
21:05:07 T:3056244608 M:1465819136 DEBUG: Load seekslider.png: 0.1ms (bundled)
21:05:07 T:3056244608 M:1465819136 DEBUG: Load slider_nibFO.png: 0.0ms (bundled)
21:05:07 T:3056244608 M:1465819136 DEBUG: Alloc resources: 0.24ms (0.00 ms skin load, 0.08 ms preload)
21:05:07 T:3056244608 M:1465819136 DEBUG: Load NoCover_1.png: 0.7ms (bundled)
21:05:07 T:3056244608 M:1465819136 DEBUG: Load NoCover_1.png: 0.6ms (bundled)
21:05:07 T:3056244608 M:1465819136 DEBUG: Load black-back.png: 0.1ms (bundled)
21:05:08 T:3056244608 M:1465819136 ERROR: XLCDproc::SetBackLight - Unable to write to socket

althekiller
2008-12-11, 00:25
sigh...

Welcome to the forums.

Please search before posting. Also read the stickies to know just what exactly we need when you post a problem (won't be necessary in this case).

odinb
2008-12-11, 17:23
ahuraxbmc, welcome to the forums!

Please at least do an effort to search, this is common courtesy to other boardmembers, and a good word to search for is pulseaudio....

This subject has almost been beaten to death in this forum, and there is also a sticky about it.

ahuraxbmc
2008-12-12, 22:21
I did search for the "ERROR: XLCDproc::SetBackLight - Unable to write to socket " in the forum but didnt get any useful matches. Thats why i posted it.

tslayer
2008-12-13, 00:02
Audio problem has nothing to do with that error. Ignore that error and listen to the folks who replied. Search for pulseaudio.

Jimbo99
2009-01-19, 04:54
I have the same problem on multiple installs of linux on various machines all running XBMC. I've ensured that pulse audio is not running and that sound preferences are OSS. The issue persists.

Jimbo99
2009-01-20, 06:21
As my prior posted stated I too have been getting the crashing with actions such as pause. Click the pause and the xbmc for Linux will crash. I tested on a second computer and had the same problem.

I went through searching and found the xbmc guys tended to just say that it was pulse audio and essentially left it at that. On both computers where this was happening I tested to ensure pulse audio was not running and that OSS was set as my audio. I tried ALSA but had the same problem. So, I ensured OSS was in place and that ALSA wasn't used and that Pulse wasn't active.

Didn't seem to make a difference. I then ensured that compiz wasn't being used and that all effects were turned off. Still not a go.

After being a bit frustrated at zero headway I decided to remove w32codecs. That didn't help. I uninstalled VLC and all components. That didn't help. The reason I did that was because I had XBMC running fine and I then installed VLC, libdvdcss2, and w32codecs and things appeared to start to crash then. I hadn't used it part of the day and when a friend came over I was trying to demo what I'd set up here and xbmc just seemed to make me a liar.

In order to test this out, what I was doing was "making a change and rebooting then testing by playing the same media file each time". No matter what it would consistently fail. I did attempt another media file to ensure that the media file I was using wasn't the cause.

None of this worked. I was very consistent in testing.

A couple of times after the reboots I was able to play the media file and pause it, etc. But if I exited xbmc and came back in and tried to play the same file it would crash when I did anything such as pause. I reboot try it again and it would work. Exit xbmc and try again and it would crash.

I rebooted. Then I decided to rename my .xbmc folder (found in my home folder). After starting xbmc I had to set up my sources so that I could access the file I needed and bingo. It worked. I could exit xbmc reenter, play a the media file, pause, quit, come back and everything worked well.

The only issue was that the video calibration hadn't been done so the screen was a bit off. I corrected this. I also set up the resolution.

Upon exiting and restarting the xbmc began crashing again in exactly the same manner. I then deleted the .xbmc and restarted xbmc. I was able to play the media file without a problem. I could pause, exit, reenter, play, pause, exit, etc.

I started the media file and right clicked. The menu was presented and I chose to alter the video settings. I chose to let it zoom to fill the screen better. I tested if I could pause and unpause. No problems.

I've let it sit at this. I suspect it has to do with setting the resolution or doing the video calibration that's causing it to crash. I'll test more later.

slash
2009-01-20, 07:23
Hi,

Could you post more info about your setup, so we can try to help you figure out where is the problem.
You could also run xbmc from an X terminal there might be some messages there too.

I've build 3 xbmc on Linux they ve been running for almost a year with no major problem.

Have faith it works :nod:

mr_raider
2009-01-20, 17:36
I've let it sit at this. I suspect it has to do with setting the resolution or doing the video calibration that's causing it to crash. I'll test more later.

I had some resolution issues to when I was running my video through a receiver. I solved the problem by settings XBMC resolution to "auto".

Now XBMC reports my resolution as being 1280x720 at 15Hz or something like that, but my TV reports it as 1080p and everything works fine.

BLKMGK
2009-01-20, 18:50
All those crashes and you've still not followed this -> http://xbmc.org/forum/showthread.php?t=34655 No version numbers, nothing much about the OS, no tracebacks, no posting of logs to pastebin. From the info provided how the heck is anyone supposed to troubleshoot that if it's not widespread??? <sigh>

Jimbo99
2009-01-20, 20:34
The machine is based on Ubuntu 8.10. There's nothing special about the install.

It has the following hardware:

AMD Athlon 5000+ X2
1 gig DDR2
EVGA 7800gt 384mb Video
320gig Seagate SATA drive
Onboard audio
Onboard NIC

I have it connected to a 32" Phillips HD 720p LCD TV.

The Video is a DVI to HDMI going to the HDMI3 port. The audio goes out to a set of Logitech speakers (4 satellite, 1 sub woofer, 1 tweeter). The audio isn't configured special on the Ubuntu install. It hits these speakers through wiring instead of through using various audio ports on the computer.

I have started it via the terminal and received a critsec error each time it crashed, for which it then repeated a generic error 25 or so times before returning to the prompt after the crash.

I've had this issue now on 2 Linux installs (both Ubuntu). My main computer had it set up for purposes of initial testing and I haven't removed it. I've used it to cross check things. I had it working well after undoing pulse audio but I did a resolution change and did the video calibration about the time it too started crashing again.

Jimbo99
2009-01-20, 20:36
All those crashes and you've still not followed this -> http://xbmc.org/forum/showthread.php?t=34655 No version numbers, nothing much about the OS, no tracebacks, no posting of logs to pastebin. From the info provided how the heck is anyone supposed to troubleshoot that if it's not widespread??? <sigh>

What can I say, you are God.

mr_raider
2009-01-21, 02:59
Seriously though, default Ubuntu 8.10 installs pulseaudio which has given me no end of grief. I only solved the problem by compiling XBMC from the latest source code.

Jimbo99
2009-01-29, 22:38
If you read my prior posts you'll note I was crashing regularly. I'm the type to go into a program and adjust things such as video calibration, resolution, LCD settings, etc.

In this case I discovered through trial and error that I was crashing after making some adjustments to video settings, though I didn't know which one(s) were causing it. I'm here to state specifically which setting caused my incessent lockups and crashes.

Under Settings > System > LCD > LCD Type

When I set it to LCDProc that's what caused the crashes. Setting it to none resolves it.

I was trying to get the most out of the program so I was adjusting the settings to target a better video output. Honorable choice.

I used XBMC prior to discovering exactly which one (since my last post) to just enjoy. I avoided making any changes. But yesterday, I had a few minutes and I chose to adjust the resolution. After doing that the program ran well. I restarted and restarted and restarted to ensure that it wasn't a fluke. After confirming that the resolution wasn't the cause I then adjusted the LCD Type. XBMC began to crash just as before. I changed it back and have continued to enjoy XBMC without any crashes.

I regularly leave the XBMC PC on with XBMC running. After letting it run for a long time it did cause the program to lock up. Rebooting set things straight. I've been using VLC as a test and it didn't have this issue, but then again the XBMC lock up could have been a fluke.

Good luck to those others that are having this issue and that can now resolve it with my tip.

BLKMGK
2009-01-30, 06:45
LCD type is used for when you have a small add-on LCD screen used to display system information. LCDproc is the Linux daemon that drives those displays using a client\server architecture. Chances are good you should never have messed with that setting as it had nothing to do with your video display. Had logs etc. been posted in accordance to the linked sticky I'm quite sure a developer could've figured out what was going on pretty quickly. <shrug>

Jimbo99
2009-02-01, 06:51
LCD type is used for when you have a small add-on LCD screen used to display system information. LCDproc is the Linux daemon that drives those displays using a client\server architecture. Chances are good you should never have messed with that setting as it had nothing to do with your video display. Had logs etc. been posted in accordance to the linked sticky I'm quite sure a developer could've figured out what was going on pretty quickly. <shrug>

If it's there it's going to get used. It's that simple. I think the logic behind "you should never touch it" is specious. If it causes a crash it should be fixed.

Good luck on the logs.

And I think I was more constructive as others doing the same thing (clicking on an option that's on the settings page) will learn more from my efforts than from someone that says "don't click it". You really shouldn't piss in the face of those that solve problems through trial and error. I've noted a bit too much contempt for us users by the guys doing XMBC here.

In the old days of computing, and I mean way back. I'm talking about when we were learning how to make a computer usable, that argument was spewn around a lot. One would think that today this fallacy of logic would have been eliminated. I guess not.

BLKMGK
2009-02-01, 19:35
Stick around, answer the same questions a hundred times from folks who don't even bother to read the information provided to tell them how best to get help and you'll better understand. Sure, it shouldn't crash if it was toggled when not needed but this software is still under development and your initial post didn't give the info needed to help troubleshoot the issue nor even mention twiddling that option....

althekiller
2009-02-01, 20:06
If it causes a crash it should be fixed.

Yet you're unwilling to do YOUR part and post a log, a description of your setup and a stack trace of the crash? 5min of your time...thanks a bunch buddy. That nearly two weeks of aimless trial and error was well spent, eh? You know some problems only occur on specific hardware with a specific configuration, making it damn hard to reproduce by us. This is where you users come in....

And yes, there are damn good odds that with a stack trace we would have been able to tell you EXACTLY what was wrong.

Renbad
2009-04-08, 10:19
I'm a complete noob at this (linux user for all of a few weeks) but I couldn't see any info in the trac on this and if there's something to be fixed maybe it can help lol. ???

I seem to have the same bug. When 'LCD Type' is set to 'LCDproc' xbmc often, but not always, crashes when playing/pausing/stopping video files.
When this option is set to 'Off' no such crashes occur.

System: Mythbuntu 8.10 (Linux 2.6.27-11-generic) i686
XBMC 8.10 SVN 16164 (Compiled 28th Feb '09) - Installed via INTREPID PPA

Debug Log: http://pastebin.com/m5d29a95
Backtrace: http://pastebin.com/m31e8c265