v17 [BUG]- Kodi crashes on startup if pvr backend isnt ready
#1
hi,
after switching from v16 to v17 kodi crashes most of the time on startup. kodi only crashes if the pc is powered on from "real off" (s5). if the system is running for some time kodi does not crash during the start. i use windows 8.1 and mediaportal backend. i think its because my mediaportal backend needs some seconds longer than kodi to start up. now i (auto)start kodi with a delay of 5 seconds and it seems after some short tests that this solve the problem. @developer: i have some stacktrace files - let me know if you need something.
Reply
#2
latest nightly, still the same probleme. here is the log from latest kodi-crash, problem seems pvr-related:

11:07:51.183 T:2572 NOTICE: AddOnLog: MediaPortal PVR Client: Opened C:\Program Files (x86)\Kodi\addons\pvr.mediaportal.tvserver\resources\genre_translation.xml to read genre string to type/subtype translation table
11:07:51.187 T:2572 NOTICE: AddOnLog: MediaPortal PVR Client: Warning: no recording share defined in the TVServerXBMC settings for card 'TERRATEC S7 Digital Tuner (DVB-S)'
11:07:51.187 T:2572 NOTICE: AddOnLog: MediaPortal PVR Client: Warning: no recording share defined in the TVServerXBMC settings for card 'RadioWebStream Card (builtin)'
11:07:51.187 T:2572 NOTICE: AddOnLog: MediaPortal PVR Client: Warning: no timeshift share defined in the TVServerXBMC settings for card 'RadioWebStream Card (builtin)'
11:07:51.187 T:2572 NOTICE: AddOnLog: MediaPortal PVR Client: Warning: no recording share defined in the TVServerXBMC settings for card 'MediaPortal IPTV Source Filter'
11:07:51.187 T:2572 NOTICE: AddOnLog: MediaPortal PVR Client: Warning: no timeshift share defined in the TVServerXBMC settings for card 'MediaPortal IPTV Source Filter'
11:07:51.207 T:2576 ERROR: PVR - PVR::CPVRClients::ConnectionStateChange - invalid handler data
11:07:51.213 T:2564 ERROR: PVR - failed to open the database
11:07:51.213 T:2564 ERROR: PVRManager - PVR::CPVRManager:Tonguerocess - failed to load PVR data, retrying
11:07:51.218 T:2576 ERROR: CThread::Create - fatal error creating thread- old thread id not null
Reply
#3
@Ed76 - can you post the full http://kodi.wiki/view/Log_file ?
Reply
#4
here is a full debug-log: http://pastebin.com/Sr8Vir7f

(as already said: i dont have the issue with kodi v16, it seems the "workaround" (first post, start with delay) does not work. Sad
Reply
#5
Same here on "one" windows 10 client with beta 7.
Curious: Another client with identical configuration on the same MP TV SERVER works!

my server is 24/7 on, so thats not the problem.
also deleting the epg and tv dbs has not solved the issue.

When system boots up, kodi crashes most oif the time on pvr initialisation.
Also using Mediaportal PVR client,

Here is a debug log: http://pastebin.com/P9JfszQ4

pOpY
Reply
#6
This should be fixed with RC1. => https://github.com/xbmc/xbmc/pull/11266
Reply
#7
(2016-12-25, 12:28)ksooo Wrote: This should be fixed with RC1. => https://github.com/xbmc/xbmc/pull/11266

thx, is there a test build.
I can reproduce the issue on my HTPC in the living room with beta 7 most of the time.

thx
pOpY
Reply
#8
@pOpY: http://mirrors.kodi.tv/test-builds/win32...rrency.exe
Reply
#9
(2016-12-25, 15:44)ksooo Wrote: @pOpY: http://mirrors.kodi.tv/test-builds/win32...rrency.exe

thx, Testing right now!
Had one crash with your new build, again on PVR Initialize.

Sadly had'nt debug enabled, the error is the same in the log:

Code:
ERROR: CThread::Create - fatal error creating thread- old thread id not null

Test is running now with debug enabled, will cold boot my machine now 20x times...
Reply
#10
(2016-12-25, 15:44)ksooo Wrote: @pOpY: http://mirrors.kodi.tv/test-builds/win32...rrency.exe

Again crashed! now ill have 2x crashes out from 12x tries.

Debug log: http://pastebin.com/2VE2JjK3

Same issue again.

pOpY

PS: But ill think its working better now than before.
Reply
#11
@popy it seems that your problem is not related to the PR I posted earlier. And may I kindly ask not to spam at github; otherwise i will stop to post links to developer discussions here.
Reply
#12
(2016-12-25, 23:23)ksooo Wrote: @popy it seems that your problem is not related to the PR I posted earlier. And may I kindly ask not to spam at github; otherwise i will stop to post links to developer discussions here.
Sorry, just want to let you know that the PR has not fixed the Issue.

Can I do anything (test, logs..) to help you regarding my crash?

Thx

Gesendet von meinem LG-H815 mit Tapatalk
Reply
#13
(2016-12-25, 23:45)popy Wrote:
(2016-12-25, 23:23)ksooo Wrote: @popy it seems that your problem is not related to the PR I posted earlier. And may I kindly ask not to spam at github; otherwise i will stop to post links to developer discussions here.
Sorry, just want to let you know that the PR has not fixed the Issue.

If you do this here, this is sufficient. I'm reading this forum on a regular base- ;-)

Quote:Can I do anything (test, logs..) to help you regarding my crash?

Please install this test build (http://mirrors.kodi.tv/test-builds/win32...-crash.exe) which does not contain a fix yet, just more debug info and post a debug log here.
Reply
#14
(2016-12-26, 02:08)ksooo Wrote:
(2016-12-25, 23:45)popy Wrote:
(2016-12-25, 23:23)ksooo Wrote: @popy it seems that your problem is not related to the PR I posted earlier. And may I kindly ask not to spam at github; otherwise i will stop to post links to developer discussions here.
Sorry, just want to let you know that the PR has not fixed the Issue.

If you do this here, this is sufficient. I'm reading this forum on a regular base- ;-)

Quote:Can I do anything (test, logs..) to help you regarding my crash?

Please install this test build (http://mirrors.kodi.tv/test-builds/win32...-crash.exe) which does not contain a fix yet, just more debug info and post a debug log here.
Ok, then I will post here in the future [GRINNING FACE WITH SMILING EYES]

Thx, will install the debug build in the evening and report back.

pOpY


Gesendet von meinem LG-H815 mit Tapatalk
Reply
#15
(2016-12-26, 02:08)ksooo Wrote:
(2016-12-25, 23:45)popy Wrote:
(2016-12-25, 23:23)ksooo Wrote: @popy it seems that your problem is not related to the PR I posted earlier. And may I kindly ask not to spam at github; otherwise i will stop to post links to developer discussions here.
Sorry, just want to let you know that the PR has not fixed the Issue.

If you do this here, this is sufficient. I'm reading this forum on a regular base- ;-)

Quote:Can I do anything (test, logs..) to help you regarding my crash?

Please install this test build (http://mirrors.kodi.tv/test-builds/win32...-crash.exe) which does not contain a fix yet, just more debug info and post a debug log here.

Found some time, here is the debug log: http://pastebin.com/4NhpGpQ0

Now sometimes it crashes or it stuckes, but the log messages are the same as the initial post or my previous logs.
Your new debugs are also in th elog Rofl

pOpY
Reply

Logout Mark Read Team Forum Stats Members Help
[BUG]- Kodi crashes on startup if pvr backend isnt ready0