From: SourceForge.net <no...@so...> - 2004-07-15 00:16:07
|
Bugs item #931871, was opened at 2004-04-08 17:42 Message generated for change (Settings changed) made by movement You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=116191&aid=931871&group_id=16191 Category: None Group: None >Status: Closed Resolution: Fixed Priority: 8 Submitted By: John Levon (movement) Assigned to: Nobody/Anonymous (nobody) Summary: changing binaries can cause oprofiled to abort Initial Comment: Some debugging showed we had two different cookies that pointed to /bin/bash and that we set up two separate struct sfiles (both pointing to the same sample file): cookie c035e2a0 /var/lib/oprofile/samples/current/{root}//bin/bash/{dep}/{root}//bin/bash/TIMER.0.0.all.all.all cookie d7bddf20 /var/lib/oprofile/samples/current/{root}//bin/bash/{dep}/{root}//bin/bash/TIMER.0.0.all.all.all The installed version of bash has an inode number of 1501678: # ls -li /bin/bash 1501678 -rwxr-xr-x 1 root root 733508 Feb 23 00:42 /bin/bash And it turns out not everyone who has /bin/bash open has that inode: # cat /proc/8795/maps | grep bash 10000000-100a6000 r-xp 00000000 03:0c 1501678 /bin/bash # cat /proc/1202/maps | grep bash 10000000-100a6000 r-xp 00000000 03:0c 2187594 /bin/bash This is a general problem. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=116191&aid=931871&group_id=16191 |