Date: Wed, 9 Aug 2023 14:21:14 +0200 From: Rodrigo Osorio <rodrigo@FreeBSD.org> To: freebsd-mono@FreeBSD.org Subject: How to test www/xsp port Message-ID: <7195c088-7b83-6427-39e3-ce089ebd3cde@FreeBSD.org>
next in thread | raw e-mail | index | archive | help
Hi, I was updating www/xsp(PR272997)[1], a Mono based web server, and to test the port I run the samples provided in the package as described in the INSTALL[2] file. Running this code causes a server crash, which looks like a Mono issue. I'm not a Mono expert so I wish someone can take a look ant tell me if this port still usable on FreeBSD. I try to run the same test with the current xsp version, and I got the same error. To reproduce the crash start the serven the server and run the command: fetch "http://127.0.0.1:9000/" ---- % (cd /usr/local/lib/xsp/test && xsp4) xsp4 Listening on address: 0.0.0.0 Root directory: /usr/local/lib/xsp/test Listening on port: 9000 (non-secure) Hit Return to stop the server. System.IO.IOException: kevent() error at initial event registration, error code = '9' at System.IO.KqueueMonitor.Start () [0x0009f] in <b3922b7d60404fa9ae645f1fb97f5b6b>:0 at System.IO.KeventWatcher.StartDispatching (System.IO.FileSystemWatcher fsw) [0x00033] in <b3922b7d60404fa9ae645f1fb97f5b6b>:0 at System.IO.FileSystemWatcher.Start () [0x00000] in <b3922b7d60404fa9ae645f1fb97f5b6b>:0 at System.IO.FileSystemWatcher.set_IncludeSubdirectories (System.Boolean value) [0x00022] in <b3922b7d60404fa9ae645f1fb97f5b6b>:0 at (wrapper remoting-invoke-with-check) System.IO.FileSystemWatcher.set_IncludeSubdirectories(bool) at System.Web.HttpApplicationFactory.WatchLocationForRestart (System.String virtualPath, System.String filter, System.Boolean watchSubdirs) [0x00056] in <d6b4a86d64cf4f0ba7001bead8cf207f>:0 at System.Web.HttpApplicationFactory+<>c.<InitType>b__38_0 (System.Object <p0>) [0x00000] in <d6b4a86d64cf4f0ba7001bead8cf207f>:0 ---- Regards -- rodrigo [1]https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272997 [2] https://github.com/mono/xsp/blob/main/INSTALL
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7195c088-7b83-6427-39e3-ce089ebd3cde>