[Mono-dev] gdb and mono

David Evans devans at pacificbiosciences.com
Mon Mar 28 19:58:37 UTC 2016


Awesome, thank you! Looks like that is in mono 4.3.2.467 and 4.4.x, I’ll give it a try.

From: Zoltan Varga [mailto:vargaz at gmail.com]
Sent: Monday, March 28, 2016 12:39 PM
To: David Evans
Cc: mono-devel-list at lists.ximian.com
Subject: Re: [Mono-dev] gdb and mono

Hi,

  This was fixed some time ago by mono commit a6380f15f0db533e30870925e0125a859ab815cf.

            Zoltan

On Mon, Mar 28, 2016 at 2:21 PM, David Evans <devans at pacificbiosciences.com<mailto:devans at pacificbiosciences.com>> wrote:
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.


_______________________________________________
Mono-devel-list mailing list
Mono-devel-list at lists.ximian.com<mailto:Mono-devel-list at lists.ximian.com>
http://lists.ximian.com/mailman/listinfo/mono-devel-list

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


More information about the Mono-devel-list mailing list