Bug #5073

tvh for openwrt x86_64 Problem feedback。

Added by shengkun zang 10 days ago. Updated 8 days ago.

Status:InvalidStart date:2018-04-13
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-
Found in version:4.3 ae2c76c7886dbec3c2d420b734659ce97a62fc72 begin Affected Versions:

Description

I want to submit a question that I don't know if it's BUG.

My environment is openwrt x86 64

TVH started in February 14th, and the version of commit 2bac408f30e0dc9d8d35480ccce19cd3ebd2336b (it's OK) was abnormal in openwrt environment.

After repeated testing, this is the last version that can be used normally.

2.14, ae2c76c7886dbec3c2d420b734659ce97a62fc72 compilation failed.

Error:

Src/epg.c: In function'epg_broadcast_serialize':

Src/epg.c:1481:10: error:'a'may be used uninitialized in this function [-Werror=maybe-uninitialized].

If (a) htsmsg_add_msg (m, "genre", a);

.......
Most versions in the future cannot work properly, one is compilation errors.

The two is that we cannot execute executable files, such as no hints, but the file process is not running. Two is the next kind of hint.

Apr 8 20184fe0af0e8d9e47b1bbae5599bea09a772325a9f9

This is a version a few days ago. After being compiled in normal environment, the following error occurred in the execution file.

I once thought it was a problem with iconv. After changing the 1.15 version of libiconv for openwrt, the compiler can be passed, but there is no error prompt after execution. Dmesg also doesn't have any information available. It's just that the process has not been carried out.

TIM图片20180413150147.png - iconv (6.71 KB) shengkun zang, 2018-04-13 09:13

History

#1 Updated by Jaroslav Kysela 10 days ago

Give us a clear explanation of your problems for the latest 4.3 code (v4.3-1234-g78081ea95). Gather compilation errors or logs if tvh can be compiled.

#2 Updated by shengkun zang 10 days ago

Jaroslav Kysela wrote:

Give us a clear explanation of your problems for the latest 4.3 code (v4.3-1234-g78081ea95). Gather compilation errors or logs if tvh can be compiled.

[email protected]:/usr/bin# ./tvheadend
2018-04-14 15:46:47.485 [ INFO] main: Log started
2018-04-14 15:46:47.486 [ INFO] http: Starting HTTP server 0.0.0.0:9981
2018-04-14 15:46:47.486 [ INFO] htsp: Starting HTSP server 0.0.0.0:9982
2018-04-14 15:46:47.586 [ INFO] config: loaded
2018-04-14 15:46:47.586 [ INFO] config: scanfile (re)initialization with path <none>
2018-04-14 15:46:47.586 [ ERROR] main: iconv() routine is not working properly ((null)), aborting!
Segmentation fault

#3 Updated by shengkun zang 10 days ago

Jaroslav Kysela wrote:

Give us a clear explanation of your problems for the latest 4.3 code (v4.3-1234-g78081ea95). Gather compilation errors or logs if tvh can be compiled.

commit 2bac408f30e0dc9d8d35480ccce19cd3ebd2336b It's the last normal version.

#4 Updated by Jaroslav Kysela 8 days ago

  • Status changed from New to Invalid

The problem is in the used iconv library which does not work properly:

2018-04-14 15:46:47.586 [ ERROR] main: iconv() routine is not working properly ((null)), aborting!

Also available in: Atom PDF