For the problem of mutex being locked twice, this happened only with the latest 
snapshot,
and did not happen with the development release 1.1.5.

I wonder if the last change to gwlib/thread.c has any wide-effect, since by replacing
gwlib/thread.h and gwlib/thread.c by the ones in the dev release 1.1.5, the problem
dispeared on my Solaris platform.

-----Original Message-----
From: Andreas Fink [mailto:[EMAIL PROTECTED]]
Sent: mardi 8 janvier 2002 14:32
To: Shaofeng Li (ESF)
Subject: Re: Self tests failed on Solaris 2.7


>Hi!
>
>I'm generating Kannel  on Solaris 2.7 from the latest snapshot 
>generated on october 8, 2002.
>'make' did successfully compile the package, but 'make check' failed 
>on a number of self-tests.
>
>Two self-test results are included below:
>
>1) checks/check_octstr:
>
>2002-01-08 12:59:55 [0] PANIC: strcasecmp (0) and 
>octstr_case_compare (1) differ for `abcåäö' and `ABCÅÄÖ'


Sounds like your system library doesnt support international character sets.


>2) checks/check_http:
>
>2002-01-08 13:00:16 [0] INFO: Starting fetch 0
>2002-01-08 13:00:16 [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller)
>2002-01-08 13:00:16 [0] DEBUG: Started thread 2 
>(gwlib/http.c:write_request_thread)
>2002-01-08 13:00:16 [0] DEBUG: Started request 0
>2002-01-08 13:00:16 [0] DEBUG: Started request 1
>2002-01-08 13:00:16 [2] DEBUG: HTTP: Opening connection to `localhost:8040'.
>2002-01-08 13:00:16 [2] PANIC: mutex_lock: Managed to lock the mutex twice!

and your pthread library doesnt care about twice locked mutexes. As 
long as we dont do it in Kannel, this shouldnt be a problem.
-- 

Andreas Fink
Fink-Consulting

------------------------------------------------------------------
Tel: +41-61-6932730 Fax: +41-61-6932729  Mobile: +41-79-2457333
Address: A. Fink, Schwarzwaldallee 16, 4058 Basel, Switzerland
E-Mail:  [EMAIL PROTECTED]  Homepage: http://www.finkconsulting.com
------------------------------------------------------------------
Something urgent? Try http://www.smsrelay.com/  Nickname afink

Reply via email to