Bug Linux - Kodi 17.3 crash with libass
#1
Hello,

For about 3-4 months, I experience systematic crashes with Kodi 17.3.
I did not post this earlier here as :
1. I wanted to dig through the crash myself
2. Thought that I'd not be the only one and with a bit of patience, an update would magically fix it.

Unfortunately, no fix so far, therefore I decided to give it a shot on the forum.

I'm running Kodi 17.3 on a "headless" system (no X, but of course a TV attached Smile ).
Crashes are experienced with certain files only, and according to dmesg they seem to be related to subtitles display.
Same file plays fine when disabling subtitles through OSD.

Dmesg output :
Code:
✓ Caladan ~ # dmesg -T | grep -i kod
[Wed Aug 30 22:36:34 2017] kodi.bin[23323]: segfault at 10 ip 00007f6fb914dbdb sp 00007ffd3056f270 error 4 in libass.so.5.3.2[7f6fb9145000+2f000]

I've enabled debugging logs, checked the crashlogs and everything but nothing shows up.
You can see Kodi openening the file, starting playback, attaching output devices (video/audio), and then the file just ends.
dmesg was the only trace that a crash had occured.

Seems more likely to be related to libass, but I thought I'd ask anyway.

Versions :
Code:
Debian : buster/sid
✓ Caladan ~ # dpkg -l | grep kodi
ii  kodi                                                             2:17.3+dfsg1-2                    amd64        Open Source Home Theatre (executable binaries)
ii  kodi-bin:amd64                                                   2:17.3+dfsg1-2                    amd64        Open Source Home Theatre (architecture-dependent files)
ii  kodi-data                                                        2:17.3+dfsg1-2                    all          Open Source Home Theatre (arch-independent data package)
ii  kodi-eventclients-common                                         2:17.3+dfsg1-2                    all          Open Source Home Theatre (Event Client Common package)
ii  kodi-eventclients-kodi-send                                      2:17.3+dfsg1-2                    all          Open Source Home Theatre (Event Client Kodi-SEND package)
ii  kodi-pvr-hts                                                     3.4.13-1                          amd64        Kodi PVR Addon TvHeadend Hts
ii  kodi-visualization-spectrum:amd64                                1.1.1-1                           amd64        Spectrum visualizer addon for Kodi

✓ Caladan ~ # dpkg -l | grep libass
rc  libass4:amd64                                                    0.10.1-3                          amd64        library for SSA/ASS subtitles rendering
ii  libass5:amd64                                                    1:0.13.4-2                        amd64        library for SSA/ASS subtitles rendering
ii  libass9:amd64                                                    1:0.13.7-2                        amd64        library for SSA/ASS subtitles rendering
ii  libassuan0:amd64                                                 2.4.3-3                           amd64        IPC library for the GnuPG components

✓ Caladan ~ # uname -a
Linux Caladan 4.12.0-1-amd64 #1 SMP Debian 4.12.6-1 (2017-08-12) x86_64 GNU/Linux


Crashlog can be found here (too large to be posted on pastebin or 0bin) :
https://framabin.org/?e0d8baa1054a0078#M...syYLl/93BU=


Media info :
Code:
Format                                   : Matroska
Format version                           : Version 4 / Version 2
File size                                : 2.85 GiB
Duration                                 : 1 h 59 min
Overall bit rate                         : 3 411 kb/s
Movie name                               : My_movie_file_name
Encoded date                             : UTC 2017-03-18 14:48:57
Writing application                      : mkvmerge v9.0.1 ('Obstacles') 64bit
Writing library                          : libebml v1.3.3 + libmatroska v1.4.4
Attachments                              : LATO-BLACK_0.ttf

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : [email protected]
Format settings, CABAC                   : Yes
Format settings, RefFrames               : 6 frames
Codec ID                                 : V_MPEG4/ISO/AVC
Duration                                 : 1 h 59 min
Bit rate                                 : 2 978 kb/s
Width                                    : 1 280 pixels
Height                                   : 694 pixels
Display aspect ratio                     : 1.85:1
Frame rate mode                          : Constant
Frame rate                               : 24.000 FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.140
Stream size                              : 2.49 GiB (87%)
Writing library                          : x264 core 148 r2762M 90a61ec
Encoding settings                        : cabac=1 / ref=6 / deblock=1:0:0 / analyse=0x3:0x133 / me=hex / subme=8 / psy=1 / psy_rd=1.00:0.20 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=0 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=9 / lookahead_threads=2 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=6 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=50 / rc=crf / mbtree=1 / crf=21.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / vbv_maxrate=24000 / vbv_bufsize=24000 / crf_max=30.0 / nal_hrd=none / filler=0 / ip_ratio=1.40 / aq=1:1.00
Language                                 : English
Default                                  : Yes
Forced                                   : No
Color range                              : Limited
Color primaries                          : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.709

