From owner-freebsd-ports@freebsd.org Thu Nov 12 16:18:48 2020 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3970C2EDF18 for ; Thu, 12 Nov 2020 16:18:48 +0000 (UTC) (envelope-from ypankov@xsmail.com) Received: from new1-smtp.messagingengine.com (new1-smtp.messagingengine.com [66.111.4.221]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4CX6Gv47X9z4TCg for ; Thu, 12 Nov 2020 16:18:47 +0000 (UTC) (envelope-from ypankov@xsmail.com) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailnew.nyi.internal (Postfix) with ESMTP id 1567D580424; Thu, 12 Nov 2020 11:18:47 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Thu, 12 Nov 2020 11:18:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xsmail.com; h= subject:from:to:references:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm1; bh=Q +N3/Hcroly8GCjptzm5gKDEhZWr0vLEizcLiF10LZg=; b=G9NMAjiSjwAG7HIR5 FredWwXkatvoHlM+o9/YjOOPY+9QTdeYG53AXP8IQKG8nwrXwzsSA2gVfKJmVdwL ye/gCVhM/fzBmPJpJVC6FNGnWZUALckMlNp4jpv6seeC61vvTi8hbUNaC3EpWmAt yv1I/mrs4HmcRaVuqssCOCpieO4cML61p7I3yPvGFEN2d5Uj3ACf+0WZZaEZ72WT xwuP32avYMgXRzcuvU/IqtF9eq/PSVMjUjWnJ8fJsVR8vNOtgPmM7Si9x3Ybi/aF eTwhaY7nahTARVN6d/FtfxYB/ygStQyQmBE9LfcFUoA8G5QdiBYlL/8D692IMpGu T3Bmg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=Q+N3/Hcroly8GCjptzm5gKDEhZWr0vLEizcLiF10L Zg=; b=VvVpCEjN9BjxhaVw5LQmokSgEBWzFb+hPN1nmcBq5LUmPSy0vqiUJoJe4 m+EyHTpKDcA9XZYz5bVdd65bLggJ5jSn7TLAaQ55IJTSlfP+JrBlwCJ+P4FJahlM kxVEFBGHbjpl0UiZxoHaChd2A5pZY5L8OkCqi9kNrjI2ytXFn4Ax1EAq15Orksdn NNxevyXZzOFfj4LEH55k5uh+QeOaSNSuhnPQc9+pnjaWRn2wTDFdLbJGeYd46696 9s0KCZA/SJXmPG9sc7jQtuKMVoouTCdAtK8j9LwNT3gHujkuX583Nhi+0+8o0Njh J5dO51zMwKxNQi+5etD5LMCtnzuZg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedruddvfedgieduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefuhffvfhfkffgfgggjtgfgsehtje ertddtfeejnecuhfhrohhmpegjuhhrihcurfgrnhhkohhvuceohihprghnkhhovhesgihs mhgrihhlrdgtohhmqeenucggtffrrghtthgvrhhnpeeiheehtdehudekveelvdejgefgie dthfejueelleetieejveefieejfeehtefhleenucffohhmrghinhepghhithhhuhgsrdgt ohhmnecukfhppeeluddrvdegtddruddvgedrudehjeenucevlhhushhtvghrufhiiigvpe dtnecurfgrrhgrmhepmhgrihhlfhhrohhmpeihphgrnhhkohhvseigshhmrghilhdrtgho mh X-ME-Proxy: Received: from [192.168.1.6] (unknown [91.240.124.157]) by mail.messagingengine.com (Postfix) with ESMTPA id B58F83067C69; Thu, 12 Nov 2020 11:18:45 -0500 (EST) Subject: Re: Sudden trouble with net/rdesktop From: Yuri Pankov To: Andrea Venturoli , freebsd-ports@freebsd.org, freebsd@gregv.net References: <1420575d-2622-2063-3a2f-bb0591b9f71c@netfence.it> <0af296a2-2896-87ba-3f8e-de68276a3baf@xsmail.com> Message-ID: Date: Thu, 12 Nov 2020 19:18:45 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.4.2 MIME-Version: 1.0 In-Reply-To: <0af296a2-2896-87ba-3f8e-de68276a3baf@xsmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4CX6Gv47X9z4TCg X-Spamd-Bar: +++++++ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=xsmail.com header.s=fm1 header.b=G9NMAjiS; dkim=pass header.d=messagingengine.com header.s=fm1 header.b=VvVpCEjN; dmarc=pass (policy=none) header.from=xsmail.com; spf=pass (mx1.freebsd.org: domain of ypankov@xsmail.com designates 66.111.4.221 as permitted sender) smtp.mailfrom=ypankov@xsmail.com X-Spamd-Result: default: False [7.85 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(0.00)[+ip4:66.111.4.221:c]; FREEMAIL_FROM(0.00)[xsmail.com]; RWL_MAILSPIKE_GOOD(0.00)[66.111.4.221:from]; RCVD_COUNT_THREE(0.00)[4]; DKIM_TRACE(0.00)[xsmail.com:+,messagingengine.com:+]; DMARC_POLICY_ALLOW(0.00)[xsmail.com,none]; RCVD_IN_DNSWL_LOW(-0.10)[66.111.4.221:from]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[xsmail.com]; MID_RHS_MATCH_FROM(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[66.111.4.221:from]; ASN(0.00)[asn:11403, ipnet:66.111.4.0/24, country:US]; ARC_NA(0.00)[]; RECEIVED_SPAMHAUS_XBL(5.00)[91.240.124.157:received]; R_DKIM_ALLOW(0.00)[xsmail.com:s=fm1,messagingengine.com:s=fm1]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_SPAM_SHORT(1.00)[1.000]; MIME_GOOD(-0.10)[text/plain]; NEURAL_SPAM_MEDIUM(0.95)[0.954]; BAD_REP_POLICIES(0.10)[]; SPAMHAUS_ZRD(0.00)[66.111.4.221:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(1.00)[1.000]; GREYLIST(0.00)[pass,meta]; MAILMAN_DEST(0.00)[freebsd-ports] X-Spam: Yes X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Nov 2020 16:18:48 -0000 Yuri Pankov wrote: > Andrea Venturoli wrote: >> Hello. >> >> After many year of happy usage, since yesterday rdesktop dumps core >> (12.2/amd64). >> >>> % rdesktop xxxxxx >>> Assertion failed: ((len * 2) < size), function _utils_data_to_hex, >>> file utils.c, line 499. >>> Abort (core dumped) >> >> This is systematic with 4 servers out of 5; the 5th still works >> perfectly, but I have no idea in which way it might differ from the >> others. >> >> I don't think this has anything to do with the upgrade to 1.9.0, since >> I was able to use 1.9.0 for a while. >> >> Anyone else seeing this? >> Where do I go and look? > > I see a similar report on github: > > https://github.com/rdesktop/rdesktop/issues/380 > > Could it be something that changed on remote side, e.g. any recent updates? > > As a workaround, try increasing the buf size to e.g. 512 in > utils.c:_utils_cert_get_info(). Sorry, looks like I'm reading that backwards, and increasing the buf size will actually make it worse. BTW, did you previously have rdesktop compiled without DEBUG option, so that assert() simply didn't fire, and now it's ON?