In gdb I typed c
and it looks like it started recording correctly into '2024-03-15_Wojna polsko-ruska.ts'
Thread 58 "tvh:dvr" hit Breakpoint 1, pvr_generate_filename (de=de@entry=0x7fd55405af50, ss=ss@entry=0x7fd530000b70) at src/dvr/dvr_rec.c:1188
1188 src/dvr/dvr_rec.c: Nie ma takiego pliku ani katalogu.
Then in webgui I stopped recording, typed c
into gdb and started recording again the same program.
Thread 74 "tvh:dvr" hit Breakpoint 1, pvr_generate_filename (de=de@entry=0x7fd550004c90, ss=ss@entry=0x7fd55c0016a0) at src/dvr/dvr_rec.c:1188
1188 in src/dvr/dvr_rec.c
(gdb)
(gdb) p *ptmp
$3 = 0 '\000'
(gdb) bt full
#0 pvr_generate_filename (de=de@entry=0x7fd550004c90, ss=ss@entry=0x7fd55c0016a0) at src/dvr/dvr_rec.c:1188
filename = "/home/hts/multimedia/tv/2024-03-15_Wojna polsko-ruska$n.ts", '\000' <repeats 4037 times>
path = "/home/hts/multimedia/tv/2\00024-03-15_Wojna polsko-ruska$n.ts", '\000' <repeats 4038 times>
ptmp = "2024-03-15_Wojna polsko-ruska.ts", '\000' <repeats 4063 times>
number = "-1", '\000' <repeats 13 times>
tmp = "\000s\0004-03-15\000o-ruska\000\000\000\000\000\000\000\000\000\000\002\000\000\000\000\000\000\000zU\000\000\n\000\000\000\a\000\000\000\000\000\000\000 \000\000\000\000\000\000\000\002\000\000\000\266\032\310\360zU\000\000\000\000\000\000\001\000\000\000\000\000\000\000\002\000\000\000\001\000\000\000\000\000\000\000\377\377\377\377\377\377\377\377\000\000\000\000\000\000\000\000\020\327\273\224\325\177\000\000\000\000\000d\000\000\000\000\273\032\310\360zU\000\000\020ۻ\224\325\177\000\000\273\032\310\360zU\000\000 ۻ\224\325\177\000\000`ݻ\224\325\177\000\0000ۻ\224\325\177\000\000pݻ\224\325\177\000\000(\000\000\0000\000\000\000\200ݻ\224\325\177\000\000Pۻ\224\325\177\000\000"...
lastpath = <optimized out>
tally = <optimized out>
st = {st_dev = 65026, st_ino = 2621445, st_nlink = 1, st_mode = 33204, st_uid = 126, st_gid = 44, __pad0 = 0, st_rdev = 0, st_size = 9764908,
st_blksize = 4096, st_blocks = 19080, st_atim = {tv_sec = 1710528814, tv_nsec = 860955774}, st_mtim = {tv_sec = 1710528861, tv_nsec = 396524914},
st_ctim = {tv_sec = 1710528861, tv_nsec = 396524914}, __glibc_reserved = {0, 0, 0}}
s = <optimized out>
x = <optimized out>
fmtstr = <optimized out>
dirsep = <optimized out>
tm = {tm_sec = 0, tm_min = 45, tm_hour = 22, tm_mday = 15, tm_mon = 2, tm_year = 124, tm_wday = 5, tm_yday = 74, tm_isdst = 0, tm_gmtoff = 3600,
tm_zone = 0x557af3e04cf0 "CET"}
cfg = <optimized out>
m = <optimized out>
l = <optimized out>
j = 24
k = <optimized out>
max = <optimized out>
dir_dosubs = <optimized out>
__PRETTY_FUNCTION__ = "pvr_generate_filename"
#1 0x0000557aefe08209 in dvr_rec_start (ss=0x7fd55c0016a0, de=<optimized out>) at src/dvr/dvr_rec.c:1325
e = <optimized out>
muxer = <optimized out>
i = <optimized out>
asp = "\310\360zU\000\000\323\016\330\357zU\000"
ch = "\177\000\000\240\226", <incomplete sequence \361>
f = <optimized out>
st = {st_dev = 65026, st_ino = 2621441, st_nlink = 3, st_mode = 16893, st_uid = 0, st_gid = 1014, __pad0 = 0, st_rdev = 0, st_size = 4096,
st_blksize = 4096, st_blocks = 8, st_atim = {tv_sec = 1710543463, tv_nsec = 412377868}, st_mtim = {tv_sec = 1710543445, tv_nsec = 45027209},
st_ctim = {tv_sec = 1710543445, tv_nsec = 45027209}, __glibc_reserved = {0, 0, 0}}
si = 0x7fd55c0016a8
ssc = <optimized out>
info = <optimized out>
ss_copy = <optimized out>
res = "zU\000\000\000\000\000\000\000\000\000\000\017\006"
sr = "\000\2601\000", <incomplete sequence \325>
cfg = 0x557af3f23d20
prch = 0x557af464f040
si = <optimized out>
ss_copy = <optimized out>
ssc = <optimized out>
res = <optimized out>
asp = <optimized out>
sr = <optimized out>
ch = <optimized out>
cfg = <optimized out>
prch = <optimized out>
info = <optimized out>
e = <optimized out>
f = <optimized out>
muxer = <optimized out>
st = <optimized out>
i = <optimized out>
_err = <optimized out>
#2 dvr_thread_rec_start (_de=_de@entry=0x7fd594bbf840, ss=ss@entry=0x7fd55c0016a0, run=run@entry=0x7fd594bbf838, started=started@entry=0x7fd594bbf83c,
dts_offset=dts_offset@entry=0x7fd594bbf848, postproc=postproc@entry=0x0) at src/dvr/dvr_rec.c:1577
code = <optimized out>
de = <optimized out>
prch = <optimized out>
ret = 0
#3 0x0000557aefe09263 in dvr_thread (aux=<optimized out>) at src/dvr/dvr_rec.c:1820
de = 0x7fd550004c90
prch = <optimized out>
sq = <optimized out>
backlog = {tqh_first = 0x0, tqh_last = 0x7fd594bbf850}
sm = 0x7fd570006560
sm2 = <optimized out>
pkt = <optimized out>
--Type <RET> for more, q to quit, c to continue without paging--
pkt2 = <optimized out>
pkt3 = <optimized out>
ss = <optimized out>
run = 1
started = 0
muxing = <optimized out>
comm_skip = <optimized out>
rs = <optimized out>
epg_running = <optimized out>
old_epg_running = <optimized out>
epg_pause = <optimized out>
commercial = <optimized out>
running_disabled = <optimized out>
packets = <optimized out>
dts_offset = -9223372036854775808
now = <optimized out>
real_start = <optimized out>
start_time = <optimized out>
running_start = <optimized out>
running_stop = <optimized out>
postproc = <optimized out>
ubuf = "p\020\000t\325\177\000\000X\373\377\377\377\377\377\377\030\000\000\000\000\000\000\000\320\370\273\224\325\177\000\000\220"
#4 0x0000557aefd70b89 in thread_wrapper (p=0x557af4c2ed20) at src/tvh_thread.c:91
ts = 0x557af4c2ed20
set = {__val = {16388, 0, 0, 140555389190640, 0, 140554214047888, 0, 0, 140554214412224, 672, 0, 140554214494144, 140554214047792, 2965568, 0,
140554214500960}}
r = <optimized out>
#5 0x00007fd59a0a8134 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#6 0x00007fd59a1287dc in ?? () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
(gdb) s
htsstr_substitute (src=src@entry=0x7fd594bbb618 "2024-03-15_Wojna polsko-ruska$n.ts", dst=dst@entry=0x7fd594bbc600 "2024-03-15_Wojna polsko-ruska.ts",
dstlen=dstlen@entry=4096, first=first@entry=36, sub=sub@entry=0x557af10a8660 <dvr_subs_tally>, aux=aux@entry=0x7fd594bbb520, tmp=0x7fd594bbd600 "",
tmplen=4096) at src/htsstr.c:234
234 src/htsstr.c: Nie ma takiego pliku ani katalogu.
(gdb)
(gdb) s
htsstr_substitute (src=src@entry=0x7fd594bbb618 "2024-03-15_Wojna polsko-ruska$n.ts", dst=dst@entry=0x7fd594bbc600 "2024-03-15_Wojna polsko-ruska.ts",
dstlen=dstlen@entry=4096, first=first@entry=36, sub=sub@entry=0x557af10a8660 <dvr_subs_tally>, aux=aux@entry=0x7fd594bbb520, tmp=0x7fd594bbd600 "",
tmplen=4096) at src/htsstr.c:234
234 src/htsstr.c: Nie ma takiego pliku ani katalogu.
(gdb)
Hit record again, then (gdb) c
[Switching to Thread 0x7fd53fdfe6c0 (LWP 47519)]
Thread 83 "tvh:dvr" hit Breakpoint 1, pvr_generate_filename (de=de@entry=0x7fd550002300, ss=ss@entry=0x7fd54c000b70) at src/dvr/dvr_rec.c:1188
1188 src/dvr/dvr_rec.c: Nie ma takiego pliku ani katalogu.
(gdb) s
htsstr_substitute (src=src@entry=0x7fd53fdf9618 "2024-03-15_Wojna polsko-ruska$n.ts", dst=dst@entry=0x7fd53fdfa600 "2024-03-15_Wojna polsko-ruska.ts",
dstlen=dstlen@entry=4096, first=first@entry=36, sub=sub@entry=0x557af10a8660 <dvr_subs_tally>, aux=aux@entry=0x7fd53fdf9520, tmp=0x7fd53fdfb600 "",
tmplen=4096) at src/htsstr.c:234
234 src/htsstr.c: Nie ma takiego pliku ani katalogu.
(gdb) bt full
#0 htsstr_substitute (src=src@entry=0x7fd53fdf9618 "2024-03-15_Wojna polsko-ruska$n.ts", dst=dst@entry=0x7fd53fdfa600 "2024-03-15_Wojna polsko-ruska.ts",
dstlen=dstlen@entry=4096, first=first@entry=36, sub=sub@entry=0x557af10a8660 <dvr_subs_tally>, aux=aux@entry=0x7fd53fdf9520, tmp=0x7fd53fdfb600 "",
tmplen=4096) at src/htsstr.c:234
s = <optimized out>
p = <optimized out>
x = <optimized out>
v = <optimized out>
res = 0x7fd53fdfa600 "2024-03-15_Wojna polsko-ruska.ts"
l = <optimized out>
#1 0x0000557aefe07007 in pvr_generate_filename (de=de@entry=0x7fd550002300, ss=ss@entry=0x7fd54c000b70) at src/dvr/dvr_rec.c:1188
filename = "/home/hts/multimedia/tv/2024-03-15_Wojna polsko-ruska$n.ts", '\000' <repeats 4037 times>
path = "/home/hts/multimedia/tv/2\00024-03-15_Wojna polsko-ruska$n.ts", '\000' <repeats 4038 times>
ptmp = "2024-03-15_Wojna polsko-ruska.ts", '\000' <repeats 4063 times>
number = "-1", '\000' <repeats 13 times>
tmp = "\000s\0004-03-15\000o-ruska", '\000' <repeats 3390 times>...
lastpath = <optimized out>
tally = <optimized out>
st = {st_dev = 65026, st_ino = 2621445, st_nlink = 1, st_mode = 33204, st_uid = 126, st_gid = 44, __pad0 = 0, st_rdev = 0, st_size = 9764908,
st_blksize = 4096, st_blocks = 19080, st_atim = {tv_sec = 1710528814, tv_nsec = 860955774}, st_mtim = {tv_sec = 1710528861, tv_nsec = 396524914},
st_ctim = {tv_sec = 1710528861, tv_nsec = 396524914}, __glibc_reserved = {0, 0, 0}}
s = <optimized out>
x = <optimized out>
fmtstr = <optimized out>
dirsep = <optimized out>
tm = {tm_sec = 0, tm_min = 45, tm_hour = 22, tm_mday = 15, tm_mon = 2, tm_year = 124, tm_wday = 5, tm_yday = 74, tm_isdst = 0, tm_gmtoff = 3600,
tm_zone = 0x557af3e04cf0 "CET"}
cfg = <optimized out>
m = <optimized out>
l = <optimized out>
j = 24
k = <optimized out>
max = <optimized out>
dir_dosubs = <optimized out>
__PRETTY_FUNCTION__ = "pvr_generate_filename"
#2 0x0000557aefe08209 in dvr_rec_start (ss=0x7fd54c000b70, de=<optimized out>) at src/dvr/dvr_rec.c:1325
e = <optimized out>
muxer = <optimized out>
i = <optimized out>
asp = "\310\360zU\000\000\323\016\330\357zU\000"
ch = "\177\000\000\240\226", <incomplete sequence \361>
f = <optimized out>
st = {st_dev = 65026, st_ino = 2621441, st_nlink = 3, st_mode = 16893, st_uid = 0, st_gid = 1014, __pad0 = 0, st_rdev = 0, st_size = 4096,
st_blksize = 4096, st_blocks = 8, st_atim = {tv_sec = 1710543463, tv_nsec = 412377868}, st_mtim = {tv_sec = 1710543445, tv_nsec = 45027209},
st_ctim = {tv_sec = 1710543445, tv_nsec = 45027209}, __glibc_reserved = {0, 0, 0}}
si = 0x7fd54c000b78
ssc = <optimized out>
info = <optimized out>
ss_copy = <optimized out>
res = "zU\000\000\000\000\000\000\000\000\000\000\017\006"
sr = "\000p\017\000", <incomplete sequence \325>
cfg = 0x557af3f23d20
prch = 0x557af48cfe10
si = <optimized out>
ss_copy = <optimized out>
ssc = <optimized out>
res = <optimized out>
asp = <optimized out>
sr = <optimized out>
ch = <optimized out>
cfg = <optimized out>
prch = <optimized out>
info = <optimized out>
e = <optimized out>
f = <optimized out>
muxer = <optimized out>
st = <optimized out>
i = <optimized out>
_err = <optimized out>
#3 dvr_thread_rec_start (_de=_de@entry=0x7fd53fdfd840, ss=ss@entry=0x7fd54c000b70, run=run@entry=0x7fd53fdfd838, started=started@entry=0x7fd53fdfd83c,
dts_offset=dts_offset@entry=0x7fd53fdfd848, postproc=postproc@entry=0x0) at src/dvr/dvr_rec.c:1577
code = <optimized out>
de = <optimized out>
prch = <optimized out>
ret = 0
#4 0x0000557aefe09263 in dvr_thread (aux=<optimized out>) at src/dvr/dvr_rec.c:1820
de = 0x7fd550002300
prch = <optimized out>
--Type <RET> for more, q to quit, c to continue without paging--
sq = <optimized out>
backlog = {tqh_first = 0x0, tqh_last = 0x7fd53fdfd850}
sm = 0x7fd57000c0f0
sm2 = <optimized out>
pkt = <optimized out>
pkt2 = <optimized out>
pkt3 = <optimized out>
ss = <optimized out>
run = 1
started = 0
muxing = <optimized out>
comm_skip = <optimized out>
rs = <optimized out>
epg_running = <optimized out>
old_epg_running = <optimized out>
epg_pause = <optimized out>
commercial = <optimized out>
running_disabled = <optimized out>
packets = <optimized out>
dts_offset = -9223372036854775808
now = <optimized out>
real_start = <optimized out>
start_time = <optimized out>
running_start = <optimized out>
running_stop = <optimized out>
postproc = <optimized out>
ubuf = "0\r\000t\325\177\000\000X\373\377\377\377\377\377\377\030\000\000\000\000\000\000\000\320\330\337?\325\177\000\000\220"
#5 0x0000557aefd70b89 in thread_wrapper (p=0x557af3e19650) at src/tvh_thread.c:91
ts = 0x557af3e19650
set = {__val = {16388, 0, 0, 140555389190572, 0, 140553945612432, 462097, 0, 140553945625328, 462096, 0, 140553945633168, 140553945612336, 454256,
0, 140553945634176}}
r = <optimized out>
#6 0x00007fd59a0a8134 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#7 0x00007fd59a1287dc in ?? () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
(gdb)
Once again (gdb) c
Then start record the same program
[Switching to Thread 0x7fd53f7fb6c0 (LWP 49654)]
Thread 99 "tvh:dvr" hit Breakpoint 1, pvr_generate_filename (de=de@entry=0x7fd534006a60, ss=ss@entry=0x7fd528000b70) at src/dvr/dvr_rec.c:1188
1188 src/dvr/dvr_rec.c: Nie ma takiego pliku ani katalogu.
(gdb)
(gdb) bt full
#0 pvr_generate_filename (de=de@entry=0x7fd534006a60, ss=ss@entry=0x7fd528000b70) at src/dvr/dvr_rec.c:1188
filename = "/home/hts/multimedia/tv/2024-03-15_Wojna polsko-ruska$n.ts", '\000' <repeats 4037 times>
path = "/home/hts/multimedia/tv\0002024-03-15_Wojna polsko-ruska$n.ts", '\000' <repeats 4038 times>
ptmp = '\000' <repeats 4095 times>
number = '\000' <repeats 15 times>
tmp = "ts\0004-03-15\000o-ruska", '\000' <repeats 4077 times>
lastpath = <optimized out>
tally = <optimized out>
st = {st_dev = 0, st_ino = 0, st_nlink = 0, st_mode = 0, st_uid = 0, st_gid = 0, __pad0 = 0, st_rdev = 0, st_size = 0, st_blksize = 0,
st_blocks = 0, st_atim = {tv_sec = 0, tv_nsec = 0}, st_mtim = {tv_sec = 0, tv_nsec = 0}, st_ctim = {tv_sec = 0, tv_nsec = 0}, __glibc_reserved = {
0, 0, 0}}
s = <optimized out>
x = <optimized out>
fmtstr = <optimized out>
dirsep = <optimized out>
tm = {tm_sec = 0, tm_min = 45, tm_hour = 22, tm_mday = 15, tm_mon = 2, tm_year = 124, tm_wday = 5, tm_yday = 74, tm_isdst = 0, tm_gmtoff = 3600,
tm_zone = 0x557af3e04cf0 "CET"}
cfg = <optimized out>
m = <optimized out>
l = <optimized out>
j = 24
k = <optimized out>
max = <optimized out>
dir_dosubs = <optimized out>
__PRETTY_FUNCTION__ = "pvr_generate_filename"
#1 0x0000557aefe08209 in dvr_rec_start (ss=0x7fd528000b70, de=<optimized out>) at src/dvr/dvr_rec.c:1325
e = <optimized out>
muxer = <optimized out>
i = <optimized out>
asp = "\310\360zU\000\000\323\016\330\357zU\000"
ch = "\177\000\000\240\226", <incomplete sequence \361>
f = <optimized out>
st = {st_dev = 65026, st_ino = 2621441, st_nlink = 3, st_mode = 16893, st_uid = 0, st_gid = 1014, __pad0 = 0, st_rdev = 0, st_size = 4096,
st_blksize = 4096, st_blocks = 8, st_atim = {tv_sec = 1710543463, tv_nsec = 412377868}, st_mtim = {tv_sec = 1710543445, tv_nsec = 45027209},
st_ctim = {tv_sec = 1710543445, tv_nsec = 45027209}, __glibc_reserved = {0, 0, 0}}
si = 0x7fd528000b78
ssc = <optimized out>
info = <optimized out>
ss_copy = <optimized out>
res = "zU\000\000\000\000\000\000\000\000\000\000\017\006"
sr = "\000p\017\000", <incomplete sequence \325>
cfg = 0x557af3f23d20
prch = 0x557af4dce740
si = <optimized out>
ss_copy = <optimized out>
ssc = <optimized out>
res = <optimized out>
asp = <optimized out>
sr = <optimized out>
ch = <optimized out>
cfg = <optimized out>
prch = <optimized out>
info = <optimized out>
e = <optimized out>
f = <optimized out>
muxer = <optimized out>
st = <optimized out>
i = <optimized out>
_err = <optimized out>
#2 dvr_thread_rec_start (_de=_de@entry=0x7fd53f7fa840, ss=ss@entry=0x7fd528000b70, run=run@entry=0x7fd53f7fa838, started=started@entry=0x7fd53f7fa83c,
dts_offset=dts_offset@entry=0x7fd53f7fa848, postproc=postproc@entry=0x0) at src/dvr/dvr_rec.c:1577
code = <optimized out>
de = <optimized out>
prch = <optimized out>
ret = 0
#3 0x0000557aefe09263 in dvr_thread (aux=<optimized out>) at src/dvr/dvr_rec.c:1820
de = 0x7fd534006a60
prch = <optimized out>
sq = <optimized out>
backlog = {tqh_first = 0x0, tqh_last = 0x7fd53f7fa850}
sm = 0x7fd570009f80
sm2 = <optimized out>
pkt = <optimized out>
pkt2 = <optimized out>
pkt3 = <optimized out>
ss = <optimized out>
run = 1
--Type <RET> for more, q to quit, c to continue without paging--
started = 0
muxing = <optimized out>
comm_skip = <optimized out>
rs = <optimized out>
epg_running = <optimized out>
old_epg_running = <optimized out>
epg_pause = <optimized out>
commercial = <optimized out>
running_disabled = <optimized out>
packets = <optimized out>
dts_offset = -9223372036854775808
now = <optimized out>
real_start = <optimized out>
start_time = <optimized out>
running_start = <optimized out>
running_stop = <optimized out>
postproc = <optimized out>
ubuf = '\000' <repeats 16 times>, "\030\000\000\000\000\000\000\000Ш\177?\325\177\000\000\220"
#4 0x0000557aefd70b89 in thread_wrapper (p=0x557af3e75d30) at src/tvh_thread.c:91
ts = 0x557af3e75d30
set = {__val = {16388, 0 <repeats 15 times>}}
r = <optimized out>
#5 0x00007fd59a0a8134 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#6 0x00007fd59a1287dc in ?? () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
(gdb)