Looking at the last crash dump it seemed to be the code trying to branch to 0, and triggered an NX fault (non-execute bit)
Looking at the two traces, the only commonality is this:
9:46:44 T:3608 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.RuntimeError'>
Error Contents: access_violation
Traceback (most recent call last):
File "C:\Users\ernstl\AppData\Roaming\Kodi\addons\service.library.data.provider\service.py", line 176, in onPlayBackStopped
self.action('episode')
File "C:\Users\ernstl\AppData\Roaming\Kodi\addons\service.library.data.provider\service.py", line 116, in _update
LIBRARY._fetch_recommended_episodes()
File "C:\Users\ernstl\AppData\Roaming\Kodi\addons\service.library.data.provider\library.py", line 240, in _fetch_recommended_episodes
json_query2 = xbmc.executeJSONRPC('{"jsonrpc": "2.0", "method": "VideoLibrary.GetEpisodes", "params": {"tvshowid": %d, "properties": ["title", "playcount", "plot", "season", "episode", "showtitle", "file", "lastplayed", "rating", "resume", "art", "streamdetails", "firstaired", "runtime", "writer", "cast", "dateadded"], "sort": {"method": "episode"}, "filter": {"field": "playcount", "operator": "is", "value": "0"}, "limits": {"end": 1}}, "id": 1}' %item['tvshowid'])
RuntimeError: access_violation
-->End of Python script error report<--
What is particularly odd is that it looks like 2 threads are both running something that generates the same sql, in the crash dump, those two threads are both python runners.
I've no idea why running as admin would change the behaviour (unless it fixes a permissions issue, which changes timing/errors somewhere)
I take it gflags with /backwards didn't find anything either? This could be a thread/concurrency issue, and admin and gflags just change the timing
In theory you should be able to use windbg (x86) to attach to kodi, and then when it crashes you can use windbg to generate a dump (as it seems dump generation is unreliable)