Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there.
Changed by [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=80286 --- shadow/80286 2006-12-17 11:09:31.000000000 -0500 +++ shadow/80286.tmp.9820 2006-12-17 11:09:31.000000000 -0500 @@ -0,0 +1,87 @@ +Bug#: 80286 +Product: Mono: Runtime +Version: 1.2 +OS: +OS Details: Gentoo Linux, kernel 2.6.18 +Status: NEW +Resolution: +Severity: +Priority: Minor +Component: misc +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: Profile output: addr2line command fails + +Please fill in this template when reporting a bug, unless you know what you +are doing. +Description of Problem: + +Profiling output reports an error using the addr2line command + +Steps to reproduce the problem: +1. make some executable to profile, e.g. + +// +// s.cs - a silly test file +// +class Test +{ + public static void Main() + { + Test t = new Test(); + } + + public Test() + { + int z; + + for (int i = 0; i < 1000; i++) + { + for (int j = 0; j < 5000; j++) + { + z = f(i, j); + } + } + } + + protected int f(int x, int y) + { + return x*y; + } +}; + +2. compile with + +gmcs -out:s.exe s.cs + +3. run with statistical profiler + +15:45|[EMAIL PROTECTED]:~/projects/points/cs/bihrender> mono +--profile=default:stat s.exe +addr2line: 'mono': No such file +prof counts: total/unmanaged: 10/3 + 6 66.67 % Test:.ctor () + 2 22.22 % mono + 1 11.11 % /lib/libc.so.6(_IO_vfprintf +Total time spent compiling 0 methods (sec): 0 +Total number of calls: 0 + +Allocation profiler +Total memory allocated: 0 KB + +How often does this happen? + +Depending on wether the 'mono' command is listed in the output, the +addr2line error is printed + +Additional Information: + +Mono is installed in a non-standard place, in a directory in my home dir. +The mono command IS in my path. + +Running addr2line -e mono gives the same error. The man page of addr2line +does not mention it searches the path for the executable given. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
