[Mono-dev] Heap-shot and mod-mono-server2
Michał Ziemski
rook at roo.k.pl
Mon Dec 18 12:27:25 EST 2006
Hi again!
Probably a problem with direcotry permissions.
After short examination of source code I found that invoking
mono --profile=heap-shot:/tmp/objdump [exe]
ill use /tmp/objdump as the output file!
What a nice undocumented feature :)
Cheers!
Michał Ziemski
Michał Ziemski napisał(a):
> Hi!
>
> I was trying to use heas-shot to look into my app running on
> mod-mono-server2
> When I kill -PROF the process I get the an error im my error_log:
>
> Is it possible at all to use this tool to heap-shot a mod-mono-server2?
>
> Cheers!
> Michał Ziemski
>
> Stacktrace:
>
>
> Native stacktrace:
>
> /usr/bin/mono [0x815b8ed]
> /usr/bin/mono [0x81457b7]
> [0x7c6440]
>
> /usr/lib/libmono-profiler-heap-shot.so(outfile_writer_open_objectmap+0x55)
> [0x72d68d]
> /usr/lib/libmono-profiler-heap-shot.so [0x72e0f4]
> [0x7c6420]
> [0x2cd29c00]
>
> Debug info from gdb:
>
>
>
> =================================================================
> 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.
> =================================================================
>
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
More information about the Mono-devel-list
mailing list