You are not logged in.

#1 2013-04-08 22:09:43

ianj
Member
Registered: 2012-07-09
Posts: 1

GTK3 applications segfault

On one of my Arch systems (a ThinkPad X220), GTK3 applications all segfault shortly after being launched. Some crash immediately while others will crash after a menu or dialog is opened, but I have not yet identified any that won't crash. This includes nm-applet, ibus-setup, and gnome-system-monitor. I am not that skilled with gdb, but I ran it on one of nm-applet's coredumps and got this:

[root@sazanami ianj]# gdb nm-applet nm-applet.core 
GNU gdb (GDB) 7.5.1
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-unknown-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/nm-applet...(no debugging symbols found)...done.
[New LWP 10328]
[New LWP 10329]
[New LWP 10363]
[New LWP 10330]
[New LWP 10344]

warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".

warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7fff27520000
Core was generated by `nm-applet'.
Program terminated with signal 11, Segmentation fault.
#0  0x00007f32f9e49d71 in g_object_ref () from /usr/lib/libgobject-2.0.so.0
Traceback (most recent call last):
  File "/usr/share/gdb/auto-load/usr/lib/libgobject-2.0.so.0.3400.3-gdb.py", line 9, in <module>
    from gobject import register
  File "/usr/share/glib-2.0/gdb/gobject.py", line 3, in <module>
    import gdb.backtrace
ImportError: No module named backtrace

I ran a few other GTK3 applications' coredumps through gdb and the line

#0  0x00007f32f9e49d71 in g_object_ref () from /usr/lib/libgobject-2.0.so.0

keeps appearing, identical except for the memory address. I tried searching the forums and Google for other instances of this problem, but all those I could find were caused by a faulty theme or by outdated graphics drivers, which are not applicable to my case. Any ideas on this issue? I've put off solving it for months, but it's getting hard to avoid GTK3 applications anymore. This is a fresh install from earlier this afternoon, and aside from a few fonts and icons, the only AUR package installed is jd (a 2ch reader).


ThinkPad X220 / Core i7-2640M / Arch Linux x86_64
Sun Ultra 24 / Core 2 Q9650 / FreeBSD amd64
SGI Origin 300 / 4x MIPS R14000 / IRIX64 6.5.30

Offline

#2 2013-04-17 20:50:46

Giselher
Member
From: Austria
Registered: 2010-02-02
Posts: 150
Website

Re: GTK3 applications segfault

I have the same exact issue.

I tried a lot of things like glib-compile-schemas and xdg-user-dirs-update which was suggested on some websites but I still can't start any gtk3 application.
I found a few threads on the forum but all the posted solutions never worked.

EDIT:
I get this message, but I already tried to recompile the gsettings schemas.

 (nm-applet:20300): GLib-GIO-ERROR **: No GSettings schemas are installed on the system

Last edited by Giselher (2013-04-17 20:52:35)

Offline

#3 2013-04-17 20:59:37

Unia
Member
From: Stockholm, Sweden
Registered: 2010-03-30
Posts: 2,486
Website

Re: GTK3 applications segfault

What GTK3 version do you have installed? Are you running from [testing]?


If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres

Offline

#4 2013-04-18 04:18:24

Giselher
Member
From: Austria
Registered: 2010-02-02
Posts: 150
Website

Re: GTK3 applications segfault

Yes I have testing enabled and I am running gtk+ 3.8.1.

Offline

#5 2013-04-18 08:03:26

Unia
Member
From: Stockholm, Sweden
Registered: 2010-03-30
Posts: 2,486
Website

Re: GTK3 applications segfault

Then you shouldn't report you issues here but in the testing subforum. Running testing guaranteers you to issues like this.


If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres

Offline

#6 2013-04-18 20:02:38

Giselher
Member
From: Austria
Registered: 2010-02-02
Posts: 150
Website

Re: GTK3 applications segfault

In case anyone is waiting for a useful respones.

Something changed my XDG_DATA_DIRS variable and now I changed it back and everything works again.

Offline

#7 2013-04-18 20:23:21

Unia
Member
From: Stockholm, Sweden
Registered: 2010-03-30
Posts: 2,486
Website

Re: GTK3 applications segfault

Glad you solved it! Now could you mark your topic as [SOLVED]?


If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres

Offline

Board footer

Powered by FluxBB