Bug#1004214: Acknowledgement (kodi: Segfaults on menu selection)

2022-01-26 Thread Vasyl Gello
Control: close -1

I am closing this bug because additional investigation revealed the issue with 
a banned Kodi addon.
-- 
Vasyl Gello
==
Certified SolidWorks Expert

Mob.:+380 (98) 465 66 77

E-Mail: vasek.ge...@gmail.com

Skype: vasek.gello
==
호랑이는 죽어서 가죽을 남기고 사람은 죽어서 이름을 남긴다

Bug#1004214: Info received (Bug#1004214: Acknowledgement (kodi: Segfaults on menu selection))

2022-01-25 Thread SDA
Screengrab showing the output when I issue:
'gdb /usr/lib/x86_64-linux-gnu/kodi/kodi.bin'

It just sits there and doesn't launch Kodi


Bug#1004214: Info received (Bug#1004214: Acknowledgement (kodi: Segfaults on menu selection))

2022-01-25 Thread SDA
On Tue, Jan 25, 2022 at 07:46:44AM +, Vasyl Gello wrote:
> Hi!
> 
> > OK did this - was Kodi supposed to launch with this command, bc it didn't.
> 
> How do you start it? If from remote SSH, dont forget exporting DISPLAY=:0 
> first.

In my bash/dash terminal. This is all being done on host machine that KODI 
is on. Kodi didn't start from that command.

> And py-bt-full is GDB command, not shell one, i.e you type it in GDB after 
> Kodi starts and crashes and
> GDB gets control back with "SIGSEGV…" smth message.

Ah, OK!



Bug#1004214: Info received (Bug#1004214: Acknowledgement (kodi: Segfaults on menu selection))

2022-01-24 Thread Vasyl Gello
Hi!

> OK did this - was Kodi supposed to launch with this command, bc it didn't.

How do you start it? If from remote SSH, dont forget exporting DISPLAY=:0 first.

And py-bt-full is GDB command, not shell one, i.e you type it in GDB after Kodi 
starts and crashes and
GDB gets control back with "SIGSEGV…" smth message.
-- 
Vasyl Gello
==
Certified SolidWorks Expert

Mob.:+380 (98) 465 66 77

E-Mail: vasek.ge...@gmail.com

Skype: vasek.gello
==
호랑이는 죽어서 가죽을 남기고 사람은 죽어서 이름을 남긴다

Bug#1004214: Info received (Bug#1004214: Acknowledgement (kodi: Segfaults on menu selection))

2022-01-23 Thread Vasyl Gello
Hi!

As I expected it is a Python sub-interpreter issue. To discover the offending 
add-on, run Kodi under GDB directly:

gdb /usr/lib/x86_64-linux-gnu/kodi/kodi.bin

reproduce the crash and issue "py-bt-full" command, then save and attach the 
log.
-- 
Vasyl Gello
==
Certified SolidWorks Expert

Mob.:+380 (98) 465 66 77

E-Mail: vasek.ge...@gmail.com

Skype: vasek.gello
==
호랑이는 죽어서 가죽을 남기고 사람은 죽어서 이름을 남긴다

Bug#1004214: Acknowledgement (kodi: Segfaults on menu selection)

2022-01-22 Thread Vasyl Gello
Control: severity -1 important

Hi Stephen!

Thanks for the bugreport! However, the "grave" severity is too high for it 
given I see the following issues:

