Bug #4710
closedSegmentation fault in src/input/mpegts/satip/satip_satconf.c:454
0%
Description
# cat gdb.txt
#0 satip_satconf_create0 (lfe=lfe@entry=0xb3e03028, conf=0xb3e01c38, position=position@entry=0) at src/input/mpegts/satip/satip_satconf.c:454
tbl = {0x670148 " (AA)", 0x670150 " (AB)", 0x670158 " (BA)", 0x670160 " (BB)"}
uuid = <optimized out>
sfc = 0xb3e033f8
buf = "\002\000\000\000\002\000\000\000G3\340\263\000\000\000\000\020\000\340\263%\000\000\000\070'\340\263\001\000\000"
s = <optimized out>
#1 0x00578604 in satip_satconf_create (lfe=lfe@entry=0xb3e03028, conf=conf@entry=0xb3e02738, def_positions=4) at src/input/mpegts/satip/satip_satconf.c:479
l = <optimized out>
e = <optimized out>
f = 0xb3e01c28
pos = 0
#2 0x00577564 in satip_frontend_create (conf=<optimized out>, conf@entry=0xb3e05868, sd=sd@entry=0xb3e01788, type=<optimized out>, type@entry=DVB_TYPE_S, v2=v2@entry=1, num=num@entry=1) at src/input/mpegts/satip/satip_frontend.c:2317
idc = 0x1
uuid = <optimized out>
override = <optimized out>
id = "DVB-S #1\000r #1", <incomplete sequence \340\263>
lname = "SAT>IP DVB-S Tuner #1 (192.168.2.65)\000\000\000\000w\000\000\000|\000\000\000(\322¶\340\377\300\266\230\326k\000\000\000\000\000\020\000\340\263%\000\000\000\020\030\340\263\000\000\000\000\000\000\000\000\354\034\340\263\t\000\000\000\000\320¶\t\000\000\000\001", '\000' <repeats 15 times>, "X\000\000\000\000\000\000\000\071\000\000\000[\000\000\000n\000\000\000w\000\000\000|\000\000\000(\322¶\340\377\300\266ܱg\000\000\000\000\000\020\000\340\263C\000\000\000(\035\340\263\022\000\000\000<\257Z\000\003\000\000\000\004\000\000\000\000\000\000\000\000\320¶\000\000\000\000\001\000\000\000\n"...
nname = "192.168.2.65\000\000\000\000\003\000\000\000\004\000\000\000\264\361\265\266\000\000\000\000\001\000\000\000\000\000\000\000\260\031\340\263\000\000\000\000h\256K\000\006\000\000\000\000\320¶"
lfe = 0xb3e03028
master = 0
i = <optimized out>
#3 0x004737f0 in satip_device_create (info=info@entry=0xb4efe518) at src/input/mpegts/satip/satip.c:710
sd = 0xb3e01788
uuid = {{bin = "ebbce9f1aba9de0f", hex = "ebbce9f1aba9de0fa4ae534ebfcff4c3"}}
conf = <optimized out>
feconf = 0xb3e05868
argv = {0xb4efe368 "DVBS2-4", 0xb6c2d000 " O\024", 0xf1e9bceb <error: Cannot access memory at address 0xf1e9bceb>, 0xfdea9ab <error: Cannot access memory at address 0xfdea9ab>, 0x4e53aea4 <error: Cannot access memory at address 0x4e53aea4>, 0xc3f4cfbf <error: Cannot access memory at address 0xc3f4cfbf>, 0x56a16b9a <error: Cannot access memory at address 0x56a16b9a>, 0xebbce9f1 <error: Cannot access memory at address 0xebbce9f1>, 0xaba9de0f <error: Cannot access memory at address 0xaba9de0f>, 0xa4ae534e <error: Cannot access memory at address 0xa4ae534e>}
tunercfg = <optimized out>
i = <optimized out>
j = 0
n = <optimized out>
m = 4
fenum = 1
v2 = 1
save = <optimized out>
type = DVB_TYPE_S
buf2 = "\353\274\351\361\253\251\336\017\244\256SN\277\317\364Úk\241V", '\000' <repeats 39 times>
#4 0x00572414 in satip_discovery_http_closed (hc=0xb3301b40, errn=<optimized out>) at src/input/mpegts/satip/satip.c:1014
d = <optimized out>
s = <optimized out>
xml = 0x0
tags = <optimized out>
root = <optimized out>
device = <optimized out>
friendlyname = 0xb3e01c06 "index.htmldisableworkarounds"
manufacturer = 0x0
manufacturerURL = 0x0
modeldesc = 0xb3e01896 ""
modelname = 0xb3e01c54 "="
modelnum = 0x67b1dc ""
serialnum = 0xb3e018f3 "\263ip/adapters"
presentation = 0xb3e01960 "(\032\340\263@-ೈ\031\340\263\001\004"
tunercfg = 0xb3e01994 ""
udn = <optimized out>
uuid = 0xb3e019c9 "reate"
cs = <optimized out>
arg = <optimized out>
info = {myaddr = 0x0, addr = 0x0, uuid = 0x0, bootid = 0x0, configid = 0x0, deviceid = 0x0, location = 0x0, server = 0x0, friendlyname = 0x0, manufacturer = 0x0, manufacturerURL = 0x0, modeldesc = 0x0, modelname = 0x0, modelnum = 0x0, serialnum = 0x0, presentation = 0x0, tunercfg = 0x0, rtsp_port = 554, srcs = 4}
errbuf = '\000' <repeats 99 times>
argv = {0xb3e019c4 "uuidcreate", 0xb3e019c9 "reate", 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}
i = <optimized out>
n = <optimized out>
#5 0x004d09f0 in http_client_shutdown (hc=0xb3301b40, force=0, reconnect=<optimized out>) at src/httpc.c:178
force = 0
reconnect = <optimized out>
hc = 0xb3301b40
ssl = <optimized out>
#6 0x004d2b78 in http_client_finish (hc=hc@entry=0xb3301b40) at src/httpc.c:743
wcmd = 0xb3300608
res = <optimized out>
#7 0x004d3060 in http_client_run0 (hc=hc@entry=0xb3301b40) at src/httpc.c:1133
buf = 0xb4efe628 "e/png</mimetype><width>120</width><height>120</height><depth>32</depth><url>large.png</url></icon></iconList><presentationURL>index.html</presentationURL><satip:X_SATIPCAP xmlns:satip=\"urn:ses-com:sat"...
saveptr = 0x6fcd20 <http_running> "\001"
argv = {0x6fccfc <http_lock> "", 0x718ca0 "\021", 0xb4efea90 ""}
d = <optimized out>
p = <optimized out>
ver = <optimized out>
res = <optimized out>
delimsize = <optimized out>
r = <optimized out>
len = <optimized out>
#8 0x004d3930 in http_client_run (hc=hc@entry=0xb3301b40) at src/httpc.c:1185
r = <optimized out>
#9 0x004d3a50 in http_client_thread (p=<optimized out>) at src/httpc.c:1447
n = <optimized out>
ev = {fd = 0, events = 1, data = {ptr = 0xb3301b40, u64 = 3006274368, u32 = 3006274368, fd = -1288692928}}
hc = <optimized out>
c = 0 '\000'
#10 0x004857e0 in thread_wrapper (p=0x718bd8) at src/wrappers.c:161
ts = 0x718bd8
set = {__val = {16388, 0 <repeats 31 times>}}
r = <optimized out>
And here are my adapters:
#cat .hts/tvheadend/input/satip/adapters/ebbce9f1aba9de0fa4ae534ebfcff4c3
{
"tunercfgu": "DVBS2-4",
"tcp_mode": false,
"fast_switch": true,
"fullmux_ok": true,
"sigscale": 240,
"pids_max": 32,
"pids_len": 127,
"pids_deladd": true,
"pids0": false,
"piloton": false,
"pids21": false,
"skip_ts": 0,
"disableworkarounds": false,
"device_uuid": "20ec0f2c-1dd2-11b2-bf33-90c30fad71a6",
"frontends": {
"DVB-S #1": {
"delsys": 0,
"udp_rtp_port": 0,
"tdelay": 50,
"play2": false,
"grace_period": 0,
"teardown_delay": false,
"pass_weight": true,
"enabled": true,
"priority": 0,
"spriority": 0,
"displayname": "SAT>IP DVB-S Tuner #1 (192.168.2.65)",
"ota_epg": true,
"initscan": false,
"idlescan": true,
"free_weight": 0,
"remove_scrambled": false,
"linked": "",
"type": "DVB-S",
"uuid": "179a17bb0298805890cd6e2b3c30b00a",
"satconf": [
{
"enabled": true,
"displayname": "Hotbird",
"priority": 1,
"timeout": 10,
"position": 1,
"network_limit": 1,
"network_group": 0,
"networks": [
"7694df5be2021818800c0b08d2342a38"
]
},
{
"enabled": true,
"displayname": "Astra",
"priority": 1,
"timeout": 10,
"position": 2,
"network_limit": 2,
"network_group": 0,
"networks": [
"08a571b3ce3ed03fd8fce25082e2c8cd"
]
}
]
},
"DVB-S #2": {
"delsys": 0,
"udp_rtp_port": 0,
"tdelay": 50,
"play2": false,
"grace_period": 0,
"teardown_delay": false,
"pass_weight": true,
"enabled": true,
"priority": 0,
"spriority": 0,
"displayname": "SAT>IP DVB-S Tuner #2 (192.168.2.65)",
"ota_epg": true,
"initscan": false,
"idlescan": true,
"free_weight": 0,
"remove_scrambled": false,
"linked": "",
"type": "DVB-S",
"uuid": "1fde14e31875a7f7d971f2b2dde94e02",
"satconf": [
{
"enabled": true,
"displayname": "Hotbird",
"priority": 1,
"timeout": 10,
"position": 1,
"network_limit": 1,
"network_group": 0,
"networks": [
"7694df5be2021818800c0b08d2342a38"
]
},
{
"enabled": true,
"displayname": "Astra",
"priority": 1,
"timeout": 10,
"position": 2,
"network_limit": 2,
"network_group": 0,
"networks": [
"08a571b3ce3ed03fd8fce25082e2c8cd"
]
}
]
},
"DVB-S #3": {
"delsys": 0,
"udp_rtp_port": 0,
"tdelay": 50,
"play2": false,
"grace_period": 0,
"teardown_delay": false,
"pass_weight": true,
"enabled": true,
"priority": 0,
"spriority": 0,
"displayname": "SAT>IP DVB-S Tuner #3 (192.168.2.65)",
"ota_epg": true,
"initscan": false,
"idlescan": true,
"free_weight": 0,
"remove_scrambled": false,
"linked": "",
"type": "DVB-S",
"uuid": "4d068f638a8dcecc422ed66f413f07b3",
"satconf": [
{
"enabled": true,
"displayname": "Hotbird",
"priority": 1,
"timeout": 10,
"position": 1,
"network_limit": 1,
"network_group": 0,
"networks": [
"7694df5be2021818800c0b08d2342a38"
]
},
{
"enabled": true,
"displayname": "Astra",
"priority": 1,
"timeout": 10,
"position": 2,
"network_limit": 2,
"network_group": 0,
"networks": [
"08a571b3ce3ed03fd8fce25082e2c8cd"
]
}
]
},
"DVB-S #4": {
"delsys": 0,
"udp_rtp_port": 0,
"tdelay": 50,
"play2": false,
"grace_period": 0,
"teardown_delay": false,
"pass_weight": true,
"enabled": true,
"priority": 0,
"spriority": 0,
"displayname": "SAT>IP DVB-S Tuner #4 (192.168.2.65)",
"ota_epg": true,
"initscan": false,
"idlescan": true,
"free_weight": 0,
"remove_scrambled": false,
"linked": "",
"type": "DVB-S",
"uuid": "0b4790c1f28808893b8a945ed7a8730e",
"satconf": [
{
"enabled": true,
"displayname": "Astra",
"priority": 1,
"timeout": 10,
"position": 1,
"network_limit": 2,
"network_group": 0,
"networks": [
"08a571b3ce3ed03fd8fce25082e2c8cd"
]
},
{
"enabled": true,
"displayname": "Hotbird",
"priority": 1,
"timeout": 10,
"position": 2,
"network_limit": 1,
"network_group": 0,
"networks": [
"7694df5be2021818800c0b08d2342a38"
]
}
]
}
}
}
Before update, commit 90b20661199d3c4ff11d021ed676c54ed481037b worked with same settings.
Updated by Set ti about 8 years ago
The commit https://github.com/tvheadend/tvheadend/commit/142d3ed91974388a3a773151a2575f3af1d93b74 broke my setup. Parent commit https://github.com/tvheadend/tvheadend/commit/a234e2ff6d140e6ffceb7057bf18a8fdd927a5ac works fine.
Updated by Jaroslav Kysela about 8 years ago
Could you do 'make clean' before you compile new code? It does appear like a wrong compilation. The code change has no relationship to the stored configuration.
Updated by Set ti about 8 years ago
Jaroslav Kysela wrote:
Could you do 'make clean' before you compile new code? It does appear like a wrong compilation. The code change has no relationship to the stored configuration.
I'm so sorry. Forgot to add "make clean" to my custom buildscript. Everything works now as expected! Sorry again!