Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 102157 - valgrind hangs on stertup/exit on gentoo kernel
Summary: valgrind hangs on stertup/exit on gentoo kernel
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Maurice van der Pot (RETIRED)
URL: http://bugs.kde.org/show_bug.cgi?id=1...
Whiteboard:
Keywords:
: 103898 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-08-11 14:46 UTC by Dizzy
Modified: 2005-08-31 01:28 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dizzy 2005-08-11 14:46:46 UTC
Hi

Please see the bug from the mentioned URL!

PS: I know this is also because of some memory management "tricks" valgrind
people do and they want to recode the memory management for this and other
reasons but whould be nice if gentoo whould come with some fix/workarround as
gentoo kernel makes the problem very worse (maybe gentoo kernel people can look
into it too).

Thanks!
Comment 1 Maurice van der Pot (RETIRED) gentoo-dev 2005-08-12 12:03:43 UTC
It seems some of gentoo-sources' patches are causing a delay in m(un)map
for valgrind. If anyone in the kernel team has some time to take a look at
the kde bug report (see url field), then please do.
Comment 2 Daniel Drake (RETIRED) gentoo-dev 2005-08-12 12:26:07 UTC
Has anyone confirmed that its actually the gentoo patchset making a difference
(i.e. compared vanilla-sources-2.6.12 to gentoo-sources-2.6.12)?
Comment 3 Maurice van der Pot (RETIRED) gentoo-dev 2005-08-12 15:32:24 UTC
Christian, I'm sure you don't mind being put on the cc of this bug as well.
Can you answer dsd's question? Does the problem disappear with a vanilla
kernel?
Comment 4 Christian Parpart (RETIRED) gentoo-dev 2005-08-12 17:08:46 UTC
Heya, 
 
so far I can confirm that the behavior still occurs on  
 * hardened-sources-2.6.11-r15, and 
 * gentoo-source-2.6.12-gentoo-r6 
 
I need to get a vanilla built up first; (man, I hate rebooting ;) 
hold on. 
Comment 5 Christian Parpart (RETIRED) gentoo-dev 2005-08-12 18:12:07 UTC
vanilla-sources-2.6.13_rc6 doesn't speedup VG either :( 
Comment 6 Dizzy 2005-08-13 07:34:55 UTC
Uh... sorry, I got confused from the original bug report that somehow it was a
gentoo kernel only issue, I should have tested vanilla before posting here. I
posted this bug because I thought it's a gentoo kernel issue or some kind of
gentoo particular issue because so far on valgrind bugtracker there are 2
persons who complained about this, both having gentoo :)

I also commented on the valgrind bug tracker that it affects vanilla, this
should raise the priority of this problem (but still whould be interesting to
find out why the FC kernel doesn't seem to display this bug).
Comment 7 Maurice van der Pot (RETIRED) gentoo-dev 2005-08-14 11:38:01 UTC
Alrighty then, marking RESOLVED/UPSTREAM. Please add any extra non-gentoo 
specific comments to their bug report.
Comment 8 Maurice van der Pot (RETIRED) gentoo-dev 2005-08-30 12:59:11 UTC
*** Bug 103898 has been marked as a duplicate of this bug. ***
Comment 9 Maurice van der Pot (RETIRED) gentoo-dev 2005-08-30 13:04:29 UTC
Reopening to fix status
Comment 10 Maurice van der Pot (RETIRED) gentoo-dev 2005-08-30 13:05:16 UTC
Should be fixed in valgrind-3.0.1, which was just added to portage.
Thanks for reporting the problem, Dizzy.
Comment 11 Christian Parpart (RETIRED) gentoo-dev 2005-08-30 15:28:10 UTC
are you sure that 3.0.1 has a fix for it? 
 
I mean, I remember some VG dev telling me, that this fix *will* require major 
changes to the address manager of VG, though, this wouldn't be part of 
3.0.x-line of course (it's a seperate branch even). But this address manager 
rewrite isn't the only reason for rewriting it (think of the glibc independency 
in stage2 etc)... 
 
can someone approve it is working for him by now? (having 3.0.1 installed of 
course) 
Comment 12 Maurice van der Pot (RETIRED) gentoo-dev 2005-08-30 23:34:14 UTC
It's not fixed in valgrind's source, it's fixed in the ebuild by not building
with PIE anymore.
Comment 13 Dizzy 2005-08-31 01:28:40 UTC
I can confirm it works very nice now :) (only used it on my new project for 5
minutes to test it out and already found a bug hehe)