Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Go native binaries crash on 0.1.105 #1071

Open
CaseyBakey opened this issue Oct 7, 2024 · 2 comments
Open

Go native binaries crash on 0.1.105 #1071

CaseyBakey opened this issue Oct 7, 2024 · 2 comments

Comments

@CaseyBakey
Copy link

CaseyBakey commented Oct 7, 2024

Hello there,

Note: don't trust the string "0.1.104" in the log, it's because I was debugging the crash and did many things linke unpack the 0.1.104 release zip, via ADB, on top of installed 0.1.105 version etc. The 0.1.104 version (and previous ones) is fine.

After (auto)-update to 0.1.105, I got a crash whenever Kodi is started, around 10s after start.

I guess that juste the time elementum need to start...and crash.

Here a little snippet of the crash log, it seem linked to a "lockfile":

10-07 21:23:28.719 8239 0 E Go : panic: runtime error: invalid memory address or nil pointer dereference
10-07 21:23:28.719 8239 0 E Go : [signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0x329eff1150]
10-07 21:23:28.719 8239 0 E Go :
10-07 21:23:28.719 8239 0 E Go : goroutine 114 [running]:
10-07 21:23:28.720 8239 0 E Go : github.com/elgatito/elementum/lockfile.(*LockFile).Unlock(...)
10-07 21:23:28.720 8239 0 E Go : /go/src/github.com/elgatito/elementum/lockfile/lockfile.go:83
10-07 21:23:28.720 8239 0 E Go : main.main.func2(0x400042e000?)
10-07 21:23:28.720 8239 0 E Go : /go/src/github.com/elgatito/elementum/main.go:223 +0x180
10-07 21:23:28.720 8239 0 E Go : created by github.com/elgatito/elementum/api.Routes.Shutdown.func12 in goroutine 132
10-07 21:23:28.720 8239 0 E Go : /go/src/github.com/elgatito/elementum/api/misc.go:319 +0xac
10-07 21:23:28.722 8239 0 E Go : runtime: newstack sp=0x321e9cc500 stack=[0x4000544000, 0x4000545000]
10-07 21:23:28.722 8239 0 E Go : morebuf={pc:0x3211edc1b4 sp:0x321e9cc500 lr:0x0}
10-07 21:23:28.723 8239 0 E Go : sched={pc:0x329e7b3814 sp:0x321e9cc500 lr:0x3211edc1b4 ctxt:0x0}
10-07 21:23:28.723 8239 0 E Go : runtime: gp=0x40004261a0, goid=114, gp->status=0x2
10-07 21:23:28.723 8239 0 E Go : runtime: split stack overflow: 0x321e9cc500 < 0x4000544000
10-07 21:23:28.723 8239 0 E Go : fatal error: runtime: split stack overflow
10-07 21:23:28.723 8239 0 E Go : panic during panic

Please find enclosed the ADB logcat of Kodi/elementum crash.

For now, I did roll back to 0.1.104 to be able to use Kodi.

kodi_crash.log

@CaseyBakey CaseyBakey changed the title Go native binaries crash on 0.1.105 Go native binaries crash on 0.1.104 Oct 7, 2024
@CaseyBakey CaseyBakey changed the title Go native binaries crash on 0.1.104 Go native binaries crash on 0.1.105 Oct 7, 2024
@elgatito
Copy link
Owner

elgatito commented Oct 8, 2024

@CaseyBakey Can you try to use version 0.1.106?

@antonsoroko
Copy link

antonsoroko commented Oct 12, 2024

I tested update from 104 to 106 in android.
Unfortunately the issue is in 104 (and 105) version itself, so it will always crash on stop, which is needed for update.

Solution is:
Disable elementum , then update it to version 106 via repository, then enable it.

Or uninstall with keeping configs (after uninstall there will be dialog asking about configs) and install again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants