[Mono-bugs] [Bug 650355] New: Crash in IPAddress..ctor with hard debugger attached

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Oct 30 03:03:05 EDT 2010


https://bugzilla.novell.com/show_bug.cgi?id=650355

https://bugzilla.novell.com/show_bug.cgi?id=650355#c0


           Summary: Crash in IPAddress..ctor with hard debugger attached
    Classification: Mono
           Product: Mono: Debugger
           Version: 2.8.x
          Platform: x86-64
        OS/Version: Ubuntu
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: backend
        AssignedTo: martin at novell.com
        ReportedBy: xocotl at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-us) AppleWebKit/531.2+
(KHTML, like Gecko) Version/5.0 Safari/531.2+ Ubuntu/10.04 LTS ()
Epiphany/2.30.2

When running my application in MonoDevelop under the hard debugger, I get this
interesting gem:

Stacktrace:

  at System.Collections.Generic.Dictionary`2<string, int>.Init
(int,System.Collections.Generic.IEqualityComparer`1<string>) [0x00050] in
/home/james/Downloads/mono-2.8/mcs/class/corlib/System.Collections.Generic/Dictionary.cs:274
  at System.Collections.Generic.Dictionary`2<string, int>.Init
(int,System.Collections.Generic.IEqualityComparer`1<string>) [0x00012] in
/home/james/Downloads/mono-2.8/mcs/class/corlib/System.Collections.Generic/Dictionary.cs:265
  at System.Collections.Generic.Dictionary`2<string, int>..ctor (int) [0x00006]
in
/home/james/Downloads/mono-2.8/mcs/class/corlib/System.Collections.Generic/Dictionary.cs:238
  at Mono.Globalization.Unicode.MSCompatUnicodeTable.FillCJKCore
(string,Mono.Globalization.Unicode.CodePointIndexer&,byte*&,byte*&,Mono.Globalization.Unicode.CodePointIndexer&,byte*&)
[0x0000d] in
/home/james/Downloads/mono-2.8/mcs/class/corlib/Mono.Globalization.Unicode/MSCompatUnicodeTable.cs:803
  at Mono.Globalization.Unicode.MSCompatUnicodeTable.FillCJK
(string,Mono.Globalization.Unicode.CodePointIndexer&,byte*&,byte*&,Mono.Globalization.Unicode.CodePointIndexer&,byte*&)
[0x0000c] in
/home/james/Downloads/mono-2.8/mcs/class/corlib/Mono.Globalization.Unicode/MSCompatUnicodeTable.cs:785
  at Mono.Globalization.Unicode.SimpleCollator.SetCJKTable
(System.Globalization.CultureInfo,Mono.Globalization.Unicode.CodePointIndexer&,byte*&,byte*&,Mono.Globalization.Unicode.CodePointIndexer&,byte*&)
[0x0000c] in
/home/james/Downloads/mono-2.8/mcs/class/corlib/Mono.Globalization.Unicode/SimpleCollator.cs:244
  at Mono.Globalization.Unicode.SimpleCollator..ctor
(System.Globalization.CultureInfo) [0x0001e] in
/home/james/Downloads/mono-2.8/mcs/class/corlib/Mono.Globalization.Unicode/SimpleCollator.cs:175
  at Mono.Globalization.Unicode.SimpleCollator..cctor () <IL 0x0001e, 0x00052>
  at (wrapper runtime-invoke) object.runtime_invoke_void
(object,intptr,intptr,intptr) <IL 0x0001b, 0x0004c>
  at System.Globalization.CompareInfo..ctor (System.Globalization.CultureInfo)
[0x000b7] in
/home/james/Downloads/mono-2.8/mcs/class/corlib/System.Globalization/CompareInfo.cs:157
  at System.Globalization.CompareInfo..ctor (System.Globalization.CultureInfo)
[0x00067] in
/home/james/Downloads/mono-2.8/mcs/class/corlib/System.Globalization/CompareInfo.cs:147
  at System.Globalization.CultureInfo.get_CompareInfo () [0x00033] in
/home/james/Downloads/mono-2.8/mcs/class/corlib/System.Globalization/CultureInfo.cs:467
  at string.IndexOf (string) [0x0002b] in
/home/james/Downloads/mono-2.8/mcs/class/corlib/System/String.cs:1154
  at System.Net.IPv6Address.TryParse (string,System.Net.IPv6Address&) [0x001bf]
in
/home/james/Downloads/mono-2.8/mcs/class/System/System.Net/IPv6Address.cs:226
  at System.Net.IPv6Address.Parse (string) [0x00011] in
/home/james/Downloads/mono-2.8/mcs/class/System/System.Net/IPv6Address.cs:84
  at System.Net.IPv6Address..cctor () <IL 0x00005, 0x00013>
  at (wrapper runtime-invoke) object.runtime_invoke_void
(object,intptr,intptr,intptr) <IL 0x0001b, 0x0004c>
  at System.Net.IPAddress.ParseIPV6 (string) [0x00021] in
/home/james/Downloads/mono-2.8/mcs/class/System/System.Net/IPAddress.cs:310
  at System.Net.IPAddress.ParseIPV6 (string) [0x00000] in
/home/james/Downloads/mono-2.8/mcs/class/System/System.Net/IPAddress.cs:307
  at System.Net.IPAddress..cctor () <IL 0x0003e, 0x000a7>
  at (wrapper runtime-invoke) object.runtime_invoke_void
(object,intptr,intptr,intptr) <IL 0x0001b, 0x0004c>
  at Cobweb.Microthread.Run () [0x00021] in
/home/james/Code/src/oss/cobweb/Cobweb/Microthread.cs:82
  at Cobweb.Microthread.Run () [0x00016] in
/home/james/Code/src/oss/cobweb/Cobweb/Microthread.cs:81
  at Cobweb.Microthread.RunCore () [0x00016] in
/home/james/Code/src/oss/cobweb/Cobweb/Microthread.cs:75
  at Cobweb.Scheduler.RunImpl () [0x000a6] in
/home/james/Code/src/oss/cobweb/Cobweb/Scheduler.cs:68
  at Cobweb.Scheduler.Run () [0x00000] in
/home/james/Code/src/oss/cobweb/Cobweb/Scheduler.cs:40
  at Cobweb.Demo.Program.Main (string[]) [0x0002c] in
/home/james/Code/src/oss/cobweb/Cobweb.Demo/Program.cs:75
  at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object
(object,intptr,intptr,intptr) <IL 0x00049, 0x00092>

Native stacktrace:

    /opt/mono-2.8/bin/mono() [0x48be8b]
    /opt/mono-2.8/bin/mono() [0x4df30f]
    /lib/libpthread.so.0(+0xf8f0) [0x7f9e38b888f0]
    [0x41efb600]

=================================================================
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.
=================================================================

As a result of this I am unable to debug. The second time I hit Debug,
MonoDevelop crashes and exits.

I'd prefer to use the Soft Debugger instead, but it appears to occasionally
screw up with tasklets, turning my 'this' pointer into a NullReferenceException
(64-bit Linux) rarely but enough that I can't use it to debug. I have no
problems whatsoever on this particular platform when no debugger is attached.

Please see about fixing this hard debugger bug. I really would like some form
of working debugger.

Reproducible: Always

Steps to Reproduce:
1.
2.
3.

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list