-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Christopher Faylor schrieb: > On Tue, May 23, 2006 at 09:20:28PM +0200, Ralf Habacker wrote: >> your right, hope the above mentioned stuff help for this. > > Ralf, > You have the test case. You have the source code. You've already > provided a patch. What's stopping you from determinging the cause of > the problem now that you understand that this situation is already > supposed to be handled? I appreciate that you have tracked this down > but I don't understand why you now seem to have given up at this point.
Have I said this ? I only reported about the current state in the hope someone where bitten by the same issue and had some additional hints, which seems not the case. Anyway, the problem is that in extern "C" int pthread_mutexattr_init (pthread_mutexattr_t *attr) { if (pthread_mutexattr::is_good_object (attr)) return EBUSY; *attr = new pthread_mutexattr (); pthread_mutexattr::is_good_object() is called, but attr does not contain a valid object (it is created later) and the functions aborts, which should not be. Is there a replacement for the gone check_valid_pointer() function, which could be added to pthread_mutexattr_init and was used before the call to pthread_mutexattr::is_good_object() was introduced (http://www.cygwin.com/ml/cygwin-patches/2002-q4/msg00204.html) ? BTW: A similar problem is with pthread_condattr_init () pthread_rwlockattr_init () pthread_attr_init () Regards Ralf -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (Cygwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEdB/IoHh+5t8EXncRAsD/AJ9n/X9jLNaq0qoU2nFmpJpFLkks9QCeMJDM a16WqHXFx0EjPu7HA+ORhKI= =gRfG -----END PGP SIGNATURE----- -- 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/