Gentoo Archives: gentoo-user

From: Stroller <stroller@××××××××××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] *** glibc detected *** double free or corruption (!prev): 0x08067d98 ***
Date: Sun, 02 Jul 2006 11:03:57
Message-Id: 698AC2D2-B6BB-4EA1-83C3-1449D05C6AFB@stellar.eclipse.co.uk
In Reply to: Re: [gentoo-user] *** glibc detected *** double free or corruption (!prev): 0x08067d98 *** by Dale
1 Many thanks for your reply, Dale.
2 When I'm stuck on something like this it's really appreciated!
3
4
5 On 2 Jul 2006, at 03:19, Dale wrote:
6 >>> Leafnode was working perfectly fine until a few days ago, then
7 >>> all of
8 >>> a sudden when I try to grab messages from upstream I get the
9 >>> following:
10 >>>
11 >>> ...
12 >>> $ sudo fetchnews -vvv
13 >>> Password:
14 >>> fetchnews mode: get articles, get headers, get bodies, post
15 >>> articles
16 >>> *** glibc detected *** double free or corruption (!prev):
17 >>> 0x08067d98 ***
18 >>> Aborted
19 >>> $
20 >>
21 >> Further to this I've just discovered that I have two versions of gcc
22 >> installed on my system. Could this be related?
23 >>
24 >> $ eix ^gcc$
25 >> * sys-devel/gcc
26 >> Available versions: [P]2.95.3-r9 [P]3.1.1-r2 [P]3.2.2
27 >> [P]3.2.3-r4 [P]3.3.2-r7 3.3.5-r1 3.3.5.20050130-r1 3.3.6 ~3.3.6-r1
28 >> ~3.4.1-r3 3.4.4-r1 3.4.5 3.4.5-r1 ~3.4.6 3.4.6-r1 *4.0.2-r3 *4.0.3
29 >> ~4.1.0-r1 ~4.1.1 [M]4.2.0_alpha20060603
30 >> Installed: 3.3.6 3.4.6-r1
31 >> Homepage: http://gcc.gnu.org/
32 >> Description: The GNU Compiler Collection. Includes
33 >> C/C++, java compilers, pie+ssp extensions, Haj Ten Brugge runtime
34 >> bounds checking
35 >>
36 >> Found 1 matches
37 >> $ `which gcc` --version
38 >> gcc (GCC) 3.3.6 (Gentoo 3.3.6, ssp-3.3.6-1.0, pie-8.7.8)
39 >> Copyright (C) 2003 Free Software Foundation, Inc.
40 >> This is free software; see the source for copying conditions.
41 >> There is NO
42 >> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
43 >> PURPOSE.
44 >>
45 >> $
46 >>
47 >> Should I `emerge -C` one of these versions of gcc, or would that be a
48 >> Dumb Idea?
49 >>
50 > I would make sure to run revdep-rebuild first to make sure nothing
51 > will
52 > break.
53
54 `revdep-rebuild` shows nothing needs fixing, but...
55
56 > ...
57 > Also run gcc-config -l and make sure which version you are using. It
58 > should have a little * next to the one you are using.
59
60 That shows the same as ` `which gcc` --version ` above:
61
62 $ gcc-config -l
63 [1] i686-pc-linux-gnu-3.3.6 *
64 [2] i686-pc-linux-gnu-3.3.6-hardened
65 [3] i686-pc-linux-gnu-3.3.6-hardenednopie
66 [4] i686-pc-linux-gnu-3.3.6-hardenednopiessp
67 [5] i686-pc-linux-gnu-3.3.6-hardenednossp
68 [6] i686-pc-linux-gnu-3.4.6
69 [7] i686-pc-linux-gnu-3.4.6-hardened
70 [8] i686-pc-linux-gnu-3.4.6-hardenednopie
71 [9] i686-pc-linux-gnu-3.4.6-hardenednopiessp
72 [10] i686-pc-linux-gnu-3.4.6-hardenednossp
73 $
74
75 I've never used `gcc-config` before.
76
77 Should I change to 3.4.6?
78
79 And what do I do then? `revdep-rebuild`? `emerge world`?
80
81 > May want to wait on a serious guru to make sure of all this too. This
82 > can be one of those that you can't be to careful with.
83
84 I'm hoping my further questions will prompt one to reply. ;D
85
86 Stroller.
87
88
89 --
90 gentoo-user@g.o mailing list

Replies