[Mono-dev] gdb and mono

David Evans devans at pacificbiosciences.com
Mon Mar 28 18:21:59 UTC 2016


Sorry if this has been covered before, or is a current issue, but is there a way around these errors using gdb with mono 4.x?

I generally see "/build/buildd/gdb-7.7.1/gdb/dwarf2-frame.c:692: internal-error: Unknown CFI encountered." whenever trying to look at things in gdb.

Thx!

(gdb) bt
#0  sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85
#1  0x000000000061f977 in mono_sem_wait (sem=sem at entry=0x7fbacc000940, alertable=alertable at entry=0) at mono-semaphore.c:107
#2  0x000000000062465a in mono_thread_info_wait_for_resume (info=<optimized out>) at mono-threads.c:110
#3  mono_thread_info_end_self_suspend () at mono-threads.c:692
#4  0x00000000005876dc in self_suspend_internal (thread=0x7fbadbb40430) at threads.c:4546
#5  mono_thread_execute_interruption (thread=thread at entry=0x7fbadbb40430) at threads.c:4050
#6  0x00000000005879ac in mono_wait_uninterrupted (thread=thread at entry=0x7fbadbb40430, multiple=multiple at entry=0,
    numhandles=numhandles at entry=1, handles=handles at entry=0x7fbad67fd638, waitall=waitall at entry=0, ms=ms at entry=1725, alertable=1)
    at threads.c:1455
#7  0x0000000000588f59 in ves_icall_System_Threading_WaitHandle_WaitOne_internal (this=<optimized out>, handle=0x100c, ms=1725,
    exitContext=<optimized out>) at threads.c:1583
#8  0x0000000040962760 in ?? ()
#9  0x0000000000000038 in ?? ()
#10 0x0000000002521f28 in ?? ()
#11 0x00000000000006bd in ?? ()
#12 0x00007fbada29f278 in ?? ()
#13 0x00000000000006bd in ?? ()
#14 0x00007fbacc000e01 in ?? ()
#15 0x0000000041641e7d in ?? ()
#16 0x00007fbad67fd6f0 in ?? ()
#17 0x00007fbad67fd660 in ?? ()
/build/buildd/gdb-7.7.1/gdb/dwarf2-frame.c:692: internal-error: Unknown CFI encountered.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n) n
/build/buildd/gdb-7.7.1/gdb/dwarf2-frame.c:692: internal-error: Unknown CFI encountered.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Create a core file of GDB? (y or n) n
Command aborted.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20160328/23b10e4d/attachment.html>


More information about the Mono-devel-list mailing list