From owner-freebsd-arm@FreeBSD.ORG Thu Apr 10 14:02:22 2014 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E30EF7A8 for ; Thu, 10 Apr 2014 14:02:22 +0000 (UTC) Received: from smtp.hs-karlsruhe.de (smtp.HS-Karlsruhe.DE [193.196.64.25]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A6E901678 for ; Thu, 10 Apr 2014 14:02:22 +0000 (UTC) Received: from iz-wera01.hs-karlsruhe.de ([193.196.65.46]) by smtp.hs-karlsruhe.de with esmtp (Exim 4.80.1) (envelope-from ) id 1WYFYa-00CDeU-Gv; Thu, 10 Apr 2014 16:02:20 +0200 X-Mailer: exmh version 2.8.0 04/21/2012 with nmh-1.5 From: Ralf Wenk To: freebsd-arm@freebsd.org Subject: Re: screen(1) crashes plus weird output for screen -ls In-reply-to: References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Date: Thu, 10 Apr 2014 16:02:20 +0200 Message-Id: X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Apr 2014 14:02:22 -0000 Hi, the optimizations made by the current Clang seems to be the cause. Without optimization (-O0) =22screen -ls=22 shows the expected There is a screen on: 43597.pts-0.raspberry-pi (Detached) 1 Socket in /tmp/screens/S-root. With the first optimization level (-O1) I get There is a screen on: 43597.pts-0.raspberry-pi (Detached) 120984 Socket=F5=FF=BFl=E5 in . and with -O2 There is a screen on: 43597.pts-0.raspberry-pi (Detached) -1073746696 Socket =D0=A0=E1 in =F5=FF=BF8=E8. Ralf