<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>102157</bug_id>
          
          <creation_ts>2005-08-11 14:46 0000</creation_ts>
          <short_desc>valgrind hangs on stertup/exit on gentoo kernel</short_desc>
          <delta_ts>2005-08-31 01:28:40 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          <bug_file_loc>http://bugs.kde.org/show_bug.cgi?id=109861</bug_file_loc>
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>dizzy@roedu.net</reporter>
          <assigned_to>griffon26@gentoo.org</assigned_to>
          <cc>kernel@gentoo.org</cc>
    
    <cc>Samuele.Kaplun@cern.ch</cc>
    
    <cc>trapni@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>dizzy@roedu.net</who>
            <bug_when>2005-08-11 14:46:46 0000</bug_when>
            <thetext>Hi

Please see the bug from the mentioned URL!

PS: I know this is also because of some memory management &quot;tricks&quot; 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!</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>griffon26@gentoo.org</who>
            <bug_when>2005-08-12 12:03:43 0000</bug_when>
            <thetext>It seems some of gentoo-sources&apos; 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.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dsd@gentoo.org</who>
            <bug_when>2005-08-12 12:26:07 0000</bug_when>
            <thetext>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)?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>griffon26@gentoo.org</who>
            <bug_when>2005-08-12 15:32:24 0000</bug_when>
            <thetext>Christian, I&apos;m sure you don&apos;t mind being put on the cc of this bug as well.
Can you answer dsd&apos;s question? Does the problem disappear with a vanilla
kernel?
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>trapni@gentoo.org</who>
            <bug_when>2005-08-12 17:08:46 0000</bug_when>
            <thetext>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. </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>trapni@gentoo.org</who>
            <bug_when>2005-08-12 18:12:07 0000</bug_when>
            <thetext>vanilla-sources-2.6.13_rc6 doesn&apos;t speedup VG either :( </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dizzy@roedu.net</who>
            <bug_when>2005-08-13 07:34:55 0000</bug_when>
            <thetext>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&apos;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&apos;t seem to display this bug).</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>griffon26@gentoo.org</who>
            <bug_when>2005-08-14 11:38:01 0000</bug_when>
            <thetext>Alrighty then, marking RESOLVED/UPSTREAM. Please add any extra non-gentoo 
specific comments to their bug report.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>griffon26@gentoo.org</who>
            <bug_when>2005-08-30 12:59:11 0000</bug_when>
            <thetext>*** Bug 103898 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>griffon26@gentoo.org</who>
            <bug_when>2005-08-30 13:04:29 0000</bug_when>
            <thetext>Reopening to fix status</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>griffon26@gentoo.org</who>
            <bug_when>2005-08-30 13:05:16 0000</bug_when>
            <thetext>Should be fixed in valgrind-3.0.1, which was just added to portage.
Thanks for reporting the problem, Dizzy.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>trapni@gentoo.org</who>
            <bug_when>2005-08-30 15:28:10 0000</bug_when>
            <thetext>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&apos;t be part of 
3.0.x-line of course (it&apos;s a seperate branch even). But this address manager 
rewrite isn&apos;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) </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>griffon26@gentoo.org</who>
            <bug_when>2005-08-30 23:34:14 0000</bug_when>
            <thetext>It&apos;s not fixed in valgrind&apos;s source, it&apos;s fixed in the ebuild by not building
with PIE anymore.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dizzy@roedu.net</who>
            <bug_when>2005-08-31 01:28:40 0000</bug_when>
            <thetext>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)</thetext>
          </long_desc>
      
    </bug>

</bugzilla>