You are not logged in.

#1 2015-10-02 18:23:53

Matt3o
Member
From: Firenze, Italy
Registered: 2007-09-13
Posts: 177

[SOLVED] new system various seg faults

I've just built a new system with an i7-6700 and nvidia GPU (on proprietary drivers), installing various packages I'm getting segmentation fault. They all seem related to cache rebuilding/update.

Specifically the packages are librsvg and gtk3, the error occurs in post_install with the commands:

gdk-pixbuf-query-loaders --update-cache

and

gtk-query-immodules-3.0 --update-cache

any ideas? thanks

Last edited by Matt3o (2015-10-04 07:23:18)

Offline

#2 2015-10-03 00:39:09

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: [SOLVED] new system various seg faults

https://bbs.archlinux.org/viewtopic.php?id=201194
Something about a combination of newest Intel CPU, mainboards and microcode crashing Linux, persistently.


1000

Offline

#3 2015-10-03 06:34:16

Matt3o
Member
From: Firenze, Italy
Registered: 2007-09-13
Posts: 177

Re: [SOLVED] new system various seg faults

I read the whole thread, I am not actually experiencing any freez. During install I get the seg fault but the system is not affected in any other way. I'm not sure it is the same issue, but it could be.

One thing is weird though. I see no trace of intel_pstate as scaling driver.

~$ ls /sys/devices/system/cpu/
-------------------------------------------------------
cpu0  cpu1  cpu2  cpu3	cpu4  cpu5  cpu6  cpu7	cpufreq  cpuidle  isolated  kernel_max	microcode  modalias  offline  online  possible	power  present	uevent

Last edited by Matt3o (2015-10-03 06:49:55)

Offline

#4 2015-10-03 10:18:19

Matt3o
Member
From: Firenze, Italy
Registered: 2007-09-13
Posts: 177

Re: [SOLVED] new system various seg faults

upon further inspection it turned out that basically all gtk apps throw a seg fault on exit.

Offline

#5 2015-10-03 21:47:40

Matt3o
Member
From: Firenze, Italy
Registered: 2007-09-13
Posts: 177

Re: [SOLVED] new system various seg faults

Offline

#6 2015-10-04 07:22:30

Matt3o
Member
From: Firenze, Italy
Registered: 2007-09-13
Posts: 177

Re: [SOLVED] new system various seg faults

ok, I can't say it's "solved", more of a workaround, but recompiling glibc without --enable-lock-elision seems to be a viable workaround.

sudo pacman -S abs
sudo abs core/glibc
cp -r /var/abs/core/glibc [anywhere-you-want]
cd [anywhere-you-wanted]
nano PKGBUILD # remove the --enable-lock-elision line
gpg --keyserver pgp.mit.edu --recv-keys 25EF0A436C2A4AFF
makepkg -ic
# wait compilation time, it might take some time,

It is not clear to me yet if it's nvidia fault or intel's, anyway if glibc gets updated you have to repeat the above until the bug will be eventually fixed.

Last edited by Matt3o (2015-10-04 07:23:54)

Offline

#7 2015-10-10 03:43:36

JuanQP
Member
Registered: 2015-10-01
Posts: 3

Re: [SOLVED] new system various seg faults

Matt3o wrote:

ok, I can't say it's "solved", more of a workaround, but recompiling glibc without --enable-lock-elision seems to be a viable workaround.

sudo pacman -S abs
sudo abs core/glibc
cp -r /var/abs/core/glibc [anywhere-you-want]
cd [anywhere-you-wanted]
nano PKGBUILD # remove the --enable-lock-elision line
gpg --keyserver pgp.mit.edu --recv-keys 25EF0A436C2A4AFF
makepkg -ic
# wait compilation time, it might take some time,

It is not clear to me yet if it's nvidia fault or intel's, anyway if glibc gets updated you have to repeat the above until the bug will be eventually fixed.

Thank you, thank you very much!

I was trying to find out how to fix this smile . I have a Nvidia Geforce GTX 760 too. I was having the same issue: missing icons on GTK applications. Your workaround have made them appear again tongue

Offline

#8 2015-11-22 08:37:46

Matt3o
Member
From: Firenze, Italy
Registered: 2007-09-13
Posts: 177

Re: [SOLVED] new system various seg faults

glib2 2.46.2 and nvidia 358.16 seem to have fixed this issue. can anyone confirm?

Last edited by Matt3o (2015-11-22 08:38:06)

Offline

#9 2015-11-22 11:49:07

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,427

Re: [SOLVED] new system various seg faults

@Matt3o negative, have you actually reinstalled glibc with lock-elision enabled? I tried that, doesn't work here

Offline

#10 2016-01-04 07:31:29

Matt3o
Member
From: Firenze, Italy
Registered: 2007-09-13
Posts: 177

Re: [SOLVED] new system various seg faults

V1del wrote:

@Matt3o negative, have you actually reinstalled glibc with lock-elision enabled? I tried that, doesn't work here

problem seems fixed for me (lock-elision is enabled), you probably have a different issue

Offline

Board footer

Powered by FluxBB