From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3571 invoked by alias); 4 Feb 2002 19:28:11 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 3422 invoked from network); 4 Feb 2002 19:28:00 -0000 Received: from unknown (HELO uth.gr) (194.177.200.6) by sources.redhat.com with SMTP; 4 Feb 2002 19:28:00 -0000 Received: from there (grads-pc-2.inf.uth.gr [195.251.18.133]) by uth.gr (8.9.3+Sun/8.9.1) with SMTP id VAA02795; Mon, 4 Feb 2002 21:27:46 +0200 (EET) Message-Id: <200202041927.VAA02795@uth.gr> Content-Type: text/plain; charset="iso-8859-7" From: "=?iso-8859-7?b?wevd7uHt5PHv8iDK4fH18N/k5/I=?= (Alexandros Karypidis)" Organization: =?iso8859-7?b?0OHt5fDp8/Te7OnvIMjl8/Ph69/h8g==?= (University of Thessaly) To: Kevin Buettner Subject: Re: Strange gdb behavior when debugging Qt apps Date: Mon, 04 Feb 2002 11:28:00 -0000 X-Mailer: KMail [version 1.3.2] References: <200202041448.QAA12663@uth.gr> <1020204183937.ZM17090@localhost.localdomain> In-Reply-To: <1020204183937.ZM17090@localhost.localdomain> Cc: gdb@sources.redhat.com MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SW-Source: 2002-02/txt/msg00085.txt.bz2 So far noone has mentioned anything in the Qt mailing list. Moreover, I tried running gdb against standard qt apps (like qtcups) and the fonts were ok, so it's probably not the environment. Furthermore, it seems that this is thread-related, because it occurs only with applications spawning other threads. For example, I ran gdb with qtella (a Qt gnutella client which spawns threads) and had the same "garbled fonts" problem. More specifically, when gdb's output contains somethin like: "[New Thread XXXX (LWP YYYYY)]" Then, the fonts are garbled... > > I am facing a rather strange problem using gdb. I have written a simple > > Qt application which creates a window with a few menu choices. When I > > run the application (no debugging), everything is ok. If I try to run it > > within gdb however, the fonts used are unreadable. They letters are very > > small and one cannot distinguish them. Does anyone have any clue > > regading this strange behavior? > > In the course of starting up the process to be debugged, gdb invokes > the shell. Could it be that a .bashrc, .cshrc, or the like is setting > (or unsetting) an environment variable which is influencing the font > size?