Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Subject: Re: pthreads on cygwin
From: Robert Collins <robert.collins@itdomain.com.au>
To: Jacob Vennervald Madsen <jvm@gopinocchio.com>
Cc: cygwin@cygwin.com
In-Reply-To: 
	<19514C7E64E4FA4FBEEC9BA3CB3376FD17B6B8@gopinocchio-sbs.gopinocchio.local>
References: 
	<19514C7E64E4FA4FBEEC9BA3CB3376FD17B6B8@gopinocchio-sbs.gopinocchio.local>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Evolution/0.13 (Preview Release)
Date: 04 Sep 2001 22:33:07 +1000
Message-Id: <999606788.5725.25.camel@lifelesswks>
Mime-Version: 1.0
X-OriginalArrivalTime: 04 Sep 2001 12:20:08.0774 (UTC) FILETIME=[EFED6660:01C1353B]

On Tue, 2001-09-04 at 19:59, Jacob Vennervald Madsen wrote:
> Hi List
> 
> I'm trying to compile and run the Open Source Kannel gateway on cygwin.
> It compiles ok but gives me problems when I try to run it.
> 
> This is the error I get:
> 2001-09-04 09:13:43 [1] PANIC: gwlib/gwthread-pthread.c:151:
> getthreadinfo: Assertion `pthread_equal(threadinfo->self,
> pthread_self())' failed.
> 
> And this is line 151 of the file gwlib/gwthread-pthread.c that gives the
> problems:
> gw_assert(pthread_equal(threadinfo->self, pthread_self()));
> 
> Any ideas how to make this work on cygwin?
> If I comment this line out I can start the gateway but it freezes after
> sending one SMS through the gateway.

Sounds to me like for some reason the threadinfo->self struct isn't the
variable used to create the thread.

Rob


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

