[Mono-bugs] [Bug 337383] New: Runtime assertion when pressing C-c on simple app.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Oct 27 13:58:40 EDT 2007


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

           Summary: Runtime assertion when pressing C-c on simple app.
           Product: Mono: Runtime
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: JIT
        AssignedTo: lupus at novell.com
        ReportedBy: miguel at novell.com
         QAContact: mono-bugs at ximian.com
          Found By: ---


Compile this app with gmcs, and run it, then press control-c (it does not
happen always):

$ cat test.cs
using System;
using System.Net;

class abcd {
        public static void Main ()
        {
                HttpListener l = new HttpListener ();
                l.Prefixes.Add ("http://*:4000/foo/");
                l.Start ();
                l.Stop ();
                l.Start ();
                Console.Read ();
        }
}

$ gmcs test.cs
$ mono test.exe
[[ PRESS CONTROL C HERE ]]
** ERROR **: file threads.c: line 3345 (mono_thread_set_state): assertion
failed: (ret == 0)
aborting...
Stacktrace:


Native stacktrace:

        mono(mono_handle_native_sigsegv+0xcf) [0x817960f]
        [0xffffe440]
        /lib/libc.so.6(abort+0x103) [0xb7d4dff3]
        /opt/gnome/lib/libglib-2.0.so.0(g_logv+0x46d) [0xb7ed12dd]
        /opt/gnome/lib/libglib-2.0.so.0(g_log+0x35) [0xb7ed1325]
        /opt/gnome/lib/libglib-2.0.so.0(g_assert_warning+0x76) [0xb7ed13a6]
        mono(mono_thread_set_state+0x66) [0x80d4946]
        mono [0x80d5189]
        mono [0x80dbee8]
        mono [0x80d8254]
        mono [0x812502e]
        mono [0x813c055]
        /lib/libpthread.so.0 [0xb7e712ab]
        /lib/libc.so.6(__clone+0x5e) [0xb7de2a4e]


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