[Mono-list] How to debug mono's SEGFAULTS?

Vadim B. Guzev vguzev at yandex.ru
Fri Feb 15 05:25:08 EST 2008


Is there any good tutorial on how to debug Segmentation faults which occur while running mono applications?
I've filled a bug report #362036 about my case: https://bugzilla.novell.com/show_bug.cgi?id=362036
Now I'm trying to run gdb to get some additional info:

[vadim at skif tests]$ gdb --args mono --debug /home/vadim/pcsharp/bin/pcsc.exe /home/vadim/pcsharp/tests/test01.pcs
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1".

(gdb) run
Starting program: /home/vadim/mono/m-1.2.6/bin/mono --debug /home/vadim/pcsharp/bin/pcsc.exe /home/vadim/pcsharp/tests/test01.pcs
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 13547)]

[1]+  Stopped                 gdb --args mono --debug /home/vadim/pcsharp/bin/pcsc.exe /home/vadim/pcsharp/tests/test01.pcs

But it just doesn't work at all... gdb is halting...
Any hints?

Best regards,
Vadim Guzev

More information about the Mono-list mailing list