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

Silent exit after <10 seconds #1055

Closed
dandv opened this issue Feb 15, 2024 · 6 comments
Closed

Silent exit after <10 seconds #1055

dandv opened this issue Feb 15, 2024 · 6 comments

Comments

@dandv
Copy link

dandv commented Feb 15, 2024

I installed PDF Arranger 1.10.1 on Fedora 38 via Flatpak. After I launch it, no matter what I do (even nothing), it exits in about 10 seconds. Nothing is displayed in the console.

To Reproduce

  1. Run flatpak run --branch=stable --arch=x86_64 --command=pdfarranger --file-forwarding com.github.jeromerobert.pdfarranger
  2. Wait 10 seconds

System and Versions

  • pikepdf version - I don't have this installed.
@dreua
Copy link
Member

dreua commented Feb 15, 2024

The flatpak from flathub or from Fedora's repository?
I'll try to reproduce asap, sounds like a crash to me. But 10 seconds sounds really strange, this issue triggers my curiosity.

@dandv
Copy link
Author

dandv commented Feb 15, 2024

I installed it via Discover:

image

@dreua
Copy link
Member

dreua commented Feb 15, 2024

Doesn't reproduce for me unfortunately, also on Fedora 38. You can use the "Sources" dropdown at the top right to install another package version and see if one of those behaves. Is there a reason for the "branch" and "arch" flags i.e. are you on a different arch?

If you want to debug this further:
Try running journacltl --follow in another terminal (may need sudo) and see if it outputs anything interesting at the moment PDF Arranger closes.

It is possible to run strace in a flatpak if you want to try that:

flatpak install runtime/org.gnome.Sdk/x86_64/45
flatpak run --branch=stable --arch=x86_64 --devel --command=strace --file-forwarding com.github.jeromerobert.pdfarranger pdfarranger

Feel free to send me an email (link in bio) with the last lines as I'm not sure whether it is safe to post strace output publicly.

@dreua
Copy link
Member

dreua commented May 22, 2024

Closing for lack of feedback. I'd still be curious to find the cause but it might be hard without direct access to the machine.

@dreua dreua closed this as not planned Won't fix, can't repro, duplicate, stale May 22, 2024
@dandv
Copy link
Author

dandv commented May 22, 2024

Sorry for the lack of feedback!

The CLI flags were copied from the Plasma Application Launcher entry:

image

arch outputs x86_64.

journalctl didn't show anything when PDF Arranger exited. I launched it three times:

May 22 01:36:53 fedora plasmashell[19121]: qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
May 22 01:36:55 fedora systemd[18570]: Started app-com.github.jeromerobert.pdfarranger-bee19e63e83f4d389ccc2235c8ad05d6.scope - PDF Arranger.
May 22 01:36:55 fedora systemd[18570]: Started app-flatpak-com.github.jeromerobert.pdfarranger-625723.scope.
May 22 01:36:55 fedora xdg-desktop-portal-kde[19178]: xdp-kde-settings: Group  "org.freedesktop.appearance"  doesn't exist
May 22 01:36:55 fedora xdg-desktop-portal-kde[19178]: xdp-kde-settings: Namespace  "org.gnome.desktop.a11y.interface"  is not supported
May 22 01:37:13 fedora plasmashell[19121]: qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
May 22 01:37:15 fedora systemd[18570]: Started app-com.github.jeromerobert.pdfarranger-0b75a674070f4a24bdc1dad3b876a87b.scope - PDF Arranger.
May 22 01:37:15 fedora systemd[18570]: Started app-flatpak-com.github.jeromerobert.pdfarranger-625751.scope.
May 22 01:37:15 fedora xdg-desktop-portal-kde[19178]: xdp-kde-settings: Group  "org.freedesktop.appearance"  doesn't exist
May 22 01:37:15 fedora xdg-desktop-portal-kde[19178]: xdp-kde-settings: Namespace  "org.gnome.desktop.a11y.interface"  is not supported
May 22 01:37:25 fedora plasmashell[19121]: qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
May 22 01:37:27 fedora systemd[18570]: Started app-com.github.jeromerobert.pdfarranger-a0fd78afa3654502b027865fb10c6233.scope - PDF Arranger.
May 22 01:37:27 fedora systemd[18570]: Started app-flatpak-com.github.jeromerobert.pdfarranger-625775.scope.
May 22 01:37:27 fedora xdg-desktop-portal-kde[19178]: xdp-kde-settings: Group  "org.freedesktop.appearance"  doesn't exist
May 22 01:37:27 fedora xdg-desktop-portal-kde[19178]: xdp-kde-settings: Namespace  "org.gnome.desktop.a11y.interface"  is not supported

I installed v1.10.1 from the Snap source and it behaves properly. (BTW, it has a different author - maybe the packager? Is that expected?)

image

@dreua
Copy link
Member

dreua commented May 22, 2024

I'm not familiar with snap an its stores but that is the name of the packager.

Unfortunately the journal didn't help. Strace would be the next best debugging tool in my knowledge but that may be complicated without direct access. If the snap works for you I'm happy to leave it like that.

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

No branches or pull requests

2 participants