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

Crashing on arm64 #30

Open
badrow opened this issue Nov 10, 2021 · 1 comment
Open

Crashing on arm64 #30

badrow opened this issue Nov 10, 2021 · 1 comment

Comments

@badrow
Copy link

badrow commented Nov 10, 2021

The program frequently crash at start (99/100 times) and output this :

` /usr/local/go/src/net/url/url.go:701 +0x40 fp=0x1c8bca4 sp=0x1c8bc84 pc=0x1a729c
net/url.(*URL).ResolveReference(0x22b0000, 0x2af63c0)
/usr/local/go/src/net/url/url.go:1122 +0x304 fp=0x1c8bccc sp=0x1c8bca4 pc=0x1a9cf8
github.com/mmcdole/gofeed/internal/shared.(*XMLBase).push(0x2f271c0, {0x0, 0x0})
/home/user/go/pkg/mod/github.com/mmcdole/[email protected]/internal/shared/xmlbase.go:148 +0x74 fp=0x1c8bd04 sp=0x1c8bccc pc=0x3a5a30
github.com/mmcdole/gofeed/internal/shared.(*XMLBase).NextTag(0x2f271c0, 0x21c1db0)
/home/user/go/pkg/mod/github.com/mmcdole/[email protected]/internal/shared/xmlbase.go:109 +0xc8 fp=0x1c8bd28 sp=0x1c8bd04 pc=0x3a57f0
github.com/mmcdole/gofeed/rss.(*Parser).parseChannel(0x1811458, 0x21c1db0)
/home/user/go/pkg/mod/github.com/mmcdole/[email protected]/rss/parser.go:133 +0xe0 fp=0x1c8be14 sp=0x1c8bd28 pc=0x3b8f1c
github.com/mmcdole/gofeed/rss.(*Parser).parseRoot(0x1811458, 0x21c1db0)

/home/user/go/pkg/mod/github.com/mmcdole/[email protected]/rss/parser.go:67 +0x4f4 fp=0x1c8beac sp=0x1c8be14 pc=0x3b8a20
github.com/mmcdole/gofeed/rss.(*Parser).Parse(0x1811458, {0x5a2820, 0x208fb50})
/home/user/go/pkg/mod/github.com/mmcdole/[email protected]/rss/parser.go:28 +0xcc fp=0x1c8bec8 sp=0x1c8beac pc=0x3b84f4
github.com/mmcdole/gofeed.(*Parser).parseRSSFeed(0x186ec60, {0x5a2820, 0x208fb50})
/home/user/go/pkg/mod/github.com/mmcdole/[email protected]/parser.go:141 +0x30 fp=0x1c8bee4 sp=0x1c8bec8 pc=0x3be7a0
github.com/mmcdole/gofeed.(*Parser).Parse(0x186ec60, {0xa40d1400, 0x1f983a8})
/home/user/go/pkg/mod/github.com/mmcdole/[email protected]/parser.go:75 +0x1d4 fp=0x1c8bf1c sp=0x1c8bee4 pc=0x3bdeec
github.com/Lallassu/gorss/internal.(*RSS).FetchURL(0x189e060, 0x186ec60, {0x18d6460, 0x48})
/home/user/gorss/internal/rss.go:131 +0x2d8 fp=0x1c8bf88 sp=0x1c8bf1c pc=0x3d35cc
github.com/Lallassu/gorss/internal.(*RSS).Update.func1(0x189e060, 0x186ec60, 0x19c6468, 0x19c6470, {{0x18d6460, 0x48}, {0x0, 0x0}})
/home/user/gorss/internal/rss.go:81 +0x34 fp=0x1c8bfcc sp=0x1c8bf88 pc=0x3d313c
runtime.goexit()
/usr/local/go/src/runtime/asm_arm.s:838 +0x4 fp=0x1c8bfcc sp=0x1c8bfcc pc=0x86ac4
created by github.com/Lallassu/gorss/internal.(*RSS).Update
/home/user/gorss/internal/rss.go:80 +0x1c8
`

It don't happen with amd64 version.

I precise that there I have a big opml file imported, don't know if this can cause problems...

Aditionally, Is it possible to add a function to copy link in text file instead of opening it in a browser ? Because it doesn't work with SSH connection.

Thank you very much for this software, very fun !

@pradyumnac
Copy link

yes. I am facing this too. I will have to test on amd64 though.

@badrow Could you please provide the output of the log file (Typically in ~/.local/share/gorss/gorss.log)

Mine shows that the crash is due to some rss links returning 404. A sample below

2023/01/14 12:56:26 rss.go:94: error fetching url: https://www.youtube.com/feeds/videos.xml?channel_id      =, err: failed to get url 404, 404 Not Found                                                        

I am looking to work on a fix for this. Input on your issue will help

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

2 participants