Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 590554 - dev-util/lttng-modules-2.8.0 : /.../backend_internal.h:174:20: error: assignment of read-only location ‘*__builtin_memcpy(&<Uaf30>, &({...}))’
Summary: dev-util/lttng-modules-2.8.0 : /.../backend_internal.h:174:20: error: assignm...
Status: RESOLVED DUPLICATE of bug 537430
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Yixun Lan
Depends on:
Reported: 2016-08-05 13:34 UTC by Toralf Förster
Modified: 2016-08-05 13:34 UTC (History)
0 users

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

dev-util:lttng-modules-2.8.0:20160805-113854.log (dev-util:lttng-modules-2.8.0:20160805-113854.log,3.96 KB, text/plain)
2016-08-05 13:34 UTC, Toralf Förster
emerge-history.txt (emerge-history.txt,193.77 KB, text/plain)
2016-08-05 13:34 UTC, Toralf Förster
environment (environment,118.44 KB, text/plain)
2016-08-05 13:34 UTC, Toralf Förster

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2016-08-05 13:34:31 UTC
                 from /var/tmp/portage/dev-util/lttng-modules-2.8.0/work/lttng-modules-2.8.0/lttng-ring-buffer-client-discard.c:29:
/var/tmp/portage/dev-util/lttng-modules-2.8.0/work/lttng-modules-2.8.0/lib/ringbuffer/backend_internal.h: In function ‘subbuffer_id_set_noref_offset’:
/var/tmp/portage/dev-util/lttng-modules-2.8.0/work/lttng-modules-2.8.0/lib/ringbuffer/backend_internal.h:174:20: error: assignment of read-only location ‘*__builtin_memcpy(&<Uaf30>, &({...}))’
   ACCESS_ONCE(*id) = tmp;
make[2]: *** [scripts/ /var/tmp/portage/dev-util/lttng-modules-2.8.0/work/lttng-modules-2.8.0/lttng-ring-buffer-client-discard.o] Error 1

$ cat emerge-info.txt

  This is an unstable amd64 chroot image (named amd64-gnome-unstable_20160802-092648) at a hardened host acting as a tinderbox.

  USE flags defined in ...

  ... make.conf:
USE="  pax_kernel xtpax -cdinstall -oci8 -bindist cairo cdb cgi compat consolekit dec_av2 dot dvd egl evdev exif freetds gtk -gtkstyle gudev haptic imap isag jadetex libvirtd minimal -mng mod mta multitarget networking obj objc openmpi openssl qt4 -sdl source spice sqlite ssh-askpass sslv3 swscale -system-cairo threads traceroute udisks usb utils v4l2 -wav webgl webkit -webstart x264 xetex xscreensaver xslt xvfb xz zip zlib"

  ... /etc/portage/package.use/*:
  dev-util/cmake -qt4 
  mail-mta/ssmtp    ssl
  net-misc/wget     ssl
  app-editors/emacs -dbus -svg -ssl -gtk -gtk3
  net-misc/iputils -caps -filecaps


gcc-config -l:
 [1] x86_64-pc-linux-gnu-4.9.3
 [2] x86_64-pc-linux-gnu-5.4.0 *
Available Java Virtual Machines:
  [1]   icedtea-bin-7  system-vm
  [2]   icedtea-bin-8 
Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python3.5 (fallback)
  [3]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby20 (with Rubygems) *
  [2]   ruby21 (with Rubygems)

Portage 2.3.0 (python 3.4.5-final-0, default/linux/amd64/13.0/desktop/gnome, gcc-5.4.0, glibc-2.23-r2, 4.6.5-hardened-r1 x86_64)
                         System Settings
System uname: Linux-4.6.5-hardened-r1-x86_64-Intel-R-_Core-TM-_i7-3770_CPU_@_3.40GHz-with-gentoo-2.2
KiB Mem:    16156124 total,    998016 free
KiB Swap:   16777212 total,  16712560 free
Timestamp of repository gentoo: Fri, 05 Aug 2016 09:43:44 +0000
sh bash 4.3_p46
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
ccache version 3.2.7 [disabled]
app-shells/bash:          4.3_p46::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.0-r1::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo, 3.5.2::gentoo
dev-util/ccache:          3.2.7::gentoo
dev-util/cmake:           3.6.1::gentoo
dev-util/pkgconfig:       0.29.1::gentoo
sys-apps/baselayout:      2.2-r1::gentoo
sys-apps/openrc:          0.21.3::gentoo
sys-apps/sandbox:         2.10-r2::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r2::gentoo
sys-devel/automake:       1.10.3-r2::gentoo, 1.11.6-r2::gentoo, 1.12.6-r1::gentoo, 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo, 2.26.1::gentoo
sys-devel/gcc:            4.9.3::gentoo, 5.4.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.7::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r2::gentoo

    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://
    priority: 1

    location: /usr/local/portage
    masters: gentoo
    priority: 2

ACCEPT_KEYWORDS="amd64 ~amd64"
CFLAGS="-march=native -O2 -pipe"
CONFIG_PROTECT="/etc /etc/omega.conf /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
EMERGE_DEFAULT_OPTS="--verbose --verbose-conflicts --color=n --nospinner --tree --quiet-build"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync network-sandbox parallel-fetch preserve-libs protect-owned sandbox sfperms strict test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS=" rsync:// rsync://"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
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 --exclude=/.git"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdb cdda cdr cgi cli colord compat consolekit cracklib crypt cups cxx dbus dec_av2 dot dri dts dvd dvdr eds egl emboss encode evdev evo exif fam firefox flac fortran freetds gdbm gif glamor gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk gudev haptic iconv imap introspection ipv6 isag jadetex jpeg lcms ldap libnotify libsecret libvirtd mad minimal mmx mmxext mod modules mp3 mp4 mpeg mta multilib multitarget nautilus ncurses networking nls nptl obj objc ogg opengl openmp openmpi openssl pam pango pax_kernel pcre pdf png policykit ppds pulseaudio qt3support qt4 readline seccomp session source spell spice sqlite sse sse2 ssh-askpass ssl sslv3 startup-notification svg swscale tcpd threads tiff traceroute tracker truetype udev udisks unicode upower usb utils v4l2 vorbis webgl webkit wxwidgets x264 xattr xcb xetex xml xscreensaver xslt xtpax xv xvfb xvid xz zip zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 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 ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" L10N="bg ca-valencia fil gl kmr-Latn pa sq zh" 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="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" 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"
Comment 1 Toralf Förster gentoo-dev 2016-08-05 13:34:34 UTC
Created attachment 442610 [details]
Comment 2 Toralf Förster gentoo-dev 2016-08-05 13:34:37 UTC
Created attachment 442612 [details]
Comment 3 Toralf Förster gentoo-dev 2016-08-05 13:34:39 UTC
Created attachment 442614 [details]
Comment 4 Toralf Förster gentoo-dev 2016-08-05 13:34:56 UTC

*** This bug has been marked as a duplicate of bug 537430 ***