Gradience icon indicating copy to clipboard operation
Gradience copied to clipboard

Running fails with error code 139 (issue with PyGObject)

Open tseli0s opened this issue 3 years ago • 6 comments

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?

tseli0s avatar Aug 05 '22 23:08 tseli0s

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?

tseli0s avatar Aug 06 '22 00:08 tseli0s

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

EntityinArray avatar Aug 06 '22 07:08 EntityinArray

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

ArtyIF avatar Aug 06 '22 07:08 ArtyIF

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.

ArtyIF avatar Aug 06 '22 07:08 ArtyIF

Created an issue: https://gitlab.gnome.org/GNOME/pygobject/-/issues/538

EntityinArray avatar Aug 06 '22 07:08 EntityinArray

Perhaps until the issue is resolved some older version of the library should be used to make sure it works for everyone.

tseli0s avatar Aug 06 '22 09:08 tseli0s

I just builded latest version, and updated GNOME Platform (Nightly), and app works again!

изображение

daudix avatar Aug 09 '22 12:08 daudix

Closing this issue for now, if problem will go back, we will reopen it

daudix avatar Aug 09 '22 23:08 daudix

Indeed fixed, I can verify.

tseli0s avatar Aug 12 '22 05:08 tseli0s

Fixed for me as well!

EntityinArray avatar Aug 12 '22 05:08 EntityinArray