X-Spam-Check-By: sourceware.org Message-ID: <44A53A52.8060402@obbligato.org> Date: Fri, 30 Jun 2006 09:50:58 -0500 From: David Greene User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: gdb: Segfault in pthread_mutex_init References: <44A53838 DOT 9070603 AT obbligato DOT org> In-Reply-To: <44A53838.9070603@obbligato.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Cray-VirusStatus: clean X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com David Greene wrote: > But my program also segfaults in pthread_mutex_init: It turns out it also segfaults on pthread_mutex_lock and pthread_mutex_unlock. Continuing works just fine. But this is very annoying because the program doesn't get very far before it has to do a lock or unlock operation. It makes gdb next to useless for multithreaded programs. -Dave -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/