You are not logged in.

#1 2021-08-15 08:50:27

archdub
Member
From: Dublin, Ireland
Registered: 2018-03-04
Posts: 112

[SOLVED] pango crashes two of my GTK apps

Yesterday I updated my system and soon after I had Tomboy crash on one of my notes. I have many notes but it crashed only in one and I could not find what was special about it. Anyway, knowing that Tomboy is unmaintained for a long while I went looking for alternatives. I first tried tomboy-ng in AUR. It did not crash but I did not like it at all. This app is Pascal based. Then I saw that there is Gnote in the repos. I installed it and it crashed in the same note where Tomboy crashed. Gnote is c++ and GTK3 based whereas Tomboy is c# and GTK2 based, How could they both crash? I started gdb and did a back trace and it pointed a finger at pango. I reverted pango to the previous version and the problem disappeared with both Pango and Gnote.

There was only one change in the pango PKGBUILD for v. 1.48.8, in this line:
_commit=f51b158e9a8de5fb4f92346420a5a0a9c97065e2  # tags/1.48.8^0
I did not check what that change was.

Unfortunately I am quite busy at the moment and don't have time to further investigate this (for example, using gdb with a version of pango with symbols to pinpoint the issue). I am writing this post just as a heads-up in case someone has a gtk app that suddenly started crashing, to check pango. The change to pango was done three days ago on 12/Aug.

Edit: fixed typo, it is pango not tango!

Last edited by archdub (2021-08-15 09:05:11)

Offline

#2 2021-08-19 02:23:57

Floft
Member
Registered: 2009-11-15
Posts: 43

Re: [SOLVED] pango crashes two of my GTK apps

Thanks for pointing this out! It looks like this is also the cause of Zim crashing that I've been running into. Both versions 1:1.48.8-1 and 1:1.48.9-1 yield the crash but when I downgrade to 1:1.48.7-1 it works.

Offline

#3 2021-08-21 22:40:57

archdub
Member
From: Dublin, Ireland
Registered: 2018-03-04
Posts: 112

Re: [SOLVED] pango crashes two of my GTK apps

I had some free time today so filed a bug report upstream.

https://gitlab.gnome.org/GNOME/pango/-/issues/599

Offline

#4 2021-08-22 00:07:35

archdub
Member
From: Dublin, Ireland
Registered: 2018-03-04
Posts: 112

Re: [SOLVED] pango crashes two of my GTK apps

The issue was fixed upstream about an hour after I reported it! Another indication that it is good to report bugs upstream.
Although it took me far more time to investigate it than it took to fix it.

https://gitlab.gnome.org/GNOME/pango/-/ … 952408dc79

Offline

Board footer

Powered by FluxBB