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

Error on start #21

Closed
MIG85 opened this issue Oct 19, 2022 · 2 comments
Closed

Error on start #21

MIG85 opened this issue Oct 19, 2022 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@MIG85
Copy link

MIG85 commented Oct 19, 2022

root@OpenWrt:/mnt/sda5/books$ ./flibgolite-linux-arm-6
I: 18:01:39 Service is running unix-systemv.
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x5ffc38]

goroutine 20 [running]:
github.com/vinser/flibgolite/pkg/stock.(*Handler).indexFB2Zip(0x165b740, {0x159eaf0, 0x46})
/home/vinser/Dev/flibgolite/pkg/stock/stock.go:279 +0xa0c
github.com/vinser/flibgolite/pkg/stock.(*Handler).ScanDir.func1()
/home/vinser/Dev/flibgolite/pkg/stock/stock.go:109 +0x40
created by github.com/vinser/flibgolite/pkg/stock.(*Handler).ScanDir
/home/vinser/Dev/flibgolite/pkg/stock/stock.go:108 +0x9f0

root@OpenWrt:/mnt/sda5/books$ cat ./logs/scan.log
SERVICE: 2022/10/19 17:59:07 New acquisitions scanning started...
INFO: 2022/10/19 17:59:07 scanning folder /mnt/sda5/torrent/Downloads/Books/Flibusta.Net for new books.../n
DEBUG: 2022/10/19 17:59:07 stock.go:105: zip: f.usr-524141-526015.zip
DEBUG: 2022/10/19 17:59:07 stock.go:251:

File : 524142.pdf
NonUTF8 : false
Modified : 2018-07-02 02:11:34 +0300 +0300
CRC32 : 3177836722
UncompressedSize64 : 26640417

INFO: 2022/10/19 17:59:07 file 524142.pdf from f.usr-524141-526015.zip has unsupported format ".pdf"
DEBUG: 2022/10/19 17:59:07 stock.go:273:

@vinser vinser added the bug Something isn't working label Oct 20, 2022
@vinser vinser self-assigned this Oct 22, 2022
@vinser
Copy link
Owner

vinser commented Oct 22, 2022

Fixed in release v1.1.1

@vinser vinser closed this as completed Oct 22, 2022
@vinser
Copy link
Owner

vinser commented Oct 22, 2022

@MIG85
Thanks for bug detailed description! I have no archives with pdf so bug was not discovered before your report

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants