[Mono-bugs] [Bug 487410] New: mprof-decoder finds unknown directive LAST

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Mar 20 14:00:08 EDT 2009


https://bugzilla.novell.com/show_bug.cgi?id=487410


           Summary: mprof-decoder finds unknown directive LAST
    Classification: Mono
           Product: Mono: Tools
           Version: 2.2.x
          Platform: x86-64
        OS/Version: openSUSE 11.1
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: tools
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: vgiszpenc at dsci.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US)
AppleWebKit/525.19 (KHTML, like Gecko) Chrome/1.0.154.48 Safari/525.19

::> mprof-decoder out.mprof
WARNING: DecodingException in block of code DIRECTIVES, length 35, file offset
45, block offset 18: unknown directive LAST
  at
Mono.Profiler.BlockData.Decode[LoadedClass,LoadedMethod,UnmanagedFunctionFromRegion,UnmanagedFunctionFromID,ExecutableMemoryRegion,LoadedElementHandler`7,HeapObject`1,HeapSnapshot]
(IProfilerEventHandler`8 handler) [0x00000]
Original stack trace:

Unhandled Exception: System.NullReferenceException: Object reference not set to
an instance of an object
  at Mono.Profiler.ConsoleDecoder.Main (System.String[] argv) [0x00000]

Reproducible: Always

Steps to Reproduce:
The mprof file is 20 gigs so I will not be uploading it :).  One warning
occured during the run of my application.  Otherwise, it ran through to the
end.  When finished, it took a while probably writing the file, but no errors.

The error occurs when trying to decode.  The file was created using 
mono --profile=logging:c,a,o=out.mprof Myapp.exe

The warning was
*** nss-shared-helper: Shared database disabled (set NSS_USE_SHARED_DB to
enable).
My app does not use NSS (though I would love it if it did).

In case the decoder versions separately from mono, it would be good to add a
--version option.  Sorry, I am too lazy to file a separate bug on that.

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list