getting an edit control in python script crashes xbmc
#16
(2018-09-26, 13:19)bigretromike Wrote: This is the fix for the issue, as this is an android issue only:

In my case I had in `onInit`
python:
self._address = self.getControl(IP_ADDRESS)
I end up with not binding this control to variable I just replace all the variable with direct self.getControl(IP_ADDRESS)

Well, This issue is reprocessable also on Debian Jessie (kodi v17), the cause looks to be the same:

Code:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x575153f0 (LWP 5372)]
0x00f0bc58 in XBMCAddon::xbmcgui::ControlEdit::~ControlEdit() ()
(gdb)


Unfortunately the workaround doesn't work in my environment
Reply
#17
(2019-12-25, 22:10)ds20061976 Wrote:
(2018-09-26, 13:19)bigretromike Wrote: This is the fix for the issue, as this is an android issue only:

In my case I had in `onInit`
python:
self._address = self.getControl(IP_ADDRESS)
I end up with not binding this control to variable I just replace all the variable with direct self.getControl(IP_ADDRESS)

Well, This issue is reprocessable also on Debian Jessie (kodi v17), the cause looks to be the same:

Code:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x575153f0 (LWP 5372)]
0x00f0bc58 in XBMCAddon::xbmcgui::ControlEdit::~ControlEdit() ()
(gdb)


Unfortunately the workaround doesn't work in my environment 

The best you could to is submit bug on gh with code sample (and hope for the best, or try to push fix for that your self and pray for it to be merged)
Proud developer for Shoko and Nakamori. Long time xbmc/kodi user. IT Freak at Monogatari.
Reply
#18
Is there any python edit control can be embed in my c++ program?
Reply

Logout Mark Read Team Forum Stats Members Help
getting an edit control in python script crashes xbmc0