Audio #1
ID                                       : 2
Format                                   : AAC
Format/Info                              : Advanced Audio Codec
Format profile                           : LC
Codec ID                                 : A_AAC
Duration                                 : 1 h 59 min
Bit rate                                 : 215 kb/s
Channel(s)                               : 6 channels
Channel positions                        : Front: L C R, Side: L R, LFE
Sampling rate                            : 48.0 kHz
Frame rate                               : 46.875 FPS (1024 SPF)
Compression mode                         : Lossy
Delay relative to video                  : -83 ms
Stream size                              : 184 MiB (6%)
Title                                    : VFF AAC 5.1 VBR
Language                                 : French
Default                                  : Yes
Forced                                   : No

Audio #2
ID                                       : 3
Format                                   : AAC
Format/Info                              : Advanced Audio Codec
Format profile                           : LC
Codec ID                                 : A_AAC
Duration                                 : 1 h 59 min
Bit rate                                 : 215 kb/s
Channel(s)                               : 6 channels
Channel positions                        : Front: L C R, Side: L R, LFE
Sampling rate                            : 48.0 kHz
Frame rate                               : 46.875 FPS (1024 SPF)
Compression mode                         : Lossy
Delay relative to video                  : -83 ms
Stream size                              : 184 MiB (6%)
Title                                    : VO AAC 5.1 VBR
Language                                 : English
Default                                  : No
Forced                                   : No

Text #1
ID                                       : 4
Format                                   : ASS
Codec ID                                 : S_TEXT/ASS
Codec ID/Info                            : Advanced Sub Station Alpha
Duration                                 : 1 h 40 min
Bit rate                                 : 1 b/s
Count of elements                        : 13
Compression mode                         : Lossless
Stream size                              : 770 Bytes (0%)
Title                                    : [Francais (Forcé)]
Language                                 : French
Default                                  : Yes
Forced                                   : Yes

Text #2
ID                                       : 5
Format                                   : ASS
Codec ID                                 : S_TEXT/ASS
Codec ID/Info                            : Advanced Sub Station Alpha
Duration                                 : 1 h 56 min
Bit rate                                 : 127 b/s
Count of elements                        : 1617
Compression mode                         : Lossless
Stream size                              : 109 KiB (0%)
Title                                    : [Francais (Complet)]
Language                                 : French
Default                                  : No
Forced                                   : No

Menu
00:00:00.000                             : :00:00:00.000
00:07:18.271                             : :00:07:18.271
00:11:47.457                             : :00:11:47.457
00:16:21.731                             : :00:16:21.731
00:22:15.543                             : :00:22:15.543
00:26:00.017                             : :00:26:00.017
00:32:55.557                             : :00:32:55.557
00:33:57.535                             : :00:33:57.535
00:40:11.075                             : :00:40:11.075
00:47:33.809                             : :00:47:33.809
00:54:56.752                             : :00:54:56.752
00:57:23.190                             : :00:57:23.190
01:02:37.587                             : :01:02:37.587
01:10:41.696                             : :01:10:41.696
01:17:35.985                             : :01:17:35.985
01:19:15.417                             : :01:19:15.417
01:22:03.794                             : :01:22:03.794
01:25:22.993                             : :01:25:22.993
01:29:15.850                             : :01:29:15.850
01:34:18.403                             : :01:34:18.403
01:39:24.125                             : :01:39:24.125
01:47:10.674                             : :01:47:10.674
01:48:34.049                             : :01:48:34.049
01:54:39.581                             : :01:54:39.581
01:59:34.918                             : :01:59:34.918
Reply
#2
Not sure if that:

Quote:Starting Kodi from Debian (17.3 Debian package version: 2:17.3+dfsg1-2)

is supported in here at all.

But I´m pretty sure, there´s no support as long as you have those installed:

Quote:22:29:06.475 T:140118234714240 NOTICE: ADDONS: Using repository repository.whitecream
22:29:06.475 T:140118234714240 NOTICE: ADDONS: Using repository superrepo.kodi.krypton.repositories
22:29:06.475 T:140118234714240 NOTICE: ADDONS: Using repository superrepo.kodi.krypton.all

So please remove all banned addons and repos from your Kodi installation, try again and if it still crashes get us a new crashlog.
Reply

Logout Mark Read Team Forum Stats Members Help
Linux - Kodi 17.3 crash with libass0