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

Alex Rodin alx at sm.ukrtel.net
Fri Jul 24 10:23:39 UTC 2009


Romain Tartière пишет:
> On Fri, Jul 24, 2009 at 10:04:04AM +0300, Alex Rodin wrote:
>   
>> 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
>>     
>
>   
[salx at fs][/home/alx]: uname -a
FreeBSD my.host 7.0-STABLE FreeBSD 7.0-STABLE #2: Fri Apr  4 09:26:32 
EEST 2008     root at fs.su.ukrtelecom.net:/usr/obj/usr/src/sys/FS  i386

[salx at fs][/home/alx]: 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

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

run in browser

and see


  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


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]

> I still can't figure out the configuration with which you trigger the
> error.  I have only tried examples of ASP applications so can you please
> provide a simple test case, for example a tarball of sources, and exact
> instructions for triggering the error, and what is supposed happen?
>
> Thanks,
> Romain
>
>   



More information about the freebsd-mono mailing list