Open zurden opened 11 months ago
Hmmm, I haven't seen this before and am not really sure how to troubleshoot it. Have you tried creating your library with a limited number of comics in a smaller Comics
directory? I ask because I was wondering if one of your comic files is what is causing the the segmentation fault while YACReaderLibraryServer is processing your comics.
Hi,
It was already a small folder just for testing. Including zip,rar and rar5.
I just tried to update-library with an empty library and got the same error "Segmentation fault (core dumped)". Also tried with just one .cbz and again with just one rar5 file, same result.
I'm able to create and delete libraries but core dumped when doing the update-library.
I'm not sure it will make any difference, but do you want to try this again with the newly released image? If I bring this issue to the YACReader devs, I want to make sure the issue persists on the most recent release.
same.
$ docker-compose pull && docker-compose up -d
Pulling yacreaderlibrary-server-docker ... done
Recreating YACReaderLibraryServer ... done
$ docker exec -ti YACReaderLibraryServer bash
root@0d67ed6bbbd9:/# YACReaderLibraryServer update-library /comics
Processing comicsSegmentation fault (core dumped)
$ docker logs YACReaderLibraryServer
[migrations] started
[migrations] no migrations found
----------------------------------------------------------
_ __________ ____ ______ _____ ____ _____ ___ __
| |/ /_ __/ / / / / / / __ \/ ___// __ \/ \ \/ / |/ /
| / / / / /_/ / / / / /_/ /\__ \/ / / / /| |\ /| /
/ | / / / __ / /_/ / _, _/___/ / /_/ / ___ |/ // |
/_/|_|/_/ /_/ /_/\____/_/ |_|/____/_____/_/ |_/_//_/|_|
Brought to you by xthursdayx
----------------------------------------------------------
GID/UID
----------------------------------------------------------
User uid: 1000
User gid: 1000
-------------------------------------
[custom-init] No custom files found, skipping...
INFO 2023-07-31T00:46:49.068 YACReaderLibraryServer attempting to start
INFO 2023-07-31T00:46:49.068 ---------- System & configuration ----------
INFO 2023-07-31T00:46:49.068 OS: "Ubuntu 22.04.2 LTS" Version: "22.04"
INFO 2023-07-31T00:46:49.068 Kernel: "linux" "5.19.0-46-generic" Architecture: "x86_64"
INFO 2023-07-31T00:46:49.068 Libraries: QMap(("ComicsVault", QPair(1,"/comics")))
INFO 2023-07-31T00:46:49.068 --------------------------------------------
INFO 2023-07-31T00:46:49.068 YACReaderLibrary starting
INFO 2023-07-31T00:46:49.069 Running on "192.168.48.2:8080"
INFO 2023-07-31T00:46:49.069 "βββββββββββββββββββββββββββββββ"
INFO 2023-07-31T00:46:49.069 "βββββββββββββββββββββββββββββββ"
INFO 2023-07-31T00:46:49.069 "βββββ βββββ βββββ β βββββ βββββ"
INFO 2023-07-31T00:46:49.069 "βββββ β β βββββββ β β βββββ"
INFO 2023-07-31T00:46:49.069 "βββββ βββββ ββ ββββ βββββ βββββ"
INFO 2023-07-31T00:46:49.069 "βββββββββββββββββββββββββββββββ"
INFO 2023-07-31T00:46:49.069 "βββββββ ββββ ββββββββββββ βββββ"
INFO 2023-07-31T00:46:49.069 "βββββ βββ βββββ βββ βββββ βββββ"
INFO 2023-07-31T00:46:49.069 "βββββββββββββ ββββ βββ βββββββ"
INFO 2023-07-31T00:46:49.069 "βββββ βββββ βββββββββββββββββββ"
INFO 2023-07-31T00:46:49.069 "βββββ β β ββ ββββ β βββββββ"
INFO 2023-07-31T00:46:49.069 "βββββ βββββ ββββββββββ β βββββ"
INFO 2023-07-31T00:46:49.069 "βββββββββββββββββββββββββββββββ"
INFO 2023-07-31T00:46:49.069 "βββββββββββββββββββββββββββββββ"
INFO 2023-07-31T00:46:49.069 "βββββββββββββββββββββββββββββββ"
[ls.io-init] done.
WARN 2023-07-31T15:58:38.891 QObject: Cannot create children for a parent that is in a different thread.
(Parent is RequestMapper(0x560cb9a9ae50), parent's thread is QThread(0x560cb9a904f0), current thread is QThread(0x560cb9abf260)
WARN 2023-07-31T22:55:19.445 QObject: Cannot create children for a parent that is in a different thread.
(Parent is RequestMapper(0x560cb9a9ae50), parent's thread is QThread(0x560cb9a904f0), current thread is QThread(0x560cb9abf260)
WARN 2023-07-31T23:16:23.011 QObject: Cannot create children for a parent that is in a different thread.
(Parent is RequestMapper(0x560cb9a9ae50), parent's thread is QThread(0x560cb9a904f0), current thread is QThread(0x560cb9abf260)
It seems that they are migrating to 7zip 23.01.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I've just pushed updated versions of this docker image which use 7zip 23.01 and QT6 to Docker Hub, please pull the new image and update your container and let me know if you're still having this issue. Thanks!
Hi xthursdayx,
I used the 7zip tag and a clean install. Still getting the same segfault.
root@49f6288ec687:/# YACReaderLibraryServer create-library test /comics
Processing comicsSegmentation fault (core dumped)
root@49f6288ec687:/# YACReaderLibraryServer -v
YACReaderLibraryServer 9.14.2
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
When using p7zip tagged image i got a Segmentation fault (core dumped) on update-library
Also tried with a new config folder in case something in the settings from previous version was the root cause, but it wasnt.
Expected Behavior
Library updated.
Current Behavior
Instant core dumped when triggered the update-library.
Steps to Reproduce
Environment
OS: Ubuntu 22.04.2 LTS CPU architecture: x86_64
Command used to create docker container (run/create/compose/screenshot)
Docker logs