Gradience
Gradience copied to clipboard
Running fails with error code 139 (issue with PyGObject)
Issue
I just installed the application and I cannot run it. Running:
$ flatpak run com.github.ArtyIF.AdwCustomizer
returns 139, no error messages or anything else. What is wrong?
Issue #69 seems to be the exact same thing. It looks like it isn't a problem of the application directly, so I will dig down to the problem and make a pull request, hopefully.
EDIT: Seems like we've got something here:
PYTHONFAULTHANDLER=1 /app/bin/adwcustomizer
Results in this:
Fatal Python error: Segmentation fault
Current thread 0x00007f8204f17740 (most recent call first):
File "/usr/lib/python3.10/site-packages/gi/overrides/Gio.py", line 42 in run
File "/app/share/adwcustomizer/adwcustomizer/main.py", line 375 in main
File "/app/bin/adwcustomizer", line 60 in <module>
Extension modules: gi._gi, cairo._cairo, gi._gi_cairo (total: 3)
Segmentation fault (core dumped)
Perhaps some GTK call is made improperly?
My error is exactly the same as yours, probably a bug in pygobject. Interesting thing is that AdwCustomizer worked absolutely fine and then suddenly stopped working, there is probably some state that causes pygobject to cause a segfault
I am getting the same error too now, actually. There's a chance it's one of the commits that did something.
On Sat, Aug 6 2022 at 12:32:08 AM -0700, EntityinArray @.***> wrote:
My error is exactly the same as yours, probably a bug in pygobject. Interesting thing is that AdwCustomizer worked absolutely fine and then suddenly stopped working, there is probably some state that causes pygobject to cause a segfault
— Reply to this email directly, view it on GitHub https://github.com/ArtyIF/AdwCustomizer/issues/70#issuecomment-1207167008, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB5FPQXAZICG6JI7B7FUHX3VXYIHRANCNFSM55XSY6BQ. You are receiving this because you are subscribed to this thread.Message ID: @.***>
Nevermind, it does seem to be an issue with PyGObject. I created a new project, and when I built it with flatpak-builder it still had the same error.
Created an issue: https://gitlab.gnome.org/GNOME/pygobject/-/issues/538
Perhaps until the issue is resolved some older version of the library should be used to make sure it works for everyone.
I just builded latest version, and updated GNOME Platform (Nightly), and app works again!

Closing this issue for now, if problem will go back, we will reopen it
Indeed fixed, I can verify.
Fixed for me as well!