zshelf icon indicating copy to clipboard operation
zshelf copied to clipboard

Seg Fault under 2.6.1.71

Open ademasi opened this issue 3 years ago • 10 comments

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 <[email protected]>
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.

ademasi avatar Mar 21 '21 09:03 ademasi

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.

khanhas avatar Mar 21 '21 11:03 khanhas

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.

ademasi avatar Mar 21 '21 13:03 ademasi

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

Jab2870 avatar Apr 08 '21 08:04 Jab2870

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)

ard0gg avatar Apr 08 '21 12:04 ard0gg

Anybody know if there is an update on this?

Jab2870 avatar Apr 26 '21 09:04 Jab2870

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

ard0gg avatar Apr 28 '21 11:04 ard0gg

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 avatar May 07 '21 18:05 matteodelabre

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

matteodelabre avatar Jul 15 '21 14:07 matteodelabre

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

Thanks in advance

Jab2870 avatar Jul 20 '21 12:07 Jab2870

@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.

matteodelabre avatar Jul 20 '21 17:07 matteodelabre