Project

General

Profile

Bug #1987

Crash with IPTV entries (all) after PR 329

Added by Andy Brown over 10 years ago. Updated over 10 years ago.

Status:
Fixed
Priority:
High
Assignee:
-
Category:
IPTV
Target version:
-
Start date:
2014-03-06
Due date:
% Done:

100%

Estimated time:
Found in version:
b8f6cf4a053138d2c4d0d502268315588396146d
Affected Versions:

Description

Reproducable error with any IPTV configuration (irrelevant what you add to IPTV, it crashes tvh)

Issue appears to be coming from src/input/mpegts/mpegts_mux.c line 619:
mn->mn_display_name(mn, buf1, sizeof(buf1));

But error is an 'Address not mapped'

Suspect it is relating to the iptv_network_create_service call to iptv_service_create0

I cannot track it further unfortunately as do not fully follow the changes introduced in PR329.

History

#1

Updated by Andy Brown over 10 years ago

Sorry, forgot the bt:

2014-03-06 14:22:33.493 [ DEBUG] thread: created thread -1290810560 [mpegts_input_tabl / 0x809df50(0x811ac58)]
[New Thread 0xb28fbb40 (LWP 4480)]

Program received signal SIGSEGV, Segmentation fault.
0x00000000 in ?? ()
(gdb) bt
#0 0x00000000 in ?? ()
#1 0x0809f589 in mpegts_mux_initial_scan_link (mm=0x8124768) at src/input/mpegts/mpegts_mux.c:619
#2 0x080a14b8 in mpegts_mux_create0 (mm=0x8124768, class=0x80e7a20, uuid=0x8128968 "c3c08ca98632b6157e83e8dabdbb265f", mn=0x8116648, onid=65535,
tsid=65535, conf=0x8128928) at src/input/mpegts/mpegts_mux.c:782
#3 0x080b98d1 in iptv_mux_create (uuid=0x8128968 "c3c08ca98632b6157e83e8dabdbb265f", conf=0x8128928) at src/input/mpegts/iptv/iptv_mux.c:97
#4 0x080b99f7 in iptv_mux_load_all () at src/input/mpegts/iptv/iptv_mux.c:139
#5 0x0804d5d1 in main (argc=0, argv=0x0) at src/main.c:767

#3

Updated by Andy Brown over 10 years ago

Apologies Jaroslav, I should have updated this, yes Adam and I discussed this on IRC and I did the same fix earlier, submitted a PR to the main github account but due to the issues yesterday the PR is a mess so I've cancelled it.

But yes, that patch fixes the issue, thank you :-)

#4

Updated by Andy Brown over 10 years ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100

Fixed in commit 7586add2c10e80672b1182bce20b82012eee4dd5
Closing.

Also available in: Atom PDF