From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29027 invoked by alias); 7 Sep 2007 09:21:10 -0000 Received: (qmail 29018 invoked by uid 22791); 7 Sep 2007 09:21:09 -0000 X-Spam-Check-By: sourceware.org Received: from smtp26.poczta.onet.pl (HELO smtp26.poczta.onet.pl) (213.180.130.97) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 07 Sep 2007 09:20:55 +0000 Received: from static-62-233-152-148.devs.futuro.pl ([62.233.152.148]:61962 "EHLO [10.0.0.72]") by ps26.test.onet.pl with ESMTP id (ORCPT ); Fri, 7 Sep 2007 11:21:30 +0200 Message-ID: <46E117EE.4030600@op.pl> Date: Fri, 07 Sep 2007 10:04:00 -0000 From: Bogdan Slusarczyk User-Agent: Thunderbird 2.0.0.0 (Windows/20070326) MIME-Version: 1.0 To: gdb@sourceware.org Subject: attaching gdb causes pthread_create hang [gdb6.3, long subject] Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-09/txt/msg00072.txt.bz2 Hi everyone, maybe you can help me. There is following scenario: 1) I use gdb6.3, which was build on some linux, and I cannot change its version and cannot build gdb for every linux on the world (I mean I have to deliver built gdb to customers, regardless of which linux they have) 2) mentioned gdb will be used for debugging another delivered application (huge and complicated) Problem is, that gdb on on some linux machines works fine, on others it causes that inside debugged application pthread_create hangs (from boost::thread). But: - with simple application which uses boost::thread (pthread_create) it works fine - when I build the same gdb version on such specific linux, it works fine too! - it's not specific for linux distribution, my quess is that some additional installed packages (or differences between them) can cause this problem And my questions -what can cause mentioned problems? different system libraries (which one)? what else? -what kind of operations does gdb which could harm debugged application? Thank in advance Bogdan