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

Segmentation fault with v1.4.0 on Ubuntu #367

Open
Robert-Ernst opened this issue Aug 30, 2019 · 8 comments
Open

Segmentation fault with v1.4.0 on Ubuntu #367

Robert-Ernst opened this issue Aug 30, 2019 · 8 comments

Comments

@Robert-Ernst
Copy link

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

@LaurentFough
Copy link

Also getting this on Arch.

from this aur packagë pixivdeck-bin

  • Will try and debug in a bit.

@sceneturkey
Copy link

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.

@l8doku
Copy link

l8doku commented Aug 31, 2020

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

@narcester
Copy link

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.

@l8doku
Copy link

l8doku commented Sep 12, 2020

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.

@SuperZoops
Copy link

Any updates on this, @l8doku ?

@l8doku
Copy link

l8doku commented Oct 30, 2020

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
Copy link

l8doku commented Oct 30, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants