From nobody Wed Aug 9 12:21:14 2023 X-Original-To: freebsd-mono@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RLTgk1CVLz4ptBw for ; Wed, 9 Aug 2023 12:21:38 +0000 (UTC) (envelope-from rodrigo@FreeBSD.org) Received: from smtp.osorio.me (mvd.osorio.me [5.196.94.126]) by mx1.freebsd.org (Postfix) with ESMTP id 4RLTgj1gLLz3XS8 for ; Wed, 9 Aug 2023 12:21:37 +0000 (UTC) (envelope-from rodrigo@FreeBSD.org) Authentication-Results: mx1.freebsd.org; dkim=none; spf=softfail (mx1.freebsd.org: 5.196.94.126 is neither permitted nor denied by domain of rodrigo@FreeBSD.org) smtp.mailfrom=rodrigo@FreeBSD.org; dmarc=none Received: from [192.168.66.57] (ns3309494.ip-5-135-160.eu [5.135.160.30]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by smtp.osorio.me (Postfix) with ESMTPSA id A42181BB8F2 for ; Wed, 9 Aug 2023 12:21:29 +0000 (UTC) Message-ID: <7195c088-7b83-6427-39e3-ce089ebd3cde@FreeBSD.org> Date: Wed, 9 Aug 2023 14:21:14 +0200 List-Id: Mono and C# applications on FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-mono List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-mono@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 From: Rodrigo Osorio Subject: How to test www/xsp port Reply-To: rodrigo@FreeBSD.org To: freebsd-mono@FreeBSD.org Content-Language: en-US, fr, es-AR Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Result: default: False [1.66 / 15.00]; VIOLATED_DIRECT_SPF(3.50)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.997]; NEURAL_HAM_SHORT(-0.79)[-0.793]; NEURAL_HAM_LONG(-0.15)[-0.149]; ONCE_RECEIVED(0.10)[]; RCVD_NO_TLS_LAST(0.10)[]; MIME_GOOD(-0.10)[text/plain]; TO_DOM_EQ_FROM_DOM(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; PREVIOUSLY_DELIVERED(0.00)[freebsd-mono@freebsd.org]; FREEFALL_USER(0.00)[rodrigo]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; DMARC_NA(0.00)[freebsd.org]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[rodrigo@FreeBSD.org]; ASN(0.00)[asn:16276, ipnet:5.196.0.0/16, country:FR]; TO_DN_NONE(0.00)[]; REPLYTO_ADDR_EQ_FROM(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; R_SPF_SOFTFAIL(0.00)[~all:c]; FROM_EQ_ENVFROM(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[freebsd-mono@FreeBSD.org] X-Spamd-Bar: + X-Rspamd-Queue-Id: 4RLTgj1gLLz3XS8 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 :0   at System.IO.KeventWatcher.StartDispatching (System.IO.FileSystemWatcher fsw) [0x00033] in :0   at System.IO.FileSystemWatcher.Start () [0x00000] in :0   at System.IO.FileSystemWatcher.set_IncludeSubdirectories (System.Boolean value) [0x00022] in :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 :0   at System.Web.HttpApplicationFactory+<>c.b__38_0 (System.Object ) [0x00000] in :0 ---- Regards -- rodrigo [1]https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272997 [2] https://github.com/mono/xsp/blob/main/INSTALL