PixivDeck icon indicating copy to clipboard operation
PixivDeck copied to clipboard

Segmentation fault with v1.4.0 on Ubuntu

Open Robert-Ernst opened this issue 4 years ago • 8 comments

Do you want to request a feature or report a bug?: Bug

What is the current behavior?: executing ./pixivdeck Output: Segmentation fault (core dumped)

What is the expected behavior?: Start of the application

Which Version is used?: https://github.com/akameco/PixivDeck/releases/tag/v1.4.0 .deb and Appimage --> same behavior

ProblemType: Crash Architecture: amd64 CurrentDesktop: GNOME Date: Fri Aug 30 19:04:01 2019 DistroRelease: Ubuntu 19.04 ExecutablePath: /opt/PixivDeck/pixivdeck

Robert-Ernst avatar Aug 30 '19 17:08 Robert-Ernst

Also getting this on Arch.

from this aur packagë pixivdeck-bin

  • which is built from this 1.4.0 version: https://github.com/akameco/PixivDeck/releases/download/v1.4.0/PixivDeck_1.4.0_amd64.deb
  • Will try and debug in a bit.

LaurentFough avatar Jul 07 '20 20:07 LaurentFough

I'm also having this exact issue on Manjaro exactly one year after this issue was brought up. It worked to pull bookmarks to a folder one time and now it displays this error whenever I try to start pixivdeck in terminal.

sceneturkey avatar Aug 31 '20 04:08 sceneturkey

I'm also having this exact issue on Manjaro exactly one year after this issue was brought up. It worked to pull bookmarks to a folder one time and now it displays this error whenever I try to start pixivdeck in terminal.

I've tried to debug this some time ago. The problem is related to outdated dependencies. There was a bug related to an older electron version, and the electron's response on their issues page is "ask app developers to update their dependencies, it's not our bug".

You can't run the old version of everything because one of the packages (the one with the but, I think) is too important to downgrade it (you would break everything). You can update the dependencies and build from source though. I've tried this and it was somewhat successful. I ran the app but everything kept breaking somewhere because I didn't really know what I was doing when I was updating it. So I ended up giving up.

I can try making a fork that produces a runnable build, but debugging this was my first experience with npm and electron, so I'm not sure I can make it usable instead of just "runnable".

l8doku avatar Aug 31 '20 07:08 l8doku

I'm also having this exact issue on Manjaro exactly one year after this issue was brought up. It worked to pull bookmarks to a folder one time and now it displays this error whenever I try to start pixivdeck in terminal.

I've tried to debug this some time ago. The problem is related to outdated dependencies. There was a bug related to an older electron version, and the electron's response on their issues page is "ask app developers to update their dependencies, it's not our bug".

You can't run the old version of everything because one of the packages (the one with the but, I think) is too important to downgrade it (you would break everything). You can update the dependencies and build from source though. I've tried this and it was somewhat successful. I ran the app but everything kept breaking somewhere because I didn't really know what I was doing when I was updating it. So I ended up giving up.

I can try making a fork that produces a runnable build, but debugging this was my first experience with npm and electron, so I'm not sure I can make it usable instead of just "runnable".

I would love to see a working fork of this project, because I really don't want to keep using my browser for pixiv. I would also love to see the project getting updated by the developer himself if that is possible, but I assume the developer may also be busy with other stuff. I unfortunately do not have any alternative for pixiv on Linux, only this, so I'd really want to see this project work.

narcester avatar Sep 11 '20 20:09 narcester

I would love to see a working fork of this project, because I really don't want to keep using my browser for pixiv. I would also love to see the project getting updated by the developer himself if that is possible, but I assume the developer may also be busy with other stuff. I unfortunately do not have any alternative for pixiv on Linux, only this, so I'd really want to see this project work.

I'll try to upload my attempt at patching up the version 1.5.0. I'd also like to see updates by the developer, as I have no idea what I'm doing and I probably won't be able to maintain my fork (not even talking about updating it).

I just tried running it - it's barely usable. It crashes all the time when you try to open any page except for the default feed. Once I upload my fork I'll try looking into those crashes, maybe I can fix them by random tweaks, like I did with the segmentation fault error. Hopefully, once there is a runnable version, someone can help me fixing it.

l8doku avatar Sep 12 '20 15:09 l8doku

Any updates on this, @l8doku ?

SuperZoops avatar Oct 29 '20 21:10 SuperZoops

Any updates on this, @l8doku ?

Thank you for reminding me of this, @SuperZoops . I'll try to push it this weekend. Haven't ever done anything like this, so the whole thing was scaring me away.

l8doku avatar Oct 30 '20 05:10 l8doku

I pushed my version here: https://github.com/l8doku/PixivDeck

There are surprisingly few changes to files, I remember installing npm packages for at least an hour to make it work. I just checked, and it shouldn't work out of the box. I don't know how to modify package.json properly so it has all the correct packages. But if you repeatedly try to build it, see the error "package X is missing" and install the package from the error message you should be able to run it.

I can make a release with an updated Appimage, but it isn't usable as an application, so I don't think it's going to be helpful to anyone.

l8doku avatar Oct 30 '20 15:10 l8doku