Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 117487

Summary: joe 3.2 on segfaults when trying to load joerc
Product: Gentoo Linux Reporter: -:Szab100:- <szab100>
Component: Current packagesAssignee: Tom Knight (RETIRED) <tomk>
Status: RESOLVED UPSTREAM    
Severity: major CC: lorand.kelemen, szab100
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description -:Szab100:- 2006-01-02 13:40:31 UTC
hi,

 the system is an up to date hardened x8_64 (amd64) machine.. i just did an emerge -Dauv world last week and now joe (my favourite editor) segfaults when trying to load /etc/joe/joerc.. strace/gdb doesn't tell too much.. 
so, i downgraded to 3.0-r2 and its working well now..
please look after it, maybe it's a simple mistyped config-paramater error..
Comment 1 Tom Knight (RETIRED) gentoo-dev 2006-01-02 13:58:32 UTC
Please attach your /etc/joe/joerc and your ~/.joerc and post your emerge --info, thanks.
Comment 2 -:Szab100:- 2006-01-02 14:03:14 UTC
there's no .joerc just /etc/joe/joerc and its the package-default comes with 3.2 amd64 ebuild...

Comment 3 -:Szab100:- 2006-01-02 14:09:06 UTC
iq ~ # emerge --info
Portage 2.0.53 (default-linux/amd64/2005.1/no-multilib, gcc-3.4.4, glibc-2.3.5-r                                              2, 2.6.14-hardened-r3 x86_64)
=================================================================
System uname: 2.6.14-hardened-r3 x86_64 Intel(R) Xeon(TM) CPU 3.60GHz
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -O3 -fomit-frame-pointer -fforce-addr -mmmx -msse3 -mf                                              pmath=sse -pipe -ffast-math -ftracer -maccumulate-outgoing-args"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/                                              config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=nocona -O2 -O3 -fomit-frame-pointer -fforce-addr -mmmx -msse3 -                                              mfpmath=sse -pipe -ffast-math -ftracer -maccumulate-outgoing-args"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/                                              distributions/gentoo"
LINGUAS="hu en"
MAKEOPTS="-j5"
PKGDIR="/usr/portage//packages/amd64/"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage/"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 adns alsa apache2 avi berkdb bitmap-fonts bzip2 crypt cups curl dlz e                                              ds emboss encode expat flash foomaticdb fortran gd gdbm geoip gif gmp gnome gpm                                               gstreamer gtk2 hardened idn imlib ipv6 java javascript jpeg kde largeterminal li                                              bwww lzw lzw-tiff mbox mhash ming mp3 mpeg mysql ncurses nls nptl nptlonly openg                                              l pam pcre pdflib perl pic png python qt quicktime readline sdl slang spell ssl                                               tcpd threads tiff truetype truetype-fonts type1-fonts udev unicode usb userlocal                                              es xml2 xv zlib linguas_hu linguas_en userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 4 Tom Knight (RETIRED) gentoo-dev 2006-01-03 06:49:02 UTC
Please try it with CFLAGS="-march=nocona -O2 -fomit-frame-pointer -pipe".
Comment 5 Tom Knight (RETIRED) gentoo-dev 2006-01-26 12:16:21 UTC
I'm resolving this as NEEDINFO, please re-open it if you still have problems after rebuilding joe with the CFLAGS shown in comment 4.
Comment 6 -:Szab100:- 2006-01-26 20:31:09 UTC
(In reply to comment #5)
> I'm resolving this as NEEDINFO, please re-open it if you still have problems
> after rebuilding joe with the CFLAGS shown in comment 4.
> 

I still have this problem on our amd64 systems (these are EMT64 xeon systems really) with this the CFLAGS you gave..
it segfaults when trying to process /etc/joerc
Comment 7 Lorand Kelemen 2006-06-27 03:36:45 UTC
I have the same problem...
Comment 8 Lorand Kelemen 2006-07-09 02:50:16 UTC
Portage 2.1-r1 (hardened/amd64, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16-hardened-r7 x86_64)
=================================================================
System uname: 2.6.16-hardened-r7 x86_64 Intel(R) Xeon(TM) CPU 3.20GHz
Gentoo Base System version 1.6.15
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=nocona -O2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict userfetch"
GENTOO_MIRRORS="http://gentoo.math.bme.hu http://gentoo.inode.at  http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gentoo.inf.elte.hu http://mirror.uni-c.dk/pub/gentoo/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/usr/egatrop/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="acl amd64 apache2 bash-completion berkdb bzip2 calendar caps chroot clamav cli crypt cscope curl dlloader expat extensions freetype gd geoip hardened hardenedphp hpn iconv idn iodbc justify maildir memlimit mime ncurses nls nptl odbc openssh pam pam_chroot pam_console pam_timestamp pcre perl pic posix postgres python readline session sharedext sharedmem slang sockets sse sse2 ssl udev unicode userlocales utf8 vhosts xml xorg zip zlib elibc_glibc input_devices_mouse input_devices_keyboard kernel_linux userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 9 Tom Knight (RETIRED) gentoo-dev 2006-07-14 12:50:48 UTC
I've just added the joe 3.4 ebuild, I did see a bug report that looked similar to this that has been fixed (although I can't check as sourceforge is down). Please try out 3.4 and see if the problem has been fixed. If not I'll get one one the hardened/amd64 guys to help out.
Comment 10 Lorand Kelemen 2006-07-16 12:36:16 UTC
Just tried a quick emerge and edit. Added a custom joerc and seems fine.

Thanks! Will notify this bug if I encounter errors...
Comment 11 Tom Knight (RETIRED) gentoo-dev 2006-09-02 03:19:01 UTC
(In reply to comment #10)
> Just tried a quick emerge and edit. Added a custom joerc and seems fine.
> 
> Thanks! Will notify this bug if I encounter errors...
> 

I'll mark this as resolved upstream, please re-open the bug if it happens again.