Project

General

Profile

Bug #5917

Some dvr log files produce execution abort

Added by Pablo Zerón 19 days ago. Updated 19 days ago.

Status:
Invalid
Priority:
Normal
Assignee:
-
Category:
HTSP
Target version:
-
Start date:
2020-06-23
Due date:
% Done:

0%

Estimated time:
Found in version:
4.3-1886~g51a4c5bec
Affected Versions:

Description

Hi, I have a very strange issue with last github builds.

Some log files in dvr/log folder produces an execution abort when a htsp connection is established.

If I delete that file, tvheadend works without issues, if I put again the same file, tvheadend start to fail again.

console output:

2020-06-23 08:35:17.547 [   INFO] epgdb: parsing 6095226 bytes
2020-06-23 08:35:18.389 [   INFO] epgdb: loaded v3
2020-06-23 08:35:18.389 [   INFO] epgdb:   config     1
2020-06-23 08:35:18.389 [   INFO] epgdb:   broadcasts 6921
2020-06-23 08:35:25.198 [   INFO] dvr: Purging obsolete autorec entries for current schedule
2020-06-23 08:35:25.693 [ NOTICE] START: HTS Tvheadend version 4.3-1886~g51a4c5bec-dirty started, running as PID:22723 UID:108 GID:44, CWD:/usr/src/tvheadend-master/tvheadend/build.linux CNF:/home/hts/.hts/tvheadend
2020-06-23 08:35:25.695 [   INFO] iptv: m3u parse: 0 new mux(es) in network 'Tv Horadada' (total 39)
2020-06-23 08:35:25.696 [   INFO] htsp: Got connection from XXX.XXX.XX.XX
2020-06-23 08:35:25.696 [   INFO] htsp: XXX.XXX.XX.XX: Welcomed client software: Kodi Media Center (HTSPv34)
2020-06-23 08:35:25.696 [   INFO] htsp: XXX.XXX.XX.XX [ Kodi Media Center ]: Disconnected
2020-06-23 08:35:25.974 [   INFO] scanfile: DVB-S - loaded 1 regions with 115 networks
2020-06-23 08:35:25.974 [   INFO] scanfile: DVB-T - loaded 44 regions with 1120 networks
2020-06-23 08:35:25.974 [   INFO] scanfile: DVB-C - loaded 19 regions with 63 networks
2020-06-23 08:35:25.974 [   INFO] scanfile: ATSC-T - loaded 2 regions with 12 networks
2020-06-23 08:35:25.974 [   INFO] scanfile: ATSC-C - loaded 1 regions with 5 networks
2020-06-23 08:35:25.974 [   INFO] scanfile: ISDB-T - loaded 2 regions with 1297 networks
2020-06-23 08:35:29.349 [   INFO] htsp: Got connection from XXX.XXX.XX.XX
2020-06-23 08:35:29.358 [   INFO] htsp: XXX.XXX.XX.XX: Welcomed client software: Kodi Media Center (HTSPv34)
2020-06-23 08:35:29.381 [   INFO] htsp: XXX.XXX.XX.XX [ Kodi Media Center ]: Identified as user 'reten'
2020-06-23 08:35:29.381 [   INFO] htsp: XXX.XXX.XX.XX [ reten | Kodi Media Center ]: Privileges updated
Aborted

from log file:

2020-06-23 08:35:29.348 [  TRACE]:thread: created thread -1392607248 [tvh:tcp-start / 0x570be5(0xb2500720)]
2020-06-23 08:35:29.348 [  TRACE]:thread: created thread -1394708496 [tvh:htsp-write / 0x58ecc5(0xacfe7778)]
2020-06-23 08:35:29.349 [   INFO]:htsp: Got connection from XXX.XXX.XX.XX
2020-06-23 08:35:29.358 [  TRACE]:htsp: XXX.XXX.XX.XX - method hello
2020-06-23 08:35:29.358 [  TRACE]:htsp-req: XXX.XXX.XX.XX - request '{"clientname":"Kodi Media Center","htspversion":34,"seq":1,"method":"hello"}'
2020-06-23 08:35:29.358 [   INFO]:htsp: XXX.XXX.XX.XX: Welcomed client software: Kodi Media Center (HTSPv34)
2020-06-23 08:35:29.358 [  TRACE]:htsp-ans: XXX.XXX.XX.XX [ Kodi Media Center ] - answer '{"htspversion":35,"servername":"Tvheadend","serverversion":"4.3-1886~g51a4c5bec","challenge":"binary","language":"spa,eng","servercapability":["caclient","tvadapters","satip_client","satip_server","trace","libav"],"api_version":19,"seq":1}'
2020-06-23 08:35:29.381 [  TRACE]:access: reten:reten [  TWRELDF  ], conn=0:s0:r0:l0, matched, profile=ANY, dvr=ANY, exclude  tag=ANY,  tag=ANY
2020-06-23 08:35:29.381 [   INFO]:htsp: XXX.XXX.XX.XX [ Kodi Media Center ]: Identified as user 'reten'
2020-06-23 08:35:29.381 [   INFO]:htsp: XXX.XXX.XX.XX [ reten | Kodi Media Center ]: Privileges updated
2020-06-23 08:35:29.381 [  TRACE]:htsp: XXX.XXX.XX.XX [ reten | Kodi Media Center ] - method authenticate
..............
2020-06-23 08:35:29.405 [  TRACE]:htsp: XXX.XXX.XX.XX [ reten | Kodi Media Center ] - method enableAsyncMetadata
2020-06-23 08:35:29.405 [  TRACE]:htsp-req: XXX.XXX.XX.XX [ reten | Kodi Media Center ] - request '{"epg":1,"epgMaxTime":1593153329,"seq":3,"method":"enableAsyncMetadata"}'
2020-06-23 08:35:29.405 [  TRACE]:htsp-ans: XXX.XXX.XX.XX [ reten | Kodi Media Center ] - answer '{"seq":3}'
2020-06-23 08:35:29.406 [  TRACE]:htsp-ans: XXX.XXX.XX.XX [ reten | Kodi Media Center ] - answer '{"tagId":1,"tagIndex":0,"tagName":"SD","tagTitledIcon":0,"method":"tagAdd"}'
2020-06-23 08:35:29.406 [  TRACE]:htsp-ans: XXX.XXX.XX.XX [ reten | Kodi Media Center ] - answer '{"tagId":2,"tagIndex":0,"tagName":"Favoritos","tagTitledIcon":0,"method":"tagAdd"}'
2020-06-23 08:35:29.406 [  TRACE]:htsp-ans: XXX.XXX.XX.XX [ reten | Kodi Media Center ] - answer '{"tagId":3,"tagIndex":0,"tagName":"Dibujos","tagTitledIcon":0,"method":"tagAdd"}'
2020-06-23 08:35:29.406 [  TRACE]:htsp-ans: XXX.XXX.XX.XX [ reten | Kodi Media Center ] - answer '{"tagId":4,"tagIndex":0,"tagName":"UHD","tagTitledIcon":0,"method":"tagAdd"}'
2020-06-23 08:35:29.406 [  TRACE]:htsp-ans: XXX.XXX.XX.XX [ reten | Kodi Media Center ] - answer '{"tagId":5,"tagIndex":0,"tagName":"*** Tv Horadada","tagTitledIcon":0,"method":"tagAdd"}'
2020-06-23 08:35:29.406 [  TRACE]:htsp-ans: XXX.XXX.XX.XX [ reten | Kodi Media Center ] - answer '{"tagId":6,"tagIndex":0,"tagName":"Canales HD","tagTitledIcon":0,"method":"tagAdd"}'
2020-06-23 08:35:29.406 [  TRACE]:htsp-ans: XXX.XXX.XX.XX [ reten | Kodi Media Center ] - answer '{"tagId":7,"tagIndex":0,"tagName":"Musica","tagTitledIcon":0,"method":"tagAdd"}'
2020-06-23 08:35:29.406 [  TRACE]:htsp-ans: XXX.XXX.XX.XX [ reten | Kodi Media Center ] - answer '{"tagId":8,"tagIndex":10001,"tagName":"Camaras","tagTitledIcon":0,"method":"tagAdd"}'
2020-06-23 08:35:29.406 [  TRACE]:htsp-ans: XXX.XXX.XX.XX [ reten | Kodi Media Center ] - answer '{"channelId":11448285,"channelNumber":201,"channelName":"M. DRAMA","channelIcon":"imagecache/10339","eventId":1760,"nextEventId":1762,"services":[{"name":"Astra/11317.5V/M. DRAMA","type":"SDTV","content":1,"caid":65535,"caname":"Encrypted service"}],"tags":[],"method":"channelAdd"}'
2020-06-23 08:35:29.406 [  TRACE]:htsp-ans: XXX.XXX.XX.XX [ reten | Kodi Media Center ] - answer '{"channelId":84012894,"channelNumber":150,"channelName":"AMC HD","channelIcon":"imagecache/214","eventId":386,"nextEventId":388,"services":[{"name":"Astra/10906V/AMC HD","type":"HDTV","content":1,"caid":65535,"caname":"Encrypted service"}],"tags":[6],"method":"channelAdd"}'
2020-06-23 08:35:29.407 [  TRACE]:htsp-ans: XXX.XXX.XX.XX [ reten | Kodi Media Center ] - answer '{"channelId":192586366,"channelNumber":17,"channelName":"Calle 13","channelIcon":"imagecache/230","eventId":1224,"nextEventId":1226,"services":[{"name":"Tv Horadada/tvHOME.m3u - Calle 13/CALLE 13","type":"SDTV","content":1}],"tags":[2],"method":"channelAdd"}'
2020-06-23 08:35:29.407 [  TRACE]:htsp-ans: XXX.XXX.XX.XX [ reten | Kodi Media Center ] - answer '{"channelId":289817379,"channelNumber":166,"channelName":"FOX LIFE HD","channelIcon":"imagecache/12204","eventId":3628,"nextEventId":3630,"services":[{"name":"Astra/11258.5V/FOX LIFE HD","type":"HDTV","content":1,"caid":65535,"caname":"Encrypted service"}],"tags":[6],"method":"channelAdd"}'
2020-06-23 08:35:29.407 [  TRACE]:htsp-ans: XXX.XXX.XX.XX [ reten | Kodi Media Center ] - answer '{"channelId":290469470,"channelNumber":151,"channelName":"M. ACCI©N HD","channelIcon":"imagecache/254","eventId":1671,"nextEventId":1673,"services":[{"name":"Astra/10817.5V/M. ACCI©N HD","type":"HDTV","content":1,"caid":65535,"caname":"Encrypted service"}],"tags":[6],"method":"channelAdd"}'
............
2020-06-23 08:35:30.302 [  TRACE]:htsp-ans: XXX.XXX.XX.XX [ reten | Kodi Media Center ] - answer '{"method":"eventAdd","eventId":1087,"channelId":2133147953,"start":1593031500,"stop":1593038400,"title":"Adivina qué hago esta noche","subtitle":"Adivina qué hago esta noche","description":"[COLOR orange]Argumento: [/COLOR][CR]Santi Millán sigue al frente de la segunda temporada del programa, que incorpora la competición entre dos parejas de concursantes, formadas por una persona anónima y un ayudante VIP cada una de ellas.[CR][CR]","category":["education / science / factual topics"],"contentType":144,"copyrightYear":2020,"episodeOnscreen":"Adivina qué hago esta noche","nextEventId":1088}'
2020-06-23 08:35:30.302 [  TRACE]:htsp-ans: XXX.XXX.XX.XX [ reten | Kodi Media Center ] - answer '{"method":"eventAdd","eventId":1088,"channelId":2133147953,"start":1593038400,"stop":1593042300,"title":"Planeta Calleja","subtitle":"Planeta Calleja","description":"[COLOR orange]Argumento: [/COLOR][CR]El actor Pablo Chiapella acompaña a Jesús Calleja a la ciudad perdida de Calakmul, en México, para subir a lo alto de una de las pirámides mayas más altas del mundo y bucear con un tiburón ballena, entre otras actividades.[CR][CR]","category":["education / science / factual topics"],"contentType":144,"copyrightYear":2020,"episodeOnscreen":"Planeta Calleja","nextEventId":1089}'
2020-06-23 08:35:30.302 [  TRACE]:htsp-ans: XXX.XXX.XX.XX [ reten | Kodi Media Center ] - answer '{"method":"eventAdd","eventId":1089,"channelId":2133147953,"start":1593042300,"stop":1593045600,"title":"Planeta Calleja","subtitle":"Planeta Calleja","description":"[COLOR orange]Argumento: [/COLOR][CR]Jesús Calleja lleva a Santi Millán a los Alpes, a Monte Cervino a cumplir uno de sus sueños de la infancia.[CR][CR]","category":["education / science / factual topics"],"contentType":144,"copyrightYear":2020,"episodeOnscreen":"Planeta Calleja","nextEventId":1090}'
2020-06-23 08:35:30.302 [  TRACE]:htsp-ans: XXX.XXX.XX.XX [ reten | Kodi Media Center ] - answer '{"method":"eventAdd","eventId":1090,"channelId":2133147953,"start":1593045600,"stop":1593050400,"title":"Puro Cuatro","subtitle":"Puro Cuatro","description":"[COLOR orange]Descripción : [/COLOR][CR]Programa que da a conocer la música que suena en Cuatro.","category":["music / ballet / dance"],"contentType":96,"copyrightYear":2013,"episodeOnscreen":"Puro Cuatro (2013)","image":"https://programacion-tv.elpais.com/imagenes/programas/2029421.jpg","nextEventId":1091}'
2020-06-23 08:35:30.302 [  TRACE]:htsp-ans: XXX.XXX.XX.XX [ reten | Kodi Media Center ] - answer '{"method":"eventAdd","eventId":1091,"channelId":2133147953,"start":1593050400,"stop":1593054900,"title":"La tienda en casa","subtitle":"La tienda en casa","description":"[COLOR orange]Descripción : [/COLOR][CR]Espacio de televenta.","category":["advertisement / shopping"],"contentType":166,"ageRating":18,"copyrightYear":2020,"episodeOnscreen":"La tienda en casa","image":"https://programacion-tv.elpais.com/imagenes/programas/2029311.jpg","nextEventId":1092}'
2020-06-23 08:35:30.302 [  TRACE]:htsp-ans: XXX.XXX.XX.XX [ reten | Kodi Media Center ] - answer '{"method":"eventAdd","eventId":1092,"channelId":2133147953,"start":1593054900,"stop":1593056700,"title":"Puro Cuatro","subtitle":"Puro Cuatro","description":"[COLOR orange]Descripción : [/COLOR][CR]Programa que da a conocer la música que suena en Cuatro.","category":["music / ballet / dance"],"contentType":96,"copyrightYear":2013,"episodeOnscreen":"Puro Cuatro (2013)","image":"https://programacion-tv.elpais.com/imagenes/programas/2029421.jpg"}'
2020-06-23 08:35:30.302 [  TRACE]:htsp-ans: XXX.XXX.XX.XX [ reten | Kodi Media Center ] - answer '{"method":"initialSyncCompleted"}'
2020-06-23 08:35:30.390 [  TRACE]:dvr: checking free and used disk space for config "Default profile" : OK
2020-06-23 08:35:30.390 [  TRACE]:dvr: checking free and used disk space for config "Sin comskip" : OK

Log file:

{
    "enabled": true,
    "create": 1588924804,
    "watched": 0,
    "start": 1589140800,
    "start_extra": 0,
    "stop": 1589144400,
    "stop_extra": 0,
    "channel": "9837ef60f481bba9a5dadc7f665c1f03",
    "channelname": "Discovery Channel SD",
    "image": "https://programacion-tv.elpais.com/imagenes/programas/2664444.jpg",
    "title": {
        "spa": "La fiebre del oro: aguas bravas" 
    },
    "subtitle": {
        "spa": "Abrupto desprendimiento" 
    },
    "description": {
        "spa": "[COLOR green]Temporada 3 - Episodio 10[/COLOR][CR][CR][COLOR orange]Descripción : [/COLOR][CR]Dakota Fred y su hijo Dustin arriesgan sus vidas para buscar una fortuna en pepitas de oro, que les lleva más allá de las aguas de uno de los más salvajes arroyos de Alaska." 
    },
    "pri": 6,
    "retention": 0,
    "removal": 0,
    "playposition": 2280,
    "playcount": 0,
    "config_name": "ba8e30216ebfd4cef99a9efece3959db",
    "owner": "htpc",
    "creator": "htpc",
    "errorcode": 0,
    "errors": 0,
    "data_errors": 30,
    "dvb_eid": 0,
    "noresched": true,
    "norerecord": false,
    "fileremoved": 0,
    "autorec": "5d665e535cec7b63cc45ba47d6cd6cb7",
    "timerec": "",
    "parent": "",
    "child": "",
    "content_type": 2,
    "copyright_year": 2020,
    "broadcast": 0,
    "comment": "Auto recording: La fiebre del oro: aguas bravas - Created from EPG query",
    "episode": {
        "enum": 10,
        "snum": 3
    },
    "files": [
        {
            "filename": "/mnt/sda/Grabaciones/La fiebre del oro_ aguas bravas/La fiebre del oro_ aguas bravas (Abrupto desprendimiento)_Discovery Channel SD_2020-05-10_22-00_S03E10.ts",
            "info": [
                {
                    "type": "MPEG2VIDEO",
                    "width": 0,
                    "height": 0,
                    "duration": 0,
                    "aspect_num": 0,
                    "aspect_den": 0
                },
                {
                    "type": "MPEG2AUDIO",
                    "language": "spa",
                    "audio_type": 0,
                    "audio_version": 2
                },
                {
                    "type": "MPEG2AUDIO",
                    "language": "eng",
                    "audio_type": 0,
                    "audio_version": 2
                }
            ],
            "start": 1589140200,
            "stop": 1589145600,
            "size": 3524506876
        }
    ]
}


Files

gdb.txt (6.53 KB) gdb.txt Pablo Zerón, 2020-06-23 13:32

History

#1

Updated by Flole Systems 19 days ago

  • Status changed from New to Invalid

Duplicate and no proper debug log provided.

#2

Updated by Pablo Zerón 19 days ago

Here you have a gdb dump two times with the faulty log file.

Thanks.

Also available in: Atom PDF