You are not logged in.

#1 2015-07-05 09:58:24

acrypter
Member
Registered: 2015-07-05
Posts: 8

[SOLVED] New Arch Installation on new System, Segmentation Fault

Hi guys,

thanks in advance for your help. So I recently set up Arch on a new PC, now my system is pretty much ready to be used. But I get a very annoying bugs with a lot of programs (firefox, thunar, terminal emulator). I currently have two bugs, I am not sure if they are connected, maybe they are not. So I run Xfce4 and if I right click and start one of the four "main programs" (Terminal Emulator, File Manager, Mail Reader or Web Browser) a window pops up (additional to the program I have started) which says:

Failed to execute default (File Manager,Web Browser, Terminal Emulator, etc...).
Input/output error.

But if I run thunar by opening it with right click -> accessories the error does not come up. So I am pretty sure this error is somehow Xfce4 related.

To debug this kind of error I tried starting the programs (thunar, firefox) per command line to get additional information. This is when I noticed another bug (or it is the same, or even not related at all). Whenever I try to run a program per command line (not every program, but major ones like firefox, thunar, etc...) I get the following error:

[some number] segmentation fault (core dumped) [program name]

I still can use the program (I can copy files in thunar, surf with firefox) but this bug is very annoying and I am afraid it has something to do with my SSD).
What I read online (on this post for example: https://unix.stackexchange.com/question … ion-fault) a segmentation fault occurs when a program tries to access some memory it is not supposed to. The only solutions that are recommened by lots of people is fix your program (this of course only works if your own written program occurs to produce this bug) or report it to the dev team. But I am pretty sure that this errors only occur on my system (I do not think firefox, thunar etc... all have the same bug at the same time).

The only real reason for this bug, as a friend suggested could be a faulty SSD driver (I own a  Samsung SSD 850 EVO 120GB ). I hope there is a way to fix this.

Also as additional information here is the output of strace if I try to run thunar as an example (see the bug at the end). http://pastebin.com/2CPC1LM1

Sorry for my bad english and thanks for your help in advance.

EDIT:

dmesg ouput: http://sprunge.us/gRFS
cat /etc/os-release output:
NAME="Arch Linux"
ID=arch
PRETTY_NAME="Arch Linux"
ANSI_COLOR="0;36"
HOME_URL="https://www.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://bugs.archlinux.org/"

FINAL EDIT:

Updating the Microcode described here (https://wiki.archlinux.org/index.php/Microcode) solved the problem.
THANKS guys

Last edited by acrypter (2017-07-28 16:38:55)

Offline

#2 2015-07-05 10:09:07

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,734
Website

Re: [SOLVED] New Arch Installation on new System, Segmentation Fault

Anything relevant in the output of dmesg?  Post the output of `cat /etc/os-release`

Offline

#3 2015-07-05 10:28:52

acrypter
Member
Registered: 2015-07-05
Posts: 8

Re: [SOLVED] New Arch Installation on new System, Segmentation Fault

I added the information you asked for to the post

Offline

#4 2015-07-05 10:40:31

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,737
Website

Re: [SOLVED] New Arch Installation on new System, Segmentation Fault

Do you have an Intel CPU? EDIT: Answered my question by looking at your dmesg output.

You might need to update your microcode. See this.

Last edited by WorMzy (2015-07-05 10:44:25)


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#5 2015-07-05 11:10:38

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: [SOLVED] New Arch Installation on new System, Segmentation Fault

Check the health of your memory chips with memtest or similar -- most live distributions include an option to run this.

I don't think it will be your SSD (the Samsung EVO 850 is very new) but you could try a SMARTCTL check.


Jin, Jîyan, Azadî

Offline

#6 2015-07-05 14:18:40

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: [SOLVED] New Arch Installation on new System, Segmentation Fault

WorMzy wrote:

Do you have an Intel CPU? EDIT: Answered my question by looking at your dmesg output.

You might need to update your microcode. See this.

Pretty sure this is going to be it. i7-4790K is a Haswell CPU and he's running microcode revision 0x19 instead of the current 0x1c.

Offline

Board footer

Powered by FluxBB