JioTV-Go / jiotv_go

Unlock the magic of JioTV across all your devices, without the need for the JioTV App. Crafted with love in Golang for a delightful blend of speed and efficiency! 🌟✨
https://jiotv_go.rabil.me/
Other
330 stars 91 forks source link

bug: Server Does not start on Android TV 9 #415

Closed hrishikesharma closed 1 week ago

hrishikesharma commented 1 week ago

Bug description

The server fails to start on Mi TV 4A (32"), which is running Android 9 Pie. Despite following the standard installation procedures on CustTermux 4.2 .

Steps to reproduce

  1. Install custTermux 4.2 on Android TV 9.
  2. Perform the standard installation.
  3. Attempt to start the server; the server does not run.

Relevant log output

Welcome to CustTermux!

Subscribing to additional repositories:

 * Root:     pkg install root-repo
 * X11:      pkg install x11-repo
 ---------------------------
CustTERMUX - JioTV_GO
---------------------------
CustTermux - SiddharthSky
JioTVGo - Rabilrbl
---------------------------
##################### みらい ############################
Script : version v6.9.2 [7 series]
JioTV Go version v3.9.2
---------------------------
Starting: Intent { act=com.termux.GetReceiver cmp=com.termux/.SkySharedPrefActivity (has extras) }
Captured value: Yes
Running Server Locally on port 5001
Starting JioTV Go server in background...
SIGSYS: bad system call
PC=0x84569b4c m=0 sigcode=1

goroutine 1 gp=0x86002128 m=0 mp=0x84f7a028 [syscall]:
syscall.Syscall(0x1b2, 0x29cd, 0x0, 0x0)
        syscall/syscall_linux.go:73 +0x8 fp=0x8602f80c sp=0x8602f7d4 pc=0x845c6fb8
internal/syscall/unix.PidFDOpen(0x29cd, 0x0)
        internal/syscall/unix/pidfd_linux.go:18 +0x34 fp=0x8602f82c sp=0x8602f80c pc=0x845ea0ec
os.checkPidfd()
        os/pidfd_linux.go:139 +0x5c fp=0x8602f880 sp=0x8602f82c pc=0x845fe0a8
os.init.OnceValue[...].func2()
        sync/oncefunc.go:57 +0x74 fp=0x8602f8b0 sp=0x8602f880 pc=0x845f56c8
sync.(*Once).doSlow(0x86120050, 0x86128018)
        sync/once.go:76 +0xb0 fp=0x8602f8dc sp=0x8602f8b0 pc=0x84582564
sync.(*Once).Do(0x86120050, 0x86128018)
        sync/once.go:67 +0x40 fp=0x8602f8e8 sp=0x8602f8dc pc=0x845824a4
os.init.OnceValue[...].func3()
        sync/oncefunc.go:62 +0x3c fp=0x8602f900 sp=0x8602f8e8 pc=0x845f5604
os.pidfdWorks(...)
        os/pidfd_linux.go:124
os.ensurePidfd(0x0)
        os/pidfd_linux.go:23 +0x24 fp=0x8602f918 sp=0x8602f900 pc=0x845fd760
os.startProcess({0x86295f80, 0x37}, {0x8643a900, 0x5, 0x6}, 0x8602fa18)
        os/exec_posix.go:41 +0xc0 fp=0x8602f98c sp=0x8602f918 pc=0x845f7b20
os.StartProcess({0x86295f80, 0x37}, {0x8643a900, 0x5, 0x6}, 0x8602fa18)
        os/exec.go:319 +0x58 fp=0x8602f9b4 sp=0x8602f98c pc=0x845f7794
os/exec.(*Cmd).Start(0x8646a008)
        os/exec/exec.go:709 +0x5c8 fp=0x8602fa70 sp=0x8602f9b4 pc=0x84634698
github.com/rabilrbl/jiotv_go/v3/cmd.RunInBackground({0xbbd546bb, 0xb})
        github.com/rabilrbl/jiotv_go/v3/cmd/background.go:34 +0x274 fp=0x8602faf8 sp=0x8602fa70 pc=0x84aece7c
main.main.func9(0x860747a0)
        github.com/rabilrbl/jiotv_go/v3/main.go:190 +0x50 fp=0x8602fb10 sp=0x8602faf8 pc=0x84af3364
github.com/urfave/cli/v2.(*Command).Run(0x86202848, 0x860747a0, {0x86078b10, 0x3, 0x3})
        github.com/urfave/cli/v2@v2.27.4/command.go:276 +0x7b4 fp=0x8602fc5c sp=0x8602fb10 pc=0x84ada7d8
github.com/urfave/cli/v2.(*Command).Run(0x86202788, 0x86074700, {0x86074720, 0x4, 0x4})
        github.com/urfave/cli/v2@v2.27.4/command.go:269 +0xaac fp=0x8602fda8 sp=0x8602fc5c pc=0x84adaad0
github.com/urfave/cli/v2.(*Command).Run(0x86202a88, 0x86074620, {0x8612a000, 0x5, 0x6})
        github.com/urfave/cli/v2@v2.27.4/command.go:269 +0xaac fp=0x8602fef4 sp=0x8602fda8 pc=0x84adaad0
github.com/urfave/cli/v2.(*App).RunContext(0x86002fc8, {0x84ba47b0, 0x84f854c8}, {0x8612a000, 0x5, 0x6})
        github.com/urfave/cli/v2@v2.27.4/app.go:333 +0x62c fp=0x8602ff28 sp=0x8602fef4 pc=0x84ad6f20
github.com/urfave/cli/v2.(*App).Run(...)
        github.com/urfave/cli/v2@v2.27.4/app.go:307
main.main()
        github.com/rabilrbl/jiotv_go/v3/main.go:215 +0x1868 fp=0x8602ffa8 sp=0x8602ff28 pc=0x84af2d44
runtime.main()
        runtime/proc.go:272 +0x370 fp=0x8602ffec sp=0x8602ffa8 pc=0x8451ec50
runtime.goexit({})
        runtime/asm_arm.s:884 +0x4 fp=0x8602ffec sp=0x8602ffec pc=0x845642c8

goroutine 2 gp=0x860027e8 m=nil [force gc (idle)]:
runtime.gopark(0x84ba07dc, 0x84f785b0, 0x11, 0xa, 0x1)
        runtime/proc.go:424 +0x10c fp=0x8603efd4 sp=0x8603efc0 pc=0x8455ce40
runtime.goparkunlock(...)
        runtime/proc.go:430
runtime.forcegchelper()
        runtime/proc.go:337 +0x104 fp=0x8603efec sp=0x8603efd4 pc=0x8451f158
runtime.goexit({})
        runtime/asm_arm.s:884 +0x4 fp=0x8603efec sp=0x8603efec pc=0x845642c8
created by runtime.init.6 in goroutine 1
        runtime/proc.go:325 +0x20

goroutine 18 gp=0x86082248 m=nil [GC sweep wait]:
runtime.gopark(0x84ba07dc, 0x84f788b8, 0xc, 0x9, 0x1)
        runtime/proc.go:424 +0x10c fp=0x8603a7c4 sp=0x8603a7b0 pc=0x8455ce40
runtime.goparkunlock(...)
        runtime/proc.go:430
runtime.bgsweep(0x86090000)
        runtime/mgcsweep.go:277 +0xc8 fp=0x8603a7e4 sp=0x8603a7c4 pc=0x84507008
runtime.gcenable.gowrap1()
        runtime/mgc.go:203 +0x28 fp=0x8603a7ec sp=0x8603a7e4 pc=0x844f5d2c
runtime.goexit({})
        runtime/asm_arm.s:884 +0x4 fp=0x8603a7ec sp=0x8603a7ec pc=0x845642c8
created by runtime.gcenable in goroutine 1
        runtime/mgc.go:203 +0x84

goroutine 19 gp=0x86082368 m=nil [GC scavenge wait]:
runtime.gopark(0x84ba07dc, 0x84f79188, 0xd, 0xa, 0x2)
        runtime/proc.go:424 +0x10c fp=0x8603afb4 sp=0x8603afa0 pc=0x8455ce40
runtime.goparkunlock(...)
        runtime/proc.go:430
runtime.(*scavengerState).park(0x84f79188)
        runtime/mgcscavenge.go:425 +0x6c fp=0x8603afc8 sp=0x8603afb4 pc=0x84504248
runtime.bgscavenge(0x86090000)
        runtime/mgcscavenge.go:653 +0x48 fp=0x8603afe4 sp=0x8603afc8 pc=0x845049a8
runtime.gcenable.gowrap2()
        runtime/mgc.go:204 +0x28 fp=0x8603afec sp=0x8603afe4 pc=0x844f5cd8
runtime.goexit({})
        runtime/asm_arm.s:884 +0x4 fp=0x8603afec sp=0x8603afec pc=0x845642c8
created by runtime.gcenable in goroutine 1
        runtime/mgc.go:204 +0xd8

goroutine 34 gp=0x86104248 m=nil [finalizer wait]:
runtime.gopark(0x84ba0688, 0x84f85520, 0x10, 0xa, 0x1)
        runtime/proc.go:424 +0x10c fp=0x8603e78c sp=0x8603e778 pc=0x8455ce40
runtime.runfinq()
        runtime/mfinal.go:193 +0x140 fp=0x8603e7ec sp=0x8603e78c pc=0x844f4a10
runtime.goexit({})
        runtime/asm_arm.s:884 +0x4 fp=0x8603e7ec sp=0x8603e7ec pc=0x845642c8
created by runtime.createfing in goroutine 1
        runtime/mfinal.go:163 +0x68

goroutine 35 gp=0x861046c8 m=nil [chan receive]:
runtime.gopark(0x84ba066c, 0x86100534, 0xe, 0x7, 0x2)
        runtime/proc.go:424 +0x10c fp=0x861c478c sp=0x861c4778 pc=0x8455ce40
runtime.chanrecv(0x86100500, 0x0, 0x1)
        runtime/chan.go:639 +0x500 fp=0x861c47c8 sp=0x861c478c pc=0x844e38d0
runtime.chanrecv1(0x86100500, 0x0)
        runtime/chan.go:489 +0x20 fp=0x861c47dc sp=0x861c47c8 pc=0x844e33a0
runtime.unique_runtime_registerUniqueMapCleanup.func1(...)
        runtime/mgc.go:1732
runtime.unique_runtime_registerUniqueMapCleanup.gowrap1()
        runtime/mgc.go:1735 +0x44 fp=0x861c47ec sp=0x861c47dc pc=0x844fa5e0
runtime.goexit({})
        runtime/asm_arm.s:884 +0x4 fp=0x861c47ec sp=0x861c47ec pc=0x845642c8
created by unique.runtime_registerUniqueMapCleanup in goroutine 1
        runtime/mgc.go:1730 +0xc4

goroutine 3 gp=0x860030e8 m=nil [sleep]:
runtime.gopark(0x84ba07fc, 0x0, 0x13, 0xe, 0x1)
        runtime/proc.go:424 +0x10c fp=0x8603f760 sp=0x8603f74c pc=0x8455ce40
time.Sleep(0x3b9aca00)
        runtime/time.go:285 +0x148 fp=0x8603f778 sp=0x8603f760 pc=0x84560e28
github.com/valyala/fasthttp.(*Client).mCleaner(0x84f791f8, 0x860748a0)
        github.com/valyala/fasthttp@v1.55.0/client.go:594 +0xc4 fp=0x8603f7e0 sp=0x8603f778 pc=0x849949a8
github.com/valyala/fasthttp.(*Client).Do.gowrap3()
        github.com/valyala/fasthttp@v1.55.0/client.go:562 +0x30 fp=0x8603f7ec sp=0x8603f7e0 pc=0x84994628
runtime.goexit({})
        runtime/asm_arm.s:884 +0x4 fp=0x8603f7ec sp=0x8603f7ec pc=0x845642c8
created by github.com/valyala/fasthttp.(*Client).Do in goroutine 1
        github.com/valyala/fasthttp@v1.55.0/client.go:562 +0x660

goroutine 4 gp=0x86003208 m=nil [sleep]:
runtime.gopark(0x84ba07fc, 0x0, 0x13, 0xe, 0x1)
        runtime/proc.go:424 +0x10c fp=0x8603ff38 sp=0x8603ff24 pc=0x8455ce40
time.Sleep(0x2540be400)
        runtime/time.go:285 +0x148 fp=0x8603ff50 sp=0x8603ff38 pc=0x84560e28
github.com/valyala/fasthttp.(*HostClient).connsCleaner(0x86218008)
        github.com/valyala/fasthttp@v1.55.0/client.go:1666 +0x80 fp=0x8603ffe4 sp=0x8603ff50 pc=0x84997e20
github.com/valyala/fasthttp.(*HostClient).acquireConn.gowrap2()
        github.com/valyala/fasthttp@v1.55.0/client.go:1558 +0x28 fp=0x8603ffec sp=0x8603ffe4 pc=0x84997890
runtime.goexit({})
        runtime/asm_arm.s:884 +0x4 fp=0x8603ffec sp=0x8603ffec pc=0x845642c8
created by github.com/valyala/fasthttp.(*HostClient).acquireConn in goroutine 1
        github.com/valyala/fasthttp@v1.55.0/client.go:1558 +0x278

goroutine 5 gp=0x86003328 m=nil [sleep]:
runtime.gopark(0x84ba07fc, 0x0, 0x13, 0xe, 0x1)
        runtime/proc.go:424 +0x10c fp=0x86040774 sp=0x86040760 pc=0x8455ce40
time.Sleep(0x3b9aca00)
        runtime/time.go:285 +0x148 fp=0x8604078c sp=0x86040774 pc=0x84560e28
github.com/valyala/fasthttp.(*TCPDialer).tcpAddrsClean(0x84f6fee8)
        github.com/valyala/fasthttp@v1.55.0/tcpdialer.go:412 +0x44 fp=0x860407e4 sp=0x8604078c pc=0x849e3774
github.com/valyala/fasthttp.(*TCPDialer).dial.func1.gowrap1()
        github.com/valyala/fasthttp@v1.55.0/tcpdialer.go:284 +0x28 fp=0x860407ec sp=0x860407e4 pc=0x849e2f38
runtime.goexit({})
        runtime/asm_arm.s:884 +0x4 fp=0x860407ec sp=0x860407ec pc=0x845642c8
created by github.com/valyala/fasthttp.(*TCPDialer).dial.func1 in goroutine 1
        github.com/valyala/fasthttp@v1.55.0/tcpdialer.go:284 +0x108

trap    0xe
error   0x5
oldmask 0x0
r0      0x29cd
r1      0x0
r2      0x0
r3      0x0
r4      0x0
r5      0x0
r6      0x86002174
r7      0x1b2
r8      0x7
r9      0x864640c0
r10     0x86002128
fp      0x7
ip      0x0
sp      0x8602f7a8
lr      0x845c6f94
pc      0x84569b4c
cpsr    0x600e0010
fault   0x0
Starting: Intent { act=com.termux.SKY_ACTION cmp=com.termux/.SkyActionActivity (has extras) }

Screenshots or videos

Screenshot_20240909-174952

Solution

No response

Additional context

No response

Acknowledgements

rabilrbl commented 1 week ago

Wrong place to report this bug It should be done at https://github.com/siddharthsky/CustTermux-JioTVGo/issues

hrishikesharma commented 1 week ago

@rabilrbl Are you sure that it's the wrong place? As it was working fine till Jio Tv Go v3.8.0 (was using till yesterday) using the same version of CustTermux

rabilrbl commented 1 week ago

@siddharthsky can answer your question