ReloadSkin() crashing Leia
#1
Can't figure out what it is about my setup but 90% of the time reloadskin() blows up on me. Tried many nightlies, 32 and 64 bit, on a Win7 box. I don't see anything remarkable in the log and would appreciate some extra eyes.


KODI log
Reply
#2
Yep, it's a pain to work on a skin atm and it's happening since weeks. Sometimes I'm able to refresh a couple of times without any crash but mostly it's crashing on each single skin reload.
Main: Lancool II Mesh  - Ryzen 9 5900x - MSI x570 Unify - Zotac RTX 3080 AMP HOLO - 32GB Trident Z Neo 3600 CL16 -  EVO 960 M.2 250GB / EVO 940 250GB / MX100 512GB /  Crucial P1 2TB / WD Blue 3D Nand 2TB 
Sound: Saxx AS30 DSP - Beyer Dynamic Custom One Pro 
TV: Nvidia Shield 2019 Pro- Adalight 114x LEDs - Sony 65XG9505 - Kodi / Emby - Yamaha RX-V683 - Heco Victa 700/101/251a + Dynavoice Magic FX-4
Server: i3 Skylake - 8GB - OMV4 - 22TB Storage
Reply
#3
Thanks for the confirmation. Reckon I'll just have to shelve the project until this is working reliably.
Reply
#4
I've also noticed this (I originally thought it was because I was building a Wayland version from source then running in portable mode, but on further testing it seems like it is across the board).

I've found that binding a key to ReloadSkin() directly (I use F5) seems to work better than using the shutdown menu to reload. It does still crash, but not as often.
Arctic Fuse - Alpha now available. Support me on Ko-fi.
Reply
#5
Makes no difference. Mapped control button in a dialog, keyboard or via Json RPC.. crashing Smile. Randomly and not reproduceable.
It just seems that it happens less on lightweight windows/dialogs like the videoosd.
Main: Lancool II Mesh  - Ryzen 9 5900x - MSI x570 Unify - Zotac RTX 3080 AMP HOLO - 32GB Trident Z Neo 3600 CL16 -  EVO 960 M.2 250GB / EVO 940 250GB / MX100 512GB /  Crucial P1 2TB / WD Blue 3D Nand 2TB 
Sound: Saxx AS30 DSP - Beyer Dynamic Custom One Pro 
TV: Nvidia Shield 2019 Pro- Adalight 114x LEDs - Sony 65XG9505 - Kodi / Emby - Yamaha RX-V683 - Heco Victa 700/101/251a + Dynavoice Magic FX-4
Server: i3 Skylake - 8GB - OMV4 - 22TB Storage
Reply
#6
Is there such thing as a stop work ticket? Big Grin
Reply
#7
These are not good times for skinners I think... Undecided
If I have helped you or increased your knowledge, please click the 'thumbs up' button to give thanks :)
Reply
#8
(2018-04-24, 13:16)sualfred Wrote: Makes no difference. Mapped control button in a dialog, keyboard or via Json RPC.. crashing Smile. Randomly and not reproduceable.
It just seems that it happens less on lightweight windows/dialogs like the videoosd.

Yeah, you are right. I had a bunch of crashes using a mapped button just now. Struggling to find a pattern other than the crashes happen after skin code is changed. Reloading without making any changes seems to be fine most of the time.
Arctic Fuse - Alpha now available. Support me on Ko-fi.
Reply
#9
All I can say is that it's happening since I've started to port Embuary to Leia. And I started in the beginning of March. Hard to find out which PR is causing it without having access to very old nightlies.
Main: Lancool II Mesh  - Ryzen 9 5900x - MSI x570 Unify - Zotac RTX 3080 AMP HOLO - 32GB Trident Z Neo 3600 CL16 -  EVO 960 M.2 250GB / EVO 940 250GB / MX100 512GB /  Crucial P1 2TB / WD Blue 3D Nand 2TB 
Sound: Saxx AS30 DSP - Beyer Dynamic Custom One Pro 
TV: Nvidia Shield 2019 Pro- Adalight 114x LEDs - Sony 65XG9505 - Kodi / Emby - Yamaha RX-V683 - Heco Victa 700/101/251a + Dynavoice Magic FX-4
Server: i3 Skylake - 8GB - OMV4 - 22TB Storage
Reply
#10
*bump*
Still crashing without any error message back to desktop.
Nothing is mentioned in a debug log and no dmp file will be created

Code:
...
13:06:34.675 T:8136   DEBUG: CInputManager::HandleKey: f5 (0xf094) pressed, action is XBMC.ReloadSkin()
13:06:34.676 T:8136    INFO: Unloading old skin ...
13:06:34.685 T:8136   DEBUG: ------ Window Deinit (Home.xml) ------
13:06:34.685 T:8136   DEBUG: FreeVisualisation() done

Since no one has opened a ticket yet -> https://trac.kodi.tv/ticket/17935
Main: Lancool II Mesh  - Ryzen 9 5900x - MSI x570 Unify - Zotac RTX 3080 AMP HOLO - 32GB Trident Z Neo 3600 CL16 -  EVO 960 M.2 250GB / EVO 940 250GB / MX100 512GB /  Crucial P1 2TB / WD Blue 3D Nand 2TB 
Sound: Saxx AS30 DSP - Beyer Dynamic Custom One Pro 
TV: Nvidia Shield 2019 Pro- Adalight 114x LEDs - Sony 65XG9505 - Kodi / Emby - Yamaha RX-V683 - Heco Victa 700/101/251a + Dynavoice Magic FX-4
Server: i3 Skylake - 8GB - OMV4 - 22TB Storage
Reply
#11
This is getting increasingly annoying especially when a skin needs to reload after a setting change or even worse trying to change to another skin just force closes Kodi
Reply
#12
It has gotten substantially worse for me. I often have to reboot my windows box b/c kodi hangs so hard the process cannot be terminated.
Reply
#13
search errors of your skin in the log file. 
after removing errors there is no problem with reload skin on Leia.
Reply
#14
Fixed! Nod
Reply
#15
Not in my case. Skin reload still crashes

@garbear
Is this commit already in the nightly of today? Dunno if the merged PR wasn't too late.
Main: Lancool II Mesh  - Ryzen 9 5900x - MSI x570 Unify - Zotac RTX 3080 AMP HOLO - 32GB Trident Z Neo 3600 CL16 -  EVO 960 M.2 250GB / EVO 940 250GB / MX100 512GB /  Crucial P1 2TB / WD Blue 3D Nand 2TB 
Sound: Saxx AS30 DSP - Beyer Dynamic Custom One Pro 
TV: Nvidia Shield 2019 Pro- Adalight 114x LEDs - Sony 65XG9505 - Kodi / Emby - Yamaha RX-V683 - Heco Victa 700/101/251a + Dynavoice Magic FX-4
Server: i3 Skylake - 8GB - OMV4 - 22TB Storage
Reply

Logout Mark Read Team Forum Stats Members Help
ReloadSkin() crashing Leia0