Gentoo Archives: gentoo-user

From: Michael Mol <mikemol@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] libv8 segfault
Date: Wed, 23 Jan 2013 16:00:13
Message-Id: CA+czFiCDpzGh-2FSsfhq1+emhiyC0HpD-bLR9TOHGCjaYxir2w@mail.gmail.com
In Reply to: [gentoo-user] libv8 segfault by Nilesh Govindrajan
1 On Wed, Jan 23, 2013 at 10:52 AM, Nilesh Govindrajan <me@××××××××.com> wrote:
2 > I tried compiling all versions of chromium (-O3, but it always worked
3 > previously) & v8 (tried -O3 & -O2 too)
4 > but it always segfaults when I try to open the settings page.
5 >
6 > CrRendererMain[6059]: segfault at 500000000 ip 00007f0d0834970c sp
7 > 00007fff71d91a60 error 4 in libv8.so.3.15.11[7f0d08181000+45d000]
8 >
9 > Quite interestingly, the binary version of chrome works without hitches,
10 > which I don't want to run because I'm a little paranoid about it ;-)
11 > And that also means that there is no hardware fault.
12 >
13 > dev-lang/v8-3.15.11.5
14 > www-client/chromium-24.0.1312.56 (I'm at present using the google chrome
15 > beta, but chromium 25 doesn't work either).
16 >
17 > Flags:
18 > CFLAGS="-O3 -march=core2 -mtune=core2 -msse -msse2 -mssse3 -mmmx -pipe"
19 > CXXFLAGS="${CFLAGS}"
20 > LDFLAGS="-Wl,-O1 -Wl,--as-needed"
21 >
22 > Just replace that O3 with O2 for v8.
23 >
24 > Anybody knows what's going on here?
25
26 What USE flags are enabled for chromium? You haven't specified that
27 you're using the custom-cflags USE flag, so whatever's in your global
28 CFLAGS setting is largely irrelevant.
29
30 Also, you don't need to specify --as-needed; that's default, now. I
31 don't know what those other flags are doing.
32
33 Start with revdep-rebuild, see if that fixes it. If not, you probably
34 ought to re-emerge chromium and its direct dependencies. Given your
35 recent experience with overclocking and the rather correct warnings
36 about silent data corruption, you may need to re-emerge a lot more
37 than that.
38
39 --
40 :wq

Replies

Subject Author
Re: [gentoo-user] libv8 segfault Nilesh Govindrajan <me@××××××××.com>