XBMC Crash
#1
Ok I keep getting a crash from XBMC. The Debug code being output by Visual Studio is the following: Unhandled exception at 0x77dae6c3 in XBMC.exe: 0xC0000374: A heap has been corrupted.

Oddly enough after I pull up the debug code XBMC starts working again.
Reply
#2
Probably best to provide a debug log.

http://wiki.xbmc.org/index.php?title=Log_file
Reply
#3
10:08:06 T:6860 WARNING: CDVDMessageQueue(player):Tongueut MSGQ_NOT_INITIALIZED
10:08:06 T:7596 NOTICE: Creating InputStream
10:08:06 T:7596 NOTICE: Creating Demuxer
10:08:06 T:7596 NOTICE: Opening video stream: 0 source: 256
10:08:06 T:7596 NOTICE: Creating video codec with codec id: 28
10:08:06 T:7596 NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
10:08:06 T:7596 NOTICE: Creating video thread
10:08:06 T:7596 NOTICE: Opening audio stream: 1 source: 256
10:08:06 T:7596 NOTICE: Finding audio codec for: 86019
10:08:06 T:8560 NOTICE: running thread: video_thread
10:08:06 T:7596 NOTICE: Creating audio thread
10:08:06 T:1656 NOTICE: running thread: CDVDPlayerAudio:Tonguerocess()
10:08:06 T:1656 NOTICE: Creating audio device with codec id: 86019, channels: 2, sample rate: 48000, pass-through
10:08:06 T:8560 NOTICE: fps: 29.970030, pwidth: 1280, pheight: 720, dwidth: 1280, dheight: 720
10:08:06 T:8560 NOTICE: Display resolution USER : 1920x1080 @ 60.00 - Full Screen #2 (13)
10:08:06 T:8560 NOTICE: D3D: rendering method forced to DXVA2 processor
10:08:19 T:1656 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
11:49:54 T:1656 WARNING: Previous line repeats 21 times.
11:49:54 T:1656 ERROR: CDVDAudio::AddPacketsRenderer - timeout adding data to renderer
11:49:54 T:1656 ERROR: CDVDAudio::AddPackets - failed to add leftover bytes to render
11:49:54 T:8560 WARNING: CRenderManager::FlipPage - timeout waiting for flip to complete
11:50:01 T:6860 WARNING: DXVA::CProcessor::Render - did not find all required samples, adjusting the sample array.
11:50:01 T:6860 WARNING: DXVA::CProcessor::Render - no usable samples.
Reply
#4
Read the debug log link again and follow the instructions to enable debugging and to use pastebin.com (for the whole log, not just a snippet)
Reply
#5
My ESP (and the reference to DXVA in your snippet :-) leads me to suspect you're using Windows. Enable debug logging from System settings, System, Debugging, and restart XBMC then wait a minute or two for all the startup tasks to finish. Do whatever it takes to cause the crash, then just close XBMC - don't attempt to debug.

Open the debug log by pressing Windows-R and in the Run dialog type:

"%appdata%\xbmc\xbmc.log"

(including the quotes). Click OK and the log should open in Notepad. Copy and paste the log into http://pastebin.com/ and post the link it gives you here.

JR
Reply
#6
(2012-03-28, 11:04)jhsrennie Wrote: My ESP (and the reference to DXVA in your snippet :-) leads me to suspect you're using Windows. Enable debug logging from System settings, System, Debugging, and restart XBMC then wait a minute or two for all the startup tasks to finish. Do whatever it takes to cause the crash, then just close XBMC - don't attempt to debug.

Open the debug log by pressing Windows-R and in the Run dialog type:

"%appdata%\xbmc\xbmc.log"

(including the quotes). Click OK and the log should open in Notepad. Copy and paste the log into http://pastebin.com/ and post the link it gives you here.

JR

The problem with that is it is not a very frequent crash, so it is going to be difficult to recreate. I think it is being caused by my mouse, but it doesn't happen every time. I have a Logitech G700 and it usually crashes when I plug it into its wired connector to charge or unplug it. Also whenever I turn the mouse on or off. It doesn't always cause a crash, but it does always cause a stutter in the video.

Reply
#7
You can enable debug logging without the annoying on screen display. Press Windows-R and in the Run dialog type:

Code:
notepad "%appdata%\xbmc\userdata\advancedsettings.xml"

and click OK, and answer Yes when you're prompted to create a new file. Copy and paste the following into Notepad:

Code:
<advancedsettings>
  <loglevel>1</loglevel>
</advancedsettings>

Close Notepad and save the changes. Now just use XBMC as normal and next time it crashes you'll have a debug log to hand.

JR
Reply

Logout Mark Read Team Forum Stats Members Help
XBMC Crash0