GNOME Bugzilla – Bug 712557
Gnome-Tweak_tool crashing when setting desktop background
Last modified: 2013-11-27 22:51:41 UTC
This is still happening here is the core dump. Happens about 3 to 4 seconds after background change
Sorry the core dump was above 1.6mb so here's a link to it: https://www.dropbox.com/s/bxilw25vkw6uzts/core.zip
Version? Distro? Pygobject version?
Sorry dude The version is the latest g-t-t from git, the distro is Ubuntu Gnome 14.04 with Gnome-Shell 3.10.1 up to staging ppa and the pygobject is either 3.10.1-1 (python-gi-dev) or 2.28.6-12 (python-gobject-2-dev)
I'm pretty sure the combo of PyGObject 3.10.1 and g-t-t from master will still crash. You need either PyGObject 3.10.3 or g-t-t from the 3.10 branch which contains a workaround. Please try again using g-t-t from the 3.10 branch: https://git.gnome.org/browse/gnome-tweak-tool/log/?h=gnome-3-10
Please re-open if you are still seeing this with PyGObject 3.10.3 or g-t-t from the 3.10 branch. *** This bug has been marked as a duplicate of bug 709223 ***
Hi Simon, Sorry I don't know why I only just got your updates 4 days after you posted them. I am looking for 3.10.3 pygobject however there seems to only be 3.10.2 tarball's available from the stable branch: http://ftp.gnome.org/pub/GNOME/sources/pygobject/3.10/ Then it jumps to 3.11 for the dev branch...
My mistake, PyGObject 3.10.2 is the latest one which has the fix. Also note a workaround exists independently of this in g-t-t 3.10.1 (might be easier to deal with because it is pure Python).
I just did a git clone instead. I still get crashes using the latest g-t-t from git, with pygobject 3.10.3, and 3.11.3 while changing desktop background I also get crashes when using the g-t-t 3.10.1 (default installed with ubuntu gnome 14.04), and pygobject 3.10.1-1, 3.10.3 and 3.11.3 while changing desktop background
hmmm I ust saw your comment - does 3.10.3 or 3.11.3 contain the fixes as well?
right it seems the pygobject 3.11.3 still contains the fix. If I switch the branch from master to gnome-3-10 in gnome-tweak-tool then it works fine while changing desktop background. So it needs to be both the pygobject and the g-t-t tool with changes for it to stop crashing. I assumed that the master branch for g-t-t would have included the changes as well but obviously not.
(In reply to comment #10) > right it seems the pygobject 3.11.3 still contains the fix. > > If I switch the branch from master to gnome-3-10 in gnome-tweak-tool then it > works fine while changing desktop background. Great, the workaround "should" also be in g-t-t 3.10.1 > So it needs to be both the pygobject and the g-t-t tool with changes for it to > stop crashing. > > I assumed that the master branch for g-t-t would have included the changes as > well but obviously not. For g-t-t 3.11 or latest, yes, it doesn't have a workaround likely because it will depend on PyGObject 3.11.2 or latest which fixes things at a deeper level.
Ok but with pygobject 3.11.3 g-t-t master branch is still crashing, so it seems to still require the fix from the g-t-t 3.10 branch to stop that happening.
Simon, can you reproduce with pygo 3.10.3 and gtt master?
(In reply to comment #12) > Ok but with pygobject 3.11.3 g-t-t master branch is still crashing, so it seems > to still require the fix from the g-t-t 3.10 branch to stop that happening. Hmm.. that doesn't make much sense to me although it could be another (related) issue. Can you let us know how you are running g-t-t and explicitly check the version of PyGObject? $ python -c "import gi; print(gi.version_info)" (In reply to comment #13) > Simon, can you reproduce with pygo 3.10.3 and gtt master? I've never even been able to run g-t-t out of my jhbuild environment on ubuntu 13.04... Any pointers there? basically it hangs when starting an eventually quits with: (gnome-tweak-tool:5236): GLib-GIO-CRITICAL **: Timeout was reached
Removing as dup until we can confirm this was actually fixed.
(In reply to comment #14) > (In reply to comment #12) > > Ok but with pygobject 3.11.3 g-t-t master branch is still crashing, so it seems > > to still require the fix from the g-t-t 3.10 branch to stop that happening. > > Hmm.. that doesn't make much sense to me although it could be another (related) > issue. Can you let us know how you are running g-t-t and explicitly check the > version of PyGObject? > $ python -c "import gi; print(gi.version_info)" > > (In reply to comment #13) > > Simon, can you reproduce with pygo 3.10.3 and gtt master? > > I've never even been able to run g-t-t out of my jhbuild environment on ubuntu > 13.04... Any pointers there? basically it hangs when starting an eventually > quits with: > > (gnome-tweak-tool:5236): GLib-GIO-CRITICAL **: Timeout was reached Hmm, I never use jhbuild (I just install stuff in /opt/ and manage my own environment variables). This sounds like some single-instance GApplication failure. Are you sure there is not a crashed g-t-t running the the background somewhere, and the subsequent launched instance fails to contact it? I suggest cloning g-t-t from git and running it from the jhbuild shell (i.e. not installed). By default it will pick up the system schema and the jhbuild libs. You can also start g-t-t with the --prefix option to ask it to look in other prefix for gsettings.
(In reply to comment #16) > This sounds like some single-instance GApplication failure. Are you sure there > is not a crashed g-t-t running the the background somewhere, and the subsequent > launched instance fails to contact it? It is possible that was the problem. Since my last reply, I had restarted my environment and and g-t-t works today. I've attempted to run various versions of PyGObject against the latest g-t-t source and I don't see any crashes when changing backgrounds. Even PyGObject 3.10.2 with latest g-t-t which doesn't include the GIL fix or the hack still does not crash with for me. I was able to verify PyGObject 3.10.2 with latest g-t-t crashes when changing dconf settings (bug 709876) and updating to PyGObject 3.10.3 fixes that. Peter, The core file you provided doesn't have any symbols so I cannot do much with it. Can you provide a backtrace with symbols? Also the output from (my question in comment #14): $ python -c "import gi; print(gi.version_info)"
Ugg, version confusion, replace PyGObject 3.10.2 with 3.10.1 in my last reply.
I think I'm running pygobject 3.11.3 output of python -c "import gi; print(gi.version_info)" (3, 10, 1) output of python3 -c "import gi; print(gi.version_info)" (3, 11, 3) g-t-t 3.10.1-0ubuntu1~saucy1 So does g-t-t use python3 ? If you let me know then i will try the different combinations I mentioned earlier to confirm what works and what doesn't. How can I build pygobject against python 2 if g-t-t is using that?
Gnome tweak tool users python2. Why it's one of the commands you listed above 'python3' and the other not?
I just ran against both python and python3. So I haven't built pygobject against python2. So that would explain why the crashes were still happening when I thought I had upgraded to 3.11.3 - I hadn't, it was still using the older one. Can you tell me how I can build pygobject so it uses python2 not python3?
(wow, replying on a phone killed my spelling in that last message) (In reply to comment #21) > I just ran against both python and python3. So I haven't built pygobject > against python2. > > So that would explain why the crashes were still happening when I thought I had > upgraded to 3.11.3 - I hadn't, it was still using the older one. > > Can you tell me how I can build pygobject so it uses python2 not python3? Which distro are you on?
(In reply to comment #21) > Can you tell me how I can build pygobject so it uses python2 not python3? ./configure --with-python=python2 or ./autogen.sh --with-python=python2 if you are building from git.
> ./autogen.sh --with-python=python2 > > if you are building from git. nice one thanks :) > Which distro are you on? I'm on Ubuntu Gnome 14.04
Ok hi guys, Sorry it took a while I decided to stop using checkinstall to build packages as it left too much crap in the builds, and didn't do it the ubuntu way. So after building the pygobject the ubuntu way the commands above now return 3, 11, 3 for both of them (yes i know it's only python2 we're concerned about), and the latest build of g-t-t from master works with no crashing when changing desktop background. This is also the case for pygobject 3.10.3 So yeah we can just go ahead and close this bug now ;)
*** This bug has been marked as a duplicate of bug 709223 ***