Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 490950 - dev-ruby/thread_safe-0.3.5: segfault during tests
Summary: dev-ruby/thread_safe-0.3.5: segfault during tests
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Gentoo Ruby Team
URL: https://github.com/ruby-concurrency/t...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-10 19:06 UTC by Myckel Habets
Modified: 2019-07-04 23:43 UTC (History)
1 user (show)

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


Attachments
Build log (thread_safe_build.log,25.87 KB, text/plain)
2013-11-10 19:06 UTC, Myckel Habets
Details
build.log of version 0.3.4 (thread_safe_build.log,25.52 KB, text/plain)
2014-07-12 15:59 UTC, Myckel Habets
Details
build.log of 0.3.6 (dev-ruby_thread_safe-0.3.6_use_c4wNb,38.14 KB, text/plain)
2018-07-08 18:01 UTC, Rolf Eike Beer
Details
build.log (0.3.6, ppc) (thread_safe-0.3.6:20180830-163325.log,6.79 KB, text/plain)
2018-08-30 17:13 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Myckel Habets 2013-11-10 19:06:14 UTC
Doing bug 487178 I found that dev-ruby/thread_safe-0.1.3-r1 segfaults during the tests. See attachment for the build log.

Reproducible: Always

Actual Results:  
Segfault, see build log.

Expected Results:  
Builds and runs tests without any problems.

emerge --info                                                
Portage 2.2.7 (default/linux/x86/13.0/desktop, gcc-4.8.1, glibc-2.17, 3.11.6-gentoo i686)
=================================================================
System uname: Linux-3.11.6-gentoo-i686-Pentium_III_-Katmai-with-gentoo-2.2
KiB Mem:     3114324 total,   2214356 free
KiB Swap:    4193276 total,   4193276 free
Timestamp of tree: Sat, 09 Nov 2013 07:30:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.6.8-r3, 2.7.5-r4, 3.2.5-r3, 3.3.2-r2
dev-util/cmake:           2.8.12
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.13.4, 1.14
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.8.1-r1
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.11 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news nostrip parallel-fetch preserve-libs protect-owned sandbox sfperms strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
USE="X a52 aac acl acpi alsa berkdb bzip2 cairo cdda cli client consolekit cracklib crypt cxx dbus dconf dmx dri dts dvd dvdr eds emboss encode exif fam ffmpeg firefox flac fortran gdbm gif gmp gnome gpm gstreamer gtk gtk3 iconv icu ipv6 jpeg lcms libkms libnotify mad minizip mmx mng modules mp3 mp4 mpeg mudflap ncurses nls nptl ogg opengl openmp pam pango pcre pdf pic png policykit ppds pulseaudio python qt3support qt4 readline sdl session spice sqlite ssl startup-notification svg systemd tcpd theora tiff truetype udev udisks unicode upower usb vala vorbis wxwidgets x264 x86 xa xcb xml xspice xv xvfb xvid zlib" ABI_X86="32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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" 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="pc qemu" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python3_3 python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="cirrus vesa qxl vmware fbdev" 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, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON
Comment 1 Myckel Habets 2013-11-10 19:06:34 UTC
Created attachment 363006 [details]
Build log
Comment 2 Johannes Huber (RETIRED) gentoo-dev 2013-12-08 16:17:18 UTC
Test issues should not block keywording bugs.
Comment 3 Hans de Graaff gentoo-dev Security 2014-05-04 09:25:55 UTC
Could you try again with the latest thread_safe version? I've also seen segmentation faults with other versions, but the latest (0.3.3) passes all tests for me on amd64.
Comment 4 Myckel Habets 2014-07-12 15:59:57 UTC
Created attachment 380630 [details]
build.log of version 0.3.4

Bug still present in current version.
Comment 5 Myckel Habets 2014-07-12 16:00:13 UTC
Reopening.
Comment 6 Hans de Graaff gentoo-dev Security 2015-07-07 09:52:49 UTC
I see this also with thread_safe 0.3.5 but it does not happen consistently.
Comment 7 Hans de Graaff gentoo-dev Security 2015-07-27 19:40:14 UTC
This looks to be a bug in ruby itself: https://bugs.ruby-lang.org/issues/9649
Comment 8 Rolf Eike Beer archtester 2018-07-08 18:00:58 UTC
Also happens with 0.3.6 with:
ruby 2.3.7p456 (2018-03-28 revision 63024) [hppa2.0-linux]
Comment 9 Rolf Eike Beer archtester 2018-07-08 18:01:40 UTC
Created attachment 538830 [details]
build.log of 0.3.6
Comment 10 Hans de Graaff gentoo-dev Security 2018-07-17 08:25:44 UTC
(In reply to Rolf Eike Beer from comment #8)
> Also happens with 0.3.6 with:
> ruby 2.3.7p456 (2018-03-28 revision 63024) [hppa2.0-linux]

Do you trigger this consistently? In any case it is likely that this is a hppa-specific bug. I can't reproduce this on amd64 even with multiple tries.
Comment 11 ernsteiswuerfel archtester 2018-08-30 17:13:39 UTC
Created attachment 545518 [details]
build.log (0.3.6, ppc)

Same issue on ppc.
Comment 12 ernsteiswuerfel archtester 2019-07-04 23:43:34 UTC
dev-ruby/thread_safe-0.3.6 + ruby24 passes all tests on ppc now.