[prev in list] [next in list] [prev in thread] [next in thread] 

List:       oprofile-list
Subject:    [ oprofile-Bugs-931871 ] changing binaries can cause  oprofiled to abort
From:       "SourceForge.net" <noreply () sourceforge ! net>
Date:       2004-07-15 0:16:05
Message-ID: E1Bktuv-0004uK-00 () sc8-sf-web1 ! sourceforge ! net
[Download RAW message or body]

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


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
oprofile-list mailing list
oprofile-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oprofile-list
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic