From owner-freebsd-ports@FreeBSD.ORG Fri Jun 1 12:48:25 2007 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 451DF16A41F for ; Fri, 1 Jun 2007 12:48:25 +0000 (UTC) (envelope-from spreng@socket.ch) Received: from mailhub-lb2.unibe.ch (mailhub-lb2.unibe.ch [130.92.0.83]) by mx1.freebsd.org (Postfix) with ESMTP id 05E7D13C48A for ; Fri, 1 Jun 2007 12:48:24 +0000 (UTC) (envelope-from spreng@socket.ch) Received: from localhost (scanhub-lb2.unibe.ch [130.92.5.66]) by mailhub-lb2.unibe.ch (Postfix) with ESMTP id EFE1EC43D8; Fri, 1 Jun 2007 14:48:23 +0200 (CEST) X-Virus-checked: by University of Bern Received: from mailhub-lb2.unibe.ch ([130.92.0.83]) by localhost (scanhub-lb2.unibe.ch [130.92.5.66]) (amavisd-new, port 10024) with LMTP id NgFeQi-m68Eh; Fri, 1 Jun 2007 14:48:22 +0200 (CEST) Received: from hotpot (hotpot.unibe.ch [130.92.7.70]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mailhub-lb2.unibe.ch (Postfix) with ESMTP id 9EE05C4246; Fri, 1 Jun 2007 14:48:14 +0200 (CEST) Received: from yukon.unibe.ch (yukon.unibe.ch [130.92.7.23]) by hotpot (Postfix) with ESMTP id 2289614A40A8; Fri, 1 Jun 2007 14:48:14 +0200 (CEST) Message-ID: <4660158D.9020901@socket.ch> Date: Fri, 01 Jun 2007 14:48:13 +0200 From: Thomas Spreng User-Agent: Thunderbird 2.0.0.0 (Macintosh/20070326) MIME-Version: 1.0 To: ports@freebsd.org References: <863b1lnurb.fsf@bsd.by> <86y7jdmedl.fsf@bsd.by> <465FF14C.8090205@socket.ch> <20070601104415.O52165@duane.dbq.yournetplus.com> <465FFB85.6070403@socket.ch> In-Reply-To: <465FFB85.6070403@socket.ch> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Duane Hill Subject: Re: net/rdesktop segfault X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: spreng@socket.ch List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Jun 2007 12:48:25 -0000 Thomas Spreng wrote: > Hi, > > Duane Hill wrote: >> From the stand point of a fresh FBSD 6.2 install, rdesktop 1.5.0 works >> fine here using xorg 7.2. I just logged into an XP pro and 2000 server >> without a segfault. > > I've only tested connections to Windows Server 2003 SP2 so far, > rdesktop-1.5.0_1 segfaults every time at the login screen. > > I'll try to do some testing on different Windows versions then. Ok, I just did some testing and it looks like it depends on what framebuffer depth is used. rdesktop-1.5.0_1 works fine if xorg 7.2 runs with a depth of 24 (32 bpp framebuffer). If I switch to a depth of 16 on the other hand, rdesktop-1.5.0_1 segfaults most of the time. It doesn't matter what color depth I choose for the connection (rdesktop command line argument). If I apply the patch (which I attached in one of my earlier posts) everything runs fine, regardless what color depth is used. All this has been tested on FBSD6.2 using xorg v7.2 (nv driver) connecting to a Windows 2003 SP2. Can anyone confirm my results? Or do some tests using other systems/setups? cheers, tom.