Project

General

Profile

Bug #4826

Feature #3991: Change MPEG-TS input data handling (timeshift,use-data-from-timeshift,stream-migration-to-another-client)

[Timeshift] Tvh crashes

Added by Antonio Tex almost 4 years ago. Updated almost 4 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
Category:
Timeshift
Target version:
-
Start date:
2018-01-01
Due date:
% Done:

0%

Estimated time:
Found in version:
4.3-790~gabb2e5f31
Affected Versions:

Description

Good evening @Jaroslav, before posting i want to wish you happy new year , and thanks a lot for your work.

I want to report that very very rarely tvh crash and according to its log it's due to timeshift:
This is gdb trace:

(gdb) bt full
#0  0x00007ff23369e8a0 in raise () from /usr/lib/libc.so.6
No symbol table info available.
#1  0x00007ff23369fe88 in abort () from /usr/lib/libc.so.6
No symbol table info available.
#2  0x0000560355a1f442 in streaming_msg_clone (src=0x5603587b3a60) at src/streaming.c:314
        dst = 0x56035d3ad2f0
        ss = <optimized out>
#3  0x0000560355b03cc2 in timeshift_filemgr_get ([email protected]=0x7ff1e4034390, start_time=<optimized out>) at src/timeshift/timeshift_filemgr.c:382
        ti2 = 0x560359cea550
        fd = <optimized out>
        tsf_tl = <optimized out>
        tsf_hd = <optimized out>
        tsf_tmp = 0x560358301180
        ti = 0x560357efc440
        sm = <optimized out>
        path = "/home/hts/.hts/tvheadend/timeshift/buffer/6/tvh-567237188", '\000' <repeats 31 times>, "\377\377\377\377\377\377\377\377\000\000\000\000\001\000\000\000-Xn3\362\177\000\000\nÓłU\003V\000\000\004", '\000' <repeats 19 times>, "\003V\000\000\000\000\000\000\361\177\000\000\000:\276\354\361\177\000\000\000\000\000\000\000\000\000\000\374\377\377\377\003V\000\000\000\000\000\000\003V\000\000-Xn3\362\177\000\000\200P\000\360\361\177\000\000\004"...
        time = <optimized out>
#4  0x0000560355b04a55 in _process_msg (run=<synthetic pointer>, sm=0x7ff1f800a360, ts=0x7ff1e4034390) at src/timeshift/timeshift_writer.c:368
        err = <optimized out>
        tsf = <optimized out>
        pkt = <optimized out>
        teletext = <optimized out>
#5  timeshift_writer (aux=0x7ff1e4034390) at src/timeshift/timeshift_writer.c:418
        run = 1
        ts = 0x7ff1e4034390
        sq = 0x7ff1e4034460
        sm = 0x7ff1f800a360
#6  0x0000560355a00811 in thread_wrapper (p=0x7ff1e402dec0) at src/wrappers.c:161
        set = {__val = {16388, 0 <repeats 15 times>}}
        r = <optimized out>
#7  0x00007ff233f7c08a in start_thread () from /usr/lib/libpthread.so.0
No symbol table info available.
#8  0x00007ff2337601bf in clone () from /usr/lib/libc.so.6
No symbol table info available.

And this is my timeshift config:
https://photos.app.goo.gl/ZEc3e7FNSNthhr512
Thanks in Advance
Anthony

History

#2

Updated by Antonio Tex almost 4 years ago

Thanks you for your answer :) if it occurs more often, i'll test with valgrind but fortunately it's not annoying.
Thanks again

#3

Updated by Jaroslav Kysela almost 4 years ago

  • Parent task set to #3991
#4

Updated by Jaroslav Kysela almost 4 years ago

  • Status changed from New to Rejected

I'm closing this, because we need the complete timeshift code rewrite (bug #3991) and it will be in 4.4 final.

Also available in: Atom PDF