You are not logged in.

#1 2016-01-20 04:49:05

lokoum
Member
Registered: 2014-07-22
Posts: 18

[SOLVED]emacs segfault

Hello,

I have a problem on my fresh arch install on my Desktop
when I exit emacs, I got a segfault. I have install kde plasma and only nvidia driver with nividia-ligl (no xf86-video-intel)

I try to install intel-ucode, here is my boot tree:

$ tree    
.
|-- EFI
|   |-- BOOT
|   |   |-- bootx64.efi
|   |   |-- icons
|   |   |   |-- arrow_left.png
|   |   |   |-- arrow_right.png
|   |   |   |-- boot_linux.png
|   |   |   |-- boot_win.png
|   |   |   |-- func_about.png
|   |   |   |-- func_exit.png
|   |   |   |-- func_firmware.png
|   |   |   |-- func_reset.png
|   |   |   |-- func_shutdown.png
|   |   |   |-- os_altlinux.png
|   |   |   |-- os_arch.png
|   |   |   |-- os_centos.png
|   |   |   |-- os_chrome.png
|   |   |   |-- os_clover.png
|   |   |   |-- os_debian.png
|   |   |   |-- os_ecomstation.png
|   |   |   |-- os_elementary.png
|   |   |   |-- os_fatdog.png
|   |   |   |-- os_fedora.png
|   |   |   |-- os_freebsd.png
|   |   |   |-- os_freedos.png
|   |   |   |-- os_funtoo.png
|   |   |   |-- os_gentoo.png
|   |   |   |-- os_gummiboot.png
|   |   |   |-- os_haiku.png
|   |   |   |-- os_hwtest.png
|   |   |   |-- os_kali.png
|   |   |   |-- os_kubuntu.png
|   |   |   |-- os_legacy.png
|   |   |   |-- os_linux.png
|   |   |   |-- os_linuxmint.png
|   |   |   |-- os_lubuntu.png
|   |   |   |-- os_mac.png
|   |   |   |-- os_mageia.png
|   |   |   |-- os_mandriva.png
|   |   |   |-- os_manjaro.png
|   |   |   |-- os_mythbuntu.png
|   |   |   |-- os_netbsd.png
|   |   |   |-- os_network.png
|   |   |   |-- os_openbsd.png
|   |   |   |-- os_opensuse.png
|   |   |   |-- os_redhat.png
|   |   |   |-- os_refind.png
|   |   |   |-- os_refit.png
|   |   |   |-- os_slackware.png
|   |   |   |-- os_suse.png
|   |   |   |-- os_ubuntu.png
|   |   |   |-- os_unknown.png
|   |   |   |-- os_win.png
|   |   |   |-- os_win8.png
|   |   |   |-- os_xubuntu.png
|   |   |   |-- tool_apple_rescue.png
|   |   |   |-- tool_memtest.png
|   |   |   |-- tool_mok_tool.png
|   |   |   |-- tool_netboot.png
|   |   |   |-- tool_part.png
|   |   |   |-- tool_shell.png
|   |   |   |-- tool_windows_rescue.png
|   |   |   |-- transparent.png
|   |   |   |-- vol_external.png
|   |   |   |-- vol_internal.png
|   |   |   |-- vol_net.png
|   |   |   `-- vol_optical.png
|   |   |-- keys
|   |   |   |-- SLES-UEFI-CA-Certificate.cer
|   |   |   |-- altlinux.cer
|   |   |   |-- canonical-uefi-ca.der
|   |   |   |-- fedora-ca.cer
|   |   |   |-- microsoft-kekca-public.der
|   |   |   |-- microsoft-pca-public.der
|   |   |   |-- microsoft-uefica-public.der
|   |   |   |-- openSUSE-UEFI-CA-Certificate.cer
|   |   |   `-- refind.cer
|   |   `-- refind.conf
|   `-- tools
|-- initramfs-linux-fallback.img
|-- initramfs-linux.img
|-- intel-ucode.img
`-- vmlinuz-linux

5 directories, 78 files

and the boot entry:

$ cat /boot/EFI/BOOT/refind.conf

menuentry "archLinoux"{
volume Boot
loader vmlinuz-linux
options "root=/dev/sdb4 rw initrd=intel-ucode.img initrd=initramfs-linux.img"
}

but emacs still segfault. thank  you.

Last edited by lokoum (2016-01-20 07:38:00)

Offline

#2 2016-01-20 05:09:44

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,385
Website

Re: [SOLVED]emacs segfault

Are you fully up-to-date?  There was an issue solved in nvidia 358.16.

Offline

#3 2016-01-20 05:27:44

lokoum
Member
Registered: 2014-07-22
Posts: 18

Re: [SOLVED]emacs segfault

yes, the full system is up to date with 358.16

Edit: when I run nvidia-settings, and quit it from the GUI it segfault too

Edit2: others apps seem to segfault as well in fact, when I run firefox from command line, it display segFault but the window still works. I do not understand.

Edit 3 : So after some researches I think I have this bug https://bugs.archlinux.org/task/46064?project=1
and in the description of beta driver 361.18 we can read :

Fixed a bug in the EGL driver where a mutex was unlocked more than once. This triggers undefined behavior, and in particular, if lock elision is enabled in glibc, may result in a segmentation fault.

this is why I get segfault on many programs.

I read from the wiki that install driver from the official website is not recommanded. Has anyone tried it ?

Last edited by lokoum (2016-01-20 06:17:47)

Offline

#4 2016-01-20 07:06:48

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,385
Website

Re: [SOLVED]emacs segfault

Ah - I assumed it was fixed in the .16 version.   .18 is in [testing] but requires updating to the testing kernel too...

Offline

#5 2016-01-20 07:37:42

lokoum
Member
Registered: 2014-07-22
Posts: 18

Re: [SOLVED]emacs segfault

yep, so I installed with success the .run 361.18, and all my problems disappear ! thank you

Offline

Board footer

Powered by FluxBB