* Your logfile attached in the previous message pasted to Kodi hastebin ( 
https://paste.kodi.tv/ovifonuziy.kodi ) shows
the presence of banned addons (marked in red). You should remove them and 
reproduce the issue without them.

* The logfile is not a debug log at all. Also there is no stacktrace in it. You 
need to install gdb and kodi-bin-dbgsym from
Debian debug repository according to https://wiki.debian.org/HowToGetABacktrace 
and run Kodi under gdb, reproduce
the crash and run "bt full" to get a proper stacktrace.

* The kernel you run is 5.16.2-xanmod1, which is not an official Debian kernel. 
Did you also update Mesa from external
repos by chance? If you did, this might be an issue, too.

Please try running Kodi with default Debian kernel and 3D stack and capture the 
proper backtrace so we can fix the segfault.
-- 
Vasyl Gello
==
Certified SolidWorks Expert

Mob.:+380 (98) 465 66 77

E-Mail: vasek.ge...@gmail.com

Skype: vasek.gello
==
호랑이는 죽어서 가죽을 남기고 사람은 죽어서 이름을 남긴다

Bug#1004214: Acknowledgement (kodi: Segfaults on menu selection)

2022-01-22 Thread SDA
Output from starting in terminal:

failed to open zone.tab
libva info: VA-API version 1.13.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/r600_drv_video.so
libva info: Found init function __vaDriverInit_1_13
libva info: va_openDriver() returns 0
Segmentation fault

Attaching Kodi's own bugreport
## Kodi CRASH LOG ###

 SYSTEM INFO 
 Date: Sat Jan 22 15:28:41 EST 2022
 Kodi Options: 
 Arch: x86_64
 Kernel: Linux 5.16.2-xanmod1 #0~git20220120.a17cd44 SMP Thu Jan 20 21:24:46 
UTC 2022
 Release: Debian GNU/Linux
## END SYSTEM INFO ##

### STACK TRACE #
gdb not installed, can't get stack trace.
# END STACK TRACE ###

# LOG FILE ##

2022-01-22 15:27:49.124 T:5953 INFO : 
---
2022-01-22 15:27:49.124 T:5953 INFO : Starting Kodi from Debian 
(19.3 Debian package version: 2:19.3+dfsg1-1+b1). Platform: Linux x86 64-bit
2022-01-22 15:27:49.124 T:5953 INFO : Using Release Kodi from 
Debian x64
2022-01-22 15:27:49.124 T:5953 INFO : Kodi from Debian compiled 
2021-12-21 by GCC 11.2.0 for Linux x86 64-bit version 5.15.5 (331525)
2022-01-22 15:27:49.124 T:5953 INFO : Running on Debian GNU/Linux 
bookworm/sid unstable, kernel: Linux x86 64-bit version 5.16.2-xanmod1
2022-01-22 15:27:49.124 T:5953 INFO : FFmpeg version/source: 
4.4.1-3
2022-01-22 15:27:49.124 T:5953 INFO : Host CPU: AMD Ryzen 7 3700X 
8-Core Processor , 16 cores available
2022-01-22 15:27:49.124 T:5953 INFO : special://xbmc/ is mapped 
to: /usr/share/kodi
2022-01-22 15:27:49.124 T:5953 INFO : special://xbmcbin/ is mapped 
to: /usr/lib/x86_64-linux-gnu/kodi
2022-01-22 15:27:49.124 T:5953 INFO : special://xbmcbinaddons/ is 
mapped to: /usr/lib/x86_64-linux-gnu/kodi/addons
2022-01-22 15:27:49.124 T:5953 INFO : special://masterprofile/ is 
mapped to: /home/stephen/.kodi/userdata
2022-01-22 15:27:49.124 T:5953 INFO : special://envhome/ is mapped 
to: /home/stephen
2022-01-22 15:27:49.124 T:5953 INFO : special://home/ is mapped 
to: /home/stephen/.kodi
2022-01-22 15:27:49.124 T:5953 INFO : special://temp/ is mapped 
to: /home/stephen/.kodi/temp
2022-01-22 15:27:49.124 T:5953 INFO : special://logpath/ is mapped 
to: /home/stephen/.kodi/temp
2022-01-22 15:27:49.124 T:5953 INFO : The executable running is: 
/usr/lib/x86_64-linux-gnu/kodi/kodi.bin
2022-01-22 15:27:49.124 T:5953 INFO : Local hostname: debian01
2022-01-22 15:27:49.124 T:5953 INFO : Log File is located: 
/home/stephen/.kodi/temp/kodi.log
2022-01-22 15:27:49.124 T:5953 INFO : 
---
2022-01-22 15:27:49.124 T:5953 INFO : loading settings
2022-01-22 15:27:49.124 T:5953 INFO : special://profile/ is mapped 
to: special://masterprofile/
2022-01-22 15:27:49.142 T:5953 INFO : No settings file to load 
(special://xbmc/system/advancedsettings.xml)
2022-01-22 15:27:49.142 T:5953 INFO : No settings file to load 
(special://masterprofile/advancedsettings.xml)
2022-01-22 15:27:49.142 T:5953 INFO : Default Video Player: 
VideoPlayer
2022-01-22 15:27:49.142 T:5953 INFO : Default Audio Player: 
paplayer
2022-01-22 15:27:49.142 T:5953 INFO : Disabled debug logging due 
to GUI setting. Level 0.
2022-01-22 15:27:49.142 T:5953 INFO : Log level changed to "INFO"
2022-01-22 15:27:49.142 T:5953 INFO : CMediaSourceSettings: 
loading media sources from special://masterprofile/sources.xml
2022-01-22 15:27:49.142 T:5953 INFO : creating subdirectories
2022-01-22 15:27:49.142 T:5953 INFO : userdata folder: 
special://masterprofile/
2022-01-22 15:27:49.142 T:5953 INFO : recording folder: 
2022-01-22 15:27:49.142 T:5953 INFO : screenshots folder: 
/home/stephen/Pictures/
2022-01-22 15:27:49.143 T:5953 INFO : Running database version 
Addons33
2022-01-22 15:27:49.161 T:5953 INFO : CAddonMgr::FindAddons: 
audioencoder.kodi.builtin.aac v1.0.2 installed
2022-01-22 15:27:49.161 T:5953 INFO : CAddonMgr::FindAddons: 
audioencoder.kodi.builtin.wma v1.0.2 installed
2022-01-22 15:27:49.161 T:5953 INFO : CAddonMgr::FindAddons: 
context.elementum v0.0.10 installed
2022-01-22 15:27:49.161 T:5953 INFO : CAddonMgr::FindAddons: 
context.trakt.addtowatchlist v1.1.0+matrix.1 installed
2022-01-22 15:27:49.161 T:5953 INFO : CAddonMgr::FindAddons: 
context.trakt.contextmenu v1.1.0+matrix.1 installed
2022-01-22 15:27:49.161 T:5953 INFO : CAddonMgr::FindAddons: 
context.trakt.rate v1.1.0+matrix.1 installed
2022-01-22 15:27:49.161 T:5953 INFO : CAddonMgr::FindAddons: 
context.trakt.watched v1.1.0+matrix.1 installed
2022-01-22 15:27:49.161 T:5953 INFO : CAddonMgr::FindAddons: 
game.controller.default v1.0.19 installed
2022-01-22 15:27:49.161 T:5953 INFO : CAddonMgr::FindAddons: