Gentoo Archives: gentoo-user

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

Replies

Subject Author
Re: [gentoo-user] libv8 segfault Michael Mol <mikemol@×××××.com>
Re: [gentoo-user] libv8 segfault Adam Carter <adamcarter3@×××××.com>