Hi, Also, if the problem is reproducible, then you can run mono with the MONO_DEBUG=suspend-on-sigsegv environment variable set, which will force the runtime to spin in the sigsegv signal handler, allowing you to attach to it with gdb.
Zoltan On Tue, Dec 27, 2011 at 11:43 PM, Zoltan Varga <var...@gmail.com> wrote: > Hi, > > It won't work. The information required to construct managed stack > traces is contained in runtime data structures, and it is only available > while the program is running. You can > AOT your application, then you will have more usable stack traces. > > Zoltan > > On Tue, Dec 27, 2011 at 10:54 PM, Bassam Tabbara <bas...@symform.com>wrote: > >> Hello,**** >> >> ** ** >> >> I’m debugging a core file with gdb and I’m not able to find mono managed >> symbols:**** >> >> ** ** >> >> (gdb) where**** >> >> #0 0x00007f93c9096ed5 in raise () from /lib/libc.so.6**** >> >> #1 0x00007f93c90983f3 in abort () from /lib/libc.so.6**** >> >> #2 0x00000000004933d0 in mono_handle_native_sigsegv (signal=-907561328, >> ctx=<value optimized out>) at mini-exceptions.c:2246**** >> >> #3 0x00000000004e6c9d in mono_arch_handle_altstack_exception >> (sigctx=0x7f93c9e7bc40, fault_addr=<value optimized out>, stack_ovf=0) at >> exceptions-amd64.c:957**** >> >> #4 0x00000000004176e4 in mono_sigsegv_signal_handler (_dummy=11, >> info=0x7f93c9e7bd70, context=0x7f93c9e7bc40) at mini.c:5882**** >> >> #5 <signal handler called>**** >> >> #6 0x00007f93c9d18cc0 in ?? ()**** >> >> #7 0x00000000413fb199 in ?? ()**** >> >> #8 0x0000000000000025 in ?? ()**** >> >> #9 0x00007f93c9cb6a90 in ?? ()**** >> >> #10 0x00007f93c3cff150 in ?? ()**** >> >> #11 0x0000000000000000 in ?? ()**** >> >> ** ** >> >> (gdb) p mono_pmip(0x00007f93c9d18cc0)**** >> >> You can't do that without a process to debug.**** >> >> ** ** >> >> I looked at http://www.mono-project.com/Debugging and I can’t tell if >> this is supposed to work on core dumps or not. How do you guys do it? >> What’s your secret?**** >> >> ** ** >> >> Thanks!**** >> >> Bassam**** >> >> _______________________________________________ >> Mono-devel-list mailing list >> Mono-devel-list@lists.ximian.com >> http://lists.ximian.com/mailman/listinfo/mono-devel-list >> >> >
_______________________________________________ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list