X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sbcglobal.net; s=s1024; t=1409972386; bh=qt446bPVxYsX63ozqOFeiyGqfsdxsYygKFNr/aA3PzU=; h=Received:Received:Received:DKIM-Signature:X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Content-Type:Mime-Version:Subject:From:In-Reply-To:Date:Content-Transfer-Encoding:Message-Id:References:To:X-Mailer:From:Subject; b=yd7rmVOudaPkmigQ3XWlzQ4Rn6aJLpe4KUFrJccrS7n/4OegpGX88TTKHovJGcSnZmbxxybOgiS8D18GEBTbIzZK7dK/9N1Hb4lxBQAeIGIhaaouOBjHVKDyCaRWxnzyZNlwcoZSXhC4iLJ1z/2KLrJe8ls7zUpelnxIOpfNUik= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=sbcglobal.net; b=vrIDkZYdwWhV92Pfx6hO48I2/VbhMREVYRP2acBsme5aLnfbdFLzSobrmD82UTfP7jsQkLeyWcwyoJWvQOYARInIbzaUn+hYod56e7ahcBjoH3Lq48Z3Hv8fjhSimeHQaXGPM2q9FSvoue2k8KF6jxbD1RE8ABMffQDEbskGUcg=; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sbcglobal.net; s=s1024; t=1409972386; bh=qt446bPVxYsX63ozqOFeiyGqfsdxsYygKFNr/aA3PzU=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Content-Type:Mime-Version:Subject:From:In-Reply-To:Date:Content-Transfer-Encoding:Message-Id:References:To:X-Mailer; b=wuOV5rN73IgdMP9C0uBVBFVNANXmn0dEaXC2jfIiRcSKkPzERCC76DwcvfNXzxT8UbUvoamVXD6RE9k4nDkvu0XJlekRw6e0/dEqGXrOgbKjwrNIt6ZsEOs3HJXq0qrJJjjZ2CiR3k2IDDQ7AHljujxVzKkt5UUYUvjq9/YczWQ= X-Yahoo-Newman-Id: 703908 DOT 99029 DOT bm AT smtp230 DOT mail DOT gq1 DOT yahoo DOT com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: 7T3idjsVM1nNHh56gcH1sRCuccB_.LPMMkeiroEUZENcMAJ 42qW8uB__qleIh_cwJ1t_SB_TGmaFvXRni764_fPP3J3qR1Dyd7dcCUblM85 gyZVGfljuQGXdDmg0PnkDfaddq_exeV9t.rjKyzL83joGEpYlFSMgGdRxWup ujfldhW83KrtYvGyxLaE9LL61T4Qc9SGBVty21qAMBBo_vcq77mma_M0aFt2 2LZqk2j.tTw0QiudTaehNyo0mKDvzOZhkSCp3VuexjTHxc7zK_DeegT1c6Dc ov9i1O5bhpAQNL3dj8ZYgEBV6eiB3sQU30jp.okQlOsZhyJdiyqHpS.SQ0W7 pLkH_ThSpfDEXj77dQpaxujWZVdaP.vikHIO15gXE0ypvQqSdPb15FEyN_LQ UOg2vzWFzsr47NxG3zWPpj1DwJwV4iGCzFCHI_U0pTwRDmX0h32ROnSxxoIN yA3pXb2ky.0OrXL7BtUu29nxuAEk77h6ASBaifi4DM1ul3wIp21yaBZIkDbN 36B3QnGvy3CbpJpfDe1HV73KI4Pr9TIBKhJRZ6YBOFjrn0ZMzxtBGbA-- X-Yahoo-SMTP: b8jVkbOswBAqZ4BhECp7nxPJUfTGEnEGv_G4qgQeZMeAbA-- Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: [geda-user] gschem sometimes takes a nap From: Edward Hennessy In-Reply-To: Date: Fri, 5 Sep 2014 19:59:44 -0700 Message-Id: <68DB3C77-2335-4016-B466-20CA135CD4CC@sbcglobal.net> References: <7C56210D-D45D-4E93-B755-E373AC009668 AT sbcglobal DOT net> To: geda-user AT delorie DOT com X-Mailer: Apple Mail (2.1878.6) Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id s862xss0003065 Reply-To: geda-user AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: geda-user AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Sep 5, 2014, at 2:25 AM, Kai-Martin Knaak wrote: > Edward Hennessy wrote: > >> Does anyone have a schematic that can replicate >> the issue that would be available for me to use? > > See my schematics guinea pig in the attachment. I was able to trigger the > freeze by moving chunks of the schematic around. > I believe I've reproduced the issue on my machine with your schematic. I can sometimes get gschem to freeze a bit when moving objects around. However, when selecting all objects on the schematic using Ctrl-A, my gschem will freeze for five seconds. When this freeze occurs, the function o_redraw_rects() is getting called with over 6000 rectangles. And, it appears the time is spent repainting the background. Shutting off the grid or switching to dots makes the problem much less pronounced. Does this description match what you are seeing? >> I tried getting gprof to work with gschem this morning. No gmon.out is >> getting generated. I suspect an issue with the instrumentation code not >> getting called at exit(). Has anyone got gprof working with gschem >> before? > > I had not heard about gprof before. The man page talked about binaries > compiled with the -pg option. The configure script of gschem reads the > environment variable $CFLAGS. So I set it to > export CFLAGS=-pg > After I resolved an issue with not included , I got an binary > that generates a gmon.out. I will attach the output of gprof from a > session with a significant freeze in my next post. Unfortunately, I still don't have any luck generating a gmon.out. I've used the flags and can see the instrumentation in my object code, but it still doesn't generate gmon.out. Just curious, what version of gcc did you compile with? Cheers, Ed