Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Jul 2009 10:04:04 +0300
From:      Alex Rodin <alx@sm.ukrtel.net>
To:        Florent Thoumie <flz@freebsd.org>, mono@freebsd.org
Subject:   Re: xsp crashed under mono 2.4.2 if Bin folder have assembly(dll's)
Message-ID:  <4A695CE4.8080605@sm.ukrtel.net>
In-Reply-To: <a01628140907230127r729331c7tb30cc1418223808e@mail.gmail.com>
References:  <4A55E179.6000703@sm.ukrtel.net> <a01628140907090602l62c26eb5tf1f533769d990417@mail.gmail.com> <4A67EDA5.506@sm.ukrtel.net> <a01628140907230127r729331c7tb30cc1418223808e@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Florent Thoumie пишет:
> Again, forwarding to mono@.
>
> It looks like you have another server running on that port anyway.
>   
No.

[salx@fs][/usr/local/lib/xsp/test]: netstat -na | grep LISTEN | grep 8080
[salx@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@sm.ukrtel.net> wrote:
>   
>> mono 2.4.2.2 crashed again
>>
>> [salx@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@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@.
>>>
>>> On Thu, Jul 9, 2009 at 1:24 PM, Alex Rodin<alx@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@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.
>>>>
>>>>
>>>>
>>>>         
>>>
>>>
>>>       
>>     
>
>
>
>   




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A695CE4.8080605>