Summary: | app-arch/star-1.5.1-r1 segfault | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Christophe PEREZ <chris> |
Component: | Current packages | Assignee: | Daniel Pielmeier <billie> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | jarausch, jer, kai, shell-tools |
Priority: | Normal | ||
Version: | 10.0 | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
See Also: | https://bugzilla.redhat.com/show_bug.cgi?id=611402 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 505842 | ||
Bug Blocks: |
Description
Christophe PEREZ
2012-03-21 12:17:02 UTC
emerge -e star did not help. And it seems that the problem appeared when I updated star to 1.5.1-r1 version. # genlop -l | grep star Wed Jun 24 01:23:09 2009 >>> app-arch/star-1.5 Thu Jul 1 00:07:08 2010 >>> app-arch/star-1.5.1 Sun Feb 26 10:56:39 2012 >>> app-arch/star-1.5.1-r1 Thu Mar 1 14:57:36 2012 >>> app-arch/star-1.5.1-r1 Wed Mar 21 08:33:56 2012 >>> app-arch/star-1.5.1-r1 How can I downgrade to 1.5.1 to test ? It doesn't exist anymore in portage tree. (In reply to comment #1) > How can I downgrade to 1.5.1 to test ? found it, emerged but same error. grep array\ subscript /keeps/gentoo/emergelogs/wieneke/app-arch:star-1.5.1-r1:20120321-155755.log header.c:1562:22: warning: array subscript is above array bounds header.c:1575:19: warning: array subscript is above array bounds header.c:1709:26: warning: array subscript is above array bounds header.c:1711:18: warning: array subscript is above array bounds header.c:1713:30: warning: array subscript is above array bounds header.c:1715:22: warning: array subscript is above array bounds header.c:1717:27: warning: array subscript is above array bounds header.c:1719:20: warning: array subscript is above array bounds header.c:1728:18: warning: array subscript is above array bounds header.c:1730:22: warning: array subscript is above array bounds header.c:1732:20: warning: array subscript is above array bounds tartest.c:260:28: warning: array subscript is above array bounds tartest.c:267:32: warning: array subscript is above array bounds Must be one of these, right? :) (In reply to comment #3) > grep array\ subscript > /keeps/gentoo/emergelogs/wieneke/app-arch:star-1.5.1-r1:20120321-155755.log > header.c:1562:22: warning: array subscript is above array bounds > header.c:1575:19: warning: array subscript is above array bounds > header.c:1709:26: warning: array subscript is above array bounds > header.c:1711:18: warning: array subscript is above array bounds > header.c:1713:30: warning: array subscript is above array bounds > header.c:1715:22: warning: array subscript is above array bounds > header.c:1717:27: warning: array subscript is above array bounds > header.c:1719:20: warning: array subscript is above array bounds > header.c:1728:18: warning: array subscript is above array bounds > header.c:1730:22: warning: array subscript is above array bounds > header.c:1732:20: warning: array subscript is above array bounds > tartest.c:260:28: warning: array subscript is above array bounds > tartest.c:267:32: warning: array subscript is above array bounds > > Must be one of these, right? :) ? sorry, I don't understand... 12:06:59 root@serveur2 ~ # grep array\ subscript /var/log/portage/*star-* 12:06:59 root@serveur2 ~ # (In reply to comment #4) > sorry, I don't understand... > 12:06:59 root@serveur2 ~ # grep array\ subscript /var/log/portage/*star-* > 12:06:59 root@serveur2 ~ # You don't have -Wall in your CFLAGS. In the example in the RedHat bug, a string of 101 characters is used, overflowing NAMSIZ ( = 100 ). # star -c C=/ . > /other/test.tar star: 'tmp/conftest1044' unsupported file type 'socket'. Not dumped. *** buffer overflow detected ***: star terminated ======= Backtrace: ========= /lib64/libc.so.6(__fortify_fail+0x37)[0x7f47017aeba3] /lib64/libc.so.6(+0xe3d7c)[0x7f47017acd7c] star[0x424f7a] star[0x417d3a] star[0x418977] ======= Memory map: ======== 00400000-00451000 r-xp 00000000 09:02 1089379 /usr/bin/star 00650000-00651000 r--p 00050000 09:02 1089379 /usr/bin/star 00651000-00654000 rw-p 00051000 09:02 1089379 /usr/bin/star 00654000-00678000 rw-p 00000000 00:00 0 01b12000-01b4e000 rw-p 00000000 00:00 0 [heap] 7f46ff5f8000-7f46ff60c000 r-xp 00000000 09:02 117368 /usr/lib64/gcc/x86_64-pc-linux-gnu/4.5.3/libgcc_s.so.1 7f46ff60c000-7f46ff80c000 ---p 00014000 09:02 117368 /usr/lib64/gcc/x86_64-pc-linux-gnu/4.5.3/libgcc_s.so.1 7f46ff80c000-7f46ff80d000 r--p 00014000 09:02 117368 /usr/lib64/gcc/x86_64-pc-linux-gnu/4.5.3/libgcc_s.so.1 7f46ff80d000-7f46ff80e000 rw-p 00015000 09:02 117368 /usr/lib64/gcc/x86_64-pc-linux-gnu/4.5.3/libgcc_s.so.1 7f46ff80e000-7f46ff824000 r-xp 00000000 09:02 785418 /lib64/libz.so.1.2.5 7f46ff824000-7f46ffa23000 ---p 00016000 09:02 785418 /lib64/libz.so.1.2.5 7f46ffa23000-7f46ffa24000 r--p 00015000 09:02 785418 /lib64/libz.so.1.2.5 7f46ffa24000-7f46ffa25000 rw-p 00016000 09:02 785418 /lib64/libz.so.1.2.5 7f46ffa25000-7f46ffa27000 r-xp 00000000 09:02 785558 /lib64/libdl-2.13.so 7f46ffa27000-7f46ffc27000 ---p 00002000 09:02 785558 /lib64/libdl-2.13.so 7f46ffc27000-7f46ffc28000 r--p 00002000 09:02 785558 /lib64/libdl-2.13.so 7f46ffc28000-7f46ffc29000 rw-p 00003000 09:02 785558 /lib64/libdl-2.13.so 7f46ffc29000-7f46ffda5000 r-xp 00000000 09:02 989474 /usr/lib64/libcrypto.so.1.0.0 7f46ffda5000-7f46fffa5000 ---p 0017c000 09:02 989474 /usr/lib64/libcrypto.so.1.0.0 7f46fffa5000-7f46fffbe000 r--p 0017c000 09:02 989474 /usr/lib64/libcrypto.so.1.0.0 7f46fffbe000-7f46fffc8000 rw-p 00195000 09:02 989474 /usr/lib64/libcrypto.so.1.0.0 7f46fffc8000-7f46fffcc000 rw-p 00000000 00:00 0 7f46fffcc000-7f470001f000 r-xp 00000000 09:02 990108 /usr/lib64/libssl.so.1.0.0 7f470001f000-7f470021f000 ---p 00053000 09:02 990108 /usr/lib64/libssl.so.1.0.0 7f470021f000-7f4700222000 r--p 00053000 09:02 990108 /usr/lib64/libssl.so.1.0.0 7f4700222000-7f4700227000 rw-p 00056000 09:02 990108 /usr/lib64/libssl.so.1.0.0 7f4700227000-7f4700239000 r-xp 00000000 09:02 785559 /lib64/libresolv-2.13.so 7f4700239000-7f4700439000 ---p 00012000 09:02 785559 /lib64/libresolv-2.13.so 7f4700439000-7f470043a000 r--p 00012000 09:02 785559 /lib64/libresolv-2.13.so 7f470043a000-7f470043b000 rw-p 00013000 09:02 785559 /lib64/libresolv-2.13.so 7f470043b000-7f470043d000 rw-p 00000000 00:00 0 7f470043d000-7f470044b000 r-xp 00000000 09:02 990177 /usr/lib64/liblber-2.4.so.2.8.3 7f470044b000-7f470064a000 ---p 0000e000 09:02 990177 /usr/lib64/liblber-2.4.so.2.8.3 7f470064a000-7f470064b000 r--p 0000d000 09:02 990177 /usr/lib64/liblber-2.4.so.2.8.3 7f470064b000-7f470064c000 rw-p 0000e000 09:02 990177 /usr/lib64/liblber-2.4.so.2.8.3 7f470064c000-7f4700690000 r-xp 00000000 09:02 990173 /usr/lib64/libldap-2.4.so.2.8.3 7f4700690000-7f470088f000 ---p 00044000 09:02 990173 /usr/lib64/libldap-2.4.so.2.8.3 7f470088f000-7f4700890000 r--p 00043000 09:02 990173 /usr/lib64/libldap-2.4.so.2.8.3 7f4700890000-7f4700892000 rw-p 00044000 09:02 990173 /usr/lib64/libldap-2.4.so.2.8.3 7f4700892000-7f47008a5000 r-xp 00000000 09:02 785807 /lib64/libnss_ldap-2.13.so 7f47008a5000-7f4700aa5000 ---p 00013000 09:02 785807 /lib64/libnss_ldap-2.13.so 7f4700aa5000-7f4700aa6000 r--p 00013000 09:02 785807 /lib64/libnss_ldap-2.13.so 7f4700aa6000-7f4700aa7000 rw-p 00014000 09:02 785807 /lib64/libnss_ldap-2.13.so 7f4700aa7000-7f4700ab2000 rw-p 00000000 00:00 0 7f4700ab2000-7f4700abd000 r-xp 00000000 09:02 785336 /lib64/libnss_files-2.13.so 7f4700abd000-7f4700cbc000 ---p 0000b000 09:02 785336 /lib64/libnss_files-2.13.so 7f4700cbc000-7f4700cbd000 r--p 0000a000 09:02 785336 /lib64/libnss_files-2.13.so 7f4700cbd000-7f4700cbe000 rw-p 0000b000 09:02 785336 /lib64/libnss_files-2.13.so 7f4700cbe000-7f47014c4000 rw-s 00000000 00:04 4250672 /dev/zero 7f47014c4000-7f47014c8000 r-xp 00000000 09:02 785552 /lib64/libattr.so.1.1.0 7f47014c8000-7f47016c7000 ---p 00004000 09:02 785552 /lib64/libattr.so.1.1.0 7f47016c7000-7f47016c8000 r--p 00003000 09:02 785552 /lib64/libattr.so.1.1.0 7f47016c8000-7f47016c9000 rw-p 00004000 09:02 785552 /lib64/libattr.so.1.1.0 7f47016c9000-7f4701841000 r-xp 00000000 09:02 785564 /lib64/libc-2.13.so 7f4701841000-7f4701a40000 ---p 00178000 09:02 785564 /lib64/libc-2.13.so 7f4701a40000-7f4701a44000 r--p 00177000 09:02 785564 /lib64/libc-2.13.so 7f4701a44000-7f4701a45000 rw-p 0017b000 09:02 785564 /lib64/libc-2.13.so 7f4701a45000-7f4701a4a000 rw-p 00000000 00:00 0 7f4701a4a000-7f4701a51000 r-xp 00000000 09:02 785550 /lib64/libacl.so.1.1.0 7f4701a51000-7f4701c51000 ---p 00007000 09:02 785550 /lib64/libacl.so.1.1.0 7f4701c51000-7f4701c52000 r--p 00007000 09:02 785550 /lib64/libacl.so.1.1.0 7f4701c52000-7f4701c53000 rw-p 00008000 09:02 785550 /lib64/libacl.so.1.1.0 7f4701c53000-7f4701c72000 r-xp 00000000 09:02 785351 /lib64/ld-2.13.soAbandon I can't see what to try now... Forget star ? The same here. *** Please raise the importance *** I've encountered this with SystemRescueCD 3.4.0-beta10 as well as with my own system - see below. Please fix this bug, Helmut. emerge --info app-arch/star Portage 2.2.0_alpha161_p9 (default/linux/amd64/10.0/desktop, gcc-4.6.3, glibc-2.16.0, 3.8.0-rc5 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-3.8.0-rc5-x86_64-AMD_Phenom-tm-_II_X4_955_Processor-with-gentoo-2.2 KiB Mem: 7908748 total, 1070276 free KiB Swap: 1048572 total, 1011340 free Timestamp of tree: Mon, 04 Feb 2013 07:15:01 +0000 ld GNU ld (GNU Binutils) 2.23.1 ccache version 3.1.9 [disabled] app-shells/bash: 4.2_p42 dev-java/java-config: 2.1.12-r1 dev-lang/python: 2.7.4_pre20130120::progress, 3.3.1_pre20130120::progress dev-util/ccache: 3.1.9 dev-util/cmake: 2.8.10.2-r1 dev-util/pkgconfig: 0.28 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.11.8 sys-apps/sandbox: 2.6 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.6, 1.12.6, 1.13.1 sys-devel/binutils: 2.23.1 sys-devel/gcc: 4.5.4, 4.6.3, 4.7.2, 4.8.0_pre9999::local sys-devel/gcc-config: 1.8 sys-devel/libtool: 2.4.2 sys-devel/make: 3.82-r4 sys-kernel/linux-headers: 3.7 (virtual/os-headers) sys-libs/glibc: 2.16.0 Repositories: gentoo local sunrise ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-mtune=native -march=native -O2 -msse3 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions /var/lib/hsqldb /var/lib/neatx/home" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/ext-active/ /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="-mtune=native -march=native -O2 -msse3 -pipe" DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo " LANG="en_US.iso88591" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --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="/usr/local/portage /usr/local/portage/layman/sunrise" SYNC="rsync://rsync.informatik.RWTH-Aachen.de/gentoo-portage" USE="3dnow 3dnowext 3dnowprefetch X a52 aac acl acpi alsa amd64 atm avahi berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam ffmpeg fftw firefox flac fortran fuse gdbm gfortran gif gimp gnome gpm gtk gtk2 iconv ipv6 jpeg kde lapack lcms libnotify mad mmx mmxext mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp openrc pam pango pcre pdf png policykit ppds qt qt3support qt4 readline sdl session smp spell sqlite sqlite3 sse sse2 sse3 sse4a ssl startup-notification svg tcl tcpd threads tiff tk truetype udev udisks unicode upower usb vorbis wxwidgets x264 xcb xml xulrunner xv xvid 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" 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="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" 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" INPUT_DEVICES="keyboard mouse evdev wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en de" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="radeonhd radeon fglrx" 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, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON ================================================================= Package Settings ================================================================= app-arch/star-1.5.1-r1 was built with the following: USE="acl (multilib) -xattr" ABI_X86="64" Please test new versions and reopen if still exists. My tests are fine. *star-1.5.2 (04 Feb 2013) +*star-1.5.1-r2 (04 Feb 2013) + + 04 Feb 2013; Justin Lecher <jlec@gentoo.org> star-1.5.1-r1.ebuild, + +star-1.5.1-r2.ebuild, +files/star-1.5.1-bufferoverflow.patch, + +files/star-1.5.1-changewarnSegv.patch, + +files/star-1.5.1-multivolsigsegv.patch, + +files/star-1.5.1-stdioconflict.patch, +star-1.5.2.ebuild, metadata.xml: + Version Bump; get some patches from fedora, fix segf #409165 + *** Bug 505820 has been marked as a duplicate of this bug. *** This package would benefit from a fresh round of stable keywording. |