[BUG] EPG hanging, process at 100% win8 x64
#1
Is any dev able to look at windows XBMC crash log / .dmp ?

I've been encountering an issue with the EPG since early Beta releases, that, sometimes when moving to an EPG item off the screen (on the right) XBMC hang.

At that point the process is spinning a 1core 100%, nothing appear in the xbmc.log anymore, and an impressive number of xbmc_crashlog-12.0-RC1 Git_20121212-7b0c29c-20121213-202429.dmp gets created ( they keep getting created ) at a rate of about 100 per minutes.

I have a 5Mb zip that I would perfer to send by PM.

Here is a snippet of the log when the issue occured:

20:22:11 T:2060 NOTICE: Previous line repeats 1 times.
20:22:11 T:2060 NOTICE: Thread Jobworker start, auto delete: true
20:22:11 T:684 NOTICE: Thread XBPyThread start, auto delete: false
20:22:12 T:684 NOTICE: -->Python Interpreter Initialized<--
20:23:00 T:3012 NOTICE: Thread CRssReader start, auto delete: false
20:24:21 T:3812 NOTICE: Thread Jobworker start, auto delete: true
20:24:23 T:56 NOTICE: Thread PVR Channel Window start, auto delete: false
20:24:31 T:3980 NOTICE: Previous line repeats 1 times.
20:24:31 T:3980 ERROR: m_pD3DDevice->BeginScene() failed. 8876086C - D3DERR_INVALIDCALL (Invalid call)
20:24:39 T:3980 ERROR: Previous line repeats 103 times.
20:24:39 T:3980 WARNING: Skin has invalid include: SideBladeRight
20:24:39 T:3980 ERROR: m_pD3DDevice->BeginScene() failed. 8876086C - D3DERR_INVALIDCALL (Invalid call)

Let me know if you can help, i will send you the link to pastebin.


Thanks
Reply
#2
Just reproduced on a different computer running win8 too... I'll look for a mod to see if this thread might get more traction in the support forum.

Apparently this might be something with confluence too (by looking a who else errors similar to mine).
Reply
#3
i'll need a debug log and a stack trace. can't do anything with a .dmp file on linux. D3DERR_INVALIDCALL suggests that there is a problem with the renderer
opdenkamp / dushmaniac

xbmc-pvr [Eden-PVR builds] [now included in mainline XBMC, so no more source link here :)]
personal website: [link]

Found a problem with PVR? Report it on Trac, under "PVR - core components". Please attach the full debug log.

If you like my work, please consider donating to me and/or Team XBMC.
Reply
#4
I'll try reproducing the error in a debugger. Hopefully you can help / direct me to the right person at that point.

Thanks
Reply
#5
Unfortunatly I had no luck reproducing the error with a debug build Sad

Only seem to happen in Release, next step is to build a release with pdb, but the call stack might be a bit off..
Reply
#6
the issue might have been fixed already. i've pushed a couple of epg related fixes a few days ago
opdenkamp / dushmaniac

xbmc-pvr [Eden-PVR builds] [now included in mainline XBMC, so no more source link here :)]
personal website: [link]

Found a problem with PVR? Report it on Trac, under "PVR - core components". Please attach the full debug log.

If you like my work, please consider donating to me and/or Team XBMC.
Reply
#7
Thanks again,

I am updating to the latest (nightly dec 19th), and will report if it still hang/crash.

I have also found a thread reporting the same issue with few users affected here: http://forum.xbmc.org/showthread.php?tid=148351

Just more details on my setup:

Nvidia GPUs
Windows 8 x64 Pro
PVR BackEnd: ArgusTV
Reply
#8
(2012-12-19, 16:58)dushmaniac Wrote: the issue might have been fixed already. i've pushed a couple of epg related fixes a few days ago

Just a heads up, the issue is still present in the latest builds. So it's not fixed unfortunately Sad
Reply
#9
i can't do anything if i can't reproduce it or get a crashlog with debugging enabled.
opdenkamp / dushmaniac

xbmc-pvr [Eden-PVR builds] [now included in mainline XBMC, so no more source link here :)]
personal website: [link]

Found a problem with PVR? Report it on Trac, under "PVR - core components". Please attach the full debug log.

If you like my work, please consider donating to me and/or Team XBMC.
Reply
#10
I will get you a xbmc.log with debugging tonight.

I will also try to get a call stack with the release version.

Thanks
Reply
#11
I just PM'ed you a link to a pastebin with the crash/hang in there.

Things go bad here:
21:17:55 T:3324 DEBUG: Keyboard: scancode: 4d, sym: 0113, unicode: 0000, modifier: 0
21:17:55 T:3324 DEBUG: CApplication::OnKey: right (f083) pressed, action is Right
21:17:55 T:3324 DEBUG: Keyboard: scancode: 4d, sym: 0113, unicode: 0000, modifier: 0
21:17:55 T:3324 DEBUG: CApplication::OnKey: right (f083) pressed, action is Right
21:17:56 T:3324 DEBUG: Keyboard: scancode: 4d, sym: 0113, unicode: 0000, modifier: 0
21:17:56 T:3324 DEBUG: CApplication::OnKey: right (f083) pressed, action is Right
21:17:56 T:3324 DEBUG: Keyboard: scancode: 4d, sym: 0113, unicode: 0000, modifier: 0
21:17:56 T:3324 DEBUG: CApplication::OnKey: right (f083) pressed, action is Right
21:17:57 T:3324 ERROR: m_pD3DDevice->BeginScene() failed. 8876086C - D3DERR_INVALIDCALL (Invalid call)
21:17:57 T:3324 DEBUG: Keyboard: scancode: 4d, sym: 0113, unicode: 0000, modifier: 0
21:17:57 T:3324 DEBUG: CApplication::OnKey: right (f083) pressed, action is Right
21:17:57 T:3324 ERROR: m_pD3DDevice->BeginScene() failed. 8876086C - D3DERR_INVALIDCALL (Invalid call)
21:17:57 T:3796 ERROR: Previous line repeats 7 times.
21:17:57 T:3796 DEBUG: CDVDPlayerAudio:: Discontinuity - was:660528257.810346, should be:660383999.777778, error:-144258.032568
21:17:57 T:3324 ERROR: m_pD3DDevice->BeginScene() failed. 8876086C - D3DERR_INVALIDCALL (Invalid call)
21:17:57 T:3796 DEBUG: CDVDPlayerAudio:: Discontinuity - was:660557020.647695, should be:660383999.777778, error:-173020.869917
21:17:57 T:3324 ERROR: m_pD3DDevice->BeginScene() failed. 8876086C - D3DERR_INVALIDCALL (Invalid call)
21:17:58 T:3792 ERROR: Previous line repeats 5 times.
21:17:58 T:3792 WARNING: CRenderManager::FlipPage - timeout waiting for flip to complete
21:17:58 T:3324 ERROR: m_pD3DDevice->BeginScene() failed. 8876086C - D3DERR_INVALIDCALL (Invalid call)
21:17:58 T:3792 ERROR: Previous line repeats 1 times.
21:17:58 T:3792 WARNING: CRenderManager::FlipPage - timeout waiting for flip to complete
21:17:58 T:3324 ERROR: m_pD3DDevice->BeginScene() failed. 8876086C - D3DERR_INVALIDCALL (Invalid call)
21:17:58 T:3792 ERROR: Previous line repeats 1 times.
21:17:58 T:3792 WARNING: CRenderManager::FlipPage - timeout waiting for previous frame
21:17:58 T:3324 ERROR: m_pD3DDevice->BeginScene() failed. 8876086C - D3DERR_INVALIDCALL (Invalid call)
21:17:58 T:3796 ERROR: Previous line repeats 1 times.
21:17:58 T:3796 DEBUG: CDVDPlayerAudio:: Discontinuity - was:661410121.974813, should be:661279999.777778, error:-130122.197035
21:17:59 T:3792 WARNING: CRenderManager::FlipPage - timeout waiting for flip to complete
21:17:59 T:3324 ERROR: m_pD3DDevice->BeginScene() failed. 8876086C - D3DERR_INVALIDCALL (Invalid call)
21:17:59 T:3324 ERROR: Previous line repeats 2 times.
21:17:59 T:3324 WARNING: DXVA::CProcessor::Render - did not find all required samples, adjusting the sample array.
21:17:59 T:3324 WARNING: DXVA::CProcessor::Render - no usable samples.
21:17:59 T:3796 DEBUG: CDVDPlayerAudio:: Discontinuity - was:661624068.826233, should be:661503999.777778, error:-120069.048455
21:17:59 T:3324 ERROR: m_pD3DDevice->BeginScene() failed. 8876086C - D3DERR_INVALIDCALL (Invalid call)
21:17:59 T:3324 WARNING: DXVA::CProcessor::Render - did not find all required samples, adjusting the sample array.
21:17:59 T:3324 WARNING: DXVA::CProcessor::Render - no usable samples.
21:17:59 T:3324 ERROR: m_pD3DDevice->BeginScene() failed. 8876086C - D3DERR_INVALIDCALL (Invalid call)
21:18:00 T:3792 ERROR: Previous line repeats 6 times.
21:18:00 T:3792 WARNING: CRenderManager::FlipPage - timeout waiting for previous frame
21:18:00 T:3324 ERROR: m_pD3DDevice->BeginScene() failed. 8876086C - D3DERR_INVALIDCALL (Invalid call)
21:18:00 T:3796 ERROR: Previous line repeats 1 times.
21:18:00 T:3796 DEBUG: CDVDPlayerAudio:: Discontinuity - was:662428100.966544, should be:662309044.322572, error:-119056.643972
21:18:00 T:3324 ERROR: m_pD3DDevice->BeginScene() failed. 8876086C - D3DERR_INVALIDCALL (Invalid call)
21:18:00 T:3792 WARNING: CRenderManager::FlipPage - timeout waiting for flip to complete
21:18:00 T:3324 ERROR: m_pD3DDevice->BeginScene() failed. 8876086C - D3DERR_INVALIDCALL (Invalid call)
21:18:00 T:3324 ERROR: Previous line repeats 2 times.
21:18:00 T:3324 WARNING: DXVA::CProcessor::Render - did not find all required samples, adjusting the sample array.
21:18:00 T:3324 WARNING: DXVA::CProcessor::Render - no usable samples.
21:18:00 T:3324 ERROR: m_pD3DDevice->BeginScene() failed. 8876086C - D3DERR_INVALIDCALL (Invalid call)
21:18:00 T:3324 WARNING: DXVA::CProcessor::Render - did not find all required samples, adjusting the sample array.
21:18:00 T:3324 WARNING: DXVA::CProcessor::Render - no usable samples.
21:18:00 T:3324 ERROR: m_pD3DDevice->BeginScene() failed. 8876086C - D3DERR_INVALIDCALL (Invalid call)
21:18:00 T:3796 ERROR: Previous line repeats 2 times.
21:18:00 T:3796 DEBUG: CDVDPlayerAudio:: Discontinuity - was:663009125.418322, should be:662879999.777778, error:-129125.640545
21:18:00 T:3324 ERROR: m_pD3DDevice->BeginScene() failed. 8876086C - D3DERR_INVALIDCALL (Invalid call)
21:18:01 T:3460 ERROR: Previous line repeats 5 times.
21:18:01 T:3460 DEBUG: AddOnLog: ARGUS TV client: URL: http://10.100.1.12:49943/ArgusTV/Control...ingDetails
21:18:01 T:3796 DEBUG: CDVDPlayerAudio:: Discontinuity - was:663342063.355995, should be:663231999.777778, error:-110063.578217
21:18:01 T:3324 ERROR: m_pD3DDevice->BeginScene() failed. 8876086C - D3DERR_INVALIDCALL (Invalid call)
21:18:01 T:3460 DEBUG: CurlFile::Open(06BFC6A0) http://10.100.1.12:49943/ArgusTV/Control...ingDetails
21:18:01 T:3324 ERROR: m_pD3DDevice->BeginScene() failed. 8876086C - D3DERR_INVALIDCALL (Invalid call)
21:18:01 T:3792 ERROR: Previous line repeats 1 times.
21:18:01 T:3792 WARNING: CRenderManager::FlipPage - timeout waiting for flip to complete
21:18:01 T:3324 ERROR: m_pD3DDevice->BeginScene() failed. 8876086C - D3DERR_INVALIDCALL (Invalid call)
21:18:01 T:3796 DEBUG: CDVDPlayerAudio:: Discontinuity - was:663632048.307518, should be:663497140.381659, error:-134907.925859
21:18:01 T:3324 ERROR: m_pD3DDevice->BeginScene() failed. 8876086C - D3DERR_INVALIDCALL (Invalid call)
21:18:01 T:3324 ERROR: Previous line repeats 1 times.
21:18:01 T:3324 WARNING: DXVA::CProcessor::Render - did not find all required samples, adjusting the sample array.
21:18:01 T:3324 WARNING: DXVA::CProcessor::Render - no usable samples.
21:18:01 T:3792 WARNING: CRenderManager::FlipPage - timeout waiting for previous frame
21:18:01 T:3324 ERROR: m_pD3DDevice->BeginScene() failed. 8876086C - D3DERR_INVALIDCALL (Invalid call)
21:18:01 T:3324 WARNING: DXVA::CProcessor::Render - did not find all required samples, adjusting the sample array.
21:18:01 T:3324 WARNING: DXVA::CProcessor::Render - no usable samples.
21:18:02 T:3324 ERROR: m_pD3DDevice->BeginScene() failed. 8876086C - D3DERR_INVALIDCALL (Invalid call)
21:18:02 T:3796 ERROR: Previous line repeats 3 times.
21:18:02 T:3796 DEBUG: CDVDPlayerAudio:: Discontinuity - was:664101222.413949, should be:663989078.378530, error:-112144.035418
21:18:02 T:3324 ERROR: m_pD3DDevice->BeginScene() failed. 8876086C - D3DERR_INVALIDCALL (Invalid call)
21:18:02 T:3792 ERROR: Previous line repeats 2 times.
21:18:02 T:3792 WARNING: CRenderManager::FlipPage - timeout waiting for previous frame
21:18:02 T:3324 ERROR: m_pD3DDevice->BeginScene() failed. 8876086C - D3DERR_INVALIDCALL (Invalid call)
21:18:02 T:3796 DEBUG: CDVDPlayerAudio:: Discontinuity - was:664367114.839690, should be:664217039.065184, error:-150075.774507
21:18:02 T:3324 ERROR: m_pD3DDevice->BeginScene() failed. 8876086C - D3DERR_INVALIDCALL (Invalid call)
21:18:02 T:3796 ERROR: Previous line repeats 1 times.
21:18:02 T:3796 DEBUG: CDVDPlayerAudio:: Discontinuity - was:664389064.649722, should be:664256126.471929, error:-132938.177793
21:18:02 T:3324 ERROR: m_pD3DDevice->BeginScene() failed. 8876086C - D3DERR_INVALIDCALL (Invalid call)
21:18:03 T:3792 WARNING: CRenderManager::FlipPage - timeout waiting for previous frame
21:18:03 T:3324 ERROR: m_pD3DDevice->BeginScene() failed. 8876086C - D3DERR_INVALIDCALL (Invalid call)
21:18:03 T:3796 ERROR: Previous line repeats 6 times.
21:18:03 T:3796 DEBUG: CDVDPlayerAudio:: Discontinuity - was:664921198.894052, should be:664735999.777778, error:-185199.116274
21:18:03 T:3792 WARNING: CRenderManager::FlipPage - timeout waiting for flip to complete
21:18:03 T:3324 ERROR: m_pD3DDevice->BeginScene() failed. 8876086C - D3DERR_INVALIDCALL (Invalid call)
21:18:03 T:3324 ERROR: Previous line repeats 2 times.
21:18:03 T:3324 WARNING: DXVA::CProcessor::Render - did not find all required samples, adjusting the sample array.
21:18:03 T:3324 WARNING: DXVA::CProcessor::Render - no usable samples.
Reply
#12
Finally I have a call stack..

Callstack should be 100% good, EIP somewhat off, and variable content might be wrong.
This is from a Dec 19th XBMC nigtly, Release (DirectX), with exception catch disable so I get the crash, otherwise it gets in the exception handler and keep re-crashing.
BTW it re-crash forever and the exception count is always put back to 0, that's another potential problem.

here we go: http://pastebin.com/9KwPm1MD

Hope it helps, but XBMC.exe!EPG::CGUIEPGGridContainer::Render() Line 325 + 0x4 byte is quite a big/complex function.

Thanks!
Reply
#13
Bump, is there anything else I can do about that one?

I know it's Christmas for everyone, I'm not trying to put pressure.

Since the problem seem to be in the EPG Renderer would the confluence skin guys be helpful on that one?

Thanks
Reply
#14
did you test after https://github.com/xbmc/xbmc/pull/1880 ?
opdenkamp / dushmaniac

xbmc-pvr [Eden-PVR builds] [now included in mainline XBMC, so no more source link here :)]
personal website: [link]

Found a problem with PVR? Report it on Trac, under "PVR - core components". Please attach the full debug log.

If you like my work, please consider donating to me and/or Team XBMC.
Reply
#15
Wasn't this merged into master a month ago? I could get the crash from nightly around december 20th.

I will upgrade to latest nigtly tonight and test it out.

Reply

Logout Mark Read Team Forum Stats Members Help
[BUG] EPG hanging, process at 100% win8 x640