Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 564192 - app-misc/tmux-2.0-r4 - When built with distcc, segfault at 30 ip 00007fe5c99ffbc4 sp 00007ffede1f51a0 error 4 in libevent-2.1.so.5.0.0[7fe5c99f0000+53000]
Summary: app-misc/tmux-2.0-r4 - When built with distcc, segfault at 30 ip 00007fe5c99f...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Shell Tools project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-26 16:26 UTC by Thomas Deutschmann (RETIRED)
Modified: 2017-08-21 18:57 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Deutschmann (RETIRED) gentoo-dev 2015-10-26 16:26:32 UTC
Hi,

I noticed that on one my systems, tmux no longer starts. It crashes immediately with

> [2050634.642284] tmux[28767]: segfault at 38 ip 0000000000423a70 sp 00007fff28f33200 error 4 in tmux[400000+68000]

in dmesg. 

After re-compiling with "debug" USE flag enabled, the message changed to 

> segfault at 30 ip 00007fe5c99ffbc4 sp 00007ffede1f51a0 error 4 in libevent-2.1.so.5.0.0[7fe5c99f0000+53000]

It turns out that this seems to be a distcc problem:

When building =app-misc/tmux-2.0-r4 just without distcc (FEATURES="-distcc -distcc-pump"), tmux doesn't crash anymore.

=app-misc/tmux-2.0-r3 builds fine with distcc (but this version also uses =dev-libs/libevent-2.0.22-r2:0/2.0-5 instead of =dev-libs/libevent-2.1.5-r4:0/2.1-5).

Reproducible: Always




# emerge --info
Portage 2.2.23 (python 3.4.3-final-0, default/linux/amd64/13.0, gcc-4.9.3, glibc-2.22-r1, 4.1.9-gentoo-r1 x86_64)
=================================================================
System uname: Linux-4.1.9-gentoo-r1-x86_64-Intel-R-_Xeon-R-_CPU_E5-2620_0_@_2.00GHz-with-gentoo-2.2
KiB Mem:     2051244 total,   1013772 free
KiB Swap:    2097148 total,   2097104 free
Timestamp of repository gentoo: Mon, 26 Oct 2015 10:45:01 +0000
sh bash 4.3_p42
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
distcc 3.2rc1 x86_64-pc-linux-gnu [enabled]
app-shells/bash:          4.3_p42::gentoo
dev-lang/perl:            5.22.0::gentoo
dev-lang/python:          2.7.10::gentoo, 3.4.3::gentoo
dev-util/cmake:           3.3.2-r1::gentoo
dev-util/pkgconfig:       0.29::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.18.3::gentoo
sys-apps/sandbox:         2.9::gentoo
sys-devel/autoconf:       2.69-r1::gentoo
sys-devel/automake:       1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.22-r1::gentoo

ABI="amd64"
ABI_X86="64"
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
ACCEPT_PROPERTIES="*"
ACCEPT_RESTRICT="*"
ARCH="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=sandybridge -mtune=sandybridge"
CFLAGS_amd64="-m64"
CFLAGS_x32="-mx32"
CFLAGS_x86="-m32"
CHOST="x86_64-pc-linux-gnu"
CHOST_amd64="x86_64-pc-linux-gnu"
CHOST_x32="x86_64-pc-linux-gnux32"
CHOST_x86="i686-pc-linux-gnu"
CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3"
CXXFLAGS="-O2 -pipe -march=sandybridge -mtune=sandybridge"
DEFAULT_ABI="amd64"
DISTCC_ENABLE_DISCREPANCY_EMAIL=""
DISTCC_FALLBACK="1"
DISTCC_SAVE_TEMPS="0"
DISTCC_SSH=""
DISTCC_TCP_CORK=""
DISTCC_VERBOSE="0"
ELIBC="glibc"
EPREFIX=""
EROOT="/"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs cgroup config-protect-if-modified distcc distcc-pump distlocks downgrade-backup ebuild-locks fixlafiles lmirror merge-sync mirror news parallel-fetch preserve-libs protect-owned sandbox sfperms split-elog split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
IUSE_IMPLICIT="abi_x86_64 prefix prefix-guest"
KERNEL="linux"
LANG="en_US.UTF-8"
LC_MESSAGES="C"
LC_NUMERIC="de_DE.UTF-8"
LC_PAPER="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LDFLAGS_amd64="-m elf_x86_64"
LDFLAGS_x32="-m elf32_x86_64"
LDFLAGS_x86="-m elf_i386"
MAKEOPTS="--jobs 9"
PYTHON_SINGLE_TARGET="python2_7"
PYTHON_TARGETS="python2_7 python3_4"
SHELL="/bin/bash"
Comment 1 Patrice Clement gentoo-dev 2017-08-21 18:57:49 UTC
Thomas

Please file a bug upstream. There's very little we can do on our end.

Thanks.