Re: Mutex Failure

Stipe Tolj <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Organization tolj.org system architecture
Message-ID <[email protected]>
Silver wrote:

> Thanks,
> I have both the csv version and kannel 1.4.0 on different machines. For the
> csv version it the smsbox "hangs" as i try to run it as indicated bellow
> 
> $ ./smsbox sk_smskannel.conf
> 2006-09-07 12:15:27 [2824] [0] INFO: Debug_lvl = -1, log_file = <none>,
> log_lvl = 0
> 2006-09-07 12:15:27 [2824] [0] PANIC: gwlib/thread.c:139: mutex_lock_real:
> Mutex failure! (Called from gwlib/list.c:503:lock.)
> 
> Then while exiting from the bearerbox for kannel 1.4.0 its "hangs" as
> indicated below
> 
> 2006-09-07 09:21:18 [4780] [0] INFO: Total WDP messages: received 0, sent 0
> 2006-09-07 09:21:19 [4780] [0] INFO: Total SMS messages: received 0, sent 0
> 2006-09-07 09:21:20 [4780] [0] DEBUG: Immutable octet strings: 285.
> 2006-09-07 09:21:21 [4780] [0] PANIC: gwlib/thread.c:139:
> mutex_lock_real:Mutex failure! (Called from gwlib/list.c:503:lock.)
> 
> could it be that the enviroment has a problem?

forst of all, cygwin 1.5.x is *NOT* considered fully pthreads safe. This means 
cygwin has still major issues in the posix thread implementation. So Kannel 
won't run in production stable quality on Cygwin/Win32 hosts.

I see the same behaviour on my local Cygwin 1.5.x hosts, but couldn't resolve 
the reason, assuming that it is a bug internally in Cygwin's pthreads support.

Stipe

-------------------------------------------------------------------
Kölner Landstrasse 419
40589 Düsseldorf, NRW, Germany

tolj.org system architecture      Kannel Software Foundation (KSF)
http://www.tolj.org/              http://www.kannel.org/

mailto:st_{at}_tolj.org           mailto:stolj_{at}_kannel.org
-------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.