| www.delorie.com/archives/browse.cgi | search |
| X-Spam-Check-By: | sourceware.org |
| Message-ID: | <44A53A52.8060402@obbligato.org> |
| Date: | Fri, 30 Jun 2006 09:50:58 -0500 |
| From: | David Greene <greened AT obbligato DOT org> |
| 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> |
| X-Cray-VirusStatus: | clean |
| X-IsSubscribed: | yes |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| 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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |