You are not logged in.

#1 2015-05-07 14:39:26

fzerorubigd
Member
Registered: 2011-06-19
Posts: 19

[SOLVED] Segmentation fault after update

Long story short, after upgrading my system to linux 4.0 (with pacman -Syu) I just restart machine. after that, many application has problem, including emacs (emacs -nw works fine) the output of emacs is something like this :

Fatal error 11: Segmentation fault
Backtrace:
emacs[0x503933]
emacs[0x4ea34e]
emacs[0x50274e]
emacs[0x5027b3]
/usr/lib/libpthread.so.0(+0x10740)[0x7fde391b4740]
/usr/lib/libc.so.6(__rawmemchr+0x1f)[0x7fde38e8bb2f]
/usr/lib/libc.so.6(+0x76092)[0x7fde38e77092]
/usr/lib/libc.so.6(__isoc99_vsscanf+0x57)[0x7fde38e67967]
/usr/lib/libc.so.6(__isoc99_sscanf+0x87)[0x7fde38e67907]
/usr/lib/libepoxy.so.0(epoxy_glx_version+0x42)[0x7fde37aff942]
/usr/lib/libgdk-3.so.0(+0x58c39)[0x7fde3dc31c39]
/usr/lib/libgdk-3.so.0(+0x58f5a)[0x7fde3dc31f5a]
/usr/lib/libgdk-3.so.0(+0x6131e)[0x7fde3dc3a31e]
/usr/lib/libgdk-3.so.0(+0x5e2d6)[0x7fde3dc372d6]
/usr/lib/libgdk-3.so.0(+0x50c5b)[0x7fde3dc29c5b]
/usr/lib/libgdk-3.so.0(gdk_display_manager_open_display+0xd7)[0x7fde3dc05017]
/usr/lib/libgtk-3.so.0(gtk_init_check+0x20)[0x7fde3e0a7090]
/usr/lib/libgtk-3.so.0(gtk_init+0x9)[0x7fde3e0a70c9]
emacs[0x4c7dbf]
emacs[0x4c8fc1]
emacs[0x55c79d]
emacs[0x591a93]
emacs[0x55c25f]
emacs[0x55c5d3]
emacs[0x591a93]
emacs[0x55c5d3]
emacs[0x55bd7c]
emacs[0x55ea41]
emacs[0x592dd7]
emacs[0x55c5d3]
emacs[0x591a93]
emacs[0x55d898]
emacs[0x55b9c5]
emacs[0x55e024]
emacs[0x55aaa7]
emacs[0x4ea866]
emacs[0x55a98b]
emacs[0x4eedef]
emacs[0x4ef120]
emacs[0x418159]
/usr/lib/libc.so.6(__libc_start_main+0xf0)[0x7fde38e21800]
...
[1]    15953 segmentation fault (core dumped)  emacs

other application including variety, pgmodeler (from AUR). all are working before restart, after that, I get segmentation fault on them. the emacs output has some other data on it, but the other are not so verbose hmm

I downgrade all package that own so files mentioned above (gtk3, glibc) I have microcode installed (It was installed about a year ago and is up to date)

Thanks for your help.

Last edited by fzerorubigd (2015-05-07 17:40:24)

Offline

#2 2015-05-07 15:08:34

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,052

Re: [SOLVED] Segmentation fault after update

With multiple applications segfaulting, the microcode is the most likely suspect if you're on Haswell or early Broadwell. Are you sure it's getting applied correctly?

Offline

#3 2015-05-07 15:28:15

fzerorubigd
Member
Registered: 2011-06-19
Posts: 19

Re: [SOLVED] Segmentation fault after update

I had the microcode problem long time ago (about 3-4 month ago if I'm not wrong). but just for check if I'm doing something wrong :

dmesg | grep microcode
[    0.000000] CPU0 microcode updated early to revision 0x1b, date = 2014-05-29
[    0.125912] CPU2 microcode updated early to revision 0x1b, date = 2014-05-29
[    0.166987] CPU4 microcode updated early to revision 0x1b, date = 2014-05-29
[    0.204812] CPU6 microcode updated early to revision 0x1b, date = 2014-05-29
[    0.712553] microcode: CPU0 sig=0x306a9, pf=0x10, revision=0x1b
[    0.712561] microcode: CPU1 sig=0x306a9, pf=0x10, revision=0x1b
[    0.712571] microcode: CPU2 sig=0x306a9, pf=0x10, revision=0x1b
[    0.712580] microcode: CPU3 sig=0x306a9, pf=0x10, revision=0x1b
[    0.712589] microcode: CPU4 sig=0x306a9, pf=0x10, revision=0x1b
[    0.712597] microcode: CPU5 sig=0x306a9, pf=0x10, revision=0x1b
[    0.712605] microcode: CPU6 sig=0x306a9, pf=0x10, revision=0x1b
[    0.712614] microcode: CPU7 sig=0x306a9, pf=0x10, revision=0x1b
[    0.712662] microcode: Microcode Update Driver: v2.00 <tigran@aivazian.fsnet.co.uk>, Peter Oruba
bsdtar -Oxf /boot/intel-ucode.img | iucode_tool -tb -lS - 
iucode_tool: system has processor(s) with signature 0x000306a9
selected microcodes:
001: sig 0x000306a9, pf mask 0x12, 2014-05-29, rev 0x001b, size 12288

and I have this line in my grub.cfg :

initrd  /boot/intel-ucode.img /boot/initramfs-linux.img

Offline

#4 2015-05-07 15:32:43

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,052

Re: [SOLVED] Segmentation fault after update

You're right, looks like everything is in good shape there.

Offline

#5 2015-05-07 17:39:57

fzerorubigd
Member
Registered: 2011-06-19
Posts: 19

Re: [SOLVED] Segmentation fault after update

Cheking dependencies and all my problems was the catalyst-total-pxp from AUR, switching to open source ati driver, and anything is solved.

I HATE ATI!

Offline

#6 2015-05-14 18:44:51

anisart
Member
Registered: 2015-05-14
Posts: 5

Re: [SOLVED] Segmentation fault after update

Same issue. As fzerorubigd I update microcode an have same output of dmesg (but revision=0x1c). And I have tried different versions of Nvidia driver and kernel (regular/mainline/lts) - get in dmesg

segfault at 8 ip 00007fb237299567 sp 00007fff30caeab0 error 4 in ld-2.21.so[7fb23728e000+22000]

Before upgrading I use linux-mainline 4.0 without any problem.

Any ideas?

Offline

#7 2015-05-14 18:52:17

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 12,381
Website

Re: [SOLVED] Segmentation fault after update

Hi Anisart, welcome to Arch.

As this thread has been marked as solved (and presumably the solution didn't work for you), please create a new thread and link back to this one if you think it's content is relevant.

Forum etiquette wrote:

If a thread is marked as [SOLVED], do not reply stating the equivalent of "I am having a similar issue.."; start a new thread and link to the [SOLVED] thread, if relevant.

https://wiki.archlinux.org/index.php/Fo … ow_to_post

Thanks.


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

Board footer

Powered by FluxBB