From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19785 invoked by alias); 6 Dec 2004 16:16:45 -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 19732 invoked from network); 6 Dec 2004 16:16:39 -0000 Received: from unknown (HELO postfix4-2.free.fr) (213.228.0.176) by sourceware.org with SMTP; 6 Dec 2004 16:16:39 -0000 Received: from pbaldrick.hd.free.fr (massena-4-82-67-197-146.fbx.proxad.net [82.67.197.146]) by postfix4-2.free.fr (Postfix) with ESMTP id 181EF23CAF6; Mon, 6 Dec 2004 17:16:38 +0100 (CET) Received: by pbaldrick.hd.free.fr (Postfix, from userid 500) id F11591FDF38; Mon, 6 Dec 2004 17:16:38 +0100 (CET) From: Duncan Sands To: gdb@sources.redhat.com Subject: Re: Threading bug, already solved, or is there a workaround? Date: Mon, 06 Dec 2004 16:16:00 -0000 User-Agent: KMail/1.6.2 Cc: Daniel Jacobowitz , Tobias Erbsland References: <200412011252.47465.terbsland@printsoft.ch> <200412021056.15660.terbsland@printsoft.ch> <20041206155929.GA16718@nevyn.them.org> In-Reply-To: <20041206155929.GA16718@nevyn.them.org> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200412061716.38511.duncan.sands@math.u-psud.fr> X-SW-Source: 2004-12/txt/msg00026.txt.bz2 > > If i try to debug an multithread application with gdb, the threads aren't > > started. Without gdb all is working fine. > > > > An minimal example program for Qt with qmake. > > > > The regular output would be: > > Your test works for me on Debian unstable. I can only assume that SuSE > has some change in glibc, libqt, or the kernel that caused this > problem; you may want to take it up with SuSE. Yes, SuSE recently distributed a new kernel (2.6.5-7.111.5) which breaks gdb with multithreaded apps. I worked around it by compiling my own more recent kernel. I don't know if SuSE is aware of the problem. All the best, Duncan.