[Mono-list] Mono heapshot profiler woes

Rodrigo Kumpera kumpera at gmail.com
Mon Oct 31 10:34:34 EDT 2011


Please try a more current version of mono such as 2.10.7, there have been
sgen related fixes since 2.10.2.


On Mon, Oct 31, 2011 at 12:25 PM, Nicholas Frechette <zeno490 at gmail.com>wrote:

> Hi,
> I'm attempting to track down a memory leak in my application.
> I managed to run heapshot a number of times as described in the wiki
> page but unfortunately, now my application fails to start every time
> with the profiler enabled.
>
> Running a debug build on ubuntu 11.04 + mono 2.10.2 produces:
> [mono-2.10] ~/projects/rovisualizer-dev/rovisualizer/bin/Debug @ mono
> --gc=sgen --profile=log:heapshot rovisualizer.exe
> Stacktrace:
>
>
> Native stacktrace:
>
>        mono-sgen() [0x80e30eb]
>        mono-sgen() [0x81293ab]
>        mono-sgen() [0x805d3c1]
>        [0x54840c]
>        mono-sgen() [0x8188d47]
>        mono-sgen(mono_object_new_alloc_specific+0x28) [0x8166bd8]
>        mono-sgen(mono_object_new_specific+0x80) [0x8166cd0]
>        mono-sgen(mono_exception_from_name_domain+0x3e) [0x8204dbe]
>        mono-sgen(mono_exception_from_name+0x28) [0x8204e58]
>        mono-sgen(mono_get_exception_null_reference+0x23) [0x82050f3]
>        mono-sgen() [0x80e3f03]
>        mono-sgen() [0x8127d86]
>        [0x8fafc6]
>        [0xda520c]
>        [0xda49fe]
>        [0xda3f2a]
>        [0xda911e]
>        [0xda774c]
>        [0xda4a1e]
>        [0xda3f2a]
>        [0xda400a]
>        [0xda3c74]
>        [0xda3ac8]
>        [0xda18aa]
>        [0xda1588]
>        [0x3820e4]
>        [0xdadd26]
>        [0xd9e36c]
>        [0x37d13c]
>        [0x36858c]
>        [0x368222]
>        [0x8fad6e]
>        [0x8faf1c]
>        mono-sgen() [0x8062158]
>        mono-sgen(mono_runtime_invoke+0x3e) [0x816670e]
>        mono-sgen(mono_runtime_exec_main+0xd8) [0x8168f48]
>        mono-sgen(mono_main+0x1878) [0x80bc9d8]
>        mono-sgen() [0x805707e]
>        /lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xe7) [0x126e37]
>        mono-sgen() [0x8056ed1]
>
> Debug info from gdb:
>
> Could not attach to process.  If your uid matches the uid of the target
> process, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try
> again as the root user.  For more details, see /etc/sysctl.d/10-ptrace.conf
> ptrace: Operation not permitted.
>
> =================================================================
> Got a SIGSEGV while executing native code. This usually indicates
> a fatal error in the mono runtime or one of the native libraries
> used by your application.
> =================================================================
>
> Aborted
>
>
> -------------------
> Any ideas?
> Thanks,
> Nicholas
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20111031/d96871bd/attachment.html 


More information about the Mono-list mailing list