• 1
  • 3
  • 4
  • 5(current)
  • 6
  • 7
  • 17
Kodi has stopped working
#61
Unfortunatly there is no information in the log, even in debug-mode. Tried it > 10 times...

Windows-Eventlog says that the crash occurs with c:\windows\syswow64\ntdll.dll.
So I tried Kodi with run with administrator-rights.
No crashes yesterday evening.....
#62
HI,i also had several crashes but are very random and hard to reproduce.I'm running Kodi nightlys with debug mode active since last week and i'm struggling to get a good log.
Here's a full log (Windows Event log included too) from a crash i experienced last night,Kodi was idle in Home screen and before that i was doing some cleanup (uninstalling a 3rd party addon).
As you may see from the log Kodi is already running with admin rights and also i dont't have the skin widget installed ,but i'm using an external program called XbmcOnImon which is driving my Imon VFD.

Edit: @Martijn : I do have a Mysql server but it's only used by MediaPortal TvServer not for Kodi databases.
#63
Something that I noticed is that I was getting crashes when I upgraded my install from Gotham. I renamed my appdata kodi folder to backup, then started with a fresh install, and I'm not getting any crashes anymore.

Is anyone else with the crashes using an 'upgraded from Gotham' copy of Kodi?

Could there be something that went wrong, or was corrupted because of the upgrade that happens with Kodi?
#64
Pretoriano80, thanks for the report. Next time use something like http://pastebin.com/ without any captcha, please.

Still need a full debug log with recorded crash and switched on additional logging by System -> Settings -> System -> Debugging -> "Enable component-specific logging" and "Specify component-specific logging" -> "Verbose logging for JSON-RPC requests"
#65
(2014-12-10, 12:55)Karlson2k Wrote: Pretoriano80, thanks for the report. Next time use something like http://pastebin.com/ without any captcha, please.

Still need a full debug log with recorded crash and switched on additional logging by System -> Settings -> System -> Debugging -> "Enable component-specific logging" and "Specify component-specific logging" -> "Verbose logging for JSON-RPC requests"

No problem mate,i already activated JSON-RPC debug this morning.Usually i use pastebin too,but this morning i packed all logs in a .zip so i had to upload it somewhere else,next time i will go the pastebin way Wink .Cheers!
#66
Here's my log with debug turned on, it was caused by using the XBMC Remote app from the iPad
http://pastebin.com/bHjUuNfs

and in the windows event log:

Faulting application name: Kodi.exe, version: 13.9.903.0, time stamp: 0x5485ffc4
Faulting module name: ntdll.dll, version: 6.1.7601.18247, time stamp: 0x521ea8e7
Exception code: 0xc0000374
Fault offset: 0x000ce753
Faulting process id: 0x8ec
Faulting application start time: 0x01d014877afcfe4b
Faulting application path: C:\Program Files (x86)\Kodi\Kodi.exe
Faulting module path: C:\Windows\SysWOW64\ntdll.dll
Report Id: 423ab21c-807b-11e4-8a80-00214f4ba90e

UPDATE: I have crashed it again after downloading the pdb file
http://pastebin.com/hT7vYw07

and the link to the crash log dmp file
https://mega.co.nz/#!B00WXDoK!EtjVPjMgIG...a-som5VZlI
#67
I am running MySQL as well. This was a question from Martijn on the previous page, but I didn't notice the new page before replying. Smile
#68
amediauser, thanks a lot! Crash mini-dump is great!
#69
@Martijn: yup, using MySQL as well.
#70
Need more logs and/or crash-dumps to investigate.
For crash-dump: download pdb file from http://mirrors.kodi.tv/releases/win32/ko...ix_rc3.pdb, rename it to kodi.pdb and put it to the same folder as kodi.exe (usually "C:\Program Files (x86)\Kodi\").
#71
Hmm, this appears to be the fault:
15:57:48 T:3640 ERROR: Unhandled exception in CApplication::Render() : Access violation at 0x7758e381: Writing location 0x044082f7

And a couple of other threads then try to write stack traces:
15:57:48 T:3208 ERROR: CreateFile 'C:\Users\Username\AppData\Roaming\Kodi\xbmc_stacktrace-14.0-RC3 Git_20141208-bdf56d0-20141210-155748.txt' failed with error id 32
15:57:50 T:2624 DEBUG: CDVDPlayerVideo - CDVDMsg::GENERAL_SYNCHRONIZE
15:57:50 T:1020 ERROR: CreateFile 'C:\Users\Username\AppData\Roaming\Kodi\xbmc_stacktrace-14.0-RC3 Git_20141208-bdf56d0-20141210-155747.txt' failed with error id 32
(error id 32 (if it's the windows error code) is a sharing violation, suggesting many things dumping stacks)

Are there stack trace files in the above location?

I note the last thing before that is a request to seek, which looks to succeed:
15:57:48 T:3256 DEBUG: demuxer seek to: 287855
15:57:48 T:3256 DEBUG: CDVDDemuxFFmpeg::SeekTime - seek ended up on time 288497
15:57:48 T:3256 DEBUG: demuxer seek to: 287855, success

Looking at the memory dump shows a few threads all indicating the memory heap has been corrupted, suggesting that something trashed the heap, and the other threads are falling over because of it.

I suspect we need to get your system to crash at the point the corruption occurs. Which based on last time I played hunt the crash involves playing with gflags and windbg (was something in ffmpeg on that occasion)

Is it only certain media files that cause the problem?
#72
Hmm, looking at the log more closely, one of the last items is this:
15:57:47 T:1660 DEBUG: webserver: request received for /jsonrpc
15:57:47 T:3832 DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnSeek
15:57:47 T:1020 DEBUG: webserver: request received for /jsonrpc
15:57:47 T:1020 DEBUG: JSONRPC: Incoming request: {"method":"Player.Seek","id":2007638337,"jsonrpc":"2.0","params":{"playerid":1,"value":"smallforward"}}
15:57:47 T:1660 DEBUG: JSONRPC: Incoming request: {"method":"Player.Seek","id":411289390,"jsonrpc":"2.0","params":{"playerid":1,"value":"smallforward"}}
15:57:47 T:3864 DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnSeek
15:57:47 T:3832 DEBUG: webserver: request received for /jsonrpc
15:57:48 T:3208 DEBUG: CDVDPlayerAudio - CDVDMsg::GENERAL_SYNCHRONIZE
15:57:48 T:2624 DEBUG: CDVDPlayerVideo - CDVDMsg::GENERAL_SYNCHRONIZE
15:57:48 T:1660 DEBUG: CAnnouncementManager - Announcement: OnSeek from xbmc

Note 2 concurrent seek calls arriving, I wonder if that's relevant in some way (missing lock/concurrency issue...)
#73
If anyone is up to playing with more in depth debugging tools, then I suspect it might be possible to hunt down exactly where the corruption occurs.

Firstly you'll need to install the debugging tools for windows:
http://msdn.microsoft.com/library/window...s.85).aspx

Note that you download the SDK installer, and during install only select debugging tools.

Next, you'll need to use the gflags utility to enable page verification (more details on it here):
http://msdn.microsoft.com/en-us/library/...85%29.aspx

Depending on the problem standard page verification might be enough to catch the thread causing the problem. If it's not then it might need full page verification.

After installing go into:
C:\Program Files (x86)\Windows Kits\8.1\Debuggers\x86\

Note that it needs to be the 32bit version, as kodi is 32bit.

To enable standard heap testing:
gflags /p /enable kodi.exe

I actually recommend full heap verification use as it can give a more accurate stack trace of what's scribbling memory, but needs more memory to run:
gflags /p /enable kodi.exe /full

And to disable:
gflags /p /disable kodi.exe

Warning, using the wrong options can enable page heap verification on the whole system (and that'll be very slow)

Hopefully if there's a crash the dump will show a more accurate location of which stack caused the problem.

Note that there's one other possible cause, which is a buffer underflow, and that needs different options:
gflags /p /enable kodi.exe /full /backwards
#74
No, I'm running Kodi without mysql server.
Since I changed kodi.exe to "run as administrator" the crashes are gone...
#75
Exclamation 
Everyone who experienced crashes on Win32 are invited to try a test version:
http://mirrors.kodi.tv/test-builds/win32...est_04.exe
Preferably add .pdb file from http://mirrors.kodi.tv/test-builds/win32...est_04.pdb (download, rename to kodi.pdb and put to "C:\Program Files (x86)\Kodi\")

If you notice any difference between RC3 and test build - please report.

And do not run Kodi as administrator. Kodi is designed to be run with normal user rights.
  • 1
  • 3
  • 4
  • 5(current)
  • 6
  • 7
  • 17

Logout Mark Read Team Forum Stats Members Help
Kodi has stopped working4