Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 198368 - ICE: Segfault when emerging =sys-apps/paludis-0.26.0_alpha3
Summary: ICE: Segfault when emerging =sys-apps/paludis-0.26.0_alpha3
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-07 16:26 UTC by bugzilla
Modified: 2007-11-10 17:12 UTC (History)
0 users

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


Attachments
Preprocessed source (cc73WZFQ.out.gz,241.38 KB, application/octet-stream)
2007-11-07 16:29 UTC, bugzilla
Details
output of paludis -i paludis (paludis-out.txt.gz,8.88 KB, application/octet-stream)
2007-11-07 17:03 UTC, bugzilla
Details
output of paludis -i paludis (plaintext) (paludis-out.txt,104.97 KB, text/plain)
2007-11-07 21:19 UTC, bugzilla
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bugzilla 2007-11-07 16:26:16 UTC
This will probably be a duplicate of 20600, but anyway. 
Emerging about anything (with paludis) works perfectly well, but with this ebuild it segfaults every time. Since I am using recommended safe cflags and everthing in my box is run according to specs, I am kind of surprised, since this never happened to me before.

Reproducible: Always

Steps to Reproduce:
1. paludis --log-level qa --dl-deps-default discard --install '=sys-apps/paludis-0.26.0_alpha3::gentoo' --add-to-world-spec '( sys-apps/paludis )'
2. wait a few seconds




paludis --info:
Built by paludisbuild@qsturbo on 2007-10-03T00:50:34+0200
CXX:         i686-pc-linux-gnu-g++ 4.1.1 (Gentoo 4.1.1-r3)
CXXFLAGS:    -march=prescott -O2 -pipe -fomit-frame-pointer
LDFLAGS:
DATADIR:     /usr/share
LIBDIR:      /usr/lib
LIBEXECDIR:  /usr/libexec
SYSCONFDIR:  /etc
stdlib:      GNU libstdc++ 20060524
libebt:      1.3.0
libwrapiter: 1.2.0
sandbox:     enabled

Repository virtuals:
    Configuration information:
        format:                virtuals

Repository installed_virtuals:
    Configuration information:
        format:                installed_virtuals

Repository gentoo:
    Configuration information:
        buildroot:             /var/tmp/paludis
        cache:                 /usr/portage/metadata/cache
        distdir:               /var/cache/distfiles
        eclassdirs:            /usr/portage/eclass
        format:                ebuild
        location:              /usr/portage
        names_cache:           /var/empty
        newsdir:               /usr/portage/metadata/news
        pkgdir:                /usr/portage/packages
        profiles:              /usr/portage/profiles/default-linux/x86/2007.0
        securitydir:           /usr/portage/metadata/glsa
        setsdir:               /usr/portage/sets
        sync:                  rsync://rsync.gentoo.org/gentoo-portage
        sync_options:
        write_cache:           /var/empty

    Package information:
        app-admin/eselect-compiler: (none)
        app-shells/bash:       3.2_p17-r1
        dev-java/java-config:  1.3.7, 2.0.33-r1
        dev-lang/python:       2.4.3-r4, 2.5.1-r3
        dev-python/pycrypto:   2.0.1-r5
        dev-util/ccache:       (none)
        dev-util/confcache:    (none)
        sys-apps/baselayout:   1.12.10-r5
        sys-apps/sandbox:      1.2.18.1-r2
        sys-devel/autoconf:    2.13, 2.61-r1
        sys-devel/automake:    1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
        sys-devel/binutils:    2.18-r1
        sys-devel/gcc-config:  1.4.0-r4
        sys-devel/libtool:     1.5.24
        virtual/os-headers:    2.6.23

    Variable information:
        ACCEPT_KEYWORDS:
        CBUILD:                i686-pc-linux-gnu
        CFLAGS:                -march=prescott -O2 -pipe -fomit-frame-pointer
        CHOST:                 i686-pc-linux-gnu
        CONFIG_PROTECT:
        CONFIG_PROTECT_MASK:
        CPPFLAGS:
        CTARGET:
        CXXFLAGS:              -march=prescott -O2 -pipe -fomit-frame-pointer
        DISTDIR:               /var/cache/distfiles
        FEATURES:
        GENTOO_MIRRORS:
        INSTALL_MASK:
        LANG:
        LC_ALL:
        LDFLAGS:
        LINGUAS:
        MAKEOPTS:              -j5
        PORTAGE_COMPRESS:
        PORTAGE_COMPRESS_FLAGS:
        PORTAGE_RSYNC_EXTRA_OPTS:
        PORTAGE_RSYNC_OPTS:
        PORTAGE_TMPDIR:        /var/tmp/paludis
        PORTDIR:               /usr/portage
        PORTDIR_OVERLAY:
        SYNC:
        USE:

Repository installed:
    Configuration information:
        buildroot:             /var/tmp/paludis
        format:                vdb
        location:              /var/db/pkg
        names_cache:           /var/empty
        provides_cache:        /var/empty
        root:                  /
        world:                 /var/db/pkg/world

Repository xeffects:
    Configuration information:
        buildroot:             /var/tmp/paludis
        cache:                 /var/empty
        distdir:               /var/cache/distfiles
        eclassdirs:            /usr/portage/eclass /var/paludis/repositories/xeffects/eclass
        format:                ebuild
        location:              /var/paludis/repositories/xeffects
        master_repository:     gentoo
        names_cache:           /var/paludis/repositories/xeffects/.cache/names
        newsdir:               /var/paludis/repositories/xeffects/metadata/news
        pkgdir:                /usr/portage/packages
        profiles:              /usr/portage/profiles/default-linux/x86/2007.0
        securitydir:           /var/paludis/repositories/xeffects/metadata/glsa
        setsdir:               /var/paludis/repositories/xeffects/sets
        sync:                  svn://svn.gentoo-xeffects.org/xeffects/trunk
        sync_options:
        write_cache:           /var/cache/paludis/metadata
Comment 1 bugzilla 2007-11-07 16:29:14 UTC
Created attachment 135433 [details]
Preprocessed source
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-11-07 16:54:23 UTC
Post the actual errors you get.
Comment 3 bugzilla 2007-11-07 17:03:54 UTC
Created attachment 135436 [details]
output of paludis -i paludis
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-11-07 17:07:08 UTC
Comment on attachment 135436 [details]
output of paludis -i paludis

Plaintext file, please.
Comment 5 bugzilla 2007-11-07 21:19:28 UTC
Created attachment 135450 [details]
output of paludis -i paludis (plaintext)
Comment 6 Ryan Hill (RETIRED) gentoo-dev 2007-11-08 04:16:11 UTC
reopening
Comment 7 bugzilla 2007-11-10 17:12:06 UTC
Ok, actually, after some more testing, it works now after all. 
Looks like this was my mistake.

Full story:
After trying to reinstall some packages with the "doc" useflag, I encountered at least two more ICEs. 

This made me suspicious and I first looked at gcc-config and changed the profile from 4.1.1 to 4.2.2. This fixed the two other ICEs. Paludis however compiled fine, but then ICEed in the test suite. 

This brought me to the idea, that it might be hardware related, and it seems it was. I have RAM here which is specified for 4-4-4-12 timing by the manufacturer and I was using it at this timing. Well, this seems to actually be out of JEDEC specs for DDR2 timings. Now I switched to standard timings and recompiled some stuff and until now everything works fine.

BTW: Is this considered overclocking?