Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Sep 2023 10:07:59 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 272768] net/gorss: Update to 0.4
Message-ID:  <bug-272768-7788-e1OcH3W8JD@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-272768-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-272768-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272768

--- Comment #12 from Fernando Apestegu=C3=ADa <fernape@FreeBSD.org> ---
(In reply to Alexey Dokuchaev from comment #11)

> Could it be garbled local state, e.g. some conflict with files from the p=
revious version?  Does wiping out ~/.config/gorss and ~/.local/share/gorss =
help?

Yep!

Removing those directories make gorss boot, thanks! I suppose there is some
incompatible change in the configuration between 0.3 and 0.4 that prevents =
0.4
from booting.

After booting I see the screen and some of the news sites listed in the left
panel. Unfortunately pressing the down key generates a segfault:



$ gorss
2023/09/27 12:04:32 main.go:109: Using config:
/home/fernape/.config/gorss/gorss.conf
2023/09/27 12:04:32 main.go:110: Using theme:
/home/fernape/.config/gorss/themes/default.theme
2023/09/27 12:04:32 main.go:111: Using DB:
/home/fernape/.local/share/gorss/gorss.db
2023/09/27 12:04:32 main.go:112: Using log file:
/home/fernape/.local/share/gorss/gorss.log
panic: runtime error: invalid memory address or nil pointer dereference
[recovered]
        panic: runtime error: invalid memory address or nil pointer derefer=
ence
[signal SIGSEGV: segmentation violation code=3D0x1 addr=3D0x8 pc=3D0xb64738]

goroutine 1 [running]:
github.com/rivo/tview.(*Application).Run.func1()
        github.com/rivo/tview/application.go:251 +0x4d
panic({0x2738a0, 0xc7a950})
        runtime/panic.go:884 +0x213
github.com/Lallassu/gorss/internal.(*DB).MarkRead(0x8542a5400?, 0x0)
        github.com/Lallassu/gorss/internal/db.go:189 +0xd8
github.com/Lallassu/gorss/internal.(*Window).MoveDown(0x8542a8be0, {0x3b709=
8?,
0x8541b1d40})
        github.com/Lallassu/gorss/internal/window.go:534 +0x1ed
github.com/Lallassu/gorss/internal.(*Controller).Input(0x8542a5400,
0x85407e0a0)
        github.com/Lallassu/gorss/internal/controller.go:554 +0xd9b
github.com/rivo/tview.(*Application).Run(0x8541e2540)
        github.com/rivo/tview/application.go:327 +0x42b
github.com/Lallassu/gorss/internal.(*Window).Start(0x8542a8be0)
        github.com/Lallassu/gorss/internal/window.go:183 +0x4f
github.com/Lallassu/gorss/internal.(*Controller).Init(0x8542a5400,
{0x85402c360, 0x26}, {0x85402c3c0, 0x30}, {0x85402c4b0, 0x29})
        github.com/Lallassu/gorss/internal/controller.go:68 +0x518
main.main()
        github.com/Lallassu/gorss/cmd/gorss/main.go:121 +0xdb1

Just letting you know. No worries from my side. I tend to consume most of my
feed from the browser.

Thanks a lot for your help.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-272768-7788-e1OcH3W8JD>