khanhas / zshelf

reMarkable app: Browse and download books from Z-Library
GNU General Public License v3.0
310 stars 13 forks source link

Seg Fault under 2.6.1.71 #3

Open ademasi opened 3 years ago

ademasi commented 3 years ago

Hi,

Thank you for your apps, it's super useful. I have updated to the last version available of the RM system, reenable entware and remux to start zshelf, but if I try to start the app the screen stays white. By command line, I can see this error:

root@reMarkable:~# zshelf
EPD platform plugin loaded!
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
[SERVER]  QProcess::Running
Creating window
[SERVER]  QProcess::Running
virtual void EPRenderContext::renderNextFrame(QSGRenderer*, uint) can't render without a renderer
[SOCKET] "LIST" Connected
Segmentation fault
root@reMarkable:~# opkg info zshelf
Package: zshelf
Version: 0.3.1-1
Depends: node
Status: install user installed
Section: utils
Architecture: armv7-3.2
Maintainer: khanhas <xuankhanh963@gmail.com>
Size: 500469
Filename: zshelf_0.3.1-1_armv7-3.2.ipk
Description: Z-Library browser and downloader
Installed-Time: 1616317261

Maybe it does need a recompile? Did RM change their QT version?

In any case, I am available for testing if needed.

Regards, Alex.

khanhas commented 3 years ago

Yes, rM 2.6 breaks all QT software packages on toltec. And reMarkable team does not provide development toolchain anymore so I can't rebuild it. Toltec dev team is developing solution, please be patient for a week or two.

ademasi commented 3 years ago

Thank you for your reply. It's too bad they did not share the toolchain...

PS: I really enjoy your work, spicetify is amazing, it's like I am using a different app.

Jab2870 commented 3 years ago

https://github.com/toltec-dev/toltec/issues/322#issuecomment-812458509

I don't know if you've seen but apparently the toolchain has been updated to fix crashes with qt apps

ard0gg commented 3 years ago

I have rebuilt with the v2.0.1 toolchain and Zshelf does appear to work when launched from the command line. I am having issues when launched from remux (rmkit-dev/rmkit#122)

Jab2870 commented 3 years ago

Anybody know if there is an update on this?

ard0gg commented 3 years ago

There is a PR (https://github.com/toltec-dev/toltec/pull/338) to pull a fix into the Testing branch.

matteodelabre commented 3 years ago

This PR is for making launchers automatically preload rm2fb into launched apps. Unfortunately, this will not resolve this crash. To make Qt apps compatible with 2.6, they need to be rebuilt with toolchain v2, as mentioned above.

matteodelabre commented 3 years ago

FYI: Toltec testing now provides a version of Zshelf that is compatible with releases ⩾2.6.

Jab2870 commented 3 years ago

@matteodelabre , how do I switch to toltec testing? Can't see anything in the documentation

Thanks in advance

matteodelabre commented 3 years ago

@Jab2870 Please see the following comment: https://github.com/toltec-dev/toltec/issues/341#issuecomment-819517368. We’re working on making this process easier and better documented soon.