[Mono-bugs] [Bug 590966] New: Mono profiler crashes for gmcs

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Mar 24 18:17:51 EDT 2010


http://bugzilla.novell.com/show_bug.cgi?id=590966

http://bugzilla.novell.com/show_bug.cgi?id=590966#c0


           Summary: Mono profiler crashes for gmcs
    Classification: Mono
           Product: Mono: Runtime
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: misc
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: msafar at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


I cannot use logging profiler for my wok-in-progress version of gmcs, when
using alloc the decoder crashes with

RROR: DecodingException in block of code DIRECTIVES, length 36, file offset 44,
block offset 18: unknown directive LAST
  at
Mono.Profiler.BlockData.Decode[LoadedClass,LoadedMethod,UnmanagedFunctionFromRegion,UnmanagedFunctionFromID,ExecutableMemoryRegion,LoadedElementHandler`7,HeapObject,HeapSnapshot]
(IProfilerEventHandler`8 handler) [0x00000] in <filename unknown>:0 
Attempting to decode data printing block contents...
Current block of type DIRECTIVES (file offset 44, length 36)
StartBlock: startCounter 102710519978844, startTime 24/03/2010 22:06:35,
threadId 0
  [0-7] 92 54 59 64 34 45 151 53
  [8-15] 29 118 37 50 82 32 130
While attempting decoding, got exception unknown directive LAST
  [10-17] 37 50 82 32 130 129 130 132
  [18-25] 133 134 128 88 104 59 64 34
  [26-33] 45 151 56 29 118 37 50 82
  [34-41] 32 130 
Unhandled Exception: System.IndexOutOfRangeException: Array index is out of
range.
  at Mono.Profiler.BlockData.DumpData (System.Byte[] data, System.IO.TextWriter
output, UInt32 startOffset, UInt32 endOffset) [0x00000] in <filename unknown>:0 
  at
Mono.Profiler.BlockData.DumpDebugInformation[LoadedClass,LoadedMethod,UnmanagedFunctionFromRegion,UnmanagedFunctionFromID,ExecutableMemoryRegion,LoadedElementHandler`7,HeapObject,HeapSnapshot]
(UInt32 offsetInBlock, IProfilerEventHandler`8 handler) [0x00000] in <filename
unknown>:0 
  at
Mono.Profiler.BlockData.HandleDecodingException[LoadedClass,LoadedMethod,UnmanagedFunctionFromRegion,UnmanagedFunctionFromID,ExecutableMemoryRegion,LoadedElementHandler`7,HeapObject,HeapSnapshot]
(Mono.Profiler.DecodingException e, UInt32 offsetInBlock,
IProfilerEventHandler`8 handler) [0x00000] in <filename unknown>:0 
  at
Mono.Profiler.BlockData.Decode[LoadedClass,LoadedMethod,UnmanagedFunctionFromRegion,UnmanagedFunctionFromID,ExecutableMemoryRegion,LoadedElementHandler`7,HeapObject,HeapSnapshot]
(IProfilerEventHandler`8 handler) [0x00000] in <filename unknown>:0 
  at
Mono.Profiler.BlockData.Decode[LoadedClass,LoadedMethod,UnmanagedFunctionFromRegion,UnmanagedFunctionFromID,ExecutableMemoryRegion,LoadedElementHandler`7,HeapObject,HeapSnapshot]
(IProfilerEventHandler`8 handler, IDataBlockRecycler blockRecycler) [0x00000]
in <filename unknown>:0 
  at Mono.Profiler.ConsoleDecoder.Main (System.String[] argv) [0x00000] in
<filename unknown>:0

-- 
Configure bugmail: http://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