xsp crashed under mono 2.4.2 if Bin folder have assembly(dll's)

Alex Rodin alx at sm.ukrtel.net
Fri Jul 24 07:19:40 UTC 2009


Florent Thoumie пишет:
> Again, forwarding to mono at .
>
> It looks like you have another server running on that port anyway.
>   
No.

[salx at fs][/usr/local/lib/xsp/test]: netstat -na | grep LISTEN | grep 8080
[salx at fs][/usr/local/lib/xsp/test]:

Asp.net does't work on mono 2.4.x.x, but work on 2.0.1
This problem present only if in Bin directory present dll files.
If a directory is empty, then works normally

Console application work fine.

> On Thu, Jul 23, 2009 at 5:57 AM, Alex Rodin<alx at sm.ukrtel.net> wrote:
>   
>> mono 2.4.2.2 crashed again
>>
>> [salx at fs][/home/alx/test/aspx]: xsp
>> xsp2
>> Listening on address: 0.0.0.0
>> Root directory: /home/alx/test/aspx
>> Listening on port: 8080 (non-secure)
>> Hit Return to stop the server.
>> Error: System.Net.Sockets.SocketException: Address already in use
>> at System.Net.Sockets.Socket.Bind (System.Net.EndPoint local_end) [0x00000]
>> at Mono.WebServer.XSPWebSource.CreateSocket () [0x00000]
>> at Mono.WebServer.ApplicationServer.Start (Boolean bgThread) [0x00000]
>> at Mono.WebServer.ApplicationServer.Start (Boolean bgThread,
>> System.Exception initialException) [0x00000]
>> at (wrapper remoting-invoke-with-check)
>> Mono.WebServer.ApplicationServer:Start (bool,System.Exception)
>> at Mono.WebServer.XSP.Server.RealMain (System.String[] args, Boolean root,
>> IApplicationHost ext_apphost, Boolean quiet) [0x00000]
>> System.Threading.ThreadAbortException: Thread was being aborted
>> at (wrapper managed-to-native) string:InternalAllocateStr (int)
>> at System.Text.StringBuilder.InternalEnsureCapacity (Int32 size) [0x00000]
>> at System.Text.StringBuilder.Append (System.String value, Int32 startIndex,
>> Int32 count) [0x00000]
>> at System.String.FormatHelper (System.Text.StringBuilder result,
>> IFormatProvider provider, System.String format, System.Object[] args)
>> [0x00000]
>> at System.Text.StringBuilder.AppendFormat (IFormatProvider provider,
>> System.String format, System.Object[] args) [0x00000]
>> at System.Text.StringBuilder.AppendFormat (System.String format,
>> System.Object arg0) [0x00000]
>> at System.Web.HttpException.WriteFileTop (System.Text.StringBuilder builder,
>> System.String title) [0x00000]
>> at System.Web.HttpException.GetDefaultErrorMessage (Boolean showTrace)
>> [0x00000]
>> at System.Web.HttpException.GetHtmlErrorMessage () [0x00000]
>>
>>
>> [salx at fs][/home/alx/test/aspx]: mono -V
>> Mono JIT compiler version 2.4.2.2 (tarball Wed Jul 22 18:04:36 EEST 2009)
>> Copyright (C) 2002-2008 Novell, Inc and Contributors. www.mono-project.com
>> TLS: __thread
>> GC: Included Boehm (with typed GC)
>> SIGSEGV: normal
>> Notification: Thread + polling
>> Architecture: x86
>> Disabled: none
>>
>>
>>
>> Florent Thoumie пишет:
>>     
>>> Forwarding to mono at .
>>>
>>> On Thu, Jul 9, 2009 at 1:24 PM, Alex Rodin<alx at sm.ukrtel.net> wrote:
>>>
>>>       
>>>>  Server Error in '/' Application
>>>>
>>>> ------------------------------------------------------------------------
>>>>
>>>>
>>>>  /Thread was being aborted/
>>>>
>>>> *Description: *HTTP 500. Error processing request.
>>>>
>>>> *Stack Trace: *
>>>>
>>>> System.Threading.ThreadAbortException: Thread was being aborted
>>>>  at System.Web.HttpApplication+<Pipeline>c__Iterator2.MoveNext ()
>>>> [0x00000]
>>>>  at System.Web.HttpApplication.Tick () [0x00000]
>>>> ------------------------------------------------------------------------
>>>> *Version information: * Mono Version: 2.0.50727.1433; ASP.NET Version:
>>>> 2.0.50727.1433
>>>>
>>>>
>>>>
>>>> [salx at fs][/home/alx/test/aspx]: xsp2
>>>> xsp2
>>>> Listening on address: 0.0.0.0
>>>> Root directory: /home/alx/test/aspx
>>>> Listening on port: 8080 (non-secure)
>>>> Hit Return to stop the server.
>>>> Error: System.Net.Sockets.SocketException: Address already in use
>>>>  at System.Net.Sockets.Socket.Bind (System.Net.EndPoint local_end)
>>>> [0x00000]
>>>>  at Mono.WebServer.XSPWebSource.CreateSocket () [0x00000]
>>>>  at Mono.WebServer.ApplicationServer.Start (Boolean bgThread) [0x00000]
>>>>  at Mono.WebServer.ApplicationServer.Start (Boolean bgThread,
>>>> System.Exception initialException) [0x00000]
>>>>  at (wrapper remoting-invoke-with-check)
>>>> Mono.WebServer.ApplicationServer:Start (bool,System.Exception)
>>>>  at Mono.WebServer.XSP.Server.RealMain (System.String[] args, Boolean
>>>> root,
>>>> IApplicationHost ext_apphost, Boolean quiet) [0x00000]
>>>>
>>>> mono 2.0 work fine.
>>>>
>>>>
>>>>
>>>>         
>>>
>>>
>>>       
>>     
>
>
>
>   



More information about the freebsd-mono mailing list