You are not logged in.

#1 2015-04-26 21:05:57

asimilator
Member
Registered: 2015-04-26
Posts: 2

[Solved] GTK2 segfault on install

When installing GTK2 on a completely fresh system (just wiped and reinstalled) I get the following:

# pacman -S gtk2
[TRUNCATED]
/tmp/alpm_ar0q0N/.INSTALL: line 1:    952 Segmentation Fault    (core dumped) /usr/bin/gtk-query-immodules-2.0 --update-cache
error: command failed to execute correctly

Interestingly if I run gtk-query-immodules-2.0 --update-cache manually as root I get a segfault:

# /usr/bin/gtk-query-immodules-2.0 --update-cache
Segmentation fault (core dumped)

But if I run with sudo it seems to work:

$ sudo /usr/bin/gtk-query-immodules-2.0 --update-cache

Any help would be appreciated. The only gtk2 app I use is eclipse, which segfaults when I start it (even after running gtk-query-immodules with sudo).

EDIT stacktrace:

# gdb /usr/bin/gtk-query-immodules-2.0
Reading symbols from /usr/bin/gtk-query-immodules-2.0...(no debugging symbols found)...done.
(gdb) r --update-cache
Starting program: /usr/bin/gtk-query-immodules-2.0 --update-cache
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff6e30150 in __lll_unlock_elision () from /usr/lib/libpthread.so.0
(gdb) backtrace
#0  0x00007ffff6e30150 in __lll_unlock_elision () from /usr/lib/libpthread.so.0
#1  0x00007ffff28c312c in ?? () from /usr/lib/libEGL.so.1
#2  0x00007ffff28558c2 in ?? () from /usr/lib/libEGL.so.1
#3  0x00007fffffffea40 in ?? ()
#4  0x00007ffff28d4831 in ?? () from /usr/lib/libEGL.so.1
#5  0x00007fffffffea40 in ?? ()
#6  0x00007ffff7dea815 in _dl_fini () from /lib64/ld-linux-x86-64.so.2
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Also it would appear that it also happens with gtk-query-immodules-3.0 (which I'd assume is the equivalent for gtk3).

Last edited by asimilator (2015-04-26 23:31:32)

Offline

#2 2015-04-26 22:15:51

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] GTK2 segfault on install

Offline

#3 2015-04-26 23:31:51

asimilator
Member
Registered: 2015-04-26
Posts: 2

Re: [Solved] GTK2 segfault on install

That was it! Updated the microcode and everything is working now.

Thanks!

Offline

Board footer

Powered by FluxBB