Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Emacs with xft segmentation fault
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
bronislav
n00b
n00b


Joined: 05 May 2008
Posts: 11

PostPosted: Sat Oct 26, 2013 5:02 am    Post subject: Emacs with xft segmentation fault Reply with quote

I have a problem with launching emacs. If I launch emacs it terminal (emacs -nw) everithing ok. But launching emacs with X brings segmentation fault. Here is backtrace and package info.

Quote:

Fatal error 11: Segmentation fault
Backtrace:
emacs[0x4e795b]
emacs[0x4ccd9d]
emacs[0x4e64fe]
emacs[0x4e6563]
/lib64/libpthread.so.0(+0x10bf0)[0x7fa13badabf0]
/usr/lib64/libfreetype.so.6(+0x6573e)[0x7fa13bf8873e]
/usr/lib64/libfreetype.so.6(+0x6aebc)[0x7fa13bf8debc]
/usr/lib64/libfreetype.so.6(+0x6c83f)[0x7fa13bf8f83f]
/usr/lib64/libfreetype.so.6(FT_Render_Glyph_Internal+0x95)[0x7fa13bf3cb25]
/usr/lib64/libXft.so.2(XftFontLoadGlyphs+0x348)[0x7fa13d748408]
/usr/lib64/libXft.so.2(XftGlyphExtents+0x214)[0x7fa13d745a84]
emacs[0x59fa55]
emacs[0x423d24]
emacs[0x44b0e8]
emacs[0x434f78]
emacs[0x43b6f0]
emacs[0x442528]
emacs[0x442e90]
emacs[0x4288ea]
emacs[0x44460b]
emacs[0x444a50]
emacs[0x444be1]
emacs[0x53a09e]
emacs[0x540ee7]
emacs[0x563768]
emacs[0x563f14]
emacs[0x541843]
emacs[0x576f83]
emacs[0x54137f]
emacs[0x5416cd]
emacs[0x541aa9]
emacs[0x5647a6]
emacs[0x541843]
emacs[0x576f83]
emacs[0x5416cd]
emacs[0x576f83]
emacs[0x5416cd]
emacs[0x540ee7]
emacs[0x543aaa]
emacs[0x577b2b]
emacs[0x5416cd]
...
[1] 22408 segmentation fault emacs


emerge --info emacs
Quote:

emerge --info emacs [system]
Portage 2.3.6-r5 (funtoo/1.0/linux-gnu/arch/x86-64bit, gcc-4.6.4, glibc-2.15-r4, 3.10.7-gentoo-r1 x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-3.10.7-gentoo-r1-x86_64-Intel-R-_Core-TM-_i3-3110M_CPU_@_2.40GHz-with-gentoo-2.2.0
KiB Mem: 3925348 total, 2734872 free
KiB Swap: 4194300 total, 4194300 free
Timestamp of tree: Thu, 24 Oct 2013 22:45:01 +0000
ld GNU ld (GNU Binutils) 2.22
app-shells/bash: 4.2_p45-r1
dev-lang/python: 2.7.5-r1000, 3.3.2-r1000
dev-util/cmake: 2.8.12
sys-apps/baselayout: 2.2.0-r4
sys-apps/openrc: 0.12.3
sys-apps/sandbox: 2.6-r2
sys-devel/autoconf: 2.13, 2.69
sys-devel/automake: 1.13.4
sys-devel/binutils: 2.22-r1
sys-devel/gcc: 4.6.4-r2
sys-devel/gcc-config: 1.8
sys-devel/libtool: 2.4.2
sys-devel/make: 3.82-r4
sys-kernel/linux-headers: 3.4-r2 (virtual/os-headers)
sys-libs/glibc: 2.15-r4
Repositories: gentoo stuff asux
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=corei7 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=corei7 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="ru_UA.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed"
LINGUAS="en ru"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/stuff /var/lib/layman/asux"
SYNC="git://github.com/funtoo/ports-2012.git"
SYNC_USER="root"
USE="X acl alsa amd64 apng berkdb bzip2 cdr consolekit cracklib crypt cxx dbus dri dvd dvdr dvdread flac gdbm gif gpm gtk gtk3 iconv icu infinality ipv6 jpeg lame libnotify lock mad minizip mmx modules mp3 mpeg mudflap multilib ncurses nls nptl ogg opengl openmp pam pcre png pppd python readline resolvconf session sse sse2 ssl startup-notification svg t1lib tcpd thunar tiff truetype udev udisks unicode vorbis wavpack win32codecs xft xml zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel ice1724 intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias authn_core authz_core socache_shmcb unixd" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev synaptics keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en ru" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_ABIS="2.7 3.3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18 ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="radeon intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, SYNC_UMASK

=================================================================
Package Settings
=================================================================

app-editors/emacs-24.3-r2 was built with the following:
USE="X alsa dbus gif gpm jpeg png svg tiff xft xpm -Xaw3d (-aqua) -athena -games -gconf -gnutls -gsettings -gtk -gtk3 -gzip-el -hesiod -imagemagick -kerberos -libxml2 -livecd -m17n-lib -motif -pax_kernel (-selinux) -sound -source -toolkit-scroll-bars -wide-int"


I'm gonna try build emacs without xft support, but may be there another options?

UPD: I have build emacs without xft support and it started without seg fault, but fonts is ugly. And this in not an option.
Back to top
View user's profile Send private message
nordic bro
Guru
Guru


Joined: 25 Oct 2003
Posts: 585

PostPosted: Sat Oct 26, 2013 11:02 pm    Post subject: Reply with quote

I can't help w/that specific problem but maybe downgrading is an option? I tried 24.3 in a new system and it behaved in so many unexpected ways even after byte-compiling all my personal *.el that I went back to 23.x and things are fine.

or presuming you have one, have you tried renaming your ~/.emacs temporarily to see if it then starts ok? if you have any emacs-specific stuff like font settings in ~/.Xdefaults I'd comment that; iirc 24.3 turned all-white for me until I renamed my ~/.Xresources so that could be something else to try.

basically if you can establish the trouble occurs in as generic an emacs environment as possible you may be able to isolate what's the matter.